/* Master Diam - "Precision Crafted" Single-Page Scroll Layout */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Space+Mono:wght@400;700&display=swap');

:root {
    --bg-light: #ffffff;
    --bg-dark: #0a0f1d;
    --bg-main: #ffffff;
    --bg-sub: #f8fafc;
    --color-text-main: #0f172a;
    --color-text-sub: #475569;
    --color-blue: #00E575;
    --color-purple: #9D00FF;
    --color-green: #00E575;
    --color-orange: #FFD600;
    --color-yellow: #FFD600;
    
    --grad-rainbow: linear-gradient(135deg, var(--color-blue), var(--color-purple), var(--color-orange), var(--color-green));
    --border-rainbow: linear-gradient(90deg, var(--color-blue), var(--color-purple), var(--color-orange), var(--color-green));
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'Outfit', sans-serif;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Sharp Box Geometric Override - Inspired by logo facets corners */
button, 
a,
input,
select,
textarea,
.pillar-card,
.product-card,
.studio-card,
.heritage-card,
.country-card,
.about-img-frame,
.experience-badge,
.rfq-form-col,
.rfq-icon-box,
.inline-badge,
.hero-badge-pill,
.video-container {
    border-radius: 0px !important;
}

/* Luxury 3D Floating Block Overrides */
.pillar-card,
.product-card,
.studio-card,
.heritage-card,
.about-img-frame,
.rfq-form-col {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.02) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    transition: var(--transition) !important;
}

.pillar-card:hover,
.product-card:hover,
.studio-card:hover,
.heritage-card:hover,
.about-img-frame:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 45px rgba(0, 229, 117, 0.12), 0 8px 20px rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(0, 229, 117, 0.3) !important;
}

.hero-cta-btn,
.hero-cta-btn-outline,
.hero-cta-whatsapp-btn,
.product-inquire-btn,
.submit-rfq-btn,
.btn-selector {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    transition: var(--transition) !important;
}

.hero-cta-btn:hover,
.hero-cta-btn-outline:hover,
.hero-cta-whatsapp-btn:hover,
.product-inquire-btn:hover,
.submit-rfq-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(0, 229, 117, 0.22) !important;
    border-color: var(--color-blue) !important;
}


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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--bg-main);
}

body {
    background-color: var(--bg-main);
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.012) 1px, transparent 1px);
    background-size: 8px 8px; /* Extremely tiny luxury checks */
    overflow-x: hidden;
    line-height: 1.6;
}

.mobile-menu-btn,
.mobile-nav-drawer {
    display: none !important;
}

/* Preloader Overlay */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

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

.preloader-diamond {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.preloader-diamond .draw-stroke {
    stroke: url(#rainbowGrad) !important;
    stroke-width: 1.5;
}

#loader-percentage {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--grad-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loader-status-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--color-text-sub);
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Top contact bar */
.top-bar {
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 0.6rem 4rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
}

.top-bar a {
    color: var(--color-text-sub);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--color-blue);
}

.bar-divider {
    margin: 0 0.8rem;
    color: rgba(15, 23, 42, 0.1);
}

.lang-selector-wrapper {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.15rem 0.6rem;
}

.translate-dropdown {
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-sub);
    cursor: pointer;
    outline: none;
}

.translate-dropdown:focus {
    color: var(--color-blue);
}

/* Header & Logo styling */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 1rem 4rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-block {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-img {
    max-height: 44px;
    width: auto;
    display: block;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--color-text-main);
    line-height: 1;
}

.logo-slogan {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    color: #00B853;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-sub);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-rainbow);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

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

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

.login-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-sub);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
}

.login-link:hover {
    color: var(--color-blue);
}

/* Fullscreen Hero Section */
.hero-banner-new {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #000;
    padding: 0;
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.68) contrast(1.02);
    z-index: 1;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.hero-overlay-shadow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.1) 0%, rgba(10, 15, 29, 0.42) 75%, #ffffff 100%);
    z-index: 2;
}

.hero-content-fullscreen {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    padding: 3rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-green);
    box-shadow: 0 0 10px var(--color-green);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 117, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 229, 117, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 117, 0); }
}

.hero-content-fullscreen h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 1.2rem + 2vw, 2.5rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75), 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
}

.hero-cta-btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background: var(--color-blue);
    border: 1px solid var(--color-blue);
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.hero-cta-btn:hover {
    background: var(--color-purple);
    border-color: var(--color-purple);
    transform: translateY(-2px);
}

