/* 
    Trimurti Handicrafts - Premium Luxury Website
    Theme: Arctic White & Royal Blue
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Primary Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F0F7FF;
    /* Arctic Blue Mist */
    --bg-tertiary: #001A3D;
    /* Deep Navy */

    /* Accent Colors */
    --accent: #0052CC;
    /* Royal Blue */
    --accent-dark: #003D99;
    --accent-light: #E0EEFF;
    --accent-glow: rgba(0, 82, 204, 0.1);

    /* Text Colors */
    --text-dark: #001A3D;
    --text-mid: #4F6D7E;
    --text-light: #8EABB9;
    --white: #FFFFFF;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Transitions & Shadow */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 20px 40px rgba(0, 26, 61, 0.05);
}

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

html {
    scroll-behavior: initial;
    /* Managed by Lenis */
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
    max-width: 100vw;
    line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

/* Fix for Blank Areas: Ensure content is visible but can be animated */
section {
    position: relative;
    padding: var(--section-padding, 100px 8%);
    opacity: 1;
    /* Ensure sections are visible by default */
    overflow: hidden;
}

/* Page Transition Overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 100000;
    transform: translateY(100%);
    pointer-events: none;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 99999;
    /* Increased z-index */
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

nav.scrolled {
    height: 75px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--accent-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto;
    margin-right: 40px;
    position: relative;
}

.close-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition-smooth);
    /* Position fixed in top-right when inside fullscreen menu */
    position: absolute;
    top: 25px;
    right: 25px;
}

.close-btn:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

@media (max-width: 992px) {
    .close-btn {
        display: block;
    }
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-mobile-cta {
    display: none;
    padding: 15px 35px;
    background: var(--accent);
    color: var(--white) !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 50px;
    margin-top: 30px;
    width: auto !important;
}

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

.nav-cta {
    padding: 12px 25px;
    background: var(--accent);
    color: var(--white) !important;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 82, 204, 0.2);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--accent);
    cursor: pointer;
    z-index: 100005;
    padding: 5px;
    position: relative;
}

@media (max-width: 992px) {
    .menu-btn {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 60px 20px 20px;
        z-index: 100000;
        /* Hidden off-screen by default */
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex !important;
        pointer-events: none;
        opacity: 0;
    }
    .nav-links.active {
        transform: translateX(0);
        pointer-events: all;
        opacity: 1;
    }
    .nav-links a {
        font-size: 1.3rem;
        margin: 12px 0;
        letter-spacing: 0.05em;
    }
    .nav-cta {
        display: none;
    }
    .nav-mobile-cta {
        display: inline-block !important;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-secondary);
    padding: 0;
}

.hero-left {
    padding: 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 5.5rem;
    line-height: 1;
    margin: 20px 0;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-container {
    width: 90%;
    height: 80%;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 26, 61, 0.1);
}

/* Buttons */
.btn-primary {
    padding: 18px 45px;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 82, 204, 0.2);
}

.btn-secondary {
    padding: 18px 45px;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-5px);
}

/* Section Titles */
.section-title {
    margin-bottom: 70px;
}

.section-title p {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.3em;
    /* More spacing for luxury feel */
    font-size: 0.75rem;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    padding-left: 40px;
}

.section-title p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--accent);
    transform: translateY(-50%);
}

.section-title h2 {
    font-size: 3.5rem;
    color: var(--text-dark);
    line-height: 1.1;
    max-width: 800px;
}

.section-title.center {
    text-align: center;
}

.section-title.center h2 {
    margin: 0 auto;
}

.section-title.center p {
    padding-left: 0;
}

.section-title.center p::before {
    display: none;
}

/* About Section Refinement */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 600px;
}

.about-media img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: var(--shadow-premium);
    object-fit: cover;
}

.essence-list {
    list-style: none;
}

.essence-list li i {
    color: var(--accent);
    font-size: 1.2rem;
    min-width: 25px;
    /* Ensure icon doesn't shrink */
}

/* Product Details Styles */
.product-details {
    padding-top: 150px;
    padding-bottom: 100px;
}

