/* Arakozia Premium Design System - Reference Layout Match */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Updated Green Theme */
    --primary-color: #4E6E5D;
    /* Dark Sage Green (Footer/Header) */
    --secondary-color: #7DA2A9;
    /* Muted Blue-Green */
    --accent-color: #C5A059;
    /* Gold/Bronze (keeps premium feel) */

    --bg-gradient-start: #9caf9c;
    /* Pista Green Darker */
    --bg-gradient-end: #dcead9;
    /* Light Pista/White */

    --text-dark: #2c3e30;
    /* Dark Green-Grey Text */
    --text-light: #f5f5f5;
    --text-muted: #6b7c70;
    --white: #ffffff;
    --bg-light: #f4f8f4;
    /* Very light green tint */

    --font-heading: 'Outfit', sans-serif;
    /* Changed to Sans-Serif to match reference */
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #8c9e8c;
    /* Muted Green Button */
    color: var(--white);
    font-weight: 500;
    border-radius: 50px;
    /* Rounded like reference */
    border: 2px solid #8c9e8c;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn:hover {
    background-color: transparent;
    color: #8c9e8c;
    transform: translateY(-2px);
}

.btn-dark {
    background: linear-gradient(90deg, #c9b896 0%, #4E6E5D 100%);
    border: none;
    color: var(--white);
    padding: 1rem 2.5rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Header - Dark Bar */
header {
    background-color: var(--primary-color);
    /* Dark Green Header */
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    color: var(--white);
    border-bottom: 4px solid var(--accent-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #e0e8e3;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.cart-icon {
    position: relative;
    margin-right: 1rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    /* Golden yellow */
    color: white;
    font-size: 0.7rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    color: var(--accent-color);
}

/* Hero Section - Card Style */
.hero-wrapper {
    padding: 3rem 0 5rem;
    /* Adjusted padding */
    /* Mild Light Green Gradient fading to White to merge with next section */
    background: linear-gradient(180deg, #dcead9 0%, #ffffff 100%);
    position: relative;
}

.hero-slider-card {
    height: 500px;
    /* Reduced height from 600px */
    width: 100%;
    max-width: 1100px;
    /* Limit width for better proportion */
    margin: 0 auto;
    /* Center the card */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(197, 160, 89, 0.3), 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Light golden shadow with subtle dark shadow */
    position: relative;
}

.slider-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content in card */
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    animation: slideZoom 5s ease-in-out forwards;
}

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

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

.hero-content {
    width: 100%;
    max-width: 800px;
    /* Limit content width inside card */
    text-align: center;
    color: var(--white);
    z-index: 3;
    position: relative;
    padding: 0 2rem;
}

.slide.active .hero-content {
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure text is visible on dark slides if needed, or stick to dark text on light slides */
/* For this theme, we are using light/pista backgrounds mostly, so dark text is good.
   But if we have dark image, we might need white text.
   Let's force white text for the slider for better contrast on images/colors
   OR stick to the theme. The reference has white text on green bg. */
.hero-slider .hero-content {
    color: var(--white);
}

.hero-slider-card h1 {
    color: var(--white);
    font-size: 3.5rem;
    /* Slightly smaller for card */
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-slider-card p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: #f0f0f0;
}

.hero-title-large {
    font-size: 8rem;
    font-weight: 700;
    opacity: 0.1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    pointer-events: none;
    white-space: nowrap;
    font-family: var(--font-body);
    color: var(--white);
    z-index: 0;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.prev-btn {
    left: 1.5rem;
}

.next-btn {
    right: 1.5rem;
}

.slider-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.indicator.active {
    background-color: var(--white);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.indicator.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--accent-color) 100%);
    animation: indicatorProgress 5s linear forwards;
}

@keyframes indicatorProgress {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Values Grid - 4 Box Layout (Reference: Heritage, Elevating, etc.) */
.values-section {
    padding: 5rem 0;
    position: relative;
    top: -50px;
    /* Overlap hero slightly */
    z-index: 10;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    /* Centered if 2x2, or side-by-side with text */
}

/* Layout Adjustment: The reference has 4 boxes on the left/center and text on the right? 
   Actually looking at screenshot 2, it seems to be:
   Left: 4 Boxes (2x2)
   Right: "About Al Madinah..." Text
*/
.about-layout {
    display: flex;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.values-grid-wrapper {
    flex: 1;
    /* Removed nested grid properties that caused squashing */
}

/* Flip Cards - Horizontal Rotation on Hover */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 250px;
    perspective: 1000px;
}

.flip-card:nth-child(2),
.flip-card:nth-child(4) {
    transform: translateY(30px);
}

.flip-card:hover:nth-child(2),
.flip-card:hover:nth-child(4) {
    transform: translateY(30px);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.flip-card-front {
    background-color: #8fa395;
    color: var(--white);
}

.flip-card-back {
    background-color: #4E6E5D;
    color: white;
    transform: rotateY(180deg);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #e8dcb9;
}

.flip-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.4;
}

.flip-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Text Wrapper */
.about-text-wrapper {
    flex: 1;
}

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

.about-text-wrapper p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.8;
}

/* Product Feature Section (Reference: Milaf Cola cans) */
.product-feature {
    padding: 6rem 0;
    background-color: var(--white);
}

.feature-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

/* Traditional Grains & Spices Section */
.grains-spices-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #dcead9 0%, #f4f8f4 100%);
    /* Light pista green gradient */
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.decorative-divider {
    color: #8fa395;
    /* Pista green for leaf icon */
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    /* Dark sage green */
    margin-bottom: 1rem;
    font-weight: 600;
}

.highlight-text {
    color: var(--accent-color);
    /* Golden yellow like Arakozia icon */
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(143, 163, 149, 0.2);
    /* Pista green shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(143, 163, 149, 0.3);
}

.product-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border: 3px solid #8fa395;
    /* Pista green border */
    border-radius: 10px;
    margin: 1.5rem;
    width: calc(100% - 3rem);
}

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

.product-info {
    padding: 0 2rem 2rem;
}

.product-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    /* Dark sage green */
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-list li i {
    color: #8fa395;
    /* Pista green for chevron icons */
    font-size: 0.7rem;
}

.product-list li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.product-title a:hover {
    color: #8fa395 !important;
}

.view-all-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    /* Dark sage green */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #8fa395;
    /* Pista green on hover */
}

/* Responsive Grains & Spices */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .product-image-wrapper {
        height: 200px;
    }
}

/* Why Choose Section (Merged) */
.why-choose-section {
    padding: 6rem 0 10rem;
    /* Dark Green to Light Green Gradient */
    background: linear-gradient(180deg, #4E6E5D 0%, #9caf9c 100%);
    color: var(--white);
    text-align: center;
    position: relative;
}

.why-choose-header {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.why-choose-header h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.why-choose-header p {
    font-size: 1rem;
    line-height: 1.8;
    color: #f0f0f0;
}

/* Triad Grid - 3 Column Layout */
.triad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Cards - Vertical Flip Animation */
.feature-flip-card {
    background-color: transparent;
    width: 100%;
    height: 350px;
    perspective: 1000px;
}

.feature-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
}

.feature-flip-card:hover .feature-flip-card-inner {
    transform: rotateY(180deg);
}

.feature-flip-card-front,
.feature-flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
}

.feature-flip-card-front {
    background-color: var(--white);
    color: var(--text-dark);
}

.feature-flip-card-back {
    background-color: #2c3e30;
    color: var(--white);
    transform: rotateY(180deg);
}

.feature-flip-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-flip-card-front h3 {
    color: var(--text-dark);
}

.feature-flip-card-back h3 {
    color: var(--white);
}

.feature-flip-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.feature-flip-card-front p {
    color: var(--text-muted);
}

.feature-flip-card-back p {
    color: #e0e0e0;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 10;
    width: calc(100% - 4rem);
}

.stat-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
    .triad-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        position: relative;
        transform: translateY(50px);
        left: auto;
        bottom: auto;
        width: 100%;
    }

    .why-choose-section {
        padding: 6rem 0;
    }

    .gallery-section {
        padding: 8rem 0 5rem;
    }
}

