/* =============================================================
   JANJAD AROMATICS — Fragrance & Aromatics Division
   Complete Stylesheet
   
   Color Scheme:  Forest Green (#0d3a2b) + Champagne Gold (#c5a059)
   Fonts:         Playfair Display (headings) + Inter (body)
   ============================================================= */

/* ─────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ───────────────────────────────────────────── */
:root {
    /* Brand colors */
    --color-forest:           #0d3a2b;
    --color-forest-light:     #14503c;
    --color-forest-dark:      #092a1f;
    --color-forest-rgb:       13, 58, 43;
    --color-gold:             #c5a059;
    --color-gold-light:       #d4b574;
    --color-gold-dark:        #a88538;
    --color-gold-rgb:         197, 160, 89;

    /* Neutral palette */
    --color-white:            #ffffff;
    --color-off-white:        #f8f6f2;
    --color-cream:            #faf8f4;
    --color-gray-50:          #f9fafb;
    --color-gray-100:         #f3f4f6;
    --color-gray-200:         #e5e7eb;
    --color-gray-300:         #d1d5db;
    --color-gray-400:         #9ca3af;
    --color-gray-500:         #6b7280;
    --color-gray-600:         #4b5563;
    --color-gray-700:         #374151;
    --color-gray-800:         #1f2937;
    --color-gray-900:         #111827;

    /* Semantic */
    --color-success:          #059669;
    --color-error:            #dc2626;

    /* Typography */
    --font-heading:           'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:              'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing scale */
    --space-xs:               0.25rem;   /* 4px  */
    --space-sm:               0.5rem;    /* 8px  */
    --space-md:               1rem;      /* 16px */
    --space-lg:               1.5rem;    /* 24px */
    --space-xl:               2rem;      /* 32px */
    --space-2xl:              3rem;      /* 48px */
    --space-3xl:              4rem;      /* 64px */
    --space-4xl:              6rem;      /* 96px */

    /* Layout */
    --container-max:          1200px;
    --nav-height:             72px;
    --border-radius:          8px;
    --border-radius-lg:       16px;

    /* Transitions */
    --transition-fast:        150ms ease;
    --transition-base:        300ms ease;
    --transition-slow:        500ms ease;

    /* Shadows */
    --shadow-sm:              0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md:              0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg:              0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl:              0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-gold:            0 4px 20px rgba(197, 160, 89, 0.25);
}


/* ─────────────────────────────────────────────
   2. CSS RESET & BASE STYLES
   ───────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Visually hidden utility (screen-reader only) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ─────────────────────────────────────────────
   3. LAYOUT: Container
   ───────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}


/* ─────────────────────────────────────────────
   4. REUSABLE COMPONENTS
   ───────────────────────────────────────────── */

/* — Section wrapper — */
.section {
    padding: var(--space-4xl) 0;
}

/* — Section header — */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgba(var(--color-gold-rgb), 0.1);
    padding: 0.35em 1em;
    border-radius: 100px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-forest);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-gray-500);
    line-height: 1.7;
}

.section-subtitle strong {
    color: var(--color-forest);
}

/* — Buttons — */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.8em 1.8em;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-forest-dark);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-card {
    width: 100%;
    background: var(--color-forest);
    color: var(--color-white);
    border-color: var(--color-forest);
    margin-top: auto;
    padding: 0.75em 1.5em;
}

.btn-card:hover {
    background: var(--color-forest-light);
    border-color: var(--color-forest-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-submit {
    width: 100%;
    background: var(--color-gold);
    color: var(--color-forest-dark);
    border: 2px solid var(--color-gold);
    font-size: 1rem;
    padding: 0.9em 2em;
    position: relative;
}

.btn-submit:hover:not(:disabled) {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loader state for submit button */
.btn-submit.loading .btn-text {
    visibility: hidden;
}

.btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-submit.loading .btn-loader {
    display: block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}


/* ─────────────────────────────────────────────
   5. NAVIGATION BAR
   Fixed dark-green glassmorphism navbar
   ───────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(var(--color-forest-rgb), 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

/* Scrolled state: fully opaque with shadow */
.navbar.scrolled {
    background: rgba(var(--color-forest-rgb), 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(var(--color-gold-rgb), 0.4);
}

.nav-brand-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.06em;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    display: inline-block;
    padding: 0.5em 1em;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    border-radius: var(--border-radius);
    transition: color var(--transition-fast), background var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--color-gold);
    border-radius: 1px;
    transition: transform var(--transition-base);
}

.nav-link.active::after,
.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Hamburger toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--border-radius);
    transition: background var(--transition-fast);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* Hamburger → X animation */
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ─────────────────────────────────────────────
   6. HERO SECTION
   ───────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-forest-dark);
}

