/* 
   Lumea Lighting - Premium Stylesheet
   Designed for Visual Excellence & 100% Mobile Responsiveness
*/

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

@font-face {
    font-family: 'Cocon Light';
    src: url('./cocon-light-regular/Cocon Light Regular/Cocon Light Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cocon Light Regular';
    src: url('./cocon-light-regular/Cocon Light Regular/Cocon Light Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cocon Pro';
    src: url('./cocon-light-regular/Cocon Light Regular/Cocon Light Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FF Cocon Pro';
    src: url('./cocon-light-regular/Cocon Light Regular/Cocon Light Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Color Palette - Light Mode Default */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --accent: #d4af37; /* Luxury Gold */
    --accent-rgb: 212, 175, 55;
    --accent-hover: #b89020;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --border-color: rgba(15, 23, 42, 0.08);
    --glow-color: rgba(212, 175, 55, 0.3);
    
    /* Layout & System Values */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

[data-theme="dark"] {
    /* Color Palette - Dark Mode */
    --bg-primary: #0a0c10;
    --bg-secondary: #11141a;
    --bg-tertiary: #191e27;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --accent: #e5c158; /* Premium Champagne Gold for luxury contrast */
    --accent-rgb: 229, 193, 88;
    --accent-hover: #dfb238;
    --glass-bg: rgba(10, 12, 16, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(229, 193, 88, 0.35);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    touch-action: manipulation;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    touch-action: manipulation;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
}

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

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

button {
    font-family: var(--font-body);
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
    transition: all var(--transition-fast);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* Reusable Components & Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    gap: 8px;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent);
    color: #0f172a !important; /* Always dark text on gold button for readability */
    box-shadow: 0 4px 14px var(--glow-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-color);
}

.btn-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(var(--accent-rgb), 0.1);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast), height var(--transition-fast);
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    height: 70px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Cocon Light', 'Cocon Pro', 'FF Cocon Pro', 'Comfortaa', sans-serif;
    font-size: 1.6rem;
    font-weight: normal;
    letter-spacing: 0.5px; /* Premium letter spacing for all-caps logo */
    color: #ffffff; /* White by default on transparent header */
    transition: color var(--transition-fast);
    text-transform: none;
}

.header.scrolled .logo-text {
    color: var(--text-primary); /* Theme primary color when scrolled */
}

.footer .logo-text {
    color: var(--text-primary); /* Theme primary color in footer */
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85); /* White links on transparent header */
    position: relative;
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.header.scrolled .nav-link {
    color: var(--text-secondary); /* Theme secondary color when scrolled */
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3); /* White border on transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff; /* White icon on transparent */
    background-color: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.header.scrolled .theme-toggle-btn {
    border-color: var(--border-color);
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.theme-toggle-btn:hover {
    background-color: var(--bg-tertiary);
    color: var(--accent);
    border-color: var(--accent);
    transform: rotate(15deg);
}

.header.scrolled .theme-toggle-btn:hover {
    background-color: var(--bg-tertiary);
    color: var(--accent);
    border-color: var(--accent);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: #ffffff; /* White by default on transparent */
    border-radius: 2px;
    transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast);
}

.header.scrolled .hamburger span {
    background-color: var(--text-primary); /* Theme primary when scrolled */
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.4) 0%, rgba(10, 12, 16, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: left;
    margin-top: calc(var(--nav-height) / 2);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #ffffff; /* Always white over dark video overlay */
    margin-bottom: 24px;
}

.hero h1 .pulse-glow {
    color: var(--accent);
    display: inline-block;
    animation: pulseGlow 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.3);
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.3), 0 0 20px rgba(var(--accent-rgb), 0.1);
    }
    50% {
        transform: scale(1.04);
        text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.7), 0 0 35px rgba(var(--accent-rgb), 0.3);
    }
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85); /* Highly visible over dark overlay */
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

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

.about-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(35deg, rgba(var(--accent-rgb), 0.15), transparent);
    z-index: 2;
    pointer-events: none;
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-slow);
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.about-stats {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 3;
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.about-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.about-info p {
    margin-bottom: 24px;
}

.about-vm-toggles {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.vm-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    background: transparent;
    transition: all var(--transition-fast);
}

.vm-toggle-btn svg {
    transition: transform var(--transition-fast);
}

.vm-toggle-btn:hover, .vm-toggle-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(var(--accent-rgb), 0.05);
}

.vm-toggle-btn.active svg {
    transform: rotate(180deg);
}

.about-vm-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
    margin-top: 0;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    border: 1px solid transparent;
    padding: 0 24px;
}

