/* Global Styles */
:root {
    --primary-color: #3b5f42;
    /* Medium green */
    --primary-dark: #123524;
    /* Dark green for footer/top bar */
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8fbf8;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            transparent);
    transform: skewX(-20deg);
    transition: none;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 53, 36, 0.15);
}

.btn:hover i.fa-arrow-right {
    transform: translateX(4px);
}

.btn:hover::after {
    left: 150%;
    transition: all 0.75s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-dark {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-dark:hover {
    background-color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 20px;
    opacity: 0.9;
}

.top-bar-left i {
    margin-right: 5px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-right a {
    color: var(--white);
    opacity: 0.9;
}

.top-bar-right a:hover {
    opacity: 1;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    height: 100px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark, #123524);
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-right: 40px;
}

.logo img {
    height: 110px;
    width: auto;
    transition: height 0.3s ease;
}

.logo-text h1 {
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: 1px;
    margin: 0;
    color: var(--primary-dark);
}

.logo-text span {
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--text-light);
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.nav-links i {
    font-size: 0.7rem;
    margin-left: 3px;
}

.nav-links .dropdown {
    position: relative;
    padding-bottom: 20px;
    /* To prevent dropdown from closing when moving mouse */
    margin-bottom: -20px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white, #fff);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
}

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

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    padding: 8px 20px;
    display: block;
    font-size: 0.9rem;
    color: var(--text-color, #333);
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light, #f8fbf8);
    color: var(--primary-color, #6a9c5b);
}

/* Hero Section */
.hero {
    position: relative;
    background-color: #f8fbf8;
    background-image: url('images/HERO.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    padding: 75px 0 163px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
}

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

.hero-content {
    max-width: 1000px;
}

.hero-content h2 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #1a3b2b;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
}

.hero-content p {
    font-size: 1.1rem;
    color: #4a5d50;
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeUp 1s ease-out 0.3s forwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: fadeUp 1s ease-out 0.6s forwards;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 4px;
}

.hero-buttons .btn-primary {
    background-color: #1a3b2b;
    border: 1px solid #1a3b2b;
    color: #fff;
}

.hero-buttons .btn-outline {
    background-color: transparent;
    border: 1px solid #1a3b2b;
    color: #1a3b2b;
}

.hero-buttons .btn-outline:hover {
    background-color: #1a3b2b;
    color: #fff;
}

/* Features Section */
.features {
    background-color: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.features .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

.features .feature-box:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.feature-icon {
    font-size: 2rem;
    color: #6a9c5b;
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.about-list {
    margin-bottom: 30px;
}

.about-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.about-list li i {
    color: #6a9c5b;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.section-header .section-title {
    position: relative;
    display: inline-block;
}

.section-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.section-header.light .section-title {
    color: var(--white);
}

.section-header.light .section-title::after {
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(18, 53, 36, 0.08);
    border-color: rgba(106, 156, 91, 0.3);
}

.product-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover img {
    transform: scale(1.08) rotate(3deg);
}

.product-card h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
}

.product-card .btn {
    width: 100%;
    padding: 8px 0;
    font-size: 0.85rem;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    text-align: left;
    line-height: 1.5;
    animation: slideDownFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.products-grid.single-view {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card.active-card {
    max-width: 800px;
    width: 100%;
    transform: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-areas:
        "image title"
        "image desc";
    gap: 0 40px;
    text-align: left;
    align-items: center;
    padding: 40px;
}

.product-card.active-card img {
    grid-area: image;
    width: 100%;
    height: 280px;
    margin: 0;
    border-radius: 12px;
}

.product-card.active-card h4 {
    grid-area: title;
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 0;
    align-self: end;
}

.product-card.active-card .product-desc {
    grid-area: desc;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    align-self: start;
}

.view-all-container {
    text-align: center;
}

/* All Spices List Section */
.all-spices {
    background-color: #fbfbf9;
    background-image: url('images/all-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    /* Ensure the decor doesn't break layout */
}

.decor-anise {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    z-index: 0;
    opacity: 0.9;
}

.decor-bay {
    position: absolute;
    top: -25px;
    left: -15px;
    width: 200px;
    z-index: 0;
    opacity: 0.9;
    transform: translate(-25%, -25%) rotate(45deg);
    filter: drop-shadow(5px 10px 8px rgba(0, 0, 0, 0.7));
}

.decor-new-bg {
    position: absolute;
    top: 0;
    right: 7px;
    width: 200px;
    z-index: 0;
    opacity: 0.85;
    transform: translateX(60%) translateY(-40%) rotate(65deg);
    filter: drop-shadow(5px 10px 8px rgba(10, 10, 10, 0.7));
}

.decor-new-bg-bottom {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 200px;
    z-index: 0;
    opacity: 0.85;
    transform: translateX(-40%) translateY(48%) rotate(-45deg);
    filter: drop-shadow(5px 10px 8px rgba(16, 16, 16, 0.7));
}

.decor-bay-bottom-right {
    position: absolute;
    bottom: 30px;
    right: -10px;
    width: 200px;
    z-index: 0;
    opacity: 0.9;
    transform: translate(-2%, 15%) rotate(-360deg) scaleX(-1);
    filter: drop-shadow(5px 10px 8px rgba(0, 0, 0, 0.7));
}

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

.all-spices .section-header .section-title::after {
    display: none;
}

.spices-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.spice-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 120px;
}

.spice-item img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--white);
    border: 5px solid var(--white);
    box-shadow: 0 12px 30px rgba(18, 53, 36, 0.12);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.spice-item:hover img {
    transform: translateY(-12px) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(18, 53, 36, 0.22);
}

.spice-item span {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3b2b;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 5px;
}

.spice-item:hover span {
    color: var(--primary-color);
    transform: translateY(-4px);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.why-choose-us .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.why-content {
    flex: 1;
}

.why-content p {
    color: var(--text-light);
    margin-top: 15px;
}

.why-features {
    flex: 2;
    display: flex;
    gap: 15px;
}

.why-box {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.why-icon {
    font-size: 2rem;
    color: #6a9c5b;
}

.why-text {
    text-align: left;
}

.why-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
}

.why-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: #15291a;
    color: var(--white);
    padding-top: 60px;
}

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

.footer .logo.light .logo-icon {
    color: #6a9c5b;
    margin-top: 40px;
    height: 130px;
    width: auto;
}

.footer .logo.light .logo-text h2 {
    color: #6a9c5b;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 5px 0 3px 0;
    line-height: 1.1;
    display: block;
}

.footer .logo.light .logo-text span {
    color: #6a9c5b;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 7px;
    text-transform: uppercase;
    display: block;
    margin-left: 20px;

}

.footer .logo-text img {
    height: 140px;
    width: auto;
    display: block;
    margin-bottom: 15px;
}

.footer-col>p {
    margin-top: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-col h4 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

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

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.newsletter-title {
    margin-top: 30px;
}

.newsletter-text {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.newsletter-form button {
    background-color: #6a9c5b;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background-color: #558048;
}

.footer-bottom {
    background-color: #0f1e13;
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 20px;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

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

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

.close-modal {
    color: #1a3b2b;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #f1c40f;
}

.modal-title {
    color: #1a3b2b;
    margin-bottom: 20px;
    font-size: 1.8rem;
    line-height: 1.2;
}

.modal-text {
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-section h4 {
    color: #1a3b2b;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.modal-list {
    list-style: none;
    padding: 0;
}

.modal-list li {
    margin-bottom: 8px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-list li i {
    color: #f1c40f;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design System
   ========================================================================== */

/* Large Tablets & Small Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero-content h2 {
        font-size: 4rem;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about .container,
    .why-choose-us .container {
        gap: 40px;
    }
}

/* Medium Tablets & Mobile Landscape (max-width: 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }

    /* Top Bar */
    .top-bar {
        font-size: 0.8rem;
    }

    .top-bar-left span {
        margin-right: 12px;
    }

    /* Navbar & Mobile Hamburger Menu */
    .navbar {
        height: 80px;
    }

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

    .nav-toggle {
        display: block;
        order: 3;
        font-size: 1.6rem;
        z-index: 101;
        transition: color 0.3s ease;
    }

    .navbar .logo {
        order: 1;
        margin-left: 0;
        position: relative;
        left: auto;
        transform: none;
        z-index: 101;
    }

    .navbar .logo img {
        height: 70px;
    }

    .navbar .btn-primary {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        padding: 30px 24px;
        gap: 10px;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid var(--border-color);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        font-size: 1.05rem;
        font-weight: 600;
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--primary-dark);
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        color: var(--primary-color);
        padding-left: 8px;
    }

    /* Disable Hover and Enable Click for Dropdowns */
    .nav-links .dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .nav-links .dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        display: none;
    }

    .nav-links .dropdown.active:hover .dropdown-menu,
    .nav-links .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        display: block;
        transform: none;
        position: static;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        margin-top: 5px;
        background-color: rgba(0, 0, 0, 0.02);
        border-radius: 6px;
        width: 100%;
        max-height: none;
    }

    .nav-links .dropdown-menu li a {
        font-size: 0.95rem;
        font-weight: 500;
        border-bottom: none;
        padding: 8px 0;
        color: var(--text-color);
    }

    .nav-links .dropdown-menu li a:hover {
        background-color: transparent;
        color: var(--primary-color);
    }

    /* Hero Section Stacking */
    .hero {
        padding: 80px 0 100px 0;
        background-position: center;
        background-size: cover;
    }

    .hero::before {
        width: 100%;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.85) 100%);
    }

    .hero .container {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 600px;
    }

    .hero-content h2 {
        font-size: 3.2rem;
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Features Section Grid */
    .features .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .features .feature-box {
        border-right: none !important;
        justify-content: center;
        padding: 0 10px;
    }

    /* About Section Stacking */
    .about .container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .about-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .about-content {
        width: 100%;
        text-align: left;
    }

    .about-list {
        display: block;
        margin: 20px 0;
    }

    /* Products Grid Layout */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Why Choose Us Stacking */
    .why-choose-us .container {
        flex-direction: column;
        gap: 45px;
        text-align: center;
    }

    .why-content {
        width: 100%;
    }

    .why-features {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-box {
        justify-content: flex-start;
        padding: 20px;
    }

    /* Footer Grid Layout */
    .footer .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Phones & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    /* Product Details Centered Vertical Layout */
    .product-card.active-card {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "image"
            "title"
            "desc" !important;
        gap: 25px !important;
        padding: 30px 20px !important;
        text-align: center !important;
        max-width: 100% !important;
    }

    .product-card.active-card img {
        width: 160px !important;
        height: 160px !important;
        margin: 0 auto !important;
        border-radius: 50% !important;
    }

    .product-card.active-card h4 {
        font-size: 1.5rem !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .product-card.active-card .product-desc {
        text-align: left !important;
        padding-top: 15px !important;
        border-top: 1px solid var(--border-color) !important;
    }

    .product-card.active-card #reset-view-btn {
        text-align: center !important;
    }

    /* Hide Decorative Assets that cause horizontal overflow */
    .decor-anise,
    .decor-bay,
    .decor-new-bg,
    .decor-new-bg-bottom,
    .decor-bay-bottom-right {
        display: none !important;
    }

    /* All Spices Adjustments */
    .all-spices {
        padding: 60px 0;
    }

    .all-spices .section-title {
        font-size: 2.5rem !important;
    }
}

/* Small Phones & Micro Devices (max-width: 576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    /* Top Bar hidden on extremely small devices to save vertical space */
    .top-bar {
        display: none;
    }

    /* Header adjustments */
    .navbar {
        height: 80px;
    }

    .logo img {
        height: 72px;
    }

    .hidden-spice-mobile {
        display: none;
    }


    /* Hero adjustments */
    .hero {
        padding: 60px 0 80px 0;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Features stack vertically */
    .features .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features .feature-box {
        justify-content: flex-start;
    }

    /* Products grid stack vertically */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .product-card {
        padding: 24px;
    }

    .product-card img {
        width: 130px;
        height: 130px;
    }

    /* Why choose us boxes stack vertically */
    .why-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Spices list sizing */
    .spices-list {
        gap: 20px;
    }

    .spice-item {
        width: 90px;
    }

    .spice-item img {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }

    .spice-item span {
        font-size: 0.85rem !important;
    }

    /* Elegant, Compact Mobile Footer Grid */
    .footer .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
        text-align: left;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-col:nth-child(1) {
        grid-column: 1 / span 2;
    }

    .footer-col:nth-child(2) {
        grid-column: 1 / span 1;
    }

    .footer-col:nth-child(3) {
        grid-column: 2 / span 1;
    }

    .footer-col:nth-child(4) {
        grid-column: 1 / span 2;
        margin-top: 10px;
    }

    .footer-col ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-col ul li {
        margin-bottom: 8px;
        width: 100%;
    }

    .footer-col ul li a {
        font-size: 0.85rem;
        display: inline-block;
        transition: all 0.2s ease;
    }

    .footer-col ul li a:hover {
        padding-left: 6px;
        color: var(--primary-color);
        font-weight: 600;
    }

    .footer-col h4 {
        font-size: 1.05rem;
        margin-bottom: 14px;
        position: relative;
        display: inline-block;
    }

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

    .footer-col .logo.light {
        margin-bottom: 8px;
    }

    .footer .logo-text img {
        margin-left: 0 !important;
        height: 95px;
        width: auto;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        margin-bottom: 15px;
    }

    .contact-info p {
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
    }

    .newsletter-title {
        margin-top: 15px !important;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .footer-links a {
        margin-left: 0;
        font-size: 0.8rem;
    }
}

/* Micro-phones down to 320px viewport width */
@media (max-width: 380px) {
    .navbar .logo img {
        height: 54px;
    }

    .navbar .btn-primary {
        display: none;
        /* Hide Quote button on extremely narrow screens to avoid hamburger overlap */
    }
}

/* ==========================================================================
   Premium Scroll-Reveal and Keyframe Animations
   ========================================================================== */

/* Premium Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for beautiful sequential arrivals */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* Subtle float animation on decorative botanical assets */
@keyframes leafFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes leafFloatReverse {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(8px) rotate(-2deg);
    }
}

@keyframes leafFloatBottomRight {

    0%,
    100% {
        transform: translate(-2%, 15%) rotate(-360deg) scaleX(-1) translateY(0);
    }

    50% {
        transform: translate(-2%, 15%) rotate(-360deg) scaleX(-1) translateY(-10px);
    }
}

/* Float loop trigger on desktops */
@media (min-width: 992px) {
    .decor-anise {
        animation: leafFloat 8s ease-in-out infinite;
    }

    .decor-bay {
        animation: leafFloatReverse 10s ease-in-out infinite;
    }

    .decor-bay-bottom-right {
        animation: leafFloatBottomRight 9s ease-in-out infinite;
    }
}

/* Logo Animation Intro Screen Overlay */
.logo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* Brand luxury deep green */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.overlay-logo-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-logo {
    width: 250px;
    height: auto;
    animation: logoZoomInOut 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logoZoomInOut {
    0% {
        transform: scale(0.4);
        opacity: 0;
    }

    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* ==========================================================================
   Spices & Products Catalog Page Styles
   ========================================================================== */

.catalog-hero {
    background: linear-gradient(135deg, #123524 0%, #204a33 100%);
    color: var(--white);
    padding: 100px 0 110px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.catalog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.7;
    pointer-events: none;
}

.catalog-subtitle {
    display: inline-block;
    color: #e2b13c;
    /* Elegant light-gold */
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.catalog-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 20px;
    color: var(--white);
}

.catalog-hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
}

.catalog-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.catalog-filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-tab {
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tab i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.filter-tab:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 95, 66, 0.15);
}

.filter-tab:hover i {
    transform: rotate(15deg);
}

.filter-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(59, 95, 66, 0.2);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.catalog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    opacity: 1;
    transform: scale(1);
}

.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.07);
}

.catalog-card-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.catalog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.catalog-card:hover .catalog-card-image img {
    transform: scale(1.08);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.catalog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.spice-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.spice-details {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
}

.spice-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.spice-details li i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.catalog-card-footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.catalog-card-footer .btn {
    width: 100%;
}

/* Catalog Media Queries */
@media (max-width: 1200px) {
    .catalog-grid {
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .catalog-hero h1 {
        font-size: 3rem;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .catalog-hero {
        padding: 80px 0 90px 0;
    }

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

    .catalog-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
        gap: 30px;
    }

    .catalog-filter-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 35px;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .filter-tab {
        padding: 12px 15px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .catalog-hero h1 {
        font-size: 2.1rem;
    }

    .catalog-hero p {
        font-size: 0.95rem;
    }

    .catalog-section {
        padding: 50px 0;
    }

    .catalog-card-content {
        padding: 20px;
    }

    .catalog-card-content h3 {
        font-size: 1.35rem;
    }

    .spice-desc {
        font-size: 0.88rem;
        margin-bottom: 15px;
    }

    .spice-details {
        margin-bottom: 20px;
        padding-top: 10px;
    }

    .spice-details li {
        font-size: 0.85rem;
    }
}

/* Floating Left Back Button */
.floating-back-btn {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background-color: #123524;
    border: 2px solid #e2b13c;
    /* Gold border */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(18, 53, 36, 0.3);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
}

.floating-back-btn i {
    font-size: 1.3rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.floating-back-btn:hover {
    background-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(226, 177, 60, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.floating-back-btn:hover i {
    transform: translateX(-3px);
}

/* Tooltip */
.floating-back-btn .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #123524;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 6px 10px;
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-back-btn:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Hide on tablet/mobile screens */
@media (max-width: 991px) {
    .floating-back-btn {
        display: none;
    }
}