/* ========================================
   MSD Pharma Africa — Stylesheet
   Colors: Green #5A8A6A / White
   ======================================== */

:root {
    --green-900: #2D4A38;
    --green-800: #3A5F48;
    --green-700: #4A7558;
    --green-600: #5A8A6A;
    --green-500: #6B9E7A;
    --green-400: #85B594;
    --green-300: #A3CCAF;
    --green-200: #C5E0CD;
    --green-100: #E2F0E7;
    --green-50: #F0F8F3;

    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    --gradient: linear-gradient(135deg, var(--green-600), var(--green-400));
    --gradient-dark: linear-gradient(135deg, var(--green-800), var(--green-600));

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-green: 0 8px 30px rgba(90,138,106,0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================
   Container
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(90,138,106,0.35);
}

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

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

.btn-white {
    background: var(--white);
    color: var(--green-700);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.25);
}

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

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .logo-text {
    color: var(--gray-900);
}

.logo-accent {
    color: var(--green-400);
}

.navbar.scrolled .logo-accent {
    color: var(--green-600);
}

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

.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

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

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--green-700);
    background: var(--green-50);
}

.nav-cta {
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: var(--white) !important;
    backdrop-filter: blur(10px);
}

.nav-cta:hover {
    background: rgba(255,255,255,0.25) !important;
}

.navbar.scrolled .nav-cta {
    background: var(--gradient) !important;
    color: var(--white) !important;
    border: none !important;
    box-shadow: var(--shadow-green);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--gray-800);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
    gap: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    color: var(--green-200);
    font-size: 0.82rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-400);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero h1 .text-gradient {
    background: linear-gradient(135deg, var(--green-300), var(--green-100));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    display: inline;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-300);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* Hero Visual / Card */
.hero-visual {
    position: relative;
    z-index: 3;
}

.hero-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-xl);
    padding: 40px;
    min-width: 340px;
}

.card-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.card-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
    color: var(--white);
}

.card-icon-item:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.icon-circle {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.card-icon-item span {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-indicator {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 10px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

/* ========================================
   Bubbles Animation
   ======================================== */
.bubbles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    animation: bubble-float linear infinite;
    opacity: 0;
}

.bubble--green {
    background: radial-gradient(circle at 30% 30%, rgba(107, 158, 122, 0.25), rgba(90, 138, 106, 0.08));
    border: 1px solid rgba(107, 158, 122, 0.12);
}

.bubble--white {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bubble--light {
    background: radial-gradient(circle at 30% 30%, rgba(90, 138, 106, 0.1), rgba(90, 138, 106, 0.03));
    border: 1px solid rgba(90, 138, 106, 0.06);
}

@keyframes bubble-float {
    0% {
        transform: translateY(100%) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120%) scale(1);
        opacity: 0;
    }
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

/* ========================================
   About Section
   ======================================== */
.section-about {
    background: var(--gray-50);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--green-700);
    font-weight: 500;
    font-size: 0.95rem;
}

.about-feature svg {
    flex-shrink: 0;
    color: var(--green-500);
}

/* About Visual */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image-card {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/4.5;
    background: var(--gradient);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.about-icon-large {
    width: 160px;
    height: 160px;
    color: var(--white);
}

.about-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-800);
    animation: float 4s ease-in-out infinite;
}

.about-floating-badge svg {
    color: var(--green-600);
}

.badge-top {
    top: -15px;
    right: -30px;
    animation-delay: 0s;
}

.badge-bottom {
    bottom: 30px;
    left: -30px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   Founder Section
   ======================================== */
.founder-section {
    margin-top: 80px;
}

.founder-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient);
}

.founder-image {
    position: relative;
    flex-shrink: 0;
}

.founder-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.founder-image-border {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--gradient);
    z-index: 1;
    animation: spin-slow 8s linear infinite;
    opacity: 0.7;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.founder-info {
    flex: 1;
}