.about-vm-drawer.active {
    max-height: 500px;
    margin-top: 20px;
    padding: 24px;
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.vm-drawer-content {
    display: none;
}

.vm-drawer-content.active {
    display: block;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Services 3D Card Flip styling */
.service-card-wrapper {
    perspective: 1000px;
    width: 100%;
    height: 380px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform var(--transition-slow);
    transform-style: preserve-3d;
    cursor: pointer;
}

.service-card-wrapper:hover .service-card-inner,
.service-card-wrapper.flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front, .service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-card-front {
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.service-card-front-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.15) 0%, rgba(10, 12, 16, 0.85) 100%);
    z-index: 1;
}

.service-card-front-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align text to left */
    color: #ffffff;
    width: 100%;
    height: 100%;
    justify-content: flex-end;
}

.service-card-front .service-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.service-card-front .service-icon svg {
    width: 20px;
    height: 20px;
}

.service-card-front-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    text-align: left;
}

.service-card-back {
    background-size: cover;
    background-position: center;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    z-index: 1;
    position: relative;
}

.service-card-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-tertiary);
    opacity: 0.92; /* Fades the background image for high contrast and readability */
    z-index: 1;
}

.service-card-back-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align text to left */
    width: 100%;
}

.service-icon-small {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(var(--accent-rgb), 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid rgba(var(--accent-rgb), 0.15);
}

.service-icon-small svg {
    width: 18px;
    height: 18px;
}

.service-card-back h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-align: left;
}

.service-card-back p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 24px;
    color: var(--text-secondary);
    text-align: left;
}

.btn-phone-enquiry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-top: auto; /* Push it to the bottom of the card content */
}

.btn-phone-enquiry:hover {
    background: var(--accent);
    color: #0f172a !important; /* Gold background, dark text on hover */
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--glow-color);
    transform: translateY(-2px);
}

.btn-phone-enquiry svg {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.btn-phone-enquiry:hover svg {
    transform: scale(1.1) rotate(-10deg);
}

/* Why Choose Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-feature-item {
    display: flex;
    gap: 20px;
}

.why-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.why-icon svg {
    width: 22px;
    height: 22px;
}

.why-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.why-info p {
    font-size: 0.95rem;
}

.why-visual {
    position: relative;
    height: 480px;
    border-radius: var(--border-radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.why-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 12, 16, 0.8), transparent);
}

.why-visual-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 2;
    color: #ffffff;
}

.why-visual-content blockquote {
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 12px;
    border-left: 3px solid var(--accent);
    padding-left: 16px;
}

.why-visual-content cite {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}

/* Timeline / Process Section */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
    z-index: 1; /* Render behind timeline badges */
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    background-color: var(--accent);
    transform: translateX(-50%);
    height: 0%;
    transition: height var(--transition-slow);
    z-index: 2; /* Render in front of base line but behind badges */
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 60px;
    z-index: 3; /* Stack in front of progress lines */
}

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

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.timeline-badge {
    position: absolute;
    top: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #11141a; /* Solid dark color in both themes to block progress lines and highlight white bulb */
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-normal);
}

.timeline-item:nth-child(odd) .timeline-badge {
    right: -22px;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -22px;
}

.timeline-badge svg.bulb-icon {
    width: 20px;
    height: 20px;
    color: #ffffff; /* Default bulb in white */
    transition: all var(--transition-normal);
}

.timeline-item.active .timeline-badge {
    border-color: var(--accent);
    background-color: #11141a; /* Keep it solid dark to hide overlapping progress lines */
    box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.55), 0 0 10px rgba(var(--accent-rgb), 0.2);
}

.timeline-item.active .timeline-badge svg.bulb-icon {
    color: var(--accent); /* Yellow/gold glow color */
    fill: rgba(var(--accent-rgb), 0.25); /* Yellow glow fill inside the bulb */
    filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.85));
}

.timeline-card {
    padding: 30px;
    border-radius: var(--border-radius-md);
}

.timeline-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.timeline-card p {
    font-size: 0.95rem;
}

/* Portfolio / Projects Gallery */
.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    background-color: transparent;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background-color: var(--accent);
    color: #0f172a;
    border-color: var(--accent);
    box-shadow: 0 4px 10px var(--glow-color);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 12, 16, 0.9) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.gallery-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-detail-info p, .contact-detail-info a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-detail-info a:hover {
    color: var(--accent);
}

.map-card {
    height: 250px;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.2) contrast(1.1);
}

[data-theme="dark"] .map-card iframe {
    filter: invert(90%) hue-rotate(180deg) grayscale(0.5) contrast(1.2);
}