.hero-cta-btn-outline {
    display: inline-block;
    padding: 1rem 2.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.hero-cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.hero-cta-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.hero-cta-whatsapp-btn:hover {
    border-color: var(--color-green);
    background: rgba(0, 229, 117, 0.08);
}

/* Metric Strip */
.specs-metric-strip {
    background: #0a0f1d;
    padding: 2.2rem 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.strip-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.strip-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
    font-size: 1.05rem;
}

.est-badge-inline {
    display: inline-block;
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.35rem 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

/* About Us Section */
.about-us-section {
    padding: 8rem 4rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.about-visual-column {
    position: relative;
}

.about-img-frame {
    position: relative;
    height: 580px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.05);
}

.img-overlay-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 15, 29, 0.8) 100%);
}

.visual-label {
    position: absolute;
    bottom: 3rem;
    left: 2.5rem;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gold-line {
    width: 32px;
    height: 2px;
    background: var(--color-blue);
}

.experience-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: #ffffff;
    border-left: 4px solid var(--color-blue);
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.badge-years {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--color-text-main);
}

.badge-lbl {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-sub);
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.section-label-line {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-blue);
    letter-spacing: 2.5px;
    margin-bottom: 2rem;
}

.line-lead {
    width: 44px;
    height: 2px;
    background: var(--color-blue);
}

.about-text-column h2 {
    font-size: clamp(2rem, 1.8rem + 2.5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
}

.accent-text {
    color: var(--color-blue);
}

.about-intro {
    font-size: 1.05rem;
    color: var(--color-text-sub);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.custom-quote-box {
    border-left: 2px solid var(--color-blue);
    padding-left: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-text-main);
    margin-bottom: 2.5rem;
}

.features-split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding-top: 2rem;
}

.feature-bullet {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bullet-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-blue);
}

.feature-bullet h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-bullet p {
    font-size: 0.85rem;
    color: var(--color-text-sub);
    line-height: 1.5;
}

/* Precision Pillars */
.precision-pillars-section {
    padding: 8rem 4rem;
    background: var(--bg-sub);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.section-title-wrapper.centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.inline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    background: rgba(0, 163, 255, 0.05);
    border: 1px solid rgba(0, 163, 255, 0.1);
    color: var(--color-blue);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.precision-pillars-section h2 {
    font-size: clamp(2rem, 1.8rem + 3vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.precision-pillars-section p {
    font-size: 1.1rem;
    color: var(--color-text-sub);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    padding: 3rem 2.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
    transition: var(--transition);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-rainbow);
    opacity: 0;
    transition: var(--transition);
}

.pillar-card:hover {
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 163, 255, 0.1);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--color-text-sub);
    line-height: 1.6;
    font-weight: 400;
}

/* Products and Video layout panels */
.products-section {
    padding: 8rem 4rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.product-filters {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--color-text-sub);
    padding: 0.6rem 1.6rem;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    color: #ffffff;
    border-color: var(--color-blue);
    background: var(--color-blue);
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.2);
}

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

.product-card {
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}

.product-card:hover {
    border-color: var(--color-blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 163, 255, 0.08);
}

.product-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.product-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--color-text-sub);
    line-height: 1.6;
    font-weight: 400;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.product-inquire-btn {
    display: inline-block;
    text-align: center;
    background: transparent;
    border: 1.5px solid var(--color-text-main);
    color: var(--color-text-main);
    padding: 0.8rem 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.product-inquire-btn:hover {
    background: var(--color-text-main);
    color: #ffffff;
}

/* CAD Lab blueprints styling */
.cad-lab-new {
    padding: 8rem 4rem;
    background: var(--bg-sub);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.cad-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    overflow: hidden;
    max-width: 1600px;
    margin: 0 auto;
    box-shadow: 0 4px 30px rgba(0,0,0,0.02);
}

.cad-canvas-pane {
    background: #f8fafc;
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(15, 23, 42, 0.06);
}

.cad-blueprint-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 163, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 163, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
}

.cad-hud-marker {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cad-canvas-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 10;
}

.cad-diamond-svg {
    width: 110px;
    height: 110px;
    stroke: url(#rainbowGrad) !important;
    stroke-width: 1.8;
    fill: rgba(0, 163, 255, 0.02);
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition-slow);
}

.cad-diamond-svg.active {
    opacity: 1;
    transform: scale(1);
}

.cad-controls-pane {
    padding: 4rem 3rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
}

