/* ==========================================================================
   ANANT AUTOMOTIVE INDUSTRIES LIMITED - MASTER STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600&family=Michroma&family=Montserrat:wght@400;700;800&display=swap');

/* ==========================================================================
      1. BASE & VARIABLES
      ========================================================================== */
:root {
    --navy: #0D1B2A;
    --royal-blue: #0056A6;
    --chrome-light: #C0C0C0;
    --chrome-dark: #7D7D7D;
    --white: #ffffff;
    --smoke-grey: #f4f7f5;
    --border-grey: #e1e8e2;
    --text-main: #0D1B2A;

    /* Fluid Font Sizes */
    --step-h1: clamp(2.0rem, 8vw, 4.5rem);
    --step-h2: clamp(1.8rem, 5vw, 2.8rem);
    --step-p: clamp(1rem, 2vw, 1.2rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Exo 2', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    overflow-x: hidden;
    background-color: var(--white);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* Global Responsive Padding for Main Sections */
.products,
.category-section,
.testimonials,
.contact-container,
footer {
    padding-left: clamp(15px, 5%, 10%);
    padding-right: clamp(15px, 5%, 10%);
}

h2 {
    font-weight: 500;
}

/* ==========================================================================
      2. TYPOGRAPHY & UTILITIES
      ========================================================================== */
.stylish-font {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3.2rem;
    color: var(--navy);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.section-title {
    text-align: center;
    font-size: var(--step-h2);
    color: var(--navy);
    margin-bottom: 60px;
    text-transform: uppercase;
}

.btn-buy {
    padding: 15px 40px;
    background: var(--royal-blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    /* Engineering feel */
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    border: 1px solid var(--chrome-light);
}

.btn-buy:hover {
    background: var(--navy);
    color: var(--chrome-light);
    text-decoration: none;
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Global Utility */
.theme-highlight {
    color: var(--navy);
    background-color: var(--chrome-light);
    padding: 0 5px;
    /* Adds a tiny bit of breathing room on the sides */
    border-radius: 3px;
    font-weight: 600;
    display: inline-block;
    /* Ensures padding behaves correctly on line wraps */
    line-height: normal;
}

/* Global Utility */
.theme-highlight-subtle {
    color: var(--navy);
    padding: 0 5px;
    /* Adds a tiny bit of breathing room on the sides */
    border-radius: 3px;
    font-weight: 700;
    display: inline-block;
    /* Ensures padding behaves correctly on line wraps */
    line-height: normal;
}

.text-separator {
    color: var(--royal-blue);
    font-weight: 700;
    font-size: 18px;
}

/* ==========================================================================
      3. HEADER & NAVIGATION (DEFAULT / TRANSPARENT)
      ========================================================================== */
header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 50px;
    background: transparent !important;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Brand Stack Logo */
.brand-stack a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
    color: var(--white);
    transition: all 0.3s ease;
}

.brand-logo-img {
    height: 50px;
    /* 20% larger than the previous 35px symbol size */
    width: auto;
    transition: all 0.3s ease;
    /* Removed white filter to keep original colors for Infinity logo */
}

header.sticky .brand-logo-img {
    height: 38px;
    /* Adjusted for interchanged infinity logo */
}

.footer-logo-img {
    height: 91px;
    /* Increased by 30% from 70px */
    filter: none;
    /* Keep original colors for light footer */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.symbolic-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.symbol-img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

header.sticky .symbol-img {
    height: 40px;
    /* Show original dark colors on white sticky background */
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links>li {
    position: relative;
    margin: 0 12px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1 rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Transparent Header Link Colors */
header .nav-links a,
header .action-btn {
    color: var(--white) !important;
}

header .menu-toggle .bar {
    background-color: var(--white) !important;
}

header .nav-links a:hover {
    color: var(--chrome-light) !important;
    transform: translateY(-3px);
}

/* Dropdown Submenu */
.nav-links .fa-angle-down {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.dropdown:hover .fa-angle-down {
    transform: rotate(180deg);
    color: var(--chrome-light);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 260px;
    display: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 10px 0;
    border-top: 4px solid var(--royal-blue);
    overflow: hidden;
}

.submenu li a {
    color: var(--navy) !important;
    padding: 12px 25px;
    display: block;
    width: 100%;
    text-transform: none;
    letter-spacing: 0.5px;
}

.submenu li a:hover {
    background: var(--navy);
    color: var(--white) !important;
    padding-left: 35px;
    transform: none;
}

.dropdown:hover .submenu {
    display: block;
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

/* Header Actions & Cart Badge */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: 30px;
}

.action-btn {
    position: relative;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.action-btn:hover {
    color: var(--chrome-light) !important;
    transform: translateY(-3px);
}

.cart-btn::after {
    content: attr(data-count);
    position: absolute;
    top: -5px;
    right: -12px;
    background: var(--chrome-light);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--navy);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cart-btn[data-count="0"]::after {
    display: none;
}

/* ==========================================================================
      4. HEADER STATES: STICKY & INTERNAL PAGE
      ========================================================================== */

/* Unified Container Style */
header.sticky,
.internal-page header {
    position: fixed !important;
    top: 0;
    left: 0;
    background: var(--navy) !important;
    padding: 12px clamp(15px, 5%, 50px) !important;
    min-height: 70px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header.sticky .brand-stack a,
header.sticky .nav-links a,
header.sticky .action-btn,
header.sticky .symbolic-mark,
.internal-page header .brand-stack a,
.internal-page header .nav-links a,
.internal-page header .action-btn,
.internal-page header .symbolic-mark {
    color: var(--white) !important;
    background-color: transparent !important;
}

@media (min-width: 1025px) {

    header.sticky .nav-links .submenu a,
    .internal-page header .nav-links .submenu a {
        color: var(--navy) !important;
    }

    header.sticky .nav-links .submenu a:hover,
    .internal-page header .nav-links .submenu a:hover {
        background: var(--navy) !important;
        color: var(--chrome-light) !important;
    }
}

header.sticky .menu-toggle .bar,
.internal-page header .menu-toggle .bar {
    background-color: var(--white) !important;
}

.footer-tagline-img {
    height: 35px;
    width: auto;
    opacity: 0.9;
}

.footer-tagline-text {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    line-height: 1.4;
    text-decoration: overline;
    text-decoration-color: var(--royal-blue);
    text-decoration-thickness: 3px;
}

.footer-titles-logo {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

/* Prevent content hiding behind fixed header on internal pages */
.internal-page main {
    padding-top: 80px;
}

/* ==========================================================================
      5. PAGE SECTIONS
      ========================================================================== */

/* --- Hero Section --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #0D1B2A;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) brightness(0.6);
}

.hero-content h1 {
    font-family: 'Michroma', sans-serif;
    font-size: 2.7rem;
    padding: 0 5%;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.hero-tagline {
    max-width: 500px;
    width: 80%;
    margin: 0 auto 30px;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.hero-content p,
.coming-soon p {
    font-size: var(--step-p);
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 0 5%;
    font-weight: 300;
}

/* --- Values Section --- */
.values {
    padding: 60px 5% 20px 5%;
    /* Reduced top/bottom padding and widened sides */
    background: var(--white);
}

.values-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.value-card {
    flex: 1 1 200px;
    /* Smaller flex-basis to fit more horizontally */
    max-width: 250px;
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--smoke-grey);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--royal-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.value-card i,
.value-icon-img {
    font-size: 2.5rem;
    height: 40px;
    /* Matching the height of a 2.5rem icon */
    width: auto;
    color: var(--royal-blue);
    margin-bottom: 20px;
}

.value-icon-img {
    display: block;
    margin: 0 auto 20px auto;
}

.value-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.value-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
}

/* --- Offers Section --- */
.offers {
    display: none !important;
}

.offers {
    display: flex;
    justify-content: space-around;
    padding: 60px 5%;
    background: var(--royal-blue);
    flex-wrap: wrap;
}

.offer-box {
    text-align: center;
    padding: 20px;
    color: var(--white);
}

.offer-box h3 {
    color: var(--navy);
    font-size: 1.4rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

/* --- Product Grid --- */
.products {
    padding-top: 100px;
    padding-bottom: 100px;
}

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

.product-card {
    text-align: center;
    transition: transform 0.4s ease;
}

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

.product-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    max-height: 470px;
}

.rating {
    color: var(--royal-blue);
    margin-bottom: 10px;
}

.price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy);
}

/* --- Category Carousel --- */
.category-section {
    position: relative;
    background: #f7faf8;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    min-height: 450px;
}

.category-slide {
    display: none;
    align-items: center;
    gap: 50px;
    animation: slideIn 0.8s ease forwards;
}

.category-slide.active {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

.cat-content {
    flex: 1;
}

.cat-content p {
    margin-bottom: 25px;
}

.cat-image {
    flex: 1;
}

.cat-image img {
    width: 100%;
    border-radius: 15px;
}

.carousel-dots {
    text-align: center;
    margin-top: 30px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 6px;
    background-color: #cbd5e0;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--navy);
    width: 25px;
    border-radius: 10px;
}

/* --- Testimonials --- */
.testimonials {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--white);
}

.testimonial-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
}

.testimonial-card {
    min-width: 350px;
    background: #e4eef3;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--royal-blue);
    text-align: center;
}

.user-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--royal-blue);
}

/* ==========================================================================
      6. INTERNAL PAGES (HISTORY, CONTACT, COMING SOON)
      ========================================================================== */

/* Internal Branding Headers */
.internal-content-header {
    padding: 140px 10% 60px;
    background: var(--smoke-grey);
    border-bottom: 1px solid var(--border-grey);
}

.content-header-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.internal-brand-logo {
    height: 100px;
    width: auto;
    border-right: 2px solid var(--royal-blue);
    padding-right: 40px;
}

.internal-content-header h1 {
    font-weight: 500;
    font-size: 3rem;
    color: var(--navy);
    margin: 0;
    letter-spacing: -1px;
}

.internal-body-text {
    padding: 80px 10%;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
}

.internal-body-text h2 {
    font-weight: 700;
    color: var(--navy);
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

/* Contact Page */
.contact-hero {
    background: #f7faf8;
    padding: 160px 10% 60px;
    text-align: center;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 2% auto 100px;
    gap: 60px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info a {
    color: var(--royal-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
    color: var(--navy);
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    width: 50px;
    /* Set a fixed width */
    height: 50px;
    /* Set a fixed height */
    line-height: 50px;
    /* Centers the icon vertically */
    text-align: center;
    /* Centers the icon horizontally */
    flex-shrink: 0;
    /* CRITICAL: Prevents flexbox from squeezing the circle */
    border-radius: 50%;
    /* Keeps it a perfect circle */

    /* Ensure your background and colors stay consistent */
    background-color: var(--chrome-light);
    color: var(--navy);
    font-size: 1.6rem;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--navy);
}

.contact-form-wrapper {
    flex: 2;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--navy);
}

.contact-form button {
    width: 100%;
}

.map-container {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    /* Rounds the corners of the map */
    border: 1px solid #eee;
    line-height: 0;
    /* Fixes small gaps at the bottom of the iframe */
}

.map-container iframe {
    display: block;
    filter: grayscale(0.2);
    /* Optional: makes it look more premium/subtle */
    transition: filter 0.3s ease;
}

.map-container iframe:hover {
    filter: grayscale(0);
}

/* Coming Soon */
.coming-soon {
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #f7faf8;
    padding-top: 100px;
}

.message-box h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.message-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

/* ==========================================================================
      7. FOOTER
      ========================================================================== */
footer {
    background: var(--smoke-grey) !important;
    color: var(--text-main);
    padding-top: 60px;
    padding-bottom: 20px;
    border-top: 1px solid var(--border-grey);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 150px;
    width: auto;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-social h4 {
    color: var(--navy);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-links h4 {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
    margin-top: 15px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    line-height: 2.2;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--royal-blue);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid var(--border-grey);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

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

.footer-social .icons a.fa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    font-size: 20px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy) !important;
    border: 1px solid var(--border-grey);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
}

.footer-social .icons a.fa:hover {
    background: var(--navy) !important;
    color: var(--chrome-light) !important;
    border-color: var(--navy);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(45, 106, 46, 0.2);
}

/* ==========================================================================
      8. RESPONSIVE MEDIA QUERIES (CONSOLIDATED)
      ========================================================================== */

/* BACKGROUND IMAGES (UP-SCALING) */
@media (min-width: 768px) {
    .hero {
        background-image: linear-gradient(rgba(45, 106, 46, 0.6), rgba(0, 0, 0, 0.4)),
            url('./images/car-seats-bg.webp');
    }
}

@media (min-width: 1600px) {
    .hero {
        background-image: linear-gradient(rgba(45, 106, 46, 0.6), rgba(0, 0, 0, 0.4)),
            url('./images/car-seats-bg-2k.webp');
    }
}

/* DESKTOP EXCLUSIVES */
@media (min-width: 1025px) {

    .menu-toggle,
    .mobile-action-row {
        display: none !important;
    }
}

/* --- MOBILE & TABLET NAVIGATION (UNDER 1024PX) --- */
@media (max-width: 1024px) {

    /* Hide Desktop Action Links */
    .header-actions {
        display: none !important;
    }

    /* The Drawer Canvas */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: var(--navy);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        overflow-y: auto;
        align-items: center;
        transition: 0.5s ease-in-out;
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

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

    /* Links inside the Drawer */
    .nav-links>li {
        width: 100%;
        margin: 0;
        /* Let padding handle spacing */
        height: auto;
        /* Crucial: allows LI to expand when submenu opens */
        display: block;
        /* Switch from flex items to block for stacking */
        text-align: center;
    }

    .nav-links a {
        font-size: 1rem !important;
        padding: 15px 20px;
        display: block;
        width: 100%;
    }

    .nav-links.active li a {
        color: var(--white) !important;
        background: transparent !important;
    }

    .nav-links.active li a:hover {
        color: var(--chrome-light) !important;
    }

    /* Hamburger Toggle Button */
    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .bar {
        display: block;
        width: 30px;
        height: 3px;
        margin: 6px auto;
        background-color: var(--chrome-light);
        transition: 0.4s;
    }

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

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

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

    header.sticky .menu-toggle.is-active .bar,
    .internal-page header .menu-toggle.is-active .bar {
        background-color: var(--white) !important;
    }

    /* Submenu Logic for Mobile */
    .nav-links .dropdown .submenu {
        display: none;
        position: relative !important;
        /* Force it to stay inside the LI */
        top: 0 !important;
        width: 100%;
        background: rgba(0, 0, 0, 0.2) !important;
        /* Darker contrast for depth */
        box-shadow: none;
        border: none;
        padding: 0;
        transform: none !important;
        /* Remove any desktop animations */
    }

    .submenu li a,
    header.sticky .submenu li a,
    .internal-page header .submenu li a {
        padding: 15px 0 !important;
        font-size: 0.9rem !important;
        color: var(--chrome-light) !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .submenu li:last-child a {
        border-bottom: none;
    }

    .nav-links.active .submenu li a {
        background: rgba(255, 255, 255, 0.05) !important;
    }

    .dropdown.open-mobile .submenu {
        display: block !important;
        margin-top: 5px;
        /* This ensures it pushes the next <li> down */
        visibility: visible;
        opacity: 1;
    }

    .dropdown.open-mobile>a {
        color: var(--chrome-light) !important;
    }

    .dropdown.open-mobile .fa-angle-down {
        transform: rotate(180deg);
    }

    /* Mobile Action Row (Cart & Profile at bottom of drawer) */
    .mobile-action-row {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 0;
        margin-top: 25px;
        padding-top: 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-icon-btn {
        flex: 1;
        display: flex !important;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: var(--chrome-light) !important;
        position: relative;
        padding: 5px;
    }

    .mobile-icon-btn i {
        font-size: 1.5rem;
    }

    .mobile-icon-btn.cart-btn::after {
        top: -2px;
        right: calc(50% - 18px);
    }

    /* Touch Optimization - Footer */
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 30px;
    }

    .footer-social .icons a.fa {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

/* --- TABLET BREAKPOINT (992PX) --- */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .category-slide {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .testimonial-container {
        flex-direction: column;
        overflow-x: visible;
        gap: 20px;
    }

    .testimonial-card {
        min-width: 100%;
        padding: 30px 20px;
    }

    .footer-container {
        gap: 50px;
    }

    .footer-social .icons {
        justify-content: center;
    }

    .message-box,
    .cat-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* --- MOBILE SPECIFIC (768PX) --- */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }

    .stylish-font {
        font-size: 2.2rem;
    }

    .content-header-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .internal-brand-logo {
        border-right: none;
        border-bottom: 2px solid var(--royal-blue);
        padding-right: 0;
        padding-bottom: 20px;
        height: 80px;
    }

    .internal-content-header h1 {
        font-size: 2.2rem;
    }
}