:root {
    /* Color Palette - Updated to match capabilities page */
    --primary-bg: #FFFFFF;
    --secondary-bg: #f8f9fa;
    --accent-color: #0066cc; /* Updated to match capabilities blue */
    --accent-light: rgba(0, 102, 204, 0.1);
    --text-primary: #333333;
    --text-secondary: #6C6C6C;
    --hover-color: rgba(0, 102, 204, 0.2);
    --border-color: #eaeaea;
    --hero-bg: #FFFFFF;

    /* Typography */
    --font-primary: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-secondary: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

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

/* Navigation - Simplified for Fine Organics style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 10px 0;
    height: 140px; /* Accommodate larger logo */
}

.navbar.scrolled {
    padding: 5px 0;
    height: 140px; /* Reduced height for scrolled state */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 170px; /* Match logo height */
}

.nav-logo {
    margin-right: 40px;
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 170px; /* Increased from 120px for a larger logo */
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-logo img {
    height: 130px; /* Increased from 90px to maintain proportion */
}

body.home-page .nav-logo {
    display: none;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transition: all 0.3s ease;
    flex-grow: 1;
    gap: 30px; /* Increased spacing between nav items to match image */
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    padding: 8px 0;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.nav-links > *:not(:last-child) {
    margin-right: 0;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a.active {
    color: var(--accent-color);
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    position: relative;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 6px;
    border-right: 2px solid var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(-135deg) translateY(-2px);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
}

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

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: var(--hover-color);
    color: var(--accent-color);
}

/* Nested Dropdown */
.nested-dropdown {
    position: relative;
}

.nested-dropdown-toggle {
    position: relative;
    padding-right: 30px !important;
}

.nested-dropdown-toggle::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
    transform: translateY(-50%) rotate(-45deg);
    transition: transform 0.2s ease;
}

.nested-dropdown:hover .nested-dropdown-toggle::after {
    transform: translateY(-50%) rotate(45deg);
}

.nested-dropdown-menu {
    position: absolute;
    top: 0;
    right: 100%;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 8px 0;
}

.nested-dropdown:hover .nested-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Products submenu specific styles */
.dropdown .nested-dropdown .nested-dropdown-menu {
    top: 100%;
    left: 0;
    right: auto;
    transform: translateY(10px);
}

.dropdown .nested-dropdown:hover .nested-dropdown-menu {
    transform: translateY(0);
}

.dropdown .nested-dropdown-toggle::after {
    position: static;
    display: inline-block;
    margin-left: 6px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
    transform: rotate(45deg) translateY(-2px);
}

.dropdown .nested-dropdown:hover .nested-dropdown-toggle::after {
    transform: rotate(-135deg) translateY(-2px);
}

/* Mobile Nested Dropdown */
.mobile-nested-dropdown {
    position: relative;
}

.mobile-nested-dropdown-toggle {
    position: relative;
    padding: 10px 20px;
    cursor: pointer;
}

.mobile-nested-dropdown-toggle::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
    transform: translateY(-50%) rotate(-45deg);
}

.mobile-nested-dropdown-toggle.active::after {
    transform: translateY(-50%) rotate(45deg);
}

/* Mobile nested dropdown menu styles are now handled by the main styles */

/* Scrolled nav behavior - simplified */
.navbar.scrolled {
    height: auto;
}

.scrolled .nav-content {
    height: 130px; /* Match scrolled logo height */
}

/* Hero Section - Updated to match Fine Organics style */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../19366.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0 80px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.4px;
}

.hero-features {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.hero-features li {
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.2rem;
    color: #ffffff;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.6);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.hero-features li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

.carousel-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

.logo-container {
    text-align: center;
    padding: 15px 0;  /* Further reduced for better balance */
    margin-bottom: 0; /* Ensure no extra margin */
    position: relative;
    z-index: 2;
}

.logo-container img {
    height: 380px; /* Increased from 280px for a larger hero logo */
    max-width: 100%;
}

.hero-carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin-top: 5px; /* Reduced spacing after logo */
}

.carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-color: transparent;
    border-radius: 8px;
    padding: 30px 0; /* Reduced from 60px */
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

/* Buttons - Updated to match Fine Organics style */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.75rem 1.8rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 4px;
    transition: all 0.15s ease-in-out;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #004D40;
    border-color: #004D40;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-light);
}