.cad-controls-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.cad-controls-header p {
    font-size: 0.95rem;
    color: var(--color-text-sub);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.control-group label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.control-selectors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-selector {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--color-text-sub);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-selector:hover, .btn-selector.active {
    color: #ffffff;
    border-color: var(--color-blue);
    background: var(--color-blue);
}

.cad-desc-block {
    padding: 1.5rem;
    border-left: 3px solid var(--color-blue);
    background: var(--bg-sub);
    font-size: 0.9rem;
    color: var(--color-text-sub);
    border-radius: 0 8px 8px 0;
}

.cad-allocate-btn {
    text-align: center;
    background: var(--color-text-main);
    color: #ffffff;
    padding: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.cad-allocate-btn:hover {
    background: var(--color-blue);
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.25);
}

/* Cinematic Video Studio Section */
.studio-section {
    padding: 8rem 4rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

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

.studio-card {
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
    transition: var(--transition);
}

.studio-card:hover {
    border-color: var(--color-blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 163, 255, 0.1);
}

.studio-card.highlighted-card {
    border-color: rgba(0, 163, 255, 0.35);
}

.highlight-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--color-blue);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    letter-spacing: 1.5px;
    z-index: 10;
}

.video-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
}

.studio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-info {
    padding: 2rem;
}

.studio-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.studio-info p {
    font-size: 0.85rem;
    color: var(--color-text-sub);
    line-height: 1.5;
}

/* Brand Heritage */
.brand-heritage-section {
    padding: 8rem 4rem;
    background: var(--bg-sub);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.heritage-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.015);
}

.heritage-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: 3px;
}

.heritage-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.6rem + 2.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -1px;
}

.heritage-card p {
    font-size: 1rem;
    color: var(--color-text-sub);
    line-height: 1.7;
}

/* Global Footprint Grid */
.global-footprint-section {
    padding: 8rem 4rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.footprint-header {
    max-width: 800px;
    margin-bottom: 5rem;
}

.footprint-header h2 {
    font-size: clamp(2rem, 1.8rem + 3vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.footprint-header p {
    font-size: 1.1rem;
    color: var(--color-text-sub);
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.country-card {
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #ffffff;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    transition: var(--transition);
}

.country-card:hover {
    border-color: var(--color-blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 163, 255, 0.1);
}

.country-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.country-hub {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Connect RFQ Portal */
.rfq-portal {
    padding: 8rem 4rem;
    background: var(--bg-sub);
}

.rfq-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.rfq-info-col h2 {
    font-size: clamp(2rem, 1.8rem + 3vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.rfq-info-col p {
    font-size: 1.05rem;
    color: var(--color-text-sub);
    margin-bottom: 3rem;
}

.rfq-contacts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rfq-contact-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--color-text-sub);
}

.rfq-icon-box {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
    font-size: 1rem;
}

.rfq-form-col {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 4rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.015);
}

.form-inputs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.input-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-block.full-row {
    grid-column: span 2;
}

.input-block label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.input-block input, .input-block select, .input-block textarea {
    background: var(--bg-sub);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-main);
    transition: var(--transition);
}

.input-block input:focus, .input-block select:focus, .input-block textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.1);
}

.input-block textarea {
    height: 110px;
    resize: none;
}

.submit-rfq-btn {
    width: 100%;
    margin-top: 2rem;
    background: var(--color-text-main);
    color: #ffffff;
    border: none;
    padding: 1.1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-rfq-btn:hover {
    background: var(--color-blue);
    box-shadow: 0 4px 15px rgba(0, 163, 255, 0.3);
}

/* Footer Section */
footer {
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    background: #ffffff;
    padding: 7rem 4rem 4rem;
}

.footer-inner {
    max-width: 1600px;
    margin: 0 auto 5rem;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 0.9fr;
    gap: 5rem;
}

.footer-brand-col p {
    font-size: 0.95rem;
    color: var(--color-text-sub);
    max-width: 320px;
    margin-top: 1.5rem;
}

.footer-logo {
    max-height: 48px;
    width: auto;
    display: block;
}

.footer-links-col h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 700;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-col a {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-text-main);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    max-width: 1600px;
    margin: 0 auto;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-sub);
}

/* Floating Actions Widgets */
.fixed-widgets-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999999 !important;
}

.sticky-req-tag {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background: var(--color-text-main);
    color: #ffffff;
    padding: 0.9rem 2.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-right: none;
    z-index: 99999 !important;
    text-decoration: none;
    transition: var(--transition);
}

.sticky-req-tag:hover {
    background: var(--color-blue);
    transform: translateY(-50%) rotate(-90deg) scale(1.02);
}

.sticky-whatsapp-tag {
    position: fixed;
    right: 2.5rem;
    bottom: 2.5rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    z-index: 99999 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    text-decoration: none;
    transition: var(--transition);
}

