@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --royal-green: #005f38;
    /* Slightly brighter green for contrast against white */
    --royal-green-dark: #00371f;
    /* Used for main text headings */
    --royal-green-light: #008751;
    --metallic-gold: #d4aa55;
    /* Adjusted gold to pop on light backgrounds */
    --gold-bright: #ebd292;
    --warm-silk: #fdfdfc;
    /* Clean, almost pure white background */
    --text-main: #2a332d;
    /* Dark slate-green for primary readable text */
    --text-muted: #5c6b63;
    /* Softer green-grey for secondary text */
    --white: #ffffff;
    --transition-premium: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    --shadow-soft: 0 10px 40px rgba(0, 43, 26, 0.08);
    /* Green-tinted soft shadow */
    --glass: rgba(255, 255, 255, 0.95);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 75%;
    /* Logically scales all 'rem' values down exactly to the 75% zoom preference */
}

body {
    background-color: var(--warm-silk);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(253, 251, 247, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out, visibility 1.2s ease-in-out;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-logo {
    width: 95%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    animation: splash-fade-in 1s ease-out forwards;
}

.splash-text {
    margin-top: -6rem;
    font-size: 1.5rem;
    color: var(--royal-green);
    text-align: center;
    max-width: 80%;
    opacity: 0;
    animation: splash-fade-in 1s ease-out 0.8s forwards;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.splash-loader {
    margin-top: 1.5rem;
    display: flex;
    gap: 8px;
    opacity: 0;
    animation: splash-fade-in 1s ease-out 1s forwards;
}

.splash-loader .dot {
    width: 10px;
    height: 10px;
    background-color: var(--metallic-gold);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.splash-loader .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.splash-loader .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes splash-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Base */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-premium);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-premium);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-premium);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Navigation Bar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.2rem 5%;
    /* Changed padding from 10% to 5% to move logo left */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    /* Solid white */
    border-bottom: none;
    /* Removed border */
    z-index: 1000;
    transition: var(--transition-premium);
    height: 9.375rem;
    /* 150px */
}

nav.scrolled {
    padding: 0.1rem 5%;
    /* matching scrolled state padding with normal */
    height: 6.875rem;
    /* 110px */
    background: #ffffff;
    /* Solid white */
    border-bottom: none;
    /* Removed border */
    box-shadow: none;
    /* Removed shadow completely */
}

nav.hide {
    transform: translateY(-100%);
    pointer-events: none;
}

.nav-logo {
    height: 16rem;
    /* Substantially increased logo size */
    width: auto;
    padding-top: 0;
    margin-left: -1.5rem;
    object-fit: contain;
    transition: var(--transition-premium);
}

nav.scrolled .nav-logo {
    height: 9rem;
}

nav.scrolled .nav-tm {
    right: 24% !important;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    background: transparent;
    padding: 1.2rem 3rem;
    transition: var(--transition-premium);
    margin-left: auto;
}

nav.scrolled .nav-links {
    background: transparent;
    border: none;
    box-shadow: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--royal-green-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 2px;
    position: relative;
    transition: var(--transition-premium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.hamburger {
    display: none;
    font-size: 2rem;
    color: var(--royal-green-dark);
    cursor: pointer;
    transition: var(--transition-premium);
}

nav:not(.scrolled) .hamburger {
    color: var(--royal-green-dark);
}

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

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

#lang-toggle {
    text-decoration: none;
    color: var(--royal-green-dark);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-premium);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 55, 31, 0.1);
    border-radius: 4px;
}

#lang-toggle:hover {
    color: var(--metallic-gold);
    border-color: var(--metallic-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--metallic-gold);
    transition: var(--transition-premium);
}

.nav-links a:hover::after {
    width: 100%;
}


/* Hero Section & Cinematic Slider */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--royal-green-dark);
    /* Changed to dark for readability on bright bright bg */
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    animation: slideAnimation 18s linear infinite;
    will-change: transform, opacity;
}

/* Transitions: 3 slides with 6s each = 18s total */
.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 6s;
}

.slide:nth-child(3) {
    animation-delay: 12s;
}