/* Section styling - Updated to match Fine Organics style */
section {
    padding: 40px 0; /* Reduced from 60px */
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem; /* Reduced from 1rem */
    text-align: center;
    color: var(--accent-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.services-overview .section-subtitle,
.about-overview .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

/* Premium Logo Styles */
.premium-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.premium-logo {
    width: auto;
    height: 350px;
    max-width: 100%;
    display: block;
    /* More precise rendering */
    image-rendering: optimizeQuality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-filter: blur(0);
    filter: blur(0);
}

/* Expertise Section */
.expertise {
    padding: 100px 0;
    background-color: var(--secondary-bg);
}

.expertise-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-secondary);
}

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

.expertise-card {
    background-color: var(--primary-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.expertise-icon {
    margin-bottom: 1.5rem;
}

.expertise-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.expertise-card p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Featured Products Section */
.featured-products {
    padding-top: 30px; /* Reduced padding for better spacing flow */
    padding-bottom: 30px;
}

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

.product-highlight {
    background-color: var(--secondary-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.product-highlight .product-image {
    margin-bottom: 1.5rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-molecular-svg {
    height: 180px;
    width: auto;
    transition: transform 0.3s ease;
}

.product-highlight:hover .featured-molecular-svg {
    transform: scale(1.1);
}

.product-highlight h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-highlight p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.learn-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.learn-more:hover {
    color: #004a99;
}

.learn-more:after {
    content: '\2192';
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.learn-more:hover:after {
    transform: translateX(4px);
}

.action-center {
    text-align: center;
}



/* Services Overview Section */
.services-overview {
    padding: 80px 0;
    background-color: var(--secondary-bg);
}

.services-overview .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-item {
    background-color: var(--primary-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

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

.learn-more {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.learn-more:hover {
    text-decoration: underline;
}

/* Footer Styles */
.footer {
    background-color: #f5f5f7;
    padding: 80px 0 20px;
}

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

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-column p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

address {
    font-style: normal;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Mobile Navigation - Improved for consistency */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    margin-right: 15px;
    position: relative;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-bg);
    z-index: 1000;
    padding: 80px 20px 20px;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    visibility: hidden; /* Hide initially */
}

.mobile-nav.active {
    transform: translateX(0);
    visibility: visible; /* Show when active */
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
}

.mobile-nav a {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav a:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--accent-color);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav .mobile-dropdown {
    position: relative;
    width: 100%;
}

.mobile-nav .mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    user-select: none; /* Prevent text selection */
}

.mobile-nav .mobile-dropdown-toggle:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.mobile-nav .mobile-dropdown-toggle::after {
    content: '\002B';
    font-size: 22px;
    transition: transform 0.3s ease;
}

.mobile-nav .mobile-dropdown-toggle.active {
    color: var(--accent-color);
    background-color: rgba(0, 0, 0, 0.03);
}

.mobile-nav .mobile-dropdown-toggle.active::after {
    transform: rotate(45deg);
}

.mobile-nav .mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.02);
    will-change: max-height;
    display: block !important; /* Ensure it's always a block element */
    opacity: 1; /* Ensure it's visible when expanded */
    position: relative; /* Ensure proper positioning */
}

.mobile-nav .mobile-dropdown-menu a {
    padding: 12px 15px 12px 30px;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* Mobile Nested Dropdown Improved Styles */
.mobile-nav .mobile-nested-dropdown {
    width: 100%;
    display: block;
    position: relative;
}

.mobile-nav .mobile-nested-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 15px 12px 30px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(0, 0, 0, 0.02);
    transition: background-color 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    user-select: none; /* Prevent text selection */
}

.mobile-nav .mobile-nested-dropdown-toggle:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.mobile-nav .mobile-nested-dropdown-toggle::after {
    content: '\002B';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.mobile-nav .mobile-nested-dropdown-toggle.active {
    color: var(--accent-color);
    background-color: rgba(0, 0, 0, 0.05);
}

.mobile-nav .mobile-nested-dropdown-toggle.active::after {
    transform: rotate(45deg);
}

.mobile-nav .mobile-nested-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.04);
    will-change: max-height;
    display: block !important; /* Ensure it's always a block element */
    opacity: 1; /* Ensure it's visible when expanded */
    position: relative; /* Ensure proper positioning */
}

.mobile-nav .mobile-nested-dropdown-menu a {
    display: block;
    padding: 12px 15px 12px 45px;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: background-color 0.2s ease;
}

.mobile-nav .mobile-nested-dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* This rule is now merged with the one above */

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .premium-logo {
        height: 500px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-content {
        justify-content: flex-end;
    }

    .nav-links {
        display: none;
    }

    .mobile-nav {
        display: flex;
        transform: translateX(100%);
    }

    .mobile-nav.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Ensure consistent spacing in mobile navigation */
    .mobile-nav-links {
        margin-top: 20px;
        width: 100%;
    }

    /* Improve mobile dropdown appearance */
    .mobile-dropdown-toggle span {
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    /* Ensure dropdown menus are properly displayed */
    .mobile-dropdown {
        width: 100%;
    }

    .mobile-dropdown-menu,
    .mobile-nested-dropdown-menu {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .premium-logo {
        height: 350px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .expertise-intro {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .expertise,
    .featured-products {
        padding: 60px 0;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-buttons .btn {
        margin: 0;
        width: 100%;
        max-width: 280px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .expertise-grid,
    .products-grid,
    .services-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .premium-logo {
        height: 250px;
    }

    .section-title {
        font-size: 24px;
    }

    .expertise-card,
    .product-highlight {
        padding: 1.5rem;
    }

    .footer {
        padding: 50px 0 20px;
    }

    .footer-grid {
        gap: 2rem;
    }

    .expertise-grid,
    .products-grid,
    .services-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .expertise-grid,
    .products-grid,
    .services-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

main, section:first-of-type, .hero, .products-header, .about-header, .services-header, .contact-header, .page-hero {
    padding-top: 130px;
}

/* Product Grid - Fine Organics Style */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem; /* Reduced from 2rem */
    margin-top: 1.5rem;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0; /* Remove any unwanted margins */
    text-align: center;
}

.product-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.product-card h3 {
    margin-bottom: 10px;
    color: var(--accent-color);
}

.product-card p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-link:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.btn-link:hover:after {
    transform: scaleX(1);
}

/* About Section - Fine Organics Style */
.about-overview {
    background-color: var(--secondary-bg);
    padding-top: 30px; /* Reduced padding */
    padding-bottom: 30px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem; /* Reduced from 2rem */
}

.about-text {
    padding-right: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section - Fine Organics Style */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.service-icon {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.service-card h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

/* Footer - Fine Organics Style */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
}

.footer-col p {
    line-height: 1.6;
    color: #ccc;
}

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

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

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

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact strong {
    color: #fff;
}

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

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

    .about-text,
    .sustainability-text {
        order: 1;
        padding-right: 0;
    }

    .about-image,
    .sustainability-image {
        order: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-features li {
        font-size: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .product-card,
    .service-card {
        padding: 20px;
    }
}

/* Mobile Navigation Styles - This is now handled by the main mobile-nav class */

/* This class is replaced by .mobile-nav.active */

.mobile-nav-links {
    display: flex;
    flex-direction: column;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.mobile-dropdown {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-dropdown-toggle {
    padding: 15px 0;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    text-transform: uppercase;
}

.mobile-dropdown-menu {
    display: none;
    padding-left: 20px;
}

.mobile-dropdown-menu a {
    border-bottom: none;
    padding: 10px 0;
    font-size: 16px;
    text-transform: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Animation Keyframes */
@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 fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotateY(-90deg);
    }
    to {
        opacity: 1;
        transform: rotateY(0);
    }
}

/* Animation Base Classes */
.animate-on-scroll {
    opacity: 0;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-fade-in {
    opacity: 0;
    animation-name: fadeIn;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
}

.fade-in-up {
    animation-name: fadeInUp;
}

.fade-in-down {
    animation-name: fadeInDown;
}

.fade-in-left {
    animation-name: fadeInLeft;
}

.fade-in-right {
    animation-name: fadeInRight;
}

.scale-in {
    animation-name: scaleIn;
}

.rotate-in {
    animation-name: rotateIn;
}

/* Common Transition Effects */
.section-title,
.section-subtitle,
.about-text p,
.service-card,
.product-card,
.team-member,
.contact-info,
.capability-item,
.sustainability-initiative {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.product-item:hover,
.capability-item:hover,
.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero {
        margin-top: 70px;
    }

    .logo-container img {
        height: 320px;
    }

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

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

    .section {
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 60px;
    }

    .logo-container img {
        height: 250px;
    }

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

    .section-title {
        font-size: 1.6rem;
    }
}
