:root {
    /* Main Brand Colors */
    --primary-color: #006838;      /* Deep Forest Green */
    --secondary-color: #00A651;    /* Fresh Leaf Green */
    --accent-color: #8DC63F;       /* Spring Grass */
    --terracotta: #C55225;         /* Warm Terracotta Orange */
    
    /* Supporting Colors */
    --success-green: #00A651;      /* Success Actions - Using brand green */
    --warning-red: #C42100;        /* Error/Warning States - Vibrant Red */
    --warning-yellow: #FED141;     /* Warning States - Warm yellow */
    --info-blue: #006838;          /* Information - Using primary green */
    
    /* Gradient Combinations */
    --gradient-warm: linear-gradient(135deg, var(--terracotta) 0%, var(--warning-red) 100%);
    --gradient-nature: linear-gradient(135deg, var(--terracotta) 0%, var(--accent-color) 100%);
    
    /* Neutral Colors */
    --text-color: #2C3E50;         /* Main Text */
    --text-light: #607D8B;         /* Secondary Text */
    --border-color: #E8F5E9;       /* Subtle Borders - Light green tint */
    
    /* Background Colors */
    --white: #ffffff;
    --light-bg: #F5F7FA;           /* Light Background */
    --light-green: #E8F5E9;        /* Light Green Background */
    --ultra-light: #FAFBFC;        /* Ultra Light Background */
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #006838 0%, #00A651 100%);
    --gradient-accent: linear-gradient(135deg, #00A651 0%, #8DC63F 100%);
    
    /* Overlay Colors */
    --dark-overlay: rgba(0, 104, 56, 0.9);
    --light-overlay: rgba(141, 198, 63, 0.15);
    
    /* Shadow Colors */
    --shadow-light: rgba(0, 104, 56, 0.1);
    --shadow-medium: rgba(0, 104, 56, 0.15);
    --shadow-dark: rgba(0, 104, 56, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Navbar */
.navbar {
    background: var(--gradient-primary);
    box-shadow: 0 2px 8px var(--shadow-medium);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px var(--shadow-dark));
}

.logo {
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 4px var(--shadow-dark));
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo h1 {
    color: var(--white);
    text-shadow: 0 1px 2px var(--shadow-dark);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media screen and (max-width: 768px) {
    .logo img {
        height: 50px;
    }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    opacity: 0.9;
}

.nav-links a:hover {
    opacity: 1;
    background: var(--light-overlay);
    transform: translateY(-1px);
}


.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.mobile-nav a:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-color);
    box-shadow: inset 0 -4px 8px var(--shadow-medium);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/carousel-1.jpg') center/cover;
    opacity: 0.55;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px var(--shadow-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 2px var(--shadow-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 4px 12px var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-medium);
}

.cta-button:hover::before {
    transform: translateX(100%);
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, var(--dark-overlay));
    color: var(--white);
    text-align: left;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.carousel-control {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--terracotta);
}

.carousel-control:hover {
    background: var(--terracotta);
    transform: scale(1.1);
    color: var(--white);
}

/* Product Grid Layout */
.product-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--ultra-light) 0%, var(--light-green) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.product-grid-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-nature);
    opacity: 0.8;
}

.product-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
    border: 1px solid var(--border-color);
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:nth-child(odd) {
    animation-delay: 0.2s;
}

.product-item:nth-child(even) {
    animation-delay: 0.4s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-medium);
    border-color: var(--terracotta);
}

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

.product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-item-content {
    padding: 1.5rem;
}

.product-item-title {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.product-item-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.product-item-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow-light);
    font-weight: 500;
}

.product-item-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(197, 82, 37, 0.1) 0%, transparent 50%);
    transform: scale(0);
    transition: transform 0.5s ease-out;
}