/* Background image (blurred, dimmed) */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(2px) brightness(0.3);
    transform: scale(1.05);
}

/* Gradient overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        160deg,
        rgba(var(--color-forest-rgb), 0.92) 0%,
        rgba(var(--color-forest-rgb), 0.80) 50%,
        rgba(9, 42, 31, 0.88) 100%
    );
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
}

/* Symrise partnership badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgba(var(--color-gold-rgb), 0.12);
    border: 1px solid rgba(var(--color-gold-rgb), 0.25);
    padding: 0.6em 1.4em;
    border-radius: 100px;
    margin-bottom: var(--space-xl);
}

.badge-icon {
    flex-shrink: 0;
    color: var(--color-gold);
}

/* Hero title */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 3.75rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
}

.hero-title-accent {
    color: var(--color-gold);
    font-style: italic;
    font-weight: 500;
}

/* Hero subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

/* CTA buttons */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.scroll-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50%      { opacity: 1;   transform: scaleY(1);   }
}


/* ─────────────────────────────────────────────
   7. ABOUT / PARTNERSHIP SECTION
   ───────────────────────────────────────────── */
.about {
    background: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.about-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid var(--color-gray-200);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(var(--color-forest-rgb), 0.06);
    color: var(--color-forest);
    margin-bottom: var(--space-lg);
}

.about-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-forest);
    margin-bottom: var(--space-sm);
}

.about-card-text {
    font-size: 0.92rem;
    color: var(--color-gray-500);
    line-height: 1.7;
}


/* ─────────────────────────────────────────────
   8. PRODUCTS SECTION
   ───────────────────────────────────────────── */
.products {
    background: var(--color-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    align-items: stretch;
}

/* Product card */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl) var(--space-xl) var(--space-xl);
    border: 1px solid var(--color-gray-200);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Gold accent bar at top */
.product-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
}

/* Featured card styling */
.product-card.featured {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
}

.product-card.featured .product-card-accent {
    height: 5px;
}

/* "Popular" ribbon */
.product-ribbon {
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--color-gold);
    color: var(--color-forest-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3em 2.5em;
    transform: rotate(45deg);
    z-index: 1;
}

/* Product icon */
.product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(var(--color-forest-rgb), 0.06);
    color: var(--color-forest);
    margin-bottom: var(--space-lg);
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-forest);
    margin-bottom: var(--space-md);
}

/* Properties badges row */
.product-properties {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.property-badge {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    background: rgba(var(--color-gold-rgb), 0.1);
    padding: 0.3em 0.85em;
    border-radius: 100px;
}

.product-description {
    font-size: 0.92rem;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

/* Application list inside card */
.product-applications {
    background: var(--color-gray-50);
    border-radius: var(--border-radius);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
}

.applications-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gray-400);
    margin-bottom: var(--space-sm);
}

.applications-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs) var(--space-md);
}

.applications-list li {
    font-size: 0.88rem;
    color: var(--color-gray-600);
    padding-left: 1.2em;
    position: relative;
}

.applications-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gold);
}

/* Card footer compliance badges */
.product-footer {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.product-compliance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-success);
}

.product-compliance svg {
    flex-shrink: 0;
}


/* ─────────────────────────────────────────────
   9. QUALITY STANDARDS SECTION
   ───────────────────────────────────────────── */
.quality {
    background: var(--color-cream);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.quality-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
    border: 1px solid var(--color-gray-200);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
}

.quality-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Large faded number behind card content */
.quality-number {
    position: absolute;
    top: -8px;
    right: 12px;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(var(--color-forest-rgb), 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.quality-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(var(--color-gold-rgb), 0.1);
    color: var(--color-gold-dark);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.quality-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-forest);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.quality-text {
    font-size: 0.88rem;
    color: var(--color-gray-500);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}


/* ─────────────────────────────────────────────
   10. CONTACT SECTION
   ───────────────────────────────────────────── */
.contact {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-3xl);
    align-items: start;
}

/* Left: Contact details */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    transition: background var(--transition-fast);
}

.contact-detail:hover {
    background: var(--color-gray-50);
}

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(var(--color-forest-rgb), 0.06);
    color: var(--color-forest);
    flex-shrink: 0;
}