.sticky-whatsapp-tag:hover {
    background: #20ba5a;
    transform: translateY(-3px) scale(1.04);
}

/* Mobile Media Queries Override */
@media (max-width: 1200px) {
    .top-bar {
        display: none !important;
    }
    
    header {
        padding: 1rem 1rem !important;
    }
    
    .nav-links, .login-link {
        display: none !important;
    }

    .header-actions {
        gap: 0.6rem !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 24px !important;
        height: 16px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        z-index: 1001 !important;
    }

    .mobile-menu-btn .menu-line {
        width: 100% !important;
        height: 2px !important;
        background: var(--color-text-main) !important;
        display: block !important;
        transition: var(--transition) !important;
    }

    .mobile-nav-drawer {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: #ffffff !important;
        border-left: 1px solid rgba(15, 23, 42, 0.05) !important;
        z-index: 999999 !important;
        flex-direction: column !important;
        padding: 6rem 2rem 2rem !important;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05) !important;
    }

    .mobile-nav-drawer.open {
        right: 0 !important;
    }

    .close-drawer-btn {
        position: absolute !important;
        top: 1.5rem !important;
        right: 1.5rem !important;
        font-size: 2.2rem !important;
        color: var(--color-text-main) !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    .mobile-nav-links {
        list-style: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-nav-links a {
        font-family: var(--font-heading) !important;
        font-size: 1.25rem !important;
        font-weight: 900;
        color: var(--color-text-main) !important;
        text-decoration: none !important;
        transition: var(--transition) !important;
        display: block !important;
    }

    .mobile-nav-links a:hover {
        color: var(--color-blue) !important;
    }

    /* ── Mobile: Metric strip 2×2 grid ── */
    .specs-metric-strip {
        padding: 2rem 1.25rem !important;
    }

    .strip-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .strip-item {
        font-size: 0.7rem !important;
        letter-spacing: 0.5px !important;
        gap: 0.6rem !important;
    }

    .strip-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.85rem !important;
        flex-shrink: 0 !important;
    }

    /* ── Mobile: Hero CTA buttons stack vertically ── */
    .hero-cta-group {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    .hero-cta-btn,
    .hero-cta-btn-outline,
    .hero-cta-whatsapp-btn {
        width: 90% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0.9rem 1rem !important;
        font-size: 0.65rem !important;
    }

    .hero-bottom-block {
        padding: 0 1rem !important;
    }

    .about-grid,
    .pillars-grid,
    .products-grid,
    .studio-grid,
    .heritage-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .countries-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .logo-img {
        max-height: 35px !important;
    }

    .about-img-frame {
        height: 400px !important;
    }

    .experience-badge {
        bottom: -1rem !important;
        right: -1rem !important;
        padding: 1.5rem !important;
    }

    .badge-years {
        font-size: 2.5rem !important;
    }

    .cad-grid-layout {
        grid-template-columns: 1fr !important;
    }

    .cad-canvas-pane {
        border-right: none !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.05) !important;
        min-height: 450px !important;
    }

    .rfq-grid {
        grid-template-columns: 1fr !important;
        gap: 4rem !important;
    }
}

@media (max-width: 768px) {
    .about-us-section,
    .precision-pillars-section,
    .products-section,
    .studio-section,
    .brand-heritage-section,
    .global-footprint-section,
    .rfq-portal,
    .cad-lab-new {
        padding: 5rem 1.5rem !important;
    }

    .countries-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    footer {
        padding: 5rem 1.5rem 2.5rem !important;
    }

    .footer-inner {
        grid-template-columns: 1fr !important;
        gap: 4rem !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: flex-start !important;
    }

    .sticky-whatsapp-tag {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.5rem !important;
        right: 20px !important;
        bottom: 20px !important;
    }

    .sticky-req-tag {
        padding: 0.6rem 1.6rem !important;
        font-size: 0.65rem !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) rotate(-90deg) !important;
        transform-origin: right bottom !important;
    }

    /* ── Mobile: Logo slogan single-line fix ── */
    .logo-slogan {
        font-size: clamp(0.4rem, 2.2vw, 0.48rem) !important;
        letter-spacing: 0.2px !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        max-width: none !important;
    }

    .logo-title {
        font-size: 0.95rem !important;
        letter-spacing: 0.5px !important;
    }

    .logo-img {
        max-height: 32px !important;
    }

    /* ── Mobile: Hero tagline fully visible single-line ── */
    .hero-content-fullscreen h1 {
        font-size: clamp(0.72rem, 3.6vw, 1.15rem) !important;
        letter-spacing: 0px !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        max-width: 100% !important;
        padding: 0 0.5rem !important;
    }

    /* ── Mobile: Inquiry drawer full-width ── */
    .inquiry-drawer-panel {
        width: 100% !important;
        right: -100% !important;
    }

    .inquiry-drawer-panel.open {
        right: 0 !important;
    }

    /* ── Mobile: RFQ / Connect section ── */
    .rfq-portal {
        padding: 4rem 1.25rem !important;
    }

    .rfq-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .rfq-form-col {
        padding: 2rem 1.25rem !important;
    }

    .form-inputs-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .input-block.full-row {
        grid-column: span 1 !important;
    }

    .rfq-info-col h2 {
        font-size: 1.6rem !important;
    }
}