.product-item-button:hover {
    background: var(--gradient-warm);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.product-item-button:hover::after {
    transform: scale(1);
}

.product-item-button:hover::after {
    transform: scale(1);
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
   

.product-item:hover::before {
    opacity: 1;
    animation: shimmer 2s linear infinite;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg,
                rgba(0, 104, 56, 0.9) 0%,
                rgba(0, 166, 81, 0.85) 50%,
                rgba(141, 198, 63, 0.8) 100%),
                url('images/product-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: -80px;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-nature);
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px var(--shadow-dark);
    animation: slideIn 1s ease-out;
    color: var(--white);
    position: relative;
    display: inline-block;
    border-bottom: 4px solid var(--terracotta);
    padding-bottom: 0.5rem;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 4px var(--shadow-dark);
    animation: fadeIn 1s ease-out;
    animation-delay: 0.5s;
    animation-fill-mode: both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
    opacity: 0.95;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--ultra-light) 100%);
    position: relative;
    overflow: hidden;
}

.products::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0.8;
}

.products h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.product-categories {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.category-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.category-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.category-section:hover::before {
    opacity: 1;
}

.category-section:hover {
    box-shadow: 0 8px 24px var(--shadow-medium);
    border-color: var(--accent-color);
}

.category-section h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.category-section > p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.product-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-nature);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px var(--shadow-medium);
    background: rgba(197, 82, 37, 0.1);
    border-color: var(--terracotta);
}

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

.product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-item-content {
    padding: 1.5rem;
}

.product-item-title {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.product-item-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-nature);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.product-item:hover .product-item-title {
    color: var(--terracotta);
}

.product-item:hover .product-item-title::after {
    transform: scaleX(1);
    transform-origin: left;
}

.product-item-subtitle {
    color: var(--terracotta);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.product-item-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-item-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.product-item-button:hover {
    background: var(--gradient-warm);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}


.product-card .learn-more {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-light);
    border: none;
}

.product-card .learn-more:hover {
    background: var(--gradient-warm);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Product Details Page */
.product-details {
    padding: 6rem 0;
    background: var(--light-bg);
}

.product-content {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 12px var(--shadow-medium);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    border: 1px solid var(--border-color);
}

.product-image .main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 24px var(--shadow-medium);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}



.product-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    
    .product-image .main-image {
        height: 300px;
    }
}

.product-benefits,
.product-usage,
.product-composition {
    margin: 2rem 0;
}

.product-benefits ul,
.product-composition ul {
    list-style: none;
    padding: 0;
}

.product-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.product-benefits i {
    color: var(--accent-color);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.product-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.product-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.product-benefits,
.product-usage,
.product-composition {
    margin: 2rem 0;
}

.product-benefits ul,
.product-composition ul {
    list-style: none;
    padding: 0;
}

.product-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.product-benefits i {
    color: var(--accent-color);
}

.dosage-table {
    margin: 1.5rem 0;
    overflow-x: auto;
}

.dosage-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.dosage-table th,
.dosage-table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
}

.dosage-table th {
    background: var(--primary-color);
    color: var(--white);
}

.dosage-table tr:nth-child(even) {
    background: var(--light-bg);
}

.product-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.secondary-button {
    display: inline-block;
    padding: 1rem 2rem;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: var(--light-bg);
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,104,56,0.2);
    border-color: var(--secondary-color);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.product-card p {
    padding: 0 1.5rem 1.5rem;
}

.learn-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.learn-more:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Values Section */
.values {
    padding: 5rem 0;
}

.values h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* News Section */
.news {
    padding: 5rem 0;
    background: var(--light-bg);
}

.news h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.news-item {
    background: var(--white);
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

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

/* Resources Section */
.resources {
    padding: 5rem 0;
    background: var(--white);
}

.resources h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.resource-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px var(--shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
}

.resource-section.error {
    border-color: var(--warning-red);
    box-shadow: 0 2px 4px rgba(196, 33, 0, 0.1);
}

.resource-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.resource-section ul {
    list-style: none;
    padding: 0;
}

.resource-section li {
    margin-bottom: 1rem;
}

.resource-section a {
    color: var(--terracotta);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.4;
    padding: 0.5rem;
    border-radius: 4px;
}

.resource-section a:hover {
    color: var(--primary-color);
    background: rgba(197, 82, 37, 0.1);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 104, 56, 0.95), rgba(0, 166, 81, 0.9), rgba(141, 198, 63, 0.85)),
                url('https://www.molaplusafrica.com/images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0.8;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

/* About Page */
.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 1rem;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-nature);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

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

