/* =========================================
   1. Base Reset & Variables
   ========================================= */
:root {
  --bg: #ffffff;
  --text: #1a1a1a; /* Darker for better contrast */
  --accent: #c49a57; /* Luxury Gold */
  --accent-hover: #b08848;
  --accent-light: #fceabb;
  --primary-blue: #0f4c81; /* Deep Corporate Blue */
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-700: #495057;
  --gray-900: #212529;
  --white: #ffffff;
  --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.3s ease;
  --nav-height: 90px; /* Increased */
  
  /* Typography - Scaled Up */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  
  --h1-size: clamp(4rem, 8vw, 7.5rem);
  --h2-size: clamp(2.5rem, 5vw, 4.5rem);
  --h3-size: clamp(1.5rem, 3vw, 2.5rem);
  --body-size: clamp(1rem, 1.1vw, 1.2rem);
}

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

html { 
    /* scroll-behavior: smooth;  <-- Remove native smooth scroll when using Lenis to avoid conflicts */
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    text-align: center;
    overflow: hidden;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 10px;
    animation: slideUp 0.8s ease forwards;
}

.loader-line {
    width: 0;
    height: 2px;
    background: var(--accent);
    margin: 0 auto;
    animation: expandLine 1s ease forwards 0.5s;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes expandLine {
    to { width: 100%; }
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Custom Cursor */
.cursor-dot {
    width: 8px; /* Slightly larger */
    height: 8px;
    background-color: var(--accent);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-outline {
    width: 40px; /* Larger */
    height: 40px;
    border: 1px solid rgba(196, 154, 87, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 1;
}

/* Animation Utilities */
.reveal-text {
    overflow: hidden;
    display: block;
}

.reveal-text span {
    display: block;
    transform: translateY(100%);
    opacity: 0;
}

body { 
    font-family: var(--font-body); 
    color: var(--text); 
    background: var(--bg); 
    line-height: 1.7; 
    overflow-x: hidden;
    cursor: none; /* Hide default cursor */
    font-size: var(--body-size);
}

a, button, .btn {
    cursor: none; /* Ensure pointer doesn't show on interactive elements */
}

img { max-width: 100%; display: block; }
section { 
    scroll-margin-top: calc(var(--nav-height) + 20px); 
    padding: 8rem 0; /* Increased padding for breathing room */
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-heading); 
    font-weight: 700; 
    color: var(--primary-blue); 
    line-height: 1.1;
}

h2 {
    font-size: var(--h2-size);
    margin-bottom: 2rem;
}

h3 {
    font-size: var(--h3-size);
    margin-bottom: 1rem;
}

p { 
    color: var(--gray-700); 
    margin-bottom: 1.5rem; 
    max-width: 70ch; /* Optimal reading width */
}

/* Layout Helpers */
.container { width: min(1400px, 90%); margin: 0 auto; } /* Wider container */

/* Buttons - Micro-interactions */
.btn { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem; 
    border-radius: 0; /* Sharp edges for modern look */
    text-decoration: none; 
    font-weight: 500; 
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: rgba(255,255,255,0.2);
    z-index: -1;
    transition: width 0.4s ease;
}

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

.btn.primary { 
    background: var(--accent); 
    color: #fff; 
}
.btn.primary:hover { 
    background: #b08848; 
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(196, 154, 87, 0.3);
}

.btn.blue { 
    background: var(--primary-blue); 
    color: #fff; 
}
.btn.blue:hover { 
    background: #0b3d6b; 
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 76, 129, 0.3);
}

/* Badge */
.badge {
    display: inline-block;
    background: rgba(15, 76, 129, 0.08);
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* =========================================
   NEW HERO SECTION (Interactive Design)
   ========================================= */
.hero-new {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-container {
    position: absolute; inset: 0; z-index: 1;
}

.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.2);
    transition: opacity 1.2s ease-in-out;
    will-change: transform, opacity;
}

.hero-bg.active {
    opacity: 1;
    animation: kenBurns 20s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: radial-gradient(circle at 60% 50%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-overlay::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, transparent 70%);
}

.hero-content-wrapper {
    position: relative; z-index: 10;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    padding-top: var(--nav-height);
    perspective: 1000px; /* For 3D tilt */
}

.hero-text-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 6vw;
    color: #fff;
    transform-style: preserve-3d; /* For 3D tilt */
}

.hero-label {
    color: var(--accent);
    font-size: 1.5rem; /* Increased from 1rem */
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700; /* Increased weight */
    margin-bottom: 1.5rem;
    opacity: 0; /* Controlled by GSAP */
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5.5rem); /* Slightly reduced max size to prevent overflow/wrapping issues */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0; /* Controlled by GSAP */
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 550px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.2rem;
    font-weight: 300;
    opacity: 0; /* Controlled by GSAP */
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.hero-btns {
    opacity: 0; /* Controlled by GSAP */
    display: flex; gap: 1.5rem;
    margin-top: 1.2rem;
}

.hero-interaction-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: 4vw;
    transform-style: preserve-3d;
}