.product-info-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.product-info-text .price {
    font-size: 2.5rem;
    color: var(--accent);
    font-family: var(--font-heading);
    margin: 20px 0;
}

@media (max-width: 768px) {
    .product-info-text h1 {
        font-size: 2.2rem;
    }

    .product-info-text .price {
        font-size: 1.8rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn-primary {
        width: 100%;
    }
}

.essence-list li i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Stats Section Update */
.stats {
    background: var(--bg-tertiary);
    color: var(--white) !important;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 120px 8%;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.stats .stat-card h3 {
    font-size: 4rem;
    color: var(--accent-light) !important;
    margin-bottom: 10px;
}

.stats .stat-card p {
    color: rgba(255, 255, 255, 0.6) !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Specialization Cards */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.spec-card {
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 50px;
    transition: var(--transition-smooth);
}

.spec-card:hover {
    transform: translateY(-15px);
}

.spec-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: transform 1.2s ease;
}

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

.spec-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 26, 61, 0.8), transparent);
}

.spec-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.spec-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    max-width: 250px;
    line-height: 1.4;
    font-weight: 300;
}

/* Reviews */
.review-card {
    background: var(--bg-secondary);
    padding: 60px;
    border-radius: 40px;
    text-align: center;
}

.review-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 25px;
    border: 4px solid var(--white);
}

/* Products Grid & Filters */
.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--bg-secondary);
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid var(--accent-light);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 82, 204, 0.15);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 40px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--bg-secondary);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-premium);
}

.product-img {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 26, 61, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.wishlist-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 10px;
    transition: var(--transition-smooth);
    font-size: 1.2rem;
}

.wishlist-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}

.wishlist-btn.active i {
    font-weight: 900;
    color: #ff4757;
}

.product-info {
    padding: 35px;
    text-align: center;
}

.product-info h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .product-info h4 {
        font-size: 1.1rem;
    }
}

.product-info p {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* Wishlist Empty State */
.empty-wishlist {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    width: 100%;
}

.empty-wishlist-icon {
    font-size: 5rem;
    color: var(--accent-light);
    margin-bottom: 30px;
    opacity: 0.5;
}

.empty-wishlist h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.empty-wishlist p {
    color: var(--text-mid);
    margin-bottom: 40px;
    max-width: 400px;
}


/* Page Transition Overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 100000;
    transform: translateY(100%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    background: var(--bg-tertiary);
    color: var(--white);
    padding: 100px 8% 40px;
}

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

.footer-links h4 {
    color: var(--accent-light);
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--text-light);
}

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

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    z-index: 1000000;
    transition: var(--transition-smooth);
    animation: whatsapp-glow 2s infinite;
}

@keyframes whatsapp-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    background: #128C7E;
    animation: none;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

}

/* ==========================================================================
   Shopping Experience Upgrade
   ========================================================================== */

/* 1. Glassmorphism Modal */
.premium-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000000;
    /* Above everything */
    display: none;
    /* toggled by JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.premium-modal-content {
    background: var(--white);
    border-radius: 40px;
    padding: 60px;
    max-width: 900px;
    width: 100%;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 26, 61, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.modal-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.modal-subtitle {
    color: var(--text-mid);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.modal-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mode-card {
    background: var(--bg-secondary);
    border-radius: 30px;
    padding: 40px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.mode-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    border-color: var(--accent);
    box-shadow: var(--shadow-premium);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mode-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.mode-benefits {
    margin-bottom: 30px;
}

.mode-benefits li {
    margin-bottom: 12px;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.w-100 {
    width: 100%;
}

@media (max-width: 768px) {
    .modal-cards {
        grid-template-columns: 1fr;
    }

    .modal-title {
        font-size: 2rem;
    }

    .premium-modal-content {
        padding: 40px 20px;
    }
}

/* 2. Header Dropdown (Pill Button) */
.desktop-mode-wrapper {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.shopping-mode-dropdown {
    position: relative;
}

.mode-toggle-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-light);
    border-radius: 50px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.mode-toggle-btn:hover {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(0, 82, 204, 0.1);
}

.mode-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-mid);
    letter-spacing: 0.05em;
}