.value-item i {
    font-size: 2.5rem;
    color: var(--terracotta);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.value-item:hover i {
    color: var(--primary-color);
}

/* Consultancy Page */
.consultancy-content {
    padding: 4rem 0;
}

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

.service-card {
    background: var(--white);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card:nth-child(3) {
    animation-delay: 0.6s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,104,56,0.2);
    border-color: var(--secondary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li:before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

/* Resources Page */
.resources-content {
    padding: 4rem 0;
}

.download-cards,
.research-papers,
.analysis-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-card,
.paper-card,
.analysis-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.download-card:hover,
.paper-card:hover,
.analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,104,56,0.2);
}

.download-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.download-button,
.read-paper,
.view-report {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.download-button:hover,
.read-paper:hover,
.view-report:hover {
    background: var(--primary-color);
    color: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail i {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--ultra-light);
}

.services h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-medium);
    border-color: var(--terracotta);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--primary-color);
    gap: 0.75rem;
}

.service-link i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(3px);
}

/* Product Showcase Section */
.product-showcase {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-green), var(--ultra-light));
}

.product-showcase h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.product-item-subtitle {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .service-grid,
    .product-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 1rem;
    }

    .service-card img,
    .product-item img {
        height: 180px;
    }

    .service-content,
    .product-item-content {
        padding: 1.25rem;
    }
}

/* Outlets Page */
.outlets-content {
    padding: 4rem 0;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.region-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.region-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.outlet-locations {
    display: grid;
    gap: 2rem;
}

.location h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.location ul {
    list-style: none;
    padding: 0;
}

.location li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Contact Page */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: var(--warning-red);
}

.form-error {
    color: var(--warning-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert.error {
    background-color: rgba(196, 33, 0, 0.1);
    border: 1px solid var(--warning-red);
    color: var(--warning-red);
}

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-medium);
}

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

    .mobile-menu {
        display: block;
        color: var(--white);
        text-shadow: 0 1px 2px var(--shadow-dark);
        padding: 0.5rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu:hover {
        background: var(--light-overlay);
        transform: scale(1.1);
    }

    .mobile-nav.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

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

    .container {
        padding: 0 1.5rem;
    }
}

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

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .product-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .product-card,
    .resource-section {
        margin: 0 1rem;
    }

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

/* Enhanced Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .category-section {
        padding: 2rem;
    }

    .category-section h3 {
        font-size: 1.75rem;
    }

    .product-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .product-item img {
        height: 220px;
    }
}

@media screen and (max-width: 768px) {
    .products {
        padding: 4rem 0;
    }

    .products h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .product-categories {
        gap: 3rem;
    }

    .category-section {
        padding: 1.5rem;
    }

    .category-section h3 {
        font-size: 1.5rem;
    }

    .category-section > p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .product-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
    }

    .product-item {
        border-radius: 8px;
    }

    .product-item img {
        height: 200px;
    }

    .product-item-content {
        padding: 1.25rem;
    }

    .product-item-title {
        font-size: 1.1rem;
    }

    .product-item-subtitle {
        font-size: 0.9rem;
    }

    .product-item-description {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .product-item-button {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .products {
        padding: 3rem 0;
    }

    .products h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .product-categories {
        gap: 2rem;
    }

    .category-section {
        padding: 1.25rem;
    }

    .category-section h3 {
        font-size: 1.35rem;
    }

    .category-section > p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .product-grid-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-item img {
        height: 180px;
    }

    .product-item-content {
        padding: 1rem;
    }

    .product-item-button {
        width: 100%;
        text-align: center;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Apply animations to elements */
.carousel-item img {
    transition: transform 0.5s ease-out;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-caption {
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.carousel-item:hover .carousel-caption {
    transform: translateY(0);
}

.nav-links a {
    position: relative;
}

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

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile animations */
@media screen and (max-width: 768px) {
    .product-item,
    .service-card {
        animation: fadeIn 0.4s ease-out;
    }

    .nav-links a::after {
        display: none;
    }
}