/* Progress Ring SVG */
.progress-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 90px;
    height: 90px;
    pointer-events: none;
    transform: rotate(-90deg);
    z-index: 10;
    display: none; /* Shown via JS on active */
}

.progress-ring circle {
    fill: transparent;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-dasharray: 251; /* 2 * PI * r (r=40) approx */
    stroke-dashoffset: 251;
    transition: stroke-dashoffset 0.1s linear;
}

.texture-btn.active .progress-ring {
    display: block;
}

.texture-palette {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
}

.palette-label {
    position: absolute;
    right: 120%;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.texture-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.texture-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    padding: 0;
    background: #000;
    transform: scale(1);
}

.texture-btn:hover {
    transform: scale(1.15);
    border-color: rgba(255,255,255,0.8);
    z-index: 2;
}

.texture-btn:active {
    transform: scale(0.95);
}

.texture-btn img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.4s;
}

.texture-btn:hover {
    transform: scale(1.15);
    border-color: rgba(255,255,255,0.8);
    z-index: 2;
}

.texture-btn:hover img { opacity: 1; }

.texture-btn.active {
    width: 80px; height: 80px;
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(196, 154, 87, 0.5);
    margin: 5px -10px;
}

.texture-btn.active img {
    transform: scale(1.1);
    opacity: 1;
}

.texture-tooltip {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(255,255,255,0.95);
    color: var(--primary-blue);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.texture-tooltip::after {
    content: ''; position: absolute; top: 50%; right: -5px; transform: translateY(-50%);
    border-width: 5px 0 5px 5px; border-style: solid; border-color: transparent transparent transparent rgba(255,255,255,0.95);
}

.texture-btn:hover .texture-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }
.texture-btn.active .texture-tooltip { right: 110px; }

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

/* Badge */

/* =========================================
   2. Header & Navbar (Awwwards Style)
   ========================================= */
.site-header { 
    position: fixed; 
    top: 0; 
    left: 0;
    right: 0;
    z-index: 1005; /* Higher than FS Menu */
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    transition: all 0.4s ease;
    padding: 1.5rem 0;
}

.site-header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

