/*
Theme Name: 小创信息科技
Theme URI: https://foshanxiaochuang.com
Author: 小创信息科技
Author URI: https://foshanxiaochuang.com
Description: 佛山市小创信息科技有限公司官方企业网站主题
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xiaochuang
Tags: business, one-column, custom-header, custom-menu, editor-style, featured-images, translation-ready

基于原生WordPress开发，无依赖其他主题。
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --secondary: #10B981;
    --accent: #F59E0B;
    --dark: #1E293B;
    --light: #F8FAFC;
    --gray: #64748B;
    --white: #FFFFFF;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #EEF2FF 0%, #F0FDF4 50%, #FFF7ED 100%);
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 700px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

.hero-vision {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--secondary);
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid #E2E8F0;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 580px;
}

.platform-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.platform-icon {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.platform-icon:hover {
    transform: translateY(-5px);
}

.platform-icon i {
    font-size: 3.5rem;
}

.platform-icon span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray);
}

.platform-icon.facebook i { color: #1877F2; }
.platform-icon.instagram i { color: #E4405F; }
.platform-icon.tiktok i { color: #000000; }
.platform-icon.google i { color: #4285F4; }
.platform-icon.amazon i { color: #FF9900; }
.platform-icon.mercado i { color: #FFE600; }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats {
    background: var(--dark);
    padding: 60px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 1rem;
    color: #94A3B8;
    margin-top: 0.5rem;
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--gray);
    font-size: 1.1rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    background: var(--light);
}

.about-intro {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-text .highlight {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-image-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-image-content {
    position: relative;
    z-index: 1;
}

.about-image-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-image-content p {
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.founded-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
}

/* ==========================================================================
   Timeline Section
   ========================================================================== */
.timeline-section {
    background: white;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 16px;
    max-width: 350px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item:nth-child(odd) .timeline-content::before { right: -38px; }
.timeline-item:nth-child(even) .timeline-content::before { left: -38px; }

.timeline-year {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ==========================================================================
   Offices Section
   ========================================================================== */
.offices {
    background: var(--light);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.office-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.office-card:hover {
    transform: translateY(-10px);
}

.office-image {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.office-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team {
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: var(--light);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.team-member .position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery {
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 1rem;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: #fff;
    padding: 16px;
    font-size: 0.95rem;
    font-weight: 500;
}

.gallery-item.alt-1 { background: linear-gradient(135deg, #667EEA, #764BA2); }
.gallery-item.alt-2 { background: linear-gradient(135deg, #F093FB, #F5576C); }
.gallery-item.alt-3 { background: linear-gradient(135deg, #4FACFE, #00F2FE); }
.gallery-item.alt-4 { background: linear-gradient(135deg, #43E97B, #38F9D7); }
.gallery-item.alt-5 { background: linear-gradient(135deg, #FA709A, #FEE140); }
.gallery-item.alt-6 { background: linear-gradient(135deg, #30CFD0, #330867); }

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background: white;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--light);
    border-radius: 24px;
    padding: 55px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.2rem;
}

.service-card ul {
    font-size: 0.85rem;
    padding-left: 1.2rem;
    color: #64748B;
    margin-bottom: 1.5rem;
}

.service-card li {
    margin-bottom: 0.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 1.5rem;
}

.service-features span {
    background: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--dark);
}

.service-platforms {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E2E8F0;
}

.service-platforms i {
    font-size: 1.8rem;
}

.service-platforms img {
    height: 28px;
    width: auto;
}

/* ==========================================================================
   Ecosystem Section
   ========================================================================== */
.ecosystem {
    background: var(--dark);
    color: white;
}

.ecosystem .section-badge {
    background: rgba(255,255,255,0.1);
    color: white;
}

.ecosystem .section-title {
    color: white;
}

.ecosystem .section-desc {
    color: #94A3B8;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.eco-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.eco-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.eco-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.eco-card p {
    color: #94A3B8;
    font-size: 0.9rem;
    line-height: 1.7;
}

.eco-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.eco-icons span {
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: white;
}

/* ==========================================================================
   Partners Gallery
   ========================================================================== */
.partners-gallery {
    margin-top: 3rem;
}

.partners-title {
    text-align: center;
    color: #94A3B8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.partners-title strong {
    color: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-item {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    aspect-ratio: 16/10;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s;
}

.partner-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background: linear-gradient(135deg, #1a365d 0%, var(--dark) 100%);
    color: white;
}

.contact .section-badge {
    background: rgba(255,255,255,0.1);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-desc {
    color: #94A3B8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #94A3B8;
    font-size: 0.95rem;
}

.contact-qr {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-qr > div {
    text-align: center;
}

.contact-qr > div > div {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    display: inline-block;
}

.contact-qr img {
    width: 110px;
    height: 110px;
    display: block;
}

.contact-qr p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 8px;
    font-weight: 500;
}

.contact-form {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748B;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--dark);
    padding: 60px 5% 30px;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand p {
    color: #94A3B8;
    margin-top: 1rem;
    line-height: 1.7;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748B;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-visual { display: none; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .offices-grid { grid-template-columns: 1fr; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-intro-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }
    .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: 7px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .navbar { padding: 1rem; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .mobile-menu { display: block; }
    .hero { padding-top: 100px; }
    .hero h1 { font-size: 2rem; }
    .hero-vision { font-size: 1.1rem; }
    .section { padding: 60px 5%; }
    .section-title { font-size: 1.8rem; }
    .team-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .partner-item { padding: 0.5rem; }
}