.admin-portal-link {
    color: var(--color-orange) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    transition: var(--transition);
}

.admin-portal-link:hover {
    color: var(--color-blue) !important;
}

/* B2B Slide Inquiry Drawer Panels */
.inquiry-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 29, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.inquiry-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.inquiry-drawer-panel {
    position: fixed;
    top: 0;
    right: -500px;
    width: 480px;
    max-width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 1000000;
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    padding: 3.5rem 2.5rem;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-drawer-panel.open {
    right: 0;
}

.close-inquiry-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.2rem;
    background: transparent;
    border: none;
    color: var(--color-text-sub);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-inquiry-btn:hover {
    color: var(--color-blue);
}

.drawer-header {
    margin-bottom: 2.5rem;
}

.drawer-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.drawer-header p {
    font-size: 0.85rem;
    color: var(--color-text-sub);
    line-height: 1.5;
}

/* Boxy overrides for Whatsapp floating widget */
.sticky-whatsapp-tag {
    border-radius: 0px !important;
}

/* ─── Always-On-Display: Rotating Diamond ──────────────────────────────────── */
.aod-diamond-wrap {
    position: fixed;
    bottom: 2.5rem;
    left: 2.5rem;
    z-index: 99990;
    pointer-events: none;      /* doesn't block clicks */
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 8px 24px rgba(0, 229, 117, 0.25))
            drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
    transition: filter 0.4s ease;
}

.aod-diamond-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.95;
    transform: rotate(0deg);
    transition: opacity 0.3s ease;
    will-change: transform;
}

/* Subtle idle spin when not scrolling */
@keyframes aod-idle-spin {
    from { --aod-rotate: 0deg; }
    to   { --aod-rotate: 360deg; }
}

@property --aod-rotate {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

/* Mobile: smaller diamond */
@media (max-width: 1200px) {
    .aod-diamond-wrap {
        width: 70px !important;
        height: 70px !important;
        bottom: 5.5rem !important;
        left: 1rem !important;
    }
}

/* Custom Language Dropdown */
.custom-lang-selector {
    position: relative;
    font-family: var(--font-body);
    user-select: none;
    z-index: 1005;
}

.selected-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    height: 38px;
    padding: 0 0.8rem;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-sub);
    transition: var(--transition);
}

.selected-lang:hover {
    border-color: var(--color-blue);
    background: rgba(15, 23, 42, 0.02);
}

.lang-flag {
    width: 22px;
    height: auto;
    object-fit: contain;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    display: block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.dropdown-arrow {
    font-size: 0.55rem;
    color: var(--color-text-sub);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-lang-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(10, 15, 29, 0.15);
    width: 200px;
    display: none;
    flex-direction: column;
    padding: 0.4rem 0;
    overflow: hidden;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-lang-selector.active .lang-dropdown-list {
    display: flex;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-sub);
    transition: var(--transition);
}

.lang-option:hover {
    background: rgba(0, 229, 117, 0.05);
    color: var(--color-blue);
}

/* Mobile responsive flags-only logic */
@media (max-width: 768px) {
    .selected-lang .lang-name {
        display: none !important; /* Hide name on mobile */
    }
    .selected-lang {
        padding: 0 0.5rem !important;
        gap: 0.3rem !important;
        height: 34px !important;
    }
    .lang-dropdown-list {
        right: -8px !important;
        top: calc(100% + 6px) !important;
        width: 180px !important;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   B2B ADMIN CONTROL PORTAL STYLES (LUXURY CREAM, GOLD & MAROON ACTION THEME)
   ───────────────────────────────────────────────────────────────────────────── */

/* CSS Variables for Admin Theme (Light Mode Default - Aligned to Site theme) */
:root {
    --admin-bg-cream: #f8fafc;
    --admin-bg-card: #FFFFFF;
    --admin-border-gold: rgba(15, 23, 42, 0.08);
    --admin-text-main: #0F172A;
    --admin-text-sub: #475569;
    --admin-color-gold-dark: #00E575; /* Website green accent */
    --admin-color-maroon: #0F172A; /* Website main dark button background color */
}

/* Dark Mode styles applied via .admin-dark-theme class */
.admin-dark-theme {
    --admin-bg-cream: #0A0F1D; /* Website dark bg */
    --admin-bg-card: #151F32;
    --admin-border-gold: rgba(255, 255, 255, 0.08);
    --admin-text-main: #F8FAFC;
    --admin-text-sub: #94A3B8;
    --admin-color-gold-dark: #00E575;
    --admin-color-maroon: #00E575;
}

/* Main Overlay Covering Fullscreen */
.admin-portal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: none; /* Controlled via JS class */
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
}

.admin-portal-overlay.open {
    display: flex;
}

/* Close button for overlay */
.admin-portal-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: #0F172A;
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    border-radius: 0px !important; /* Sharp box geometric */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
    z-index: 100000;
}

.admin-portal-close:hover {
    transform: rotate(90deg) scale(1.08);
    background: #00E575;
    color: #0F172A;
}

/* Admin Portal Content Card Wrapper */
.admin-portal-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 99999;
}