/* When Menu is Open - Force Transparent Header */
.site-header.nav-open {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.site-header.nav-open .logo-mark { color: #fff !important; }
.site-header.nav-open .logo-sub { color: rgba(255,255,255,0.8) !important; }
.site-header.nav-open .menu-toggle { color: #fff !important; }

.navbar { 
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: auto;
    padding: 0 3rem; 
    width: 100%;
}

/* Center Logo */
.nav-center { text-align: center; }
.logo { 
    text-decoration: none; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    line-height: 1;
}
.logo-mark { 
    font-family: var(--font-heading); 
    font-size: 2.2rem; 
    font-weight: 700; 
    color: #fff; /* White by default for pop */
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.4s ease;
}
.logo-sub { 
    font-size: 0.65rem; 
    font-weight: 600; 
    letter-spacing: 6px; 
    color: rgba(255,255,255,0.8); /* Lighter accent */
    text-transform: uppercase;
    margin-top: 5px;
    transition: color 0.4s ease;
}

.site-header.scrolled .logo-mark { color: var(--primary-blue); }
.site-header.scrolled .logo-sub { color: var(--accent); }

/* Right Menu Toggle */
.nav-right { display: flex; justify-content: flex-end; }

.menu-toggle {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    color: #fff; /* White by default */
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem; /* Smaller and proper */
    z-index: 1002; /* Above FS Menu */
    position: relative;
    transition: color 0.4s ease;
}

.site-header.scrolled .menu-toggle { color: var(--primary-blue); }

.hamburger-icon {
    width: 24px; /* Smaller icon */
    height: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    position: relative; /* Fix for absolute positioning of spans */
}

.hamburger-icon span {
    display: block;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease, transform 0.3s ease, top 0.3s ease;
    position: relative;
}

.hamburger-icon span:nth-child(1) { width: 100%; top: 0; }
.hamburger-icon span:nth-child(2) { width: 70%; top: 0; }

.menu-toggle:hover .hamburger-icon span:nth-child(1) { width: 70%; }
.menu-toggle:hover .hamburger-icon span:nth-child(2) { width: 100%; }

/* Active State (Close Button) */
.menu-toggle.active { color: #fff !important; } /* Always white when menu is open */
.menu-toggle.active .menu-text { display: inline-block; } /* Keep text visible */
.menu-toggle.active .hamburger-icon { height: 12px; justify-content: center; }
.menu-toggle.active .hamburger-icon span { 
    width: 100% !important; 
    background: #fff;
    position: absolute;
    top: 50%;
}
.menu-toggle.active .hamburger-icon span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle.active .hamburger-icon span:nth-child(2) { transform: rotate(-45deg); }


/* =========================================
   Full Screen Menu (Overlay)
   ========================================= */
.fs-menu {
    position: fixed;
    inset: 0;
    z-index: 1001;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-menu-bg {
    position: absolute;
    inset: 0;
    background: #0b1a2b;
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.fs-menu.open { pointer-events: auto; }
.fs-menu.open .fs-menu-bg { transform: translateY(0); }

.fs-menu-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-menu-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    width: 100%;
    max-width: 1200px;
    gap: 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease 0.3s;
}

.fs-menu.open .fs-menu-grid { opacity: 1; transform: translateY(0); }

/* Nav Links */
.fs-nav-list { list-style: none; }
.fs-nav-list li { overflow: hidden; margin-bottom: 1rem; }

.fs-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    color: #fff; /* White by default */
    text-decoration: none;
    line-height: 1.1;
    transition: color 0.4s ease, transform 0.4s ease;
    position: relative;
    opacity: 0.8; /* Slight opacity for elegance */
}

.fs-num {
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--accent);
    position: absolute;
    top: 10px;
    right: -30px;
    opacity: 0;
    transition: 0.3s;
}

.fs-link:hover {
    color: #fff;
    opacity: 1;
    transform: translateX(20px);
    text-shadow: 0 0 20px rgba(255,255,255,0.3); /* Subtle glow */
}

.fs-link:hover .fs-num { opacity: 1; right: -40px; }

/* Info Column */
.fs-menu-col.info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 4rem;
}

.fs-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.fs-info-block p { color: #fff; font-size: 1.2rem; margin-bottom: 0.5rem; }
.fs-socials { display: flex; gap: 1.5rem; }
.fs-socials a { color: #fff; text-decoration: none; font-size: 1.1rem; transition: 0.3s; }
.fs-socials a:hover { color: var(--accent); }

/* Mobile Adjustments for Menu */
@media (max-width: 768px) {
    .navbar { padding: 0 1.5rem; }
    .logo-mark { font-size: 1.5rem; }
    .fs-menu-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .fs-menu-col.info { border-left: none; padding-left: 0; align-items: center; }
    .fs-link { font-size: 3rem; }
}

/* =========================================
   3. Cinematic Hero Slider
   ========================================= */
.hero { margin-top: 0; overflow: hidden; }
.hero-slider { position: relative; width: 100%; height: min(90vh, 800px); background: #000; }
.slides { height: 100%; width: 100%; position: relative; }
.slide { 
    position: absolute; inset: 0; opacity: 0; 
    transition: opacity 1s ease; pointer-events: none; 
}
.slide.active { opacity: 1; pointer-events: auto; z-index: 2; }

/* Slide Layout */
.slide-content { 
    display: grid; 
    grid-template-columns: 1fr 1.2fr 200px; 
    gap: 3rem; 
    align-items: center; 
    height: 100%; 
    width: min(1500px, 94%); 
    margin: 0 auto; 
    padding: 2rem 0;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-text > * { opacity: 0; }
.slide.active .slide-text h1 { animation: fadeUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards 0.2s; }
.slide.active .slide-text p { animation: fadeUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards 0.4s; }
.slide.active .slide-text .btn { animation: fadeUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards 0.6s; }

.slide-text { z-index: 10; padding-left: 2rem; }
.slide-text h1 { 
    color: #fff; 
    font-size: clamp(2.5rem, 4vw, 4.5rem); 
    line-height: 1.1; 
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.slide-text .brand { 
    color: var(--accent); 
    font-size: 0.5em; 
    letter-spacing: 4px; 
    text-transform: uppercase; 
    display: block; margin-bottom: 0.5rem; 
}
.slide-text .lead { 
    color: rgba(255,255,255,0.9); 
    font-size: 1.1rem; 
    max-width: 450px; 
    margin-bottom: 2rem; 
    font-weight: 300;
}

/* Image Cinematic Zoom */
.slide-image { 
    position: absolute; 
    inset: 0; 
    z-index: -1; 
    width: 100%; 
    height: 100%; 
}
.slide-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}
.slide-image img { 
    width: 100%; height: 100%; object-fit: cover; 
    transform: scale(1);
    transition: transform 7s linear;
}
.slide.active .slide-image img { transform: scale(1.1); }

/* Thumbnails */
.slide-thumbs { display: flex; flex-direction: column; gap: 1rem; z-index: 10; }
.slide-thumbs img { 
    width: 80px; height: 80px; object-fit: cover; 
    border: 2px solid rgba(255,255,255,0.3); 
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}
.slide-thumbs img:hover { border-color: var(--accent); transform: scale(1.05); }

/* Controls */
slider-controls { position: absolute; bottom: 3rem; left: 3rem; display: flex; gap: 1rem; z-index: 20; }
slider-controls button { 
    width: 50px; height: 50px; border-radius: 50%; 
    border: 1px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.3); 
    color: #fff; cursor: pointer; transition: 0.3s; 
}
slider-controls button:hover { background: var(--accent); border-color: var(--accent); }
.slider-dots { position: absolute; bottom: 3rem; right: 3rem; display: flex; gap: 10px; z-index: 20; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; }
.slider-dots button[aria-selected="true"] { background: var(--accent); transform: scale(1.3); }

/* =========================================
   Marquee Section
   ========================================= */
.marquee-container {
    background: var(--primary-blue);
    color: #fff;
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
    z-index: 5;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-content {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: marqueeScroll 40s linear infinite;
    will-change: transform;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.marquee-content .separator {
    color: var(--accent);
    font-size: 1.5rem;
}

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

/* =========================================
   4. About Section (The Overlap Look)
   ========================================= */
.about { padding: 10rem 0; background: #fff; overflow: hidden; position: relative; }
.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    align-items: center; 
    gap: 4rem;
}
.about-media { position: relative; z-index: 1; transform: translateX(50px); }
.poster { 
    position: relative; 
    border-radius: 0; 
    overflow: hidden; 
    box-shadow: 0 40px 80px rgba(0,0,0,0.2); 
}
.poster img {
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.about-media:hover .poster img {
    transform: scale(1.05);
}

.vertical-brand { 
    position: absolute; right: -20px; top: 10%; 
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 8rem; font-weight: 900; 
    color: rgba(0,0,0,0.03);
    z-index: -1;
    pointer-events: none;
    font-family: var(--font-heading);
}

.circle-sample { 
    position: absolute; bottom: -60px; left: -60px; 
    width: 200px; height: 200px; border-radius: 50%; 
    border: 10px solid #fff; object-fit: cover; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); z-index: 3;
    animation: float 8s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.about-content { 
    position: relative; 
    z-index: 2; 
    background: rgba(255,255,255,0.9); 
    backdrop-filter: blur(30px);
    padding: 5rem; 
    margin-left: -100px; 
    box-shadow: 0 30px 70px rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent);
}
.about-content h2 { 
    font-size: clamp(2.5rem, 4vw, 4rem); 
    margin: 1rem 0 2rem; 
    line-height: 1.1; 
    letter-spacing: -1px;
}

/* =========================================
   5. Collection (Mosaic Grid)
   ========================================= */
.collection { padding: 10rem 0; background: var(--gray-100); }
.section-head { text-align: center; margin-bottom: 5rem; }
.section-head h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-top: 0.5rem; }

.collection-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    grid-auto-rows: 350px; 
    gap: 2rem; 
}
.collection-card { 
    position: relative; overflow: hidden; border-radius: 0; display: block; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.collection-card img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); 
}
.collection-card:hover img { transform: scale(1.1); }

/* Mosaic Spans */
.collection-card.main-item { grid-column: span 2; grid-row: span 2; }
.collection-card.wide-item { grid-column: span 2; }

/* Overlay */
.card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    transform: translateY(100%); opacity: 0; 
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.card-overlay h3 { color: #fff; font-size: 2rem; margin-bottom: 5px; font-family: var(--font-heading); }
.collection-card:hover .card-overlay { transform: translateY(0); opacity: 1; }

/* =========================================
   6. Features & Stats & Testimonials
   ========================================= */
/* Stats */
.stats { padding: 8rem 0; background: #fff; border-bottom: 1px solid var(--gray-200); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 4rem; }
.stat {
    position: relative;
    padding: 2rem;
    transition: transform 0.4s ease;
}
.stat:hover { transform: translateY(-10px); }
.stat .icon { color: var(--accent); margin-bottom: 1.5rem; font-size: 2rem; }
.stat .value { 
    font-size: 5rem; 
    font-weight: 700; 
    color: var(--primary-blue); 
    font-family: var(--font-heading); 
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}
.stat .label { 
    font-size: 1rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: var(--gray-700); 
    font-weight: 600;
}

/* Core Values */
.core-values { padding: 10rem 0; background: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.value-card { 
    padding: 4rem 3rem; text-align: center; border: 1px solid var(--gray-200); 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    background: #fff; border-radius: 0;
    position: relative;
    overflow: hidden;
}
.value-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0;
    background: var(--primary-blue);
    z-index: 0;
    transition: height 0.4s ease;
}
.value-card:hover::before { height: 100%; }

.value-card:hover { 
    border-color: var(--primary-blue); 
    box-shadow: 0 30px 60px rgba(15, 76, 129, 0.2); 
    transform: translateY(-10px);
}
.value-card * { position: relative; z-index: 1; transition: color 0.3s; }
.value-card:hover * { color: #fff !important; }

.value-icon { color: var(--primary-blue); margin-bottom: 2rem; font-size: 2.5rem; }

/* Features */
.tile-features { padding: 10rem 0; background: var(--gray-100); }
.tile-features-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 6rem; align-items: center; }
.features-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { 
    background: #fff; padding: 2.5rem; text-align: center; border-radius: 0; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.4s;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.feature-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 1.5rem; }
.feature-title { font-weight: 700; color: var(--primary-blue); font-size: 1.1rem; }
.tile-features-image img { border-radius: 0; box-shadow: 0 40px 80px rgba(0,0,0,0.15); }

/* Testimonials */
.testimonials { position: relative; padding: 10rem 0; overflow: hidden; }
.testimonial-bg { position: absolute; inset: 0; opacity: 0.05; pointer-events: none; }
.testimonial-bg img { width: 100%; height: 100%; object-fit: cover; }
.testimonials-grid { position: relative; display: grid; grid-template-columns: 2fr 1fr; gap: 6rem; align-items: center; }
.testimonial-list { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.testimonial-card { 
    background: #fff; padding: 3.5rem; border-radius: 0; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.08); 
    transition: transform 0.4s;
}
.testimonial-card:hover { transform: translateY(-5px); }
.testimonial-quote { 
    font-size: 1.25rem; color: var(--gray-700); font-style: italic; 
    margin-bottom: 2rem; line-height: 1.6; font-family: var(--font-heading);
}
.testimonial-user { display: flex; align-items: center; gap: 1.5rem; }
.testimonial-avatar { width: 60px; height: 60px; border-radius: 50%; }
.testimonial-name { font-weight: 700; color: var(--primary-blue); font-size: 1.1rem; }
.testimonial-role { font-size: 0.85rem; color: var(--accent); font-weight: 600; letter-spacing: 1px; }

/* Global Reach */
.global-reach { padding: 8rem 0; background: #fff; }
.global-reach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.global-reach-image img { border-radius: 0; box-shadow: 0 40px 80px rgba(0,0,0,0.15); }
.btn.export { border: 1px solid var(--primary-blue); color: var(--primary-blue); }
.btn.export:hover { background: var(--primary-blue); color: #fff; }

/* =========================================
   7. Footer
   ========================================= */
.site-footer { background: #0b1a2b; color: #fff; padding: 8rem 0 0; margin-top: 0; position: relative; overflow: hidden; }
.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr; gap: 4rem; width: min(1400px, 92%); margin: 0 auto; padding-bottom: 5rem; }
.footer-logo .logo-mark { color: #fff; font-size: 2rem; }
.footer-col h4 { color: var(--accent); font-size: 0.9rem; margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 2px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1rem; color: #b0b8c1; }
.footer-col a { color: #b0b8c1; text-decoration: none; transition: 0.3s; font-size: 1rem; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; align-items: center; gap: 15px; margin-bottom: 1.5rem; }
.footer-contact i { color: var(--accent); font-size: 1.2rem; }
.footer-social { margin-top: 2rem; gap: 1rem; display: flex; }
.footer-social a { 
    font-size: 1.2rem; background: rgba(255,255,255,0.05); width: 45px; height: 45px; 
    display: flex; align-items: center; justify-content: center; border-radius: 50%; 
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-5px); }
.footer-bottom { 
    background: #07111d; text-align: center; padding: 2rem; font-size: 0.9rem; color: #6c757d; 
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================
   8. Responsive Design (Mobile & Tablet)
   ========================================= */

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
    :root {
        --h1-size: 4.5rem;
        --h2-size: 3rem;
        --nav-height: 80px;
    }

    .container { width: 90%; }

    /* Hero */
    .hero-content-wrapper { 
        grid-template-columns: 1fr; 
        padding-top: 0;
    }
    
    .hero-text-area { 
        padding: 120px 2rem 0; 
        align-items: center; 
        text-align: center; 
        justify-content: flex-start; 
        height: 100%;
    }

    .hero-interaction-area { 
        position: absolute; 
        bottom: 40px; 
        right: 0; 
        left: 0;
        justify-content: center; 
        align-items: center; 
        padding: 0;
        z-index: 20;
    }

    .texture-palette { 
        flex-direction: row; 
        padding: 10px 20px; 
        border-radius: 50px;
        width: auto;
        gap: 1rem;
        background: rgba(255, 255, 255, 0.15);
    }

    .palette-label { display: none; }
    .texture-grid { flex-direction: row; gap: 15px; }
    .texture-tooltip { display: none; }
    
    .texture-btn { width: 50px; height: 50px; }
    .texture-btn.active { width: 65px; height: 65px; margin: -8px 5px; }

    /* Sections */
    .about-grid, .tile-features-grid, .testimonials-grid, .global-reach-grid { 
        grid-template-columns: 1fr; 
        gap: 4rem; 
    }
    
    .about-media { transform: none; margin-bottom: 3rem; }
    .about-content { margin-left: 0; padding: 3rem; width: 100%; border-left: none; border-top: 4px solid var(--accent); }
    
    .collection-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
    .collection-card.main-item, .collection-card.wide-item { grid-column: span 1; grid-row: span 1; }
    .collection-card:nth-child(1) { grid-column: span 2; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    :root {
        --h1-size: 3.2rem;
        --h2-size: 2.2rem;
        --h3-size: 1.8rem;
        --body-size: 1rem;
    }

    section { padding: 5rem 0; }
    .about { padding: 5rem 0; }

    /* Navbar Mobile Adjustments */
    .navbar { padding: 0 1.5rem; }
    .logo-mark { font-size: 1.8rem; }
    .menu-toggle .menu-text { display: none; } /* Icon only on mobile */

    /* Hero */
    .hero-title { font-size: 2.8rem; margin-bottom: 1rem; }
    .hero-desc { font-size: 1rem; display: none; /* Hide desc on mobile to save space */ }
    .hero-vibe { font-size: 0.9rem; padding: 0.5rem 1rem; margin-top: 1rem !important; }
    .hero-btns { margin-top: 1.5rem; }
    .btn { padding: 1rem 2rem; font-size: 0.85rem; }

    /* Texture Palette Mobile */
    .texture-btn { width: 40px; height: 40px; }
    .texture-btn.active { width: 55px; height: 55px; }
    .hero-interaction-area { bottom: 20px; }

    /* Marquee */
    .marquee-content span { font-size: 0.9rem; gap: 2rem; }
    .marquee-content .separator { font-size: 1rem; }

    /* Grids */
    .collection-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
    .collection-card:nth-child(1) { grid-column: span 1; }
    
    .stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .values-grid { grid-template-columns: 1fr; }
    .features-list { grid-template-columns: 1fr; }
    .testimonial-list { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .footer-contact li { justify-content: center; }
    .footer-social { justify-content: center; }
    
    /* About */
    .about-content { padding: 2rem; }
    .vertical-brand { display: none; }
    .circle-sample { width: 120px; height: 120px; bottom: -30px; left: -20px; }
    
    /* Stats */
    .stat .value { font-size: 3.5rem; }
}
/* =========================================
   NEW HERO VIBE MESSAGE
   ========================================= */
.hero-vibe {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 2.2rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.13);
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    display: inline-block;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* =========================================
   PAGE HERO (Internal Pages)
   ========================================= */
.page-hero {
    position: relative;
    height: 60vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    margin-top: 0; /* Reset any default margin */
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding-top: var(--nav-height);
}

.page-hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.page-hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

/* =========================================
   OUR STORY PAGE
   ========================================= */
.story-intro {
    padding: 8rem 0;
    background: #fff;
}

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

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.story-text h2 {
    margin-bottom: 2rem;
    font-size: var(--h2-size);
}

.story-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
}

/* Timeline */
.timeline-section {
    background: var(--gray-100);
    padding: 8rem 0;
}

.timeline-item {
    display: flex;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: flex-start;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent);
    font-weight: 700;
    min-width: 180px;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-year {
    opacity: 1;
}

.timeline-content {
    padding-top: 1rem;
    border-left: 2px solid rgba(0,0,0,0.1);
    padding-left: 2rem;
}

.timeline-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-content {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid rgba(0,0,0,0.1);
        padding-top: 1rem;
    }
}


/* =========================================
   PRODUCT PAGE LAYOUT
   ========================================= */
.product-layout-section {
    padding: 6rem 0;
    background: #fcfcfc;
}

.product-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar Styling */
.product-sidebar {
    background: #fff;
    padding: 2rem;
    border-radius: 4px; /* Sharp/Minimal */
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-header h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--primary-blue);
}

.clear-filters {
    background: none;
    border: none;
    color: var(--gray-700);
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s;
}

.clear-filters:hover { color: var(--accent); }

.filter-group { margin-bottom: 2.5rem; }
.filter-group:last-child { margin-bottom: 0; }

.filter-group h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-right: 2.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
}

.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-700);
    pointer-events: none;
}

/* Custom Checkboxes */
.filter-list {
    list-style: none;
    padding: 0;
}

.filter-list li { margin-bottom: 0.8rem; }

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: 0.95rem;
    color: var(--gray-700);
    transition: color 0.3s;
}

.custom-checkbox:hover { color: var(--primary-blue); }

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid var(--gray-200);
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--accent);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--accent);
    border-color: var(--accent);
}

.checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.count {
    margin-left: auto;
    font-size: 0.8rem;
    color: #aaa;
}

/* Product Main Area */
.product-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.results-count {
    font-size: 0.9rem;
    color: var(--gray-700);
}

.results-count span {
    font-weight: 600;
    color: var(--primary-blue);
}

.toolbar-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.sort-dropdown select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    background: #fff;
    font-family: var(--font-body);
    color: var(--gray-700);
    cursor: pointer;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-toggle button {
    background: none;
    border: 1px solid var(--gray-200);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-700);
    transition: all 0.3s;
    border-radius: 4px;
}

.view-toggle button.active,
.view-toggle button:hover {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    position: relative;
    group: product-card; /* Concept */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card-image {
    position: relative;
    aspect-ratio: 1; /* Square images */
    overflow: hidden;
    background: #f4f4f4;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.card-actions {
    position: absolute;
    right: 1rem;
    top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.product-card:hover .card-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn:hover {
    background: var(--accent);
    color: #fff;
}

.badge-new {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-blue);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.card-details {
    padding: 1.5rem;
    text-align: center;
}

.card-category {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.card-title a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s;
}

.card-title a:hover { color: var(--accent); }

.card-meta {
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.btn-link {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.product-card:hover .btn-link::after {
    width: 100%;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.page-link.active,
.page-link:hover {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.page-dots {
    display: flex;
    align-items: center;
    color: var(--gray-700);
    padding: 0 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .product-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .product-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .product-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .toolbar-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   MOBILE FILTER STYLES
   ========================================= */
.mobile-filter-toggle {
    display: none; /* Hidden on desktop */
    position: fixed;
    left: 0;
    top: 30%; /* Positioned on the side */
    z-index: 9999;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    padding: 1rem 1.2rem 1rem 1rem;
    border-radius: 0 50px 50px 0; /* Tab shape */
    box-shadow: 4px 0 15px rgba(0,0,0,0.15);
    cursor: pointer;
    font-size: 1.4rem;
    width: auto;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-filter-toggle:hover {
    padding-left: 1.2rem;
    background: var(--text);
}

.close-sidebar-mobile {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text);
    cursor: pointer;
}

.sidebar-footer-mobile {
    display: none; /* Hidden on desktop */
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    flex-direction: column;
    gap: 1rem;
}

.apply-filters {
    width: 100%;
    padding: 1rem;
}

.clear-filters-mobile {
    background: none;
    border: none;
    text-decoration: underline;
    color: var(--gray-700);
    cursor: pointer;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .mobile-filter-toggle {
        display: flex;
    }

    .product-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 300px;
        max-width: 85vw;
        z-index: 10000;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
        margin: 0;
        border-radius: 0;
    }

    .product-sidebar.active {
        transform: translateX(0);
        box-shadow: 0 0 50px rgba(0,0,0,0.2);
    }

    /* Overlay when sidebar is open */
    .product-sidebar::before {
        content: '';
        position: fixed;
        top: 0;
        left: 100%; /* Push it out of the sidebar itself */
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        z-index: -1;
    }

    .product-sidebar.active::before {
        left: 300px; /* Move it next to sidebar */
        opacity: 1;
        pointer-events: auto;
    }
    
    /* Fix for overlay covering the sidebar content if not careful */
    /* Instead, let's use a separate overlay element in JS or handle it via body class */
    
    .close-sidebar-mobile {
        display: block;
    }

    .sidebar-header .clear-filters {
        display: none; /* Hide the desktop clear button */
    }

    .sidebar-footer-mobile {
        display: flex;
    }
}


/* =========================================
   PRODUCT DETAIL PAGE STYLES
   ========================================= */

.product-detail-section {
    padding: 120px 0 80px; /* Top padding for fixed header */
    background: #fff;
}

.breadcrumb {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-blue);
}

.breadcrumb span {
    color: var(--primary-blue);
    font-weight: 500;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Gallery */
.product-gallery {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--gray-100);
}

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

.main-image:hover img {
    transform: scale(1.05);
}

/* Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-category {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-blue);
    line-height: 1.1;
    margin: 0;
}

.product-meta {
    display: flex;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-item .label {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.meta-item .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.product-description {
    font-family: var(--font-body);
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 1.05rem;
}

.product-description p {
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.download-btn i {
    margin-right: 0.5rem;
}

/* Specs */
.product-specs {
    margin-top: 2rem;
    background: var(--gray-100);
    padding: 2rem;
    border-radius: 8px;
}

.product-specs h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

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

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list li span {
    font-weight: 600;
    color: var(--text);
}

/* Related Products */
.related-products {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid var(--gray-200);
}

.related-products .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.related-products .section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.view-all-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.view-all-link:hover {
    gap: 0.8rem;
}

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

/* Responsive */
@media (max-width: 992px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-title {
        font-size: 2.5rem;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        padding-top: 100px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .related-products .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   MODAL STYLES
   ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 10001; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    width: 90%; 
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--gray-500);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-blue);
}

.modal h2 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.modal-subtitle {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.enquire-form .form-group {
    margin-bottom: 1.2rem;
}

.enquire-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.enquire-form input,
.enquire-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.enquire-form input:focus,
.enquire-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.enquire-form button {
    width: 100%;
    margin-top: 0.5rem;
}


/* =========================================
   GALLERY SECTION STYLES
   ========================================= */
.product-gallery-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-grid a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: #fff;
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.1);
}

.gallery-grid a:hover .gallery-overlay {
    opacity: 1;
}

.gallery-grid a:hover .gallery-overlay i {
    transform: scale(1);
}

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

/* =========================================
   AWARDS STYLE RELATED PRODUCTS
   ========================================= */
.related-products-awards {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid var(--gray-200);
}

.awards-header {
    text-align: center;
    margin-bottom: 4rem;
}

.awards-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.awards-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-blue);
    margin: 0;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.award-item {
    position: relative;
}

.award-link {
    text-decoration: none;
    display: block;
}

.award-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0; /* Sharp edges for premium feel */
    aspect-ratio: 3 / 4;
    margin-bottom: 1.5rem;
}

.award-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.award-hover-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 30, 48, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.award-hover-reveal span {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 0.8rem 1.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease, background 0.3s;
}

.award-link:hover .award-image-wrapper img {
    transform: scale(1.05);
}

.award-link:hover .award-hover-reveal {
    opacity: 1;
}

.award-link:hover .award-hover-reveal span {
    transform: translateY(0);
    background: #fff;
    color: var(--primary-blue);
    border-color: #fff;
}

.award-info {
    text-align: center;
}

.award-cat {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.award-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 0;
    font-weight: 400;
}

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

@media (max-width: 576px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
}