.contact-detail-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-400);
    margin-bottom: 2px;
}

.contact-detail-value {
    font-size: 0.95rem;
    color: var(--color-gray-700);
    line-height: 1.5;
}

.contact-link {
    color: var(--color-forest);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--color-gold-dark);
}

/* Right: Form wrapper */
.contact-form-wrapper {
    background: var(--color-gray-50);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--color-gray-200);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-forest);
    margin-bottom: var(--space-xl);
}

/* Form rows (two columns) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: var(--space-xs);
}

.required {
    color: var(--color-error);
}

.form-input {
    width: 100%;
    padding: 0.75em 1em;
    font-size: 0.92rem;
    color: var(--color-gray-800);
    background: var(--color-white);
    border: 1.5px solid var(--color-gray-300);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--color-gray-400);
}

.form-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(var(--color-gold-rgb), 0.15);
}

.form-input.error {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Select dropdown */
.form-select {
    appearance: none;
    -webkit-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='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    padding-right: 2.5em;
    cursor: pointer;
}

/* Textarea */
.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Field error message */
.form-error {
    display: block;
    font-size: 0.75rem;
    color: var(--color-error);
    margin-top: 4px;
    min-height: 1em;
}


/* ─────────────────────────────────────────────
   11. SUCCESS MODAL
   ───────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    max-width: 440px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-base);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
    padding: 4px;
}

.modal-close:hover {
    color: var(--color-gray-700);
}

.modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.1);
    color: var(--color-success);
    margin-bottom: var(--space-lg);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-forest);
    margin-bottom: var(--space-sm);
}

.modal-text {
    font-size: 0.92rem;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.modal-text strong {
    color: var(--color-forest);
}

.modal-btn {
    min-width: 200px;
}


/* ─────────────────────────────────────────────
   12. FOOTER
   ───────────────────────────────────────────── */
.footer {
    background: var(--color-forest-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-3xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(var(--color-gold-rgb), 0.3);
}

.footer-brand-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.05em;
}

.footer-about {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

/* Footer headings */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

/* Footer links */
.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

/* Footer contact list */
.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-contact-list svg {
    flex-shrink: 0;
    color: var(--color-gold);
    opacity: 0.6;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-parent {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-parent-link {
    color: var(--color-gold);
    font-weight: 500;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-parent-link:hover {
    opacity: 1;
}


/* ─────────────────────────────────────────────
   13. SCROLL REVEAL ANIMATIONS
   ───────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in grids */
.about-grid .reveal:nth-child(2),
.products-grid .reveal:nth-child(2),
.quality-grid .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.about-grid .reveal:nth-child(3),
.products-grid .reveal:nth-child(3),
.quality-grid .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.quality-grid .reveal:nth-child(4) {
    transition-delay: 0.3s;
}


/* ─────────────────────────────────────────────
   14. RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────── */

/* ── Tablet landscape: ≤ 1024px ── */
@media (max-width: 1024px) {
    :root {
        --nav-height: 64px;
    }

    /* Nav: show hamburger */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: 0;
        width: 280px;
        height: calc(100vh - var(--nav-height));
        background: rgba(var(--color-forest-rgb), 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg);
        gap: var(--space-xs);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.75em 1em;
    }

    .nav-link::after {
        bottom: 4px;
        left: 1em;
        transform: scaleX(0);
        transform-origin: left;
    }

    .nav-link.active::after,
    .nav-link:hover::after {
        transform: scaleX(1);
    }

    /* Sections */
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .about-grid .about-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .products-grid .product-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

/* ── Tablet portrait: ≤ 768px ── */
@media (max-width: 768px) {
    .section {
        padding: var(--space-3xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    .hero-content {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

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

    .about-grid .about-card:last-child {
        grid-column: auto;
        max-width: none;
    }

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

    .products-grid .product-card:last-child {
        grid-column: auto;
        max-width: none;
    }

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

    .contact-form-wrapper {
        padding: var(--space-xl);
    }

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

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

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

/* ── Mobile: ≤ 480px ── */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 0.5em 1em;
    }

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

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

    .hero-actions .btn {
        width: 100%;
    }

    .nav-brand-text {
        font-size: 0.95rem;
    }

    .nav-logo {
        width: 36px;
        height: 36px;
    }

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

    .applications-list {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: var(--space-lg);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .scroll-indicator {
        display: none;
    }
}