/* 1. Auth Card Panel styling */
.auth-card {
    background: var(--admin-bg-card);
    border: 1px solid var(--admin-border-gold);
    border-radius: 0px !important; /* Flat geometric borders */
    max-width: 420px;
    margin: 0 auto;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.1);
    color: var(--admin-text-main);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--admin-text-main);
    margin-bottom: 0.5rem;
}

.auth-header p {
    font-size: 0.8rem;
    color: var(--admin-text-sub);
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-btn {
    background: #0F172A !important; /* Main website dark background */
    border: 1px solid #0F172A !important;
    color: #ffffff !important;
    margin-top: 1rem;
    border-radius: 0px !important;
}

.auth-btn:hover {
    background: #00E575 !important; /* Green hover state */
    border-color: #00E575 !important;
    color: #0F172A !important;
}

.auth-back-btn {
    background: transparent;
    border: 1px solid var(--admin-border-gold);
    color: var(--admin-text-sub);
    padding: 0.8rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.8rem;
    transition: all 0.2s;
    text-align: center;
}

.auth-back-btn:hover {
    background: rgba(15, 23, 42, 0.03);
    color: var(--admin-text-main);
}

/* 2. Main Dashboard Panel Card Container */
.dashboard-card {
    background: var(--admin-bg-cream);
    border: 1px solid var(--admin-border-gold);
    border-radius: 16px;
    width: 100%;
    min-height: 80vh;
    box-shadow: 0 20px 50px rgba(10, 15, 29, 0.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--admin-text-main);
}

/* Dashboard Header Block */
.dashboard-header {
    background: var(--admin-bg-card);
    border-bottom: 1px solid var(--admin-border-gold);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--admin-text-main);
    line-height: 1;
}

.header-brand span {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--admin-color-gold-dark); /* green instead of maroon */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    display: block;
}

.header-user-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

#user-greeting {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--admin-text-sub);
}

.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--admin-border-gold);
    color: var(--admin-text-sub);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.theme-toggle-btn:hover {
    color: var(--admin-text-main);
    background: rgba(15, 23, 42, 0.04);
}

.logout-btn {
    background: transparent;
    border: 1px solid var(--admin-color-gold-dark);
    color: var(--admin-color-gold-dark);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0px !important;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: var(--admin-color-gold-dark);
    color: #0f172a;
}

/* Tabs Bar */
.dashboard-tabs {
    background: var(--admin-bg-card);
    border-bottom: 1px solid var(--admin-border-gold);
    display: flex;
    gap: 0.5rem;
    padding: 0 2rem;
    overflow-x: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--admin-text-sub);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 1rem 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--admin-text-main);
}

.tab-btn.active {
    border-bottom-color: var(--admin-color-gold-dark);
    color: var(--admin-color-gold-dark);
}

/* Tab panes layouts */
.tab-content-container {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--admin-bg-cream);
}

.tab-pane {
    display: none;
    flex-direction: column;
    flex: 1;
}

.tab-pane.active {
    display: flex;
}

.pane-header {
    margin-bottom: 1.5rem;
}

.pane-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--admin-text-main);
}

.pane-header p {
    font-size: 0.78rem;
    color: var(--admin-text-sub);
    margin-top: 0.25rem;
}

.pane-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.pane-header-actions h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--admin-text-main);
}