.contact-form-panel {
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-primary);
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.15);
}

.contact-form button[type="submit"] {
    margin-top: 10px;
    align-self: flex-start;
}

/* Modal Dialog for Alert notifications */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(10, 12, 16, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.custom-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    max-width: 440px;
    width: 90%;
    padding: 40px 30px;
    text-align: center;
    border-radius: var(--border-radius-md);
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

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

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.modal-icon.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.modal-icon.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.modal-icon svg {
    width: 32px;
    height: 32px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-about p {
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.social-link:hover {
    background-color: var(--accent);
    color: #0f172a;
    border-color: var(--accent);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-col h4 {
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

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

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-link:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-bottom-link {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-link:hover {
    color: var(--accent);
}

/* Vision & Mission Combined Section */
.vision-mission-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.vision-card, .mission-card {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.vision-card p, .mission-card p {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.6;
}

.vision-card p:last-child, .mission-card p:last-child {
    margin-bottom: 0;
}

.vision-quote {
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 30px;
}

.vision-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.vision-quote cite {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
}

.mission-intro-text {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.mission-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.highlight-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.highlight-icon svg {
    width: 18px;
    height: 18px;
}

.highlight-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.highlight-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* FAQ Section Accordion styling */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
    border-radius: var(--border-radius-md);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-icon-wrapper {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(var(--accent-rgb), 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal), background-color var(--transition-normal), color var(--transition-normal);
}

.faq-icon-wrapper svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-normal);
}

.faq-item.active {
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(var(--accent-rgb), 0.08);
}

.faq-item.active .faq-icon-wrapper {
    background-color: var(--accent);
    color: #0f172a;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
    padding: 0 30px 24px 30px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.975rem;
    line-height: 1.6;
}

/* Animations Trigger Classes (Intersection Observer) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Responsive Media Queries - Ensuring 100% responsiveness and no layout breaks */

@media (max-width: 1024px) {
    .about-grid, .why-us-grid, .contact-grid, .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-img-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .why-visual {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
        height: 380px;
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
    }
    
    .footer-col:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-primary);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 80px 40px;
        gap: 32px;
        transition: right var(--transition-normal);
        z-index: 999;
        border-left: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--text-primary);
        font-size: 1.15rem;
        font-weight: 600;
        width: 100%;
        display: block;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--accent);
    }

    .hamburger.active span {
        background-color: var(--text-primary) !important;
    }
    
    /* Hamburger Active Animation */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Timeline Mobile Layout */
    .timeline-line, .timeline-progress {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-badge {
        left: 0px !important;
        right: auto !important;
        width: 40px;
        height: 40px;
    }
    
    .timeline-item:nth-child(odd) .timeline-badge {
        left: 0px !important;
    }
    
    .about-stats {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 24px;
        width: 100%;
        justify-content: space-around;
        box-shadow: var(--shadow-sm);
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-panel {
        padding: 30px 20px;
    }
    
    .services-grid, .gallery-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col:last-child {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .vision-visual, .mission-visual {
        height: 260px;
    }
    
    .vision-quote-box {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .vision-quote-box blockquote {
        font-size: 1.15rem;
    }
    
    .mission-highlights {
        padding: 20px;
        gap: 12px;
    }
    
    .mission-highlight-item {
        padding: 10px 16px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form button[type="submit"] {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Premium Preloader Styles */
body.loading {
    overflow: hidden !important;
    height: 100vh;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0c10; /* Always solid luxury dark */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: visible;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-family: 'Cocon Light', 'Cocon Pro', 'FF Cocon Pro', 'Comfortaa', sans-serif;
    font-size: 3.5rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(to right, #e5c158 0%, #e5c158 100%) no-repeat;
    background-size: 0% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: textFill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: none;
}

.preloader-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
    margin-bottom: 24px;
}

.preloader-progress-bar {
    width: 120px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.05);
    margin: 0 auto;
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.preloader-progress-fill {
    width: 0%;
    height: 100%;
    background-color: var(--accent);
    animation: progressFill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes textFill {
    0% { background-size: 0% 100%; }
    100% { background-size: 100% 100%; }
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Homepage Featured Products Section styling */
.products-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.product-tab-btn {
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    background-color: transparent;
    transition: all var(--transition-fast);
}

.product-tab-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.product-tab-btn.active {
    background-color: var(--accent);
    color: #0f172a;
    border-color: var(--accent);
    box-shadow: 0 4px 10px var(--glow-color);
}

.products-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-normal);
}

.product-card.hidden {
    display: none;
}

.product-card:hover {
    border-color: rgba(var(--accent-rgb), 0.35);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(var(--accent-rgb), 0.08);
    transform: translateY(-4px);
}

.product-card-badge {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background-color: rgba(var(--accent-rgb), 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    border: 1px solid rgba(var(--accent-rgb), 0.15);
}

.product-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.product-card-description {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.product-card-highlights {
    list-style: none;
    margin-bottom: 24px;
    margin-top: auto; /* Push lists to the bottom if description is short */
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 0;
}

.product-card-highlights li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.product-card-highlights li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 4px;
    top: -3px;
}

.product-card-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.btn-product-whatsapp {
    flex-grow: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    background-color: #25d366;
    border: 1px solid #25d366;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.btn-product-whatsapp:hover {
    background-color: #20ba5a;
    color: #ffffff !important;
    border-color: #20ba5a;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transform: translateY(-1px);
}

.btn-product-call {
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.btn-product-call:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
    background-color: rgba(var(--accent-rgb), 0.05);
    transform: translateY(-1px);
}

.btn-product-call svg {
    width: 16px;
    height: 16px;
}

.products-cta {
    text-align: center;
    margin-top: 60px;
}

/* Product Catalog and Category Box Grid styles */
.products-hero {
    padding: 160px 0 80px 0;
    background: linear-gradient(180deg, rgba(10, 12, 16, 0.95) 0%, rgba(10, 12, 16, 0.8) 100%), url('hero3.png') no-repeat center center/cover;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.products-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: 'Cocon Light', sans-serif;
    color: #ffffff;
    margin-bottom: 16px;
}

.products-hero p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.catalog-container {
    padding: 60px 0 100px 0;
}

.catalog-header-actions {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 50px;
}

.search-box-wrapper {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.15);
}

.search-box svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Box Category Styles */
.category-box-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.category-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    user-select: none;
    text-align: center;
    flex: 0 0 calc(20% - 16px);
    max-width: calc(20% - 16px);
    min-width: 180px;
}

.category-box:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.category-box.active {
    background: var(--bg-tertiary);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 10px 25px rgba(229, 193, 88, 0.12);
}

.category-box-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.category-box-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.category-box:hover .category-box-image-wrapper,
.category-box.active .category-box-image-wrapper {
    border-color: var(--accent);
}

.category-box:hover .category-box-image {
    transform: scale(1.06);
}

.category-box-name {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 16px 10px;
    display: block;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.category-box.active .category-box-name {
    color: var(--accent);
}

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

.product-grid-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-fast);
    opacity: 1;
    position: relative;
}

.product-grid-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.product-grid-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.2);
}

.product-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-grid-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(10, 12, 16, 0.9);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    backdrop-filter: blur(4px);
}

.product-grid-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 14px;
}

.product-grid-title {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

.product-grid-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-grid-title a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}

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

.product-grid-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.product-grid-actions {
    display: grid;
    grid-template-columns: 1fr 50px;
    gap: 12px;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .category-box-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 15px;
        scrollbar-width: thin;
        scrollbar-color: var(--border-color) transparent;
    }
    .category-box-grid::-webkit-scrollbar {
        height: 4px;
    }
    .category-box-grid::-webkit-scrollbar-track {
        background: transparent;
    }
    .category-box-grid::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 2px;
    }
    .category-box-grid::-webkit-scrollbar-thumb:hover {
        background: var(--accent);
    }
    .category-box {
        flex: 0 0 140px;
        max-width: 140px;
        min-width: 140px;
        scroll-snap-align: start;
        border-radius: var(--border-radius-sm);
        padding: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        text-align: center;
    }
    .category-box-image-wrapper {
        width: 100%;
        aspect-ratio: 4/3;
        border-radius: 0;
        border-bottom: 1px solid var(--border-color);
        overflow: hidden;
    }
    .category-box-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .category-box-name {
        font-size: 0.8rem;
        padding: 8px 6px;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Product Grid Share Button Styling */
.product-grid-share-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10, 12, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 3; /* Stack above the image and the stretched link */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0;
}

.product-grid-share-btn:hover {
    background: var(--accent);
    color: #0a0c10;
    border-color: var(--accent);
    transform: scale(1.1);
}

.product-grid-share-btn svg {
    width: 16px;
    height: 16px;
}

/* Toast Notification Styling */
.custom-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(16, 20, 26, 0.95);
    border: 1px solid var(--accent);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.custom-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Subcategory chips styling */
.subcategory-chips-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    width: 100%;
}
.subcategory-chip {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.subcategory-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(229, 193, 88, 0.05);
}
.subcategory-chip.active {
    background-color: var(--accent);
    color: #0a0c10;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.2);
}


