/* ============================================
   SNF Agrochemicals Limited - Global Styles
   Color Palette: Pharmaceutical Blue & Green Theme
   ============================================ */

/* CSS Variables - All colors clearly stated */
:root {
    /* Primary Colors */
    --primary-blue: #0A4D8C;           /* Deep pharmaceutical blue */
    --primary-blue-light: #1E6DB8;     /* Lighter blue for hover */
    --primary-blue-dark: #063A6B;    /* Darker blue for active */

    /* Secondary Colors */
    --secondary-green: #0D8B6F;        /* Pharmaceutical green */
    --secondary-green-light: #1AAE8C;  /* Lighter green */
    --secondary-green-dark: #0A6B55;   /* Darker green */

    /* Accent Colors */
    --accent-teal: #0F9B8E;            /* Teal accent */
    --accent-cyan: #17A2B8;            /* Cyan accent */
    --accent-mint: #7FD8BE;            /* Mint green */

    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F0F7FA;               /* Very light blue-gray */
    --bg-light-green: #E8F5F0;         /* Very light green */
    --bg-dark: #0A2E4E;                /* Dark navy */
    --bg-gradient-start: #0A4D8C;      /* Gradient start */
    --bg-gradient-end: #0D8B6F;        /* Gradient end */

    /* Text Colors */
    --text-dark: #1A2B3C;              /* Dark text */
    --text-medium: #4A5D6E;            /* Medium text */
    --text-light: #FFFFFF;             /* Light text */
    --text-muted: #8A9DAD;             /* Muted text */

    /* Border Colors */
    --border-light: #D0E0EC;           /* Light border */
    --border-medium: #A0B8CC;          /* Medium border */

    /* Shadow */
    --shadow-sm: 0 2px 8px rgba(10, 77, 140, 0.1);
    --shadow-md: 0 4px 16px rgba(10, 77, 140, 0.15);
    --shadow-lg: 0 8px 32px rgba(10, 77, 140, 0.2);

    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-green) 100%);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(10, 77, 140, 0.98);
    /* backdrop-filter removed */
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.logo-text {
    color: var(--text-light);
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.7rem;
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
}

.nav-link i {
    margin-left: 5px;
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--bg-white);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    overflow: hidden;
    border-top: 3px solid var(--secondary-green);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 14px 24px;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-fast);
    position: relative;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
    padding-left: 30px;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--secondary-green);
    transform: scaleY(0);
    transition: var(--transition-fast);
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-fast);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--bg-dark) 100%);
    overflow-y: auto;
    z-index: 999;
    padding: 20px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

.mobile-dropdown-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.mobile-dropdown-toggle.active {
    transform: rotate(180deg);
    background: var(--secondary-green);
}

.mobile-dropdown {
    display: none;
    padding-left: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    margin: 0 10px 10px;
}

.mobile-dropdown.active {
    display: block;
}

.mobile-dropdown a {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-dropdown a:hover {
    color: var(--text-light);
    padding-left: 25px;
}

/* ============================================
   HERO BANNER - ANIMATED PHARMA THEME
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    z-index: 0;
}

.hero-bg[style*="background-image"] {
    background: none;
}

/* Animated Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 3;
}

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

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* Pharma Molecule Animation */
.molecule-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.molecule {
    position: absolute;
    animation: molecule-float 20s ease-in-out infinite;
}

@keyframes molecule-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -20px) rotate(90deg); }
    50% { transform: translate(-20px, 30px) rotate(180deg); }
    75% { transform: translate(20px, 20px) rotate(270deg); }
}

/* Hexagon Grid Animation */
.hex-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: hex-pulse 8s ease-in-out infinite;
}

@keyframes hex-pulse {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.12; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title span {
    color: var(--accent-mint);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--secondary-green);
    color: var(--text-light);
    box-shadow: 0 4px 16px rgba(13, 139, 111, 0.4);
}