@keyframes slideAnimation {
    0% {
        opacity: 0;
        visibility: visible;
        transform: scale(1) translateX(0);
    }

    5% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
        transform: scale(1.1) translateX(2%);
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Removed all overlays to show exact image per user request */
    background: transparent;
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    padding: 2rem;
    margin-top: 60px;
    /* Removed solid background, relying on text shadow for contrast */
    animation: heroTextReveal 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes heroTextReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--white);
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    background: var(--metallic-gold);
    /* Changed to metallic gold as requested */
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-premium);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--white);
    z-index: -1;
    transition: width 0.4s ease-in-out;
}

.btn-premium:hover {
    color: var(--royal-green-dark);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.btn-premium:hover::before {
    width: 100%;
}

/* Section Containers */
section {
    padding: 10rem 10%;
}

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

.section-tag {
    display: block;
    text-align: center;
    color: #d6981c
        /*var(--metallic-gold); */
    ;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    position: relative;
}

.section-tag::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--metallic-gold);
    margin: 1rem auto 0;
    transition: var(--transition-premium);
}

.reveal.active.section-tag::after {
    width: 80px;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    color: var(--royal-green);
    margin-bottom: 4rem;
}

/* About Section */
.about {
    position: relative;
    overflow: visible;
    /* Ensure floating asset isn't clipped unnaturally */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text {
    position: relative;
    z-index: 2;
    max-width: 35rem;
    margin-left: auto;
}

.about-text h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: justify;
}


/* Cards Overlay Style */
.card-stack {
    display: grid;
    gap: 2rem;
}

.royal-card {
    background: var(--white);
    padding: 3.5rem;
    border-left: 4px solid var(--metallic-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
    /* Ensures cards stay on top of background assets */
    transition: var(--transition-premium);
    overflow: hidden;
}

.royal-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.15);
}

.royal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(197, 160, 89, 0.05),
            transparent);
    transition: 0.8s;
}

.royal-card:hover::before {
    left: 100%;
}

.royal-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--royal-green);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.royal-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    text-align: justify;
}

/* Floating Corner Image */
.about-corner-wrapper {
    position: absolute;
    bottom: -150px;
    left: -120px;
    z-index: 1;
    /* Moved behind text (text is 2) */
    pointer-events: none;
    width: 900px;
}

.about-corner {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    transform: rotate(-10deg);
    transform-origin: bottom left;
    /* Anchor the bottom-left side */
    animation: floatingSpoon 8s ease-in-out infinite;
}

@keyframes floatingSpoon {
    0% {
        transform: rotate(-10deg) translate(0, 0);
    }

    50% {
        transform: rotate(-13deg) translate(15px, -20px);
    }

    100% {
        transform: rotate(-10deg) translate(0, 0);
    }
}

/* Products Layout */
/* Products Section */
.products {
    position: relative;
    background: var(--white);
    overflow: hidden;
    border-top: none;
    /* Remove any section boundary line */
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    /* Slightly reduced for a premium look */
    z-index: 0;
    pointer-events: none;
}

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

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

.product-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-premium);
}

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

.product-img-wrapper {
    height: 21.875rem;
    /* 350px */
    overflow: hidden;
    position: relative;
}

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

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

.product-info {
    padding: 2.5rem;
    text-align: center;
}

/* Decorative Corner Image */
.corner-accent {
    position: absolute;
    width: 68.75rem;
    /* 1100px */
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: all 1.8s cubic-bezier(0.19, 1, 0.22, 1);
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.12));
}

.bridge-accent {
    top: -39.375rem;
    /* -550px */
    left: -12.5rem;
    /* -200px; anchored to the left side */
    right: auto;
    /* Clear default right alignment */
    transform: translate(-50px, -50px) rotate(-10deg);
}

.corner-accent.active {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
    animation: floating-accent 6s ease-in-out infinite alternate 1.8s;
}

@keyframes floating-accent {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(15px, 15px) rotate(3deg);
    }
}