.pane-header-actions p {
    font-size: 0.78rem;
    color: var(--admin-text-sub);
    margin-top: 0.25rem;
}

.pane-action-btn {
    margin-top: 0 !important;
    padding: 0.6rem 1.2rem !important;
    font-size: 0.75rem !important;
    background: #0F172A !important;
    border-color: #0F172A !important;
    color: #ffffff !important;
}
.pane-action-btn:hover {
    background: #00E575 !important;
    border-color: #00E575 !important;
    color: #0F172A !important;
}

/* Double-pane split for templates tab */
.templates-layout-split {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    flex: 1;
}

.templates-list-panel, .template-form-panel {
    background: var(--admin-bg-card);
    border: 1px solid var(--admin-border-gold);
    border-radius: 8px;
    padding: 1.5rem;
}

.templates-list-panel h3, .template-form-panel h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--admin-text-main);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--admin-border-gold);
    padding-bottom: 0.5rem;
}

/* SVG Chart */
.chart-container-box {
    background: var(--admin-bg-card);
    border: 1px solid var(--admin-border-gold);
    border-radius: 8px;
    padding: 1.5rem;
    max-height: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

/* Database tables structures */
.table-scroll-wrapper {
    overflow-x: auto;
    border: 1px solid var(--admin-border-gold);
    background: var(--admin-bg-card);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.database-grid {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-align: left;
}

.database-grid th, .database-grid td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--admin-border-gold);
    white-space: nowrap;
}

.database-grid th {
    background: #f1f5f9; /* Slate gray tint header */
    font-weight: 700;
    color: var(--admin-text-main);
}

.database-grid tr {
    transition: background 0.15s;
    background: var(--admin-bg-card);
    color: var(--admin-text-sub);
}

.database-grid tr:hover {
    background: rgba(197, 168, 128, 0.03);
}

/* Badges for replied status */
.replied-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 30px;
    font-size: 0.65rem;
    font-weight: 700;
}

.replied-badge.yes {
    background: rgba(0, 229, 117, 0.1);
    color: var(--color-green);
}

.replied-badge.no {
    background: rgba(15, 23, 42, 0.08);
    color: var(--admin-text-main);
}

/* Custom Mini Reply actions in grid */
.grid-reply-btn {
    background: #0F172A;
    color: #ffffff;
    border: none;
    padding: 0.3rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 0px !important;
    cursor: pointer;
    transition: background 0.15s;
}

.grid-reply-btn:hover {
    background: #00E575;
    color: #0F172A;
}

/* Dual Pagination layout */
.pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.75rem;
    color: var(--admin-text-sub);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    background: var(--admin-bg-card);
    border: 1px solid var(--admin-border-gold);
    color: var(--admin-text-main);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn:not(:disabled):hover {
    border-color: var(--admin-color-gold-dark);
    background: rgba(197, 168, 128, 0.05);
}

/* Floating multi-reply selection banner */
.floating-selection-banner {
    display: none !important;
}

.selection-count-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--admin-text-main);
}

.banner-btn {
    padding: 0.45rem 1rem !important;
    font-size: 0.7rem !important;
    border-radius: 20px !important;
}

/* Modals overlays custom styles */
.custom-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.popup-box {
    background: var(--admin-bg-card);
    border: 1px solid var(--admin-border-gold);
    border-radius: 0px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    padding: 2.5rem;
    color: var(--admin-text-main);
}

.reply-modal-box {
    width: 100%;
    max-width: 800px;
}

.bulk-modal-box {
    width: 100%;
    max-width: 1000px;
}

.bulk-modal-inner-split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.bulk-leads-panel {
    background: var(--admin-bg-cream);
    border: 1px solid var(--admin-border-gold);
    border-radius: 6px;
    padding: 1.25rem;
    max-height: 500px;
    overflow-y: auto;
}

.bulk-leads-panel h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--admin-text-main);
    margin-bottom: 0.8rem;
}

.bulk-leads-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bulk-leads-list li {
    background: var(--admin-bg-card);
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid var(--admin-border-gold);
    color: var(--admin-text-sub);
}

.modal-title-luxury {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--admin-text-main);
    margin-bottom: 1.2rem;
}

.popup-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.8rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--admin-text-sub);
    transition: color 0.15s;
    line-height: 1;
}

.popup-close-btn:hover {
    color: #00E575;
}

/* Custom themed multi-file dropzone */
.custom-file-dropzone {
    border: 2px dashed #C5A880; /* Dashed gold outline */
    background: var(--admin-bg-cream); /* Cream background */
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.custom-file-dropzone:hover {
    border-color: #00E575;
    background: rgba(0, 229, 117, 0.02);
}

.custom-file-dropzone span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--admin-text-sub);
}

