芝麻web文件管理V1.00
编辑当前文件:/home/paymbalq/tamela.org/styles-css.css
/* Base Styles */ :root { --primary-color: #292E75; --secondary-color: #D86735; --dark-color: #212121; --light-color: #F8F9FA; --grey-color: #6C757D; --light-grey: #E9ECEF; --success-color: #28A745; } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: var(--dark-color); background-color: #ffffff; } img { max-width: 100%; height: auto; } a { text-decoration: none; color: var(--primary-color); transition: all 0.3s ease; } a:hover { color: var(--secondary-color); } ul { list-style: none; } .container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; } .section-header { text-align: center; margin-bottom: 3rem; } .section-header h2 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 0.5rem; } .section-divider { height: 4px; width: 70px; background-color: var(--secondary-color); margin: 0 auto; } section { padding: 5rem 0; } /* Button Styles */ .btn-primary, .btn-secondary { display: inline-block; padding: 12px 30px; border-radius: 50px; font-weight: 600; transition: all 0.3s ease; cursor: pointer; text-align: center; } .btn-primary { background-color: var(--secondary-color); color: white; border: 2px solid var(--secondary-color); } .btn-secondary { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); } .btn-primary:hover { background-color: #c05a2e; border-color: #c05a2e; color: white; } .btn-secondary:hover { background-color: var(--primary-color); color: white; } /* Header */ header { position: fixed; top: 0; width: 100%; background-color: rgba(255, 255, 255, 0.95); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); z-index: 1000; padding: 15px 0; transition: all 0.3s ease; } header .container { display: flex; justify-content: space-between; align-items: center; } .logo img { height: 50px; } .nav-menu { display: flex; align-items: center; } .nav-menu li { margin-left: 30px; } .nav-menu a { color: var(--dark-color); font-weight: 500; } .nav-menu a:hover { color: var(--secondary-color); } .hamburger { display: none; cursor: pointer; } .bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease; background-color: var(--dark-color); } /* Hero Section */ .hero { padding: 8rem 0 5rem; background: linear-gradient(rgba(41, 46, 117, 0.05), rgba(216, 103, 53, 0.05)); } .hero .container { display: flex; align-items: center; justify-content: space-between; } .hero-content { flex: 1; max-width: 600px; } .hero-content h1 { font-size: 3rem; color: var(--primary-color); margin-bottom: 1.5rem; line-height: 1.2; } .hero-content p { font-size: 1.1rem; margin-bottom: 2rem; color: var(--grey-color); } .hero-cta { display: flex; gap: 20px; } .hero-image { flex: 1; max-width: 500px; margin-left: 2rem; border-radius: 15px; } /* Problem Section */ .problem { background-color: #f8f9fa; } .problem-content { display: flex; flex-direction: column; gap: 3rem; } .problem-stats { display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap; } .stat-card { background-color: white; padding: 2rem; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); text-align: center; flex: 1; min-width: 250px; transition: transform 0.3s ease; } .stat-card:hover { transform: translateY(-5px); } .stat-card h3 { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 0.5rem; } .problem-text { font-size: 1.1rem; } .problem-text p { margin-bottom: 1.5rem; text-align: center; } .problem-text ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; } .problem-text li { background-color: white; padding: 1.5rem; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); display: flex; align-items: center; gap: 10px; } .problem-text li span { color: var(--primary-color); font-weight: 600; } /* Solution Section */ .solution-content { display: flex; align-items: center; gap: 50px; } .solution-image, .solution-text { flex: 1; } .solution-text h3 { font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem; } .solution-features { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; } .feature { display: flex; align-items: flex-start; gap: 15px; } .feature i { font-size: 1.5rem; color: var(--secondary-color); margin-top: 5px; } .feature h4 { color: var(--primary-color); margin-bottom: 5px; } /* Impact Section */ .impact { background-color: #f8f9fa; } .impact-content { display: flex; gap: 50px; } .impact-text, .impact-metrics { flex: 1; } .impact-text h3 { font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem; } .impact-timeline { margin-top: 2rem; } .timeline-item { display: flex; gap: 20px; margin-bottom: 30px; } .timeline-marker { width: 30px; height: 30px; border-radius: 50%; background-color: var(--secondary-color); position: relative; } .timeline-marker:before { content: ''; position: absolute; height: 100%; width: 3px; background-color: var(--light-grey); top: 30px; left: 50%; transform: translateX(-50%); } .timeline-item:last-child .timeline-marker:before { height: 0; } .timeline-marker.one-year { background-color: var(--secondary-color); } .timeline-marker.five-year { background-color: var(--primary-color); } .timeline-content h4 { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 5px; } .impact-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; } .metric-card { background-color: white; padding: 2rem; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); text-align: center; transition: transform 0.3s ease; } .metric-card:hover { transform: translateY(-5px); } .metric-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; } .metric-card h4 { color: var(--secondary-color); margin-bottom: 0.5rem; } /* Team Section */ .team-intro { text-align: center; max-width: 800px; margin: 0 auto 3rem; font-size: 1.1rem; } .team-members { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 3rem; } .team-member { background-color: white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); padding: 2rem; text-align: center; flex: 1; min-width: 250px; max-width: 300px; transition: transform 0.3s ease; } .team-member:hover { transform: translateY(-5px); } .member-image { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; margin: 0 auto 1.5rem; border: 5px solid var(--light-grey); } .member-image img { width: 100%; height: 100%; object-fit: cover; } .team-member h4 { color: var(--primary-color); margin-bottom: 5px; } .member-title { color: var(--secondary-color); font-weight: 600; margin-bottom: 1rem; } .member-bio { font-size: 0.9rem; color: var(--grey-color); } .advisors { margin-top: 3rem; text-align: center; } .advisors h3 { font-size: 2rem; color: var(--primary-color); margin-bottom: 1.5rem; } .advisor-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; } .advisor { background-color: white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); padding: 1.5rem; flex: 1; min-width: 300px; max-width: 380px; } .advisor h4 { color: var(--primary-color); margin-bottom: 0.5rem; } .advisor p { font-size: 0.9rem; color: var(--grey-color); } /* CTA Section */ .cta { background-color: var(--primary-color); color: white; text-align: center; padding: 4rem 0; } .cta h2 { font-size: 2.5rem; margin-bottom: 1rem; } .cta p { font-size: 1.1rem; max-width: 700px; margin: 0 auto 2rem; opacity: 0.9; } .cta .btn-primary { background-color: white; color: var(--primary-color); border-color: white; } .cta .btn-primary:hover { background-color: transparent; color: white; } /* Contact Section */ .contact-content { display: flex; gap: 50px; } .contact-info, .contact-form { flex: 1; } .contact-info h3, .contact-form h3 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 1.5rem; } .contact-details { margin-bottom: 2rem; } .contact-item { display: flex; align-items: center; gap: 15px; margin-bottom: 1rem; } .contact-item i { font-size: 1.2rem; color: var(--secondary-color); } .social-links { display: flex; gap: 15px; } .social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background-color: var(--primary-color); color: white; font-size: 1.2rem; transition: all 0.3s ease; } .social-links a:hover { background-color: var(--secondary-color); transform: translateY(-3px); } .form-group { margin-bottom: 1.5rem; } label { display: block; margin-bottom: 5px; font-weight: 500; } input, textarea { width: 100%; padding: 12px; border: 1px solid var(--light-grey); border-radius: 5px; font-family: 'Poppins', sans-serif; transition: all 0.3s ease; } input:focus, textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(41, 46, 117, 0.1); } /* Footer */ footer { background-color: var(--primary-color); /*color: white;*/ padding: 4rem 0 2rem; } .footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 3rem; } .footer-logo { flex: 1; min-width: 300px; } .footer-logo img { height: 50px; margin-bottom: 1rem; } .footer-logo p { opacity: 0.8; max-width: 300px; } .footer-links { display: flex; gap: 50px; } .footer-nav, .footer-legal { min-width: 150px; } .footer-nav h4, .footer-legal h4 { font-size: 1.2rem; margin-bottom: 1.5rem; position: relative; } .footer-nav h4:after, .footer-legal h4:after { content: ''; position: absolute; width: 30px; height: 3px; background-color: var(--secondary-color); bottom: -7px; left: 0; } .footer-nav ul, .footer-legal ul { display: flex; flex-direction: column; gap: 10px; } .footer-nav a, .footer-legal a { color: rgba(255, 255, 255, 0.8); transition: all 0.3s ease; } .footer-nav a:hover, .footer-legal a:hover { color: var(--secondary-color); transform: translateX(5px); } .footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); } .footer-bottom p { opacity: 0.7; font-size: 0.9rem; } /* Media Queries */ @media (max-width: 992px) { .hero .container { flex-direction: column; text-align: center; } .hero-content { max-width: 100%; margin-bottom: 3rem; } .hero-cta { justify-content: center; } .solution-content, .impact-content, .contact-content { flex-direction: column; } .solution-image { order: -1; margin-bottom: 2rem; } .solution-features, .impact-metrics { grid-template-columns: 1fr; } } @media (max-width: 768px) { .hamburger { display: block; } .nav-menu { position: fixed; left: -100%; top: 80px; flex-direction: column; background-color: white; width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); padding: 2rem 0; gap: 30px; } .nav-menu.active { left: 0; } .nav-menu li { margin: 0; } .section-header h2 { font-size: 2rem; } .hero-content h1 { font-size: 2.5rem; } .hero-cta { flex-direction: column; gap: 15px; } .timeline-item { flex-direction: column; align-items: flex-start; } .timeline-marker { margin-bottom: 10px; } .timeline-marker:before { height: 0; } .footer-content { flex-direction: column; } .footer-logo { text-align: center; margin-bottom: 2rem; } .footer-logo p { max-width: 100%; } .footer-links { justify-content: space-around; width: 100%; } .footer-nav h4:after, .footer-legal h4:after { left: 50%; transform: translateX(-50%); } .footer-nav, .footer-legal { text-align: center; } } @media (max-width: 576px) { .footer-links { flex-direction: column; gap: 30px; } .footer-nav, .footer-legal { width: 100%; } }