.current-mode-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 5px;
}

.mode-dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    border: 1px solid var(--accent-light);
    z-index: 1000;
}

.mode-dropdown-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mode-option {
    padding: 15px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: background 0.3s ease;
}

.mode-option:hover {
    background: var(--bg-secondary);
    color: var(--text-dark);
}

.mode-option.active {
    background: var(--accent);
    color: var(--white);
}

/* Mobile Nav Adjustments */
@media (max-width: 992px) {
    .nav-links .shopping-mode-dropdown {
        margin-top: auto;
        margin-bottom: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-links .mode-dropdown-content {
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        right: auto;
    }

    .nav-links .mode-dropdown-content.show {
        transform: translateX(-50%) translateY(0);
    }
}

/* 3. Product Card Prices & Badges */
.product-price-container {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.card-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.card-mode-badge {
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.1em;
}

/* Details Page Badge */
.mode-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 15px;
    border-radius: 50px;
    letter-spacing: 0.1em;
    vertical-align: middle;
    margin-left: 15px;
}

/* Fix product title/price alignment on details page */
#product-price {
    display: inline-block;
}


/* Product Filters Alignment Fix */
.product-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px auto;
    max-width: 900px;
}

/* Layout Helpers */
.center-text {
    text-align: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Portfolio Card Variants */
.spec-card.card-large {
    height: 600px;
}

.spec-card.card-medium {
    height: 500px;
}

.spec-card.card-small {
    height: 400px;
}

/* Responsive adjustments Overhaul - REFINED */

/* Large Tablets & Small Laptops */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 4rem;
    }

    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        gap: 50px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .spec-grid {
        gap: 20px;
    }

    .spec-card.card-large,
    .spec-card.card-medium,
    .spec-card.card-small {
        height: 450px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    nav {
        height: 70px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-cta {
        display: none;
    }

    .menu-btn {
        display: block;
        z-index: 100001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        left: auto;
        height: 100vh;
        background: var(--white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        border-left: 1px solid var(--accent-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: none;
        /* Controlled by JS/GSAP */
        opacity: 0;
        z-index: 100005;
        /* Increased to be above menu-btn */
        margin: 0 !important;
        padding: 40px;
    }

    .close-btn {
        display: block;
        position: absolute;
        top: 25px;
        /* Moved up */
        right: 25px;
        /* Adjusted */
        z-index: 100006;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 15px;
        letter-spacing: 0.2em;
        text-align: center;
        width: 100%;
        padding: 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        height: auto;
        padding-top: 100px;
    }

    .hero-right {
        height: 40vh;
        order: 1;
        /* Video below text on mobile as requested */
        margin: 0 !important;
        border-radius: 20px;
        overflow: hidden;
    }

    .hero-left {
        padding: 100px 5% 50px !important;
        /* Heavily increased to prevent any overlap */
        text-align: center;
        min-height: 50vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

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

    .nav-mobile-cta {
        display: block;
    }

    .hero-content p {
        margin: 0 auto 30px;
        max-width: 500px;
    }

    .stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 40px 5%;
    }

    .stat-card h3 {
        font-size: 1.8rem !important;
    }

    .stat-card p {
        font-size: 0.6rem !important;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 20px;
    }

    .about-content {
        padding: 0;
        text-align: center;
    }

    .about-content .section-title {
        text-align: center !important;
    }

    .essence-list {
        display: inline-block;
        text-align: left;
    }

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

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

/* Mobile Devices */
@media (max-width: 768px) {
    section {
        padding: 50px 5%;
    }

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

    .section-title p {
        font-size: 0.7rem;
    }

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

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-btns a {
        width: 100%;
        text-align: center;
    }

    .stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        padding: 30px 2%;
    }

    .stat-card {
        padding: 15px 5px;
    }

    .stat-card h3 {
        font-size: 1.4rem !important;
    }

    .stat-card p {
        font-size: 0.5rem !important;
        letter-spacing: 0.05em;
    }

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

    .spec-card {
        height: 300px !important;
    }

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

    .product-actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
        margin-top: 30px;
    }

    .product-actions .btn-primary {
        width: 100% !important;
        margin-bottom: 5px;
        order: -1;
    }

    .product-actions .btn-secondary {
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 15px !important;
        height: 55px;
        margin: 0 !important;
    }

    .product-card {
        max-width: 100%;
        transform: scale(0.95);
        /* Slightly smaller as requested */
    }

    .product-img {
        height: 300px;
    }

    .product-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(0, 26, 61, 0.8), transparent) !important;
        align-items: flex-end !important;
        padding: 20px !important;
    }

    .product-overlay .btn-primary {
        padding: 10px 20px !important;
        font-size: 0.7rem !important;
    }

    .product-card .wishlist-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
        margin-left: 5px !important;
    }

    .quote-form {
        padding: 25px 15px;
    }

    #inquiryForm div {
        grid-template-columns: 1fr !important;
        gap: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

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

    .section-title h2 {
        font-size: 1.6rem;
    }

    .stats {
        gap: 5px;
    }

    .stat-card h3 {
        font-size: 1.2rem !important;
    }
}