.btn-primary:hover {
    background: var(--secondary-green-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13, 139, 111, 0.5);
}

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

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

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
    z-index: 10;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat-item {
    text-align: center;
    color: var(--text-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    animation: scroll-dot 2s infinite;
}

@keyframes scroll-dot {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 100px 20px;
    position: relative;
}

.section-alt {
    background: var(--bg-light);
}

.section-green {
    background: var(--bg-light-green);
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-green) 100%);
    color: var(--text-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(10, 77, 140, 0.1);
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-dark .section-label,
.section-gradient .section-label {
    background: rgba(255,255,255,0.15);
    color: var(--text-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-dark .section-title,
.section-gradient .section-title {
    color: var(--text-light);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-subtitle,
.section-gradient .section-subtitle {
    color: rgba(255,255,255,0.8);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--secondary-green);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-medium);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.about-feature-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
}

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

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--secondary-green);
    color: var(--text-light);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-link:hover {
    color: var(--secondary-green);
    gap: 10px;
}

/* ============================================
   INGREDIENTS SECTION
   ============================================ */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.ingredient-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    cursor: pointer;
}

.ingredient-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-green);
}

.ingredient-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.ingredient-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.ingredient-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   MANAGEMENT SECTION
   ============================================ */
.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    text-align: center;
    border: 1px solid var(--border-light);
}

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

.team-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(10, 77, 140, 0.9));
    opacity: 0;
    transition: var(--transition-normal);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-overlay .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.team-info {
    padding: 24px;
}

.team-info h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-info .role {
    color: var(--secondary-green);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: block;
}

.team-info p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ============================================
   GLOBAL OFFICES
   ============================================ */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.office-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

.office-card:hover::before {
    transform: scaleX(1);
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.office-flag {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--bg-light);
}

.office-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.office-card .country {
    color: var(--secondary-green);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: block;
}

.office-card p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* ============================================
   FORMS
   ============================================ */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #dc3545;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition-fast);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(10, 77, 140, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A5D6E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

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

.form-message {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    display: none;
    align-items: center;
    gap: 12px;
}

.form-message.success {
    display: flex;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: flex;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding-top: 20px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 20px 30px;
}

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

.footer-brand .logo-icon {
    background: var(--secondary-green);
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-light);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-mint);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--secondary-green);
    transform: translateY(-3px);
}

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

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

/* ============================================
   TRANSLATOR PLUGIN AREA
   ============================================ */
.translator-area {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.translator-btn {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.translator-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

.translator-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    display: none;
    border: 1px solid var(--border-light);
}

.translator-panel.active {
    display: block;
}

.translator-panel h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.translator-panel p {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.translator-placeholder {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    text-align: center;
    border: 2px dashed var(--border-medium);
}

.translator-placeholder p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   BIO MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* backdrop-filter removed */
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: #dc3545;
    color: var(--text-light);
}

.modal-header {
    padding: 40px 40px 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.modal-image {
    width: 150px;
    height: 150px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

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

.modal-title h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.modal-title .role {
    color: var(--secondary-green);
    font-weight: 600;
    font-size: 1rem;
}

.modal-body {
    padding: 30px 40px 40px;
}

.modal-body p {
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.8;
}

.modal-body h4 {
    color: var(--primary-blue);
    margin: 24px 0 12px;
    font-size: 1.1rem;
}

.modal-body ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-medium);
}

.modal-body ul li {
    margin-bottom: 8px;
}

/* ============================================
   INGREDIENT DETAIL PAGE
   ============================================ */
.ingredient-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-green) 100%);
    padding: 140px 20px 80px;
    text-align: center;
    color: var(--text-light);
}

.ingredient-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.ingredient-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.ingredient-detail {
    padding: 80px 20px;
}

.ingredient-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.ingredient-sidebar {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.ingredient-sidebar h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.ingredient-sidebar ul li {
    margin-bottom: 10px;
}

.ingredient-sidebar ul li a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-medium);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.ingredient-sidebar ul li a:hover,
.ingredient-sidebar ul li a.active {
    background: var(--primary-blue);
    color: var(--text-light);
}

.ingredient-main h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.ingredient-main p {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.ingredient-main h3 {
    font-size: 1.3rem;
    color: var(--secondary-green);
    margin: 30px 0 12px;
}

.ingredient-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.ingredient-table th,
.ingredient-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.ingredient-table th {
    background: var(--primary-blue);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.ingredient-table td {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.ingredient-table tr:last-child td {
    border-bottom: none;
}

.ingredient-table tr:hover td {
    background: var(--bg-light);
}

/* ============================================
   BANNER SECTIONS (for sub-pages)
   ============================================ */
.page-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-green) 100%);
    padding: 160px 20px 80px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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");
}

.page-banner h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    position: relative;
}

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

.breadcrumb a:hover {
    color: var(--text-light);
}

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

.breadcrumb .current {
    color: var(--accent-mint);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    padding: 80px 20px;
}