/* Product Videos Section */
.video-section {
    padding: 10rem 0 5rem;
    background-color: var(--bg-light);
    position: relative;
}

.video-section h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 9 / 12;
    min-height: 400px;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.video-overlay i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 4px;
}

/* Responsive Video Grid */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

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

    .video-section {
        padding: 8rem 0 5rem;
    }
}

/* Product Gallery Section */
.product-gallery-section {
    padding: 8rem 0 5rem;
    background-color: #8fa395;
    position: relative;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    margin-top: -3rem;
}

.product-gallery-section h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item-new {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 1.5rem;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-new:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin: 0;
}

/* Gallery Item Sizes */
.gallery-item-new.portrait {
    grid-row: span 2;
}

.gallery-item-new.landscape {
    grid-column: span 2;
}

.gallery-item-new.landscape-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item-new.square {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item-new.large {
    grid-column: span 2;
    grid-row: span 2;
}

/* Responsive Product Gallery */
@media (max-width: 992px) {
    .product-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery-item-new.landscape-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .product-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 1rem;
    }

    .gallery-item-new.portrait,
    .gallery-item-new.landscape,
    .gallery-item-new.landscape-wide,
    .gallery-item-new.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Contact/Footer */
footer {
    background-color: #2c3e30;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-col {
    flex: 1;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-col ul li i {
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

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

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

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.faq-container {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-image-card {
    flex: 1;
    max-width: 450px;
}

.faq-image-card img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.faq-content {
    flex: 1;
}

.faq-label {
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.faq-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
    background-color: #f8f9fa;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-icon-left {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-question span {
    flex: 1;
}

.faq-icon-right {
    width: 30px;
    height: 30px;
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon-right {
    transform: rotate(45deg);
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: var(--white);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 5.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Responsive FAQ */
@media (max-width: 992px) {
    .faq-container {
        flex-direction: column;
        gap: 3rem;
    }

    .faq-image-card {
        max-width: 100%;
    }

    .faq-content h2 {
        font-size: 2rem;
    }
}

/* Distributor Form Section */
.distributor-section {
    background-color: #6b8577;
    color: var(--white);
    padding: 8rem 0 6rem;
    position: relative;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    margin-top: -3rem;
}

.distributor-container {
    display: flex;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.distributor-text {
    flex: 1;
    max-width: 450px;
}

.distributor-text h2 {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.distributor-form-wrapper {
    flex: 1;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    color: var(--text-dark);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
}

.form-control::placeholder {
    color: #999;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.form-submit-btn {
    background-color: #2c5f7c;
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.form-submit-btn:hover {
    background-color: #234a5f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 95, 124, 0.3);
}

/* Responsive Distributor Section */
@media (max-width: 992px) {
    .distributor-container {
        flex-direction: column;
        gap: 3rem;
    }

    .distributor-text {
        max-width: 100%;
        text-align: center;
    }

    .distributor-text h2 {
        font-size: 2.5rem;
    }
}

/* Contact Info Icons (Above Form) */
.contact-info-bar {
    padding: 4rem 0;
    background-color: var(--white);
    text-align: center;
}

.contact-info-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    text-align: center;
}

.contact-info-icon {
    color: #8fa395;
    /* Muted Green */
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info-item h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .about-layout {
        flex-direction: column-reverse;
    }

    .feature-container {
        flex-direction: column;
    }

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

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

    .faq-container,
    .distributor-container {
        flex-direction: column;
    }

    .distributor-text {
        padding-top: 0;
        margin-bottom: 2rem;
    }

    .contact-info-grid {
        flex-direction: column;
        gap: 2rem;
    }
}

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

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

    /* Mobile Menu */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }

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

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .cart-icon {
        margin-right: 0;
    }

    .nav-links .btn {
        margin: 1rem 0;
        text-align: center;
    }

    .about-layout {
        flex-direction: column;
        padding: 2rem 0;
    }

    .values-grid-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .flip-card {
        height: 180px;
        width: 100%;
        perspective: 1000px;
        cursor: pointer;
    }

    .flip-card:nth-child(2),
    .flip-card:nth-child(4) {
        transform: translateY(0);
    }

    .flip-card-inner {
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.8s;
    }

    .flip-card.active .flip-card-inner {
        transform: rotateY(180deg);
    }

    .flip-card-front,
    .flip-card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .flip-card-back {
        transform: rotateY(180deg);
    }

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

    .flip-card h3 {
        font-size: 1.3rem;
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .flip-card p {
        font-size: 0.9rem;
        text-align: left;
        line-height: 1.5;
    }

    .hero-slider-card {
        height: 400px;
    }

    .hero-slider-card h1 {
        font-size: 2rem;
    }

    .hero-slider-card p {
        font-size: 1rem;
    }

    .flip-card {
        height: 200px;
    }

    .flip-card:nth-child(2),
    .flip-card:nth-child(4) {
        transform: translateY(0);
    }

    .about-text-wrapper h2 {
        font-size: 2rem;
    }

    .feature-container {
        padding: 0 1rem;
    }

    .feature-text h2 {
        font-size: 2rem;
    }

    .why-choose-header h2 {
        font-size: 2rem;
    }

    .feature-flip-card {
        height: 300px;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

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

    .video-item {
        min-height: 300px;
    }

    .product-gallery-section {
        padding: 6rem 0 3rem;
    }

    .faq-content h2 {
        font-size: 1.8rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .faq-icon-left {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1rem 1rem 4rem;
        font-size: 0.9rem;
    }

    .distributor-text h2 {
        font-size: 2rem;
    }

    .distributor-form-wrapper {
        padding: 2rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-slider-card {
        height: 350px;
    }

    .hero-slider-card h1 {
        font-size: 1.5rem;
    }

    .hero-slider-card p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .about-text-wrapper h2,
    .feature-text h2,
    .why-choose-header h2,
    .faq-content h2,
    .distributor-text h2 {
        font-size: 1.5rem;
    }

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

    .video-grid {
        gap: 1rem;
    }

    .product-gallery-grid {
        grid-auto-rows: 150px;
    }

    .form-control {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .form-submit-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}