/* Quote Form Styles */
.quote-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--bg-secondary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-alt);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 82, 204, 0.1);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white !important;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Empty Wishlist Styles */
.empty-wishlist {
    display: none;
    /* Controlled by JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    text-align: center;
    width: 100%;
}

.empty-wishlist-icon {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--accent-light);
    font-size: 5rem;
    background: var(--bg-secondary);
    border-radius: 50%;
    position: relative;
}

.empty-wishlist h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.empty-wishlist p {
    color: var(--text-mid);
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

.empty-wishlist .btn-primary {
    padding: 15px 40px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Cart / Wishlist Table Styles */
.cart-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.cart-item {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--bg-secondary);
    gap: 20px;
}

.cart-item-img {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.cart-item-info p {
    color: var(--text-mid);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cart-item-price {
    font-weight: bold;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-dark);
    transition: background 0.2s;
}

.qty-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: none;
    font-weight: bold;
    font-family: var(--font-body);
}

.cart-item-total {
    font-weight: bold;
    color: var(--accent);
    font-size: 1.2rem;
    min-width: 120px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    padding: 10px;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.cart-item-remove:hover {
    transform: scale(1.1);
}

/* Cart Summary */
.cart-summary {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--bg-secondary);
    margin-top: 40px;
    text-align: right;
}

.cart-summary-row {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.cart-summary-total {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-secondary);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
}

.order-now-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: #25D366;
    /* WhatsApp Green */
    color: white !important;
    font-weight: bold;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.order-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .cart-item-img {
        width: 100%;
        height: 200px;
    }

    .cart-item-total {
        text-align: left;
        margin-top: 10px;
    }

    .cart-item-remove {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-summary {
        text-align: left;
    }

    .cart-summary-row,
    .cart-summary-total {
        justify-content: space-between;
    }

    .order-now-btn {
        width: 100%;
        text-align: center;
    }
}


/* --- UPDATED PRODUCT CARD STYLES (Products Page) --- */

/* Grid responsiveness */
#product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    padding: 20px 5% 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Card base */
#product-grid .product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--bg-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

#product-grid .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 26, 61, 0.12);
}

/* Image container */
#product-grid .product-img {
    height: 260px;
    border-radius: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

#product-grid .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

#product-grid .product-card:hover .product-img img {
    transform: scale(1.06);
}

/* Wholesale badge */
#product-grid .card-mode-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 26, 61, 0.75);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

/* Info area */
#product-grid .product-info {
    padding: 18px 18px 18px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Product title */
#product-grid .product-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.35;
    /* Clamp to 2 lines to keep all cards same height */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7rem;
}

/* Code + Size meta row */
#product-grid .product-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-mid);
    margin-bottom: 12px;
    background: var(--bg-secondary);
    padding: 7px 10px;
    border-radius: 8px;
    gap: 8px;
}

#product-grid .product-card-meta strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* Price row */
#product-grid .product-price-container {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}

#product-grid .card-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
}

#product-grid .card-unit {
    font-size: 0.75rem;
    color: var(--text-mid);
    font-weight: 400;
}

