/* ===== Smart Agriculture Enterprise Website - Custom Styles ===== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.cn/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;600;700;900&display=swap');

/* ===== CSS Variables ===== */
:root {
    --color-primary: #166534;
    --color-primary-light: #15803d;
    --color-primary-dark: #14532d;
    --color-accent: #d97706;
    --color-accent-light: #f59e0b;
    --color-bg: #fafaf9;
    --color-bg-dark: #0c1f14;
    --color-text: #1c1917;
    --color-text-secondary: #57534e;
    --color-text-light: #a8a29e;
    --color-border: #e7e5e4;
    --font-sans: 'Noto Sans SC', 'Inter', system-ui, -apple-system, sans-serif;
    --font-inter: 'Inter', system-ui, sans-serif;
    --transition-base: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ===== Layout ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    .container {
        padding: 0 1.25rem;
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s var(--transition-base);
}

.navbar .nav-bar {
    width: 100%;
    padding: 1rem 0;
    background: rgba(10, 25, 15, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s var(--transition-base);
}

.navbar.scrolled .nav-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
}

.navbar .nav-inner-wide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1rem;
    height: 100%;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.navbar.scrolled .logo {
    color: var(--color-primary);
}

.navbar .logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.3);
}

.navbar.scrolled .logo-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.navbar .logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.navbar .logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.navbar .logo-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    opacity: 0.75;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.navbar.scrolled .nav-links a {
    color: var(--color-text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--color-primary);
    background: rgba(22, 101, 52, 0.06);
}

.nav-cta {
    background: var(--color-accent) !important;
    color: white !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--color-accent-light) !important;
    transform: translateY(-1px);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar.scrolled .mobile-toggle {
    color: var(--color-text);
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 16px 16px;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        color: var(--color-text) !important;
        padding: 0.75rem 1rem;
        width: 100%;
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(165deg, #0c1f14 0%, #14532d 40%, #166534 70%, #15803d 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/hero-pattern.svg') center/cover no-repeat;
    opacity: 0.08;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--color-bg), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

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

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-img {
    width: 100%;
    max-width: 560px;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 7rem 1.5rem 5rem;
    }
    .hero-text p {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        display: none;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--transition-base);
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.35);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-green {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(22, 101, 52, 0.3);
}

.btn-green:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

/* ===== Stats Section ===== */
.stats-section {
    position: relative;
    z-index: 3;
    margin-top: -4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-family: var(--font-inter);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.stat-number .unit {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(22, 101, 52, 0.06);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ===== Business Cards ===== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.business-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s var(--transition-base);
    border: 1px solid var(--color-border);
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.business-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s var(--transition-base);
}

.business-card:hover .business-card-img {
    transform: scale(1.05);
}

.business-card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.business-card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, white, transparent);
}

.business-card-body {
    padding: 1.75rem;
}

.business-card-body h3 {
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.business-card-body p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 0.75rem;
}

@media (max-width: 1024px) {
    .business-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

/* ===== Solutions Section ===== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.solution-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: transform 0.4s var(--transition-base);
}

.solution-card:hover {
    transform: translateY(-4px);
}

.solution-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--transition-base);
}

.solution-card:hover .solution-card-bg {
    transform: scale(1.08);
}

.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    z-index: 1;
}

.solution-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: white;
}

.solution-card-content h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
}

.solution-card-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Advantages Section ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    background: white;
    border: 1px solid var(--color-border);
    transition: all 0.3s var(--transition-base);
}

.advantage-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(22, 101, 52, 0.08);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.08), rgba(22, 101, 52, 0.04));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-primary);
}

.advantage-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.advantage-item p {
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary), var(--color-primary-light));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.15), transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    text-align: center;
    color: white;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: #0f1a14;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Page Hero (Inner Pages) ===== */
.page-hero {
    background: linear-gradient(165deg, #0c1f14, #14532d, #166534);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(217, 119, 6, 0.08), transparent 60%);
}

.page-hero h1 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ===== Products Page ===== */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.product-tab {
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    border: 2px solid var(--color-border);
    background: white;
    color: var(--color-text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.product-tab.active,
.product-tab:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: white;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s var(--transition-base);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.product-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0fdf4;
}

.product-card-body {
    padding: 1.5rem;
}

.product-card-body h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-card-body p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-tag {
    display: inline-block;
    background: rgba(22, 101, 52, 0.06);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .product-list {
        grid-template-columns: 1fr;
    }
}

/* ===== Solutions Page ===== */
.solution-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
}

.solution-detail:last-child {
    border-bottom: none;
}

.solution-detail.reverse {
    direction: rtl;
}

.solution-detail.reverse > * {
    direction: ltr;
}

.solution-detail-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.solution-detail-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.solution-detail-text p {
    margin-bottom: 1.5rem;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.solution-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(22, 101, 52, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {
    .solution-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .solution-detail.reverse {
        direction: ltr;
    }
}

/* ===== About Page ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--color-border);
}

.timeline-content h4 {
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--color-primary);
    z-index: 1;
}

@media (max-width: 768px) {
    .about-intro {
        grid-template-columns: 1fr;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 50px;
    }
    .timeline-content {
        width: 100%;
    }
    .timeline-dot {
        left: 20px;
    }
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-cards {
    display: grid;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: all 0.3s;
}

.contact-info-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(22, 101, 52, 0.06);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(22, 101, 52, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.contact-info-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-card p {
    font-size: 0.9rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: border-color 0.3s;
    background: var(--color-bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.08);
}

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

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

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--transition-base), transform 0.7s var(--transition-base);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ===== Partners Section ===== */
.partners-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

.partner-logo {
    height: 40px;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== Certificate Section ===== */
.cert-section {
    background: var(--color-bg-light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cert-item {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s var(--transition-base);
    position: relative;
    overflow: hidden;
}

.cert-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.cert-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.cert-item:hover::before {
    opacity: 1;
}

.cert-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.08), rgba(22, 101, 52, 0.04));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--color-primary);
    transition: all 0.3s;
}

.cert-item:hover .cert-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    transform: scale(1.05);
}

.cert-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.cert-item p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.cert-no {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-primary);
    background: rgba(22, 101, 52, 0.06);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-family: 'Inter', monospace;
    letter-spacing: 0.02em;
}

/* Responsive - Cert */
@media (max-width: 1024px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .cert-item {
        padding: 1.5rem 1rem;
    }
    
    .cert-icon {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }
}