.content-section h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.content-section h3 {
    font-size: 1.4rem;
    color: var(--secondary-green);
    margin: 30px 0 12px;
}

.content-section p {
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-section ul {
    list-style: disc;
    padding-left: 24px;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.content-section ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

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

.content-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Values Cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.value-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-green);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-light-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.value-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), var(--secondary-green));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--secondary-green);
    border-radius: 50%;
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-blue);
}

.timeline-year {
    display: inline-block;
    padding: 4px 16px;
    background: var(--primary-blue);
    color: var(--text-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-item h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ingredient-detail-grid {
        grid-template-columns: 1fr;
    }

    .ingredient-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

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

    .about-image img {
        height: 300px;
    }

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

    .form-container {
        padding: 30px 20px;
    }

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

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

    .section {
        padding: 60px 20px;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px 0;
    }

    .modal-image {
        margin: 0 auto;
    }

    .modal-body {
        padding: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-inner {
        height: 70px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .hero {
        margin-top: 70px;
    }

    .hero-stats {
        display: none;
    }

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

    .translator-area {
        bottom: 20px;
        right: 20px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   BANNER WITH BACKGROUND IMAGE - NO OPACITY
   ============================================ */
.page-banner-img {
    position: relative;
    padding: 160px 20px 80px;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    margin-top: 70px;
}

.page-banner-img .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.page-banner-img .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 77, 140, 0.55) 0%, rgba(13, 139, 111, 0.55) 100%);
    z-index: 2;
}

.page-banner-img h1,
.page-banner-img p,
.page-banner-img .breadcrumb {
    position: relative;
    z-index: 3;
}

/* Ingredient Hero with Image */
.ingredient-hero-img {
    position: relative;
    padding: 140px 20px 80px;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    margin-top: 70px;
}

.ingredient-hero-img .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.ingredient-hero-img .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 77, 140, 0.55) 0%, rgba(13, 139, 111, 0.55) 100%);
    z-index: 2;
}

.ingredient-hero-img h1,
.ingredient-hero-img p,
.ingredient-hero-img .breadcrumb {
    position: relative;
    z-index: 3;
}


/* ============================================
   WIDE DROPDOWN FOR INGREDIENTS
   ============================================ */

/* Make all dropdowns wider */
.dropdown-menu {
    min-width: 320px;
}

/* Ingredients dropdown - wide multi-column layout */
.nav-item:nth-child(5) .dropdown-menu,
.mobile-nav-item:nth-child(5) .mobile-dropdown {
    min-width: 600px;
    max-width: 700px;
}

/* Multi-column layout for ingredients desktop dropdown - positioned left */
.nav-item:nth-child(5) .dropdown-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 8px 0;
    left: auto !important;
    right: -220px !important;
}

.nav-item:nth-child(5) .dropdown-menu a {
    border-bottom: none;
    padding: 10px 20px;
    font-size: 0.85rem;
}

.nav-item:nth-child(5) .dropdown-menu a:hover {
    padding-left: 24px;
}

/* First item (All Ingredients) spans full width */
.nav-item:nth-child(5) .dropdown-menu a:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 20px;
    font-weight: 600;
    background: var(--bg-light);
    margin-bottom: 4px;
}

.nav-item:nth-child(5) .dropdown-menu a:first-child:hover {
    background: var(--bg-light-green);
}

/* Mobile ingredients dropdown - also wider */
.mobile-nav-item:nth-child(5) .mobile-dropdown {
    display: none;
    padding-left: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    margin: 0 10px 10px;
}

.mobile-nav-item:nth-child(5) .mobile-dropdown.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.mobile-nav-item:nth-child(5) .mobile-dropdown a {
    padding: 10px 16px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav-item:nth-child(5) .mobile-dropdown a:first-child {
    grid-column: 1 / -1;
    font-weight: 600;
    background: rgba(255,255,255,0.05);
}

/* ============================================
   RESPONSIVE - MOBILE DROPDOWN FIXES
   ============================================ */
@media (max-width: 768px) {
    .nav-item:nth-child(5) .dropdown-menu {
        min-width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
    }

    .nav-item:nth-child(5) .dropdown-menu a:first-child {
        grid-column: 1;
    }

    .mobile-nav-item:nth-child(5) .mobile-dropdown.active {
        grid-template-columns: 1fr;
    }

    .mobile-nav-item:nth-child(5) .mobile-dropdown a:first-child {
        grid-column: 1;
    }
}