/* MOQ line */
#product-grid .moq-text {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 14px;
    margin-top: auto;
    /* Push button to bottom */
    padding-top: 6px;
}

/* Get Quote button */
#product-grid .btn-quote {
    width: 100%;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 0.82rem;
    background: var(--bg-tertiary);
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.3s ease, transform 0.2s ease;
}

#product-grid .btn-quote:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

/* ---- RESPONSIVE BREAKPOINTS ---- */

/* Tablet landscape / small laptop: 3 columns */
@media (max-width: 1200px) {
    #product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        padding: 20px 4% 60px;
    }
}

/* Tablet portrait: 2 columns */
@media (max-width: 900px) {
    #product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        padding: 20px 3% 50px;
    }

    #product-grid .product-img {
        height: 220px;
    }

    #product-grid .card-price {
        font-size: 1.2rem;
    }
}

/* Mobile: 1 column */
@media (max-width: 480px) {
    #product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 4% 40px;
    }

    #product-grid .product-img {
        height: 240px;
    }


    #product-grid .product-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
}

/* ============================================================
   PRODUCT CARDS — NEW CLEAN SYSTEM (pc-* classes)
   Used on products.html product grid
   ============================================================ */

/* Reset & Grid */
#product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 24px 5% 80px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Card container */
#product-grid .product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--bg-secondary);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Reset old styles */
    transform: none !important;
}

#product-grid .product-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(0, 26, 61, 0.14);
}

/* Image */
.pc-img {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.pc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Badge */
.pc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 26, 61, 0.82);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    backdrop-filter: blur(3px);
}

/* Body */
.pc-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Title — clamp to exactly 2 lines */
.pc-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0 0 10px 0;
    /* 2-line clamp keeps all cards same height */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(0.95rem * 1.4 * 2);
}

/* Meta row: Code + Dim */
.pc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    background: var(--bg-secondary);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    color: var(--text-mid);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pc-meta strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* Price row */
.pc-price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 4px;
}

.pc-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.pc-unit {
    font-size: 0.73rem;
    color: var(--text-mid);
}

/* MOQ */
.pc-moq {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 700;
    margin: 0 0 14px 0;
    margin-top: auto;
    padding-top: 4px;
}

/* Get Quote button */
.pc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 0;
    background: var(--bg-tertiary);
    color: #fff !important;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: 0.3px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.pc-btn:hover {
    background: var(--accent) !important;
    transform: translateY(-1px);
}

/* ---- BREAKPOINTS ---- */

/* Laptop/Large tablet: 3 columns */
@media (max-width: 1280px) {
    #product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 20px 4% 70px;
    }
}

/* Tablet portrait: 2 columns */
@media (max-width: 900px) {
    #product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 16px 4% 60px;
    }

    .pc-img {
        height: 210px;
    }

    .pc-title {
        font-size: 0.9rem;
    }

    .pc-price {
        font-size: 1.15rem;
    }
}

/* Mobile: 2 column */
@media (max-width: 520px) {
    #product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px 3% 50px;
    }

    .pc-img {
        height: 150px;
    }

    .pc-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        font-size: 0.7rem;
    }

    .pc-title {
        font-size: 0.8rem;
    }

    .pc-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .pc-price {
        font-size: 0.95rem;
    }

    .pc-btn {
        padding: 10px;
        font-size: 0.75rem;
    }
}

/* Mobile Nav Cart Alignment */
@media (max-width: 992px) {
    .cart-nav-icon {
        margin-left: auto !important;
        margin-right: 15px !important;
    }
}


/* ==========================================================================
   Premium UI Enhancements (Added)
   ========================================================================== */

/* Premium Buttons */
.premium-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #0077ff 100%);
    box-shadow: 0 10px 20px rgba(0, 82, 204, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
}

.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

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

.premium-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 82, 204, 0.4);
}

.premium-btn-outline {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    background: transparent;
    backdrop-filter: blur(5px);
}

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

/* Premium Experience Section */
.premium-experience {
    padding: 120px 8%;
    background: #000c1f;
    position: relative;
    color: white;
    overflow: hidden;
}