/* Packaging Section */
.packaging {
    padding: 10rem 0;
    /* Adding a highly subtle, premium warm gradient background */
    background: linear-gradient(135deg, var(--warm-silk) 0%, #f5f2eb 50%, var(--warm-silk) 100%);
    position: relative;
    overflow: hidden;
    /* Ensure gradient/scaled image doesn't break edges */
}

/* Floating Accent Leaves */
.floating-leaf {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
}

.leaf-1 {
    top: 5%;
    left: 10%;
    width: 60px;
    animation: float-leaf 8s ease-in-out infinite alternate;
}

.leaf-2 {
    top: 20%;
    right: 15%;
    width: 80px;
    opacity: 0.4;
    animation: float-leaf 12s ease-in-out infinite alternate-reverse 1s;
}

.leaf-3 {
    bottom: 15%;
    left: 8%;
    width: 100px;
    opacity: 0.5;
    animation: float-leaf 10s ease-in-out infinite alternate 2s;
}

.leaf-4 {
    top: 60%;
    right: 5%;
    width: 50px;
    opacity: 0.7;
    animation: float-leaf 9s ease-in-out infinite alternate-reverse 0.5s;
}

.leaf-5 {
    bottom: 30%;
    right: 40%;
    width: 70px;
    opacity: 0.3;
    animation: float-leaf 11s ease-in-out infinite alternate 1.5s;
}

@keyframes float-leaf {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-20px) rotate(15deg) scale(1.05);
    }

    100% {
        transform: translateY(10px) rotate(-10deg) scale(0.95);
    }
}



.packaging-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* Adjusted grid to give text column slightly more space */
    gap: 6rem;
    /* Slightly reduced gap to give more room for the image */
    align-items: center;
}

.packaging-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    animation: floatBag 6s ease-in-out infinite;
    transform-origin: center;
    margin: 0 auto;
    display: block;
}

@keyframes floatBag {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (min-width: 993px) {
    .packaging-image img {
        margin-top: 40px;
    }

    .packaging {
        padding: 5rem 0 2rem 0;
    }

    .products {
        padding: 6rem 10%;
    }
}

.packaging-content .section-tag {
    margin-bottom: 1.5rem;
}

.packaging-content .section-title {
    margin-bottom: 2.5rem;
    text-align: left;
    white-space: normal;
    font-size: 3rem;
    /* Allows wrapping, matches new layout */
}

.packaging-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 2.2;
    text-align: justify;
}

.packaging-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.feature-dot {
    width: 12px;
    height: 12px;
    background: var(--metallic-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 600;
    color: var(--royal-green-dark);
    font-size: 1rem;
}

@media (max-width: 992px) {
    .packaging-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .packaging-content .section-title {
        text-align: center;
        white-space: normal;
        /* Allow wrapping on mobile */
    }

    .packaging-text {
        text-align: justify;
    }

    .feature-item {
        justify-content: center;
    }
}

/* Why Choose Us Final Section */
.why-choose-us-final {
    position: relative;
    padding: 8rem 10%;
    background-color: var(--white);
    color: var(--text-main);
}

.why-choose-title {
    font-size: 3.5rem;
    color: var(--royal-green-dark);
    margin-bottom: 2rem;
    font-weight: 800;
    text-align: left;
    font-family: 'Playfair Display', serif;
    white-space: nowrap;
    /* Single line as requested */
}

.why-choose-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Exact half and half */
    gap: 4rem;
    align-items: center;
}

.why-choose-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.why-choose-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.why-choose-content {
    display: flex;
    flex-direction: column;
}

.why-choose-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: justify;
}

.why-choose-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #ebebeb;
    background-color: var(--white);
    border-radius: 6px;
}

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1rem;
    border-right: 1px solid #ebebeb;
    transition: var(--transition-premium);
}

.feature-box:last-child {
    border-right: none;
}

.feature-box:hover {
    background-color: #fcfcfc;
}

.feature-box i {
    font-size: 3.5rem;
    color: #5A825F;
    margin-bottom: 1.2rem;
    transition: transform 0.3s ease;
}

.feature-box:hover i {
    transform: scale(1.1);
}

.feature-box span {
    font-weight: 700;
    color: #333;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 992px) {
    .why-choose-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-choose-title {
        text-align: center;
        font-size: 2.5rem;
    }

    .why-choose-desc {
        text-align: justify;
    }

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

    .feature-box {
        border-right: none;
        border-bottom: 1px solid rgba(0, 55, 31, 0.1);
    }

    .feature-box:last-child {
        border-bottom: none;
    }
}