.founder-tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.founder-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.founder-info p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.founder-quote {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 20px 24px;
    background: var(--green-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--green-400);
}

.founder-quote svg {
    flex-shrink: 0;
    color: var(--green-600);
    margin-top: 2px;
}

.founder-quote blockquote {
    font-style: italic;
    color: var(--green-800);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 500;
}

@media (max-width: 768px) {
    .founder-card {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
        gap: 30px;
    }

    .founder-card::before {
        width: 100%;
        height: 4px;
        left: 0;
        top: 0;
    }

    .founder-image img {
        width: 160px;
        height: 160px;
    }

    .founder-quote {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-left: none;
        border-top: 3px solid var(--green-400);
    }
}

/* ========================================
   Services Section — Row Layout (Card + Image)
   ======================================== */
.section-services {
    background: var(--white);
}

.service-row {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 60px;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row-reverse {
    flex-direction: row-reverse;
}

.service-row-card {
    flex: 1;
    position: relative;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border-radius: var(--radius-md);
    color: var(--green-600);
    margin-bottom: 20px;
}

.service-row-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--green-500);
    background: var(--green-50);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    letter-spacing: 0.08em;
}

.service-row-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.service-row-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.8;
}

.service-row-image {
    flex: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.service-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-row:hover .service-row-image img {
    transform: scale(1.04);
}

@media (max-width: 1024px) {
    .service-row {
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .service-row,
    .service-row-reverse {
        flex-direction: column;
        gap: 28px;
        margin-bottom: 48px;
    }

    .service-row-image {
        width: 100%;
        aspect-ratio: 16/10;
    }

    .service-row-card h3 {
        font-size: 1.2rem;
    }
}

/* ========================================
   Why Section
   ======================================== */
.section-why {
    background: var(--green-50);
    overflow: hidden;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-200);
}

.why-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border-radius: 50%;
    color: var(--green-600);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--gradient);
    color: var(--white);
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.section-cta {
    padding: 0;
    margin: -20px 0;
    position: relative;
    z-index: 5;
}

.cta-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent);
    border-radius: 50%;
}

.cta-content h2 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255,255,255,0.75);
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ========================================
   Contact Section
   ======================================== */
.section-contact {
    background: var(--white);
    padding-top: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border-radius: var(--radius-md);
    color: var(--green-600);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray-800);
    font-weight: 500;
}

.contact-item a {
    color: var(--green-700);
}

.contact-item a:hover {
    color: var(--green-500);
}

.contact-hours {
    padding: 24px;
    background: var(--green-50);
    border-radius: var(--radius-lg);
}

.contact-hours h4 {
    font-size: 0.95rem;
    color: var(--green-800);
    margin-bottom: 12px;
}

.contact-hours p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 20px;
}

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

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--white);
    color: var(--gray-800);
    transition: var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--green-400);
    box-shadow: 0 0 0 3px rgba(90,138,106,0.12);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    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='%239CA3AF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--gray-900);
    padding: 60px 0 30px;
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 280px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: var(--green-400);
}

.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-contact a:hover {
    color: var(--green-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* ========================================
   Animations on Scroll
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-card {
        min-width: auto;
        max-width: 400px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }

    .about-image-card {
        max-width: 300px;
        aspect-ratio: 1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-slow);
        gap: 4px;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: var(--gray-700) !important;
        padding: 12px 16px;
        font-size: 1rem;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .nav-links a:hover {
        background: var(--green-50) !important;
        color: var(--green-700) !important;
    }

    .nav-cta {
        background: var(--gradient) !important;
        color: var(--white) !important;
        text-align: center;
        justify-content: center;
        margin-top: 12px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .section {
        padding: 70px 0;
    }

    .section-contact {
        padding-top: 90px;
    }

    .badge-top {
        right: -10px;
    }

    .badge-bottom {
        left: -10px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .cta-card {
        padding: 30px 24px;
    }

    .cta-content h2 {
        font-size: 1.4rem;
    }

    .service-card {
        padding: 28px;
    }
}