.pe-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(0, 82, 204, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.pe-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pe-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pe-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.pe-feature i {
    color: #0077ff;
    font-size: 1.4rem;
    width: 30px;
    text-align: center;
}

.pe-glass-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pe-glass-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.pe-glass-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: rgba(0, 12, 31, 0.7);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pe-glass-content h4 {
    font-size: 1.4rem;
    font-weight: 300;
    font-style: italic;
    color: var(--white);
    line-height: 1.4;
}

@media (max-width: 992px) {
    .pe-container {
        grid-template-columns: 1fr;
    }

    .pe-glass-card img {
        height: 400px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 8%;
    background: var(--bg-primary);
}

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

.faq-item {
    border-bottom: 1px solid rgba(0, 26, 61, 0.1);
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.faq-question h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-icon {
    font-size: 1.1rem;
    color: var(--accent);
    transition: transform 0.4s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    color: var(--text-mid);
    padding: 0 0 15px 0;
    margin: 0;
}

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

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


/* ==========================================================================
   COMPREHENSIVE RESPONSIVE FIX + PREMIUM UPDATES
   ========================================================================== */

/* --- Hero Button Fix: Properly aligned row on all screens --- */
.hero-btns {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-btns a {
    flex: 0 1 auto;
    min-width: 180px;
    text-align: center;
}

/* --- Products Page: Filter buttons on one scrollable line --- */
.page-header .product-filters {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 8px;
    margin: 0;
    scrollbar-width: none;
    justify-content: flex-end;
}

.page-header .product-filters::-webkit-scrollbar {
    display: none;
}

.page-header .product-filters .filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 9px 20px;
    font-size: 0.78rem;
}

/* --- Stats section: 2 columns on small screens --- */
@media (max-width: 600px) {
    .stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 40px 5% !important;
    }

    .stat-card h3 {
        font-size: 2rem !important;
    }

    .stat-card p {
        font-size: 0.7rem !important;
        letter-spacing: 0.05em;
    }
}

/* --- Spec Grid: 1 column on mobile --- */
@media (max-width: 600px) {
    .spec-grid {
        grid-template-columns: 1fr !important;
    }

    .spec-card {
        height: 360px !important;
    }
}

/* --- Hero: full fix on mobile --- */
@media (max-width: 768px) {
    .hero-btns {
        justify-content: center;
        gap: 12px;
    }

    .hero-btns a {
        min-width: 140px;
        padding: 15px 25px !important;
    }
}

/* --- Footer: 1 column on very small screens --- */
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .footer-grid .footer-about,
    .footer-grid .footer-links {
        text-align: center;
    }

    .footer-links ul {
        padding: 0;
    }

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

/* --- Premium Experience section: responsive --- */
@media (max-width: 768px) {
    .premium-experience {
        padding: 70px 5%;
    }

    .pe-text-content h2 {
        font-size: 2.2rem !important;
    }

    .pe-glass-card img {
        height: 280px;
    }

    .pe-glass-content {
        padding: 25px;
    }

    .pe-glass-content h4 {
        font-size: 1.1rem;
    }
}

/* --- FAQ section: responsive --- */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 5%;
    }

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

/* --- About and Services Pages: fix .about-grid on mobile --- */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .about-content {
        text-align: center !important;
    }

    .about-content .section-title {
        text-align: center !important;
    }

    .about-content .section-title p {
        padding-left: 0;
    }

    .about-content .section-title p::before {
        display: none;
    }

    .about-media img {
        border-radius: 20px;
    }
}

/* --- Services page: fix stat-card grid --- */
@media (max-width: 768px) {
    .services .product-grid {
        grid-template-columns: 1fr !important;
    }

    .stat-card.glass {
        padding: 40px 25px !important;
    }
}

/* --- Quote form: fix inner grid on mobile --- */
@media (max-width: 600px) {
    .quote-form {
        padding: 30px 20px !important;
    }

    .quote-form>form>div[style*="grid-template-columns"] {
        display: block !important;
    }
}

/* --- Map section: responsive --- */
@media (max-width: 768px) {
    .map-section .map-container {
        height: 300px !important;
        border-radius: 20px !important;
    }
}