/* Our Grades Preview Section */
.our-grades-preview {
    padding: 4rem 10%;
    background-color: var(--white);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}



.our-grades-preview .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.preview-content {
    max-width: 500px;
}

.preview-title {
    font-size: 3.5rem;
    color: var(--royal-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.preview-text {
    font-size: 1.15rem;
    /* Matches size in other sections like grades */
    color: var(--text-muted);
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 2rem;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    background-color: var(--royal-green-dark);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-premium);
}

.btn-learn-more:hover {
    background-color: var(--royal-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 43, 26, 0.2);
}

.cardamom-sizes-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.sizes-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1.5rem;
    /* Optional: drop-shadow for extra realism if image is transparent 
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.1)); */
}

.size-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 4%;
    /* Adjust depending on exact spacing of pods in image */
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

@media (max-width: 992px) {
    .our-grades-preview .container {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .preview-content {
        margin: 0 auto;
    }

    .cardamom-sizes-card {
        padding: 1rem;
    }
}

/* Footer */
footer {
    background: var(--royal-green-dark);
    /* Reverted to royal green as requested */
    color: var(--white);
    padding: 8rem 10% 4rem;
    position: relative;
    border-top: none;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--metallic-gold);
    /* Changed to gold to match theme */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.5fr 1.4fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-logo {
    height: 12.5rem;
    /* 200px */
    margin-top: -2.5rem;
    margin-left: -5rem;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
    /* Make logo white for dark theme */
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

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

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

.footer-links h3,
.footer-contact h3,
.footer-map h3 {
    color: var(--metallic-gold);
    /* Headers changed to metallic gold as requested */
    font-size: 1.7rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-contact-heading {
    margin-left: 1.75rem;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-map h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 2px;
    background: var(--metallic-gold);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-premium);
}

.footer-links a:hover {
    color: var(--royal-green-light);
    /* Hover goes to bright green */
    opacity: 1;
    padding-left: 10px;
}

.footer-tm {
    position: absolute;
    right: 31%;
    top: 18%;
    font-size: 0.8rem;
    color: #ffffff;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--metallic-gold);
    flex-shrink: 0;
    margin-top: 0.4rem;
}

.footer-marketing {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-map iframe {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 55, 31, 0.1) !important;
    /* Changed border to soft dark green */
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-text {
        margin-left: 0;
        max-width: 100%;
    }

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

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

    /* Fixed responsiveness for Why Choose Us section */
    .why-choose-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-choose-title {
        white-space: normal;
        font-size: 2.5rem;
        text-align: center;
    }

    .why-choose-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .why-choose-features {
        justify-content: center;
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .feature-box {
        border-right: none;
        border-bottom: 1px solid #ebebeb;
    }

    .feature-box:last-child {
        border-bottom: none;
    }

    .why-choose-us-final {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }

    .our-grades-preview {
        padding-top: 2rem;
        padding-bottom: 5rem;
    }

    /* Mobile scaling for background assets */
    .about-corner-wrapper {
        width: 100%;
        max-width: 500px;
        left: -50px;
        bottom: -100px;
        opacity: 0.7;
        /* Soften for mobile */
    }
}

@media (max-width: 768px) {
    .splash-text {
        margin-top: -1rem;
    }

    nav {
        padding: 1rem 5%;
        /* Shrink side padding to move logo and hamburger slightly inward */
    }

    nav.scrolled {
        padding: 0.5rem 5%;
    }

    .nav-logo {
        height: 15rem;
        width: auto;
        margin-left: -6rem;
        filter: none;
        /* Remove white shadow on mobile */
    }

    nav.scrolled .nav-logo {
        height: 6rem;
        width: auto;
        margin-left: -1.5rem;
    }

    .our-grades-preview {
        padding: 3rem 5%;
    }

    .our-grades-preview .container {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .cardamom-sizes-card {
        padding: 0.75rem;
    }

    .preview-text {
        margin-bottom: 0.5rem;
    }

    .nav-tm {
        right: 35% !important;
        top: 38% !important;
        font-size: 0.6rem !important;
    }

    .sizes-image {
        max-height: 180px;
        width: auto !important;
        margin: 0 auto 1rem;
    }

    nav.scrolled .nav-tm {
        display: none !important;
    }

    nav.scrolled .nav-tm-scrolled {
        display: block !important;
        right: 26% !important;
        top: 33% !important;
        font-size: 0.5rem !important;
    }

    .hamburger {
        display: block;
        margin-right: -1rem;
        /* Move hamburger a little bit to the left side */
    }

    .nav-right {
        gap: 1rem;
    }

    #lang-toggle {
        padding: 0.3rem 0.6rem;
        font-size: 1rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        /* White background on mobile */
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.4s ease-in-out, opacity 0.4s ease;
        opacity: 0;
        z-index: -1;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    nav:not(.scrolled) .nav-links {
        background: rgba(255, 255, 255, 0.98);
        /* Ensure white background if opened at the top */
    }

    /* Override the initial desktop hover (white-on-white) for mobile links */
    nav:not(.scrolled) .nav-links a {
        color: var(--royal-green-dark);
        text-shadow: none;
    }

    nav:not(.scrolled) .nav-links a:hover {
        color: var(--metallic-gold);
    }

    nav:not(.scrolled) .nav-links a:hover::after {
        background: var(--metallic-gold);
        box-shadow: none;
    }

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

    .grade-panel {
        padding: 3rem 2rem;
        /* Reduce padding for tablet */
    }

    section {
        padding: 5rem 5%;
    }

    .packaging {
        padding: 4rem 5%;
    }

    .packaging-grid {
        gap: 1.5rem;
    }

    #footer-socials {
        margin-left: 0 !important;
        justify-content: flex-start;
    }

    .footer-tm {
        right: 32% !important;
        top: 20% !important;
    }
}

/* Extra Small Devices (iPhone SE, etc.) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 3rem 7%;
        /* Reduced vertical padding and kept side gap */
    }

    .packaging {
        padding: 2.5rem 7%;
    }

    .packaging-grid {
        gap: 1rem;
    }

    .grade-panel {
        padding: 2.5rem 1.25rem;
    }

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

    .btn-premium {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }

    footer {
        padding: 4rem 5% 2rem;
    }

    .footer-marketing {
        white-space: normal;
        display: block !important;
    }

    .footer-contact-heading {
        margin-left: 0;
    }
}

/* Specific fix for text readability overlap between 1025px and 1370px */
@media (min-width: 1025px) and (max-width: 1370px) {
    .bridge-accent {
        left: -18rem;
        /* Keep image partially visible */
        transform: translate(-50px, -20px) rotate(-10deg) scale(0.85);
        /* Proper scaling and position */
    }

    .about-text {
        max-width: 42rem;
        background: rgba(253, 251, 247, 0.85);
        /* Match warm-silk body color with 85% opacity */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 3rem;
        border-radius: 24px;
        /* Rounded corners like a premium card */
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        /* Gentle shadow to separate it from the image */
        position: relative;
        z-index: 5;
        /* Ensure card stacks completely over the background image */
    }
}

/* Arabic Specific Typography Adjustments */
body.lang-ar p,
body.lang-ar .choose-subtitle,
body.lang-ar .preview-text,
body.lang-ar .packaging-text,
body.lang-ar .footer-brand p,
body.lang-ar .footer-contact p,
body.lang-ar .royal-card p,
body.lang-ar .product-info p,
body.lang-ar .choose-card p,
body.lang-ar .about-text p {
    font-size: 135%;
    /* Scales proportionately from their original sizes */
    line-height: 1.9;
}

body.lang-ar .section-tag {
    font-size: 2.2rem;
}

body.lang-ar .section-title {
    font-size: 4.2rem;
}

body.lang-ar .footer-links h3,
body.lang-ar .footer-contact h3,
body.lang-ar .footer-map h3 {
    font-size: 1.5rem;
    /* Reset back to standard footer size */
}

/* Reset address, phone, email, and copyright text sizes in footer for Arabic */
body.lang-ar .footer-brand p,
body.lang-ar .footer-contact p,
body.lang-ar footer p {
    font-size: 1rem;
    line-height: 1.6;
}