.attachment-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--admin-bg-cream);
    border: 1px solid var(--admin-border-gold);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--admin-text-sub);
}

.attachment-chip .remove-file-btn {
    border: none;
    background: transparent;
    color: #ff3b30;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0;
}

.attachment-chip .remove-file-btn:hover {
    color: #ff0000;
}

/* Success/Error Popup Modal centered styles */
.notification-box {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem;
    border-radius: 0px !important;
}

.notification-box.success {
    border: 2px solid #00E575; /* Gold border success */
}

.notification-box.error {
    border: 2px solid #0F172A; /* Dark slate error warning */
}

.notification-icon-wrapper svg {
    width: 60px;
    height: 60px;
}

/* Responsive grid table adjustments */
@media (max-width: 992px) {
    .templates-layout-split {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SEPARATE ADMIN PAGE WRAPPER STYLES OVERRIDES
   ───────────────────────────────────────────────────────────────────────────── */
.admin-page-body {
    background: var(--admin-bg-cream) !important;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-y: auto !important;
}

.admin-page-body #admin-portal-overlay {
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    min-height: 100vh;
}

.admin-page-body .admin-portal-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.admin-page-body .dashboard-card {
    border-radius: 0px !important;
    border: none !important;
    box-shadow: none !important;
    min-height: 100vh !important;
    width: 100% !important;
    background: var(--admin-bg-cream) !important;
}

.admin-page-body .auth-card {
    max-width: 420px !important;
    margin: 12vh auto !important;
    background: var(--admin-bg-card) !important;
    border: 1px solid var(--admin-border-gold) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05) !important;
    padding: 2.5rem !important;
    border-radius: 0px !important;
}

/* Modal Popup Inputs & Labels Styling Redesign Overrides */
.admin-portal-overlay .input-block label,
.popup-box .input-block label {
    color: var(--admin-text-sub) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
}

.popup-box .input-block {
    margin-bottom: 1.25rem !important; /* Proper spacing between elements */
    gap: 0.5rem !important;
}

.popup-box input, 
.popup-box select, 
.popup-box textarea {
    background: #fdfdfd !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: var(--admin-text-main) !important;
    font-size: 0.82rem !important;
    padding: 0.75rem 0.9rem !important;
    border-radius: 0px !important; /* Completely square design */
    box-sizing: border-box;
    width: 100%;
}

.popup-box input:focus, 
.popup-box select:focus, 
.popup-box textarea:focus {
    border-color: #0F172A !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.04) !important;
    outline: none !important;
    border-radius: 0px !important;
}

.popup-box {
    border: 1px solid var(--admin-border-gold) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1) !important;
    background: var(--admin-bg-card) !important;
    border-radius: 0px !important; /* Completely square card overlay */
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE RESPONSIVE ADAPTATIONS
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Main Layout wrappers */
    #admin-main-content {
        padding: 0.5rem !important;
    }
    
    .tab-content-container {
        padding: 1rem !important;
        gap: 1rem !important;
    }

    /* Dashboard Header */
    .dashboard-header {
        padding: 1rem !important;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .header-user-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.75rem !important;
    }

    /* Top Analytics Row: SVG Weekly Trends & Response Distribution */
    .tab-content-container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* 3 Metric Highlight Panels */
    .tab-content-container > div[style*="repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Search & Controls Action Bar */
    div[style*="justify-content: space-between"][style*="margin: 1rem 2.5rem 1.5rem"] {
        margin: 1rem !important;
        flex-direction: column;
        align-items: stretch !important;
        gap: 1rem !important;
    }

    div[style*="flex: 1; max-width: 320px;"] {
        max-width: 100% !important;
    }

    div[style*="display: flex; gap: 0.75rem; align-items: center;"] {
        flex-wrap: wrap;
        width: 100%;
    }

    div[style*="display: flex; gap: 0.75rem; align-items: center;"] button,
    div[style*="display: flex; gap: 0.75rem; align-items: center;"] a {
        flex: 1 1 calc(50% - 0.5rem);
        justify-content: center;
    }

    /* Tabs Navigation bar styling */
    .dashboard-tabs {
        padding: 0 1rem !important;
    }

    .tab-btn {
        padding: 0.8rem 0.6rem !important;
        font-size: 0.7rem !important;
    }

    /* Data table scroll container */
    .table-scroll-wrapper {
        border-width: 1px;
    }

    /* Split layout inside modals */
    .bulk-modal-inner-split {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}