/* --- Product-card on mobile: ensure proper scaling --- */
@media (max-width: 520px) {
    #product-grid .product-card {
        transform: none !important;
    }

    .pc-img {
        height: 180px;
    }
}

/* --- page-header section: responsive --- */
@media (max-width: 768px) {
    .page-header .container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .page-header .product-filters {
        width: 100%;
        justify-content: flex-start;
    }
}

/* --- Premium About-style value cards --- */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--accent-light);
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 82, 204, 0.1);
    border-color: var(--accent);
}

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

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Premium Timeline for About page --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--accent-light);
    top: 0;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--accent-light);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 82, 204, 0.06);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    box-shadow: 0 20px 40px rgba(0, 82, 204, 0.12);
    border-color: var(--accent);
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 8px;
    box-shadow: 0 0 0 5px var(--accent-light);
    position: relative;
    z-index: 1;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        gap: 20px;
    }

    .timeline-dot {
        margin-top: 5px;
    }
}

/* --- Premium Services Cards --- */
.service-card-premium {
    background: var(--white);
    border-radius: 24px;
    padding: 50px 40px;
    border: 1px solid var(--bg-secondary);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent), #0077ff);
    border-radius: 4px 0 0 4px;
    transition: height 0.5s ease;
}

.service-card-premium:hover::before {
    height: 100%;
}

.service-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 26, 61, 0.12);
    border-color: var(--accent-light);
}

.service-card-premium .service-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.service-card-premium:hover .service-icon {
    background: var(--accent);
    color: var(--white);
}

.service-card-premium h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card-premium p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card-premium .service-tag {
    display: inline-block;
    margin-top: 20px;
    padding: 6px 16px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .service-card-premium {
        padding: 35px 25px;
    }
}

/* --- Process steps section --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--accent-light);
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 82, 204, 0.3);
}

.process-step h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-mid);
    font-size: 0.88rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:nth-child(2)::after {
        display: none;
    }

    .process-step:last-child::after {
        display: none;
    }
}

@media (max-width: 500px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step::after {
        display: none !important;
    }
}

.cursor-glow {
    position: fixed;
    top: -10px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999999;
    will-change: transform;
    opacity: 0.5;
    filter: blur(5px);
}
@media (max-width: 768px) {
    .logo {
        white-space: nowrap;
        font-size: 1.1rem;
    }
}

/* ============================================
   REVIEWS / TESTIMONIALS SECTION
============================================ */
.reviews {
    padding: 100px 8%;
    background: var(--bg-secondary);
}

.reviews-slider {
    padding-bottom: 50px !important;
}

.review-card {
    background: #fff;
    border-radius: 28px;
    padding: 40px 36px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 26, 61, 0.07);
    border: 1px solid rgba(0, 82, 204, 0.07);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 26, 61, 0.12);
}

.review-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid var(--accent-light);
    display: block;
}

.review-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.review-card p {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.review-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.reviews-slider .swiper-pagination-bullet {
    background: var(--accent);
    opacity: 0.3;
    width: 8px;
    height: 8px;
}

.reviews-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .reviews {
        padding: 70px 6%;
    }
    .review-card {
        padding: 28px 22px;
    }
}

/* Custom Modals for Reviews */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.custom-modal .modal-content {
    background-color: var(--bg-primary);
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.custom-modal .close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.custom-modal .close-modal:hover,
.custom-modal .close-modal:focus {
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
}

.star-rating i {
    font-size: 24px;
    cursor: pointer;
    color: #ddd;
    transition: 0.2s;
}

.star-rating i:hover {
    transform: scale(1.1);
}

.reviews-list-scrollable {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.list-review-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 15px;
    align-items: flex-start;
}

.list-review-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.list-review-content {
    flex-grow: 1;
}

.list-review-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.list-review-stars {
    margin-bottom: 10px;
    color: #FFD700;
}

.list-review-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-mid);
    font-style: italic;
}

/* Scrollbar styling for modal */
.reviews-list-scrollable::-webkit-scrollbar {
    width: 6px;
}
.reviews-list-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.reviews-list-scrollable::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}
