/* 
 * Esvera High-Tech Theme
 * Style.css
 */

:root {
    --primary-color: #e62e2e;
    --primary-glow: rgba(230, 46, 46, 0.5);

    /* Default Transition */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Outfit', sans-serif;

    /* Base Variables (Will be overridden by themes) */
    --bg-color: #0a0a0a;
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --border-soft: rgba(255, 255, 255, 0.1);
    --card-surface: #141414;
    --gradient-text: linear-gradient(135deg, #fff 30%, var(--primary-color) 100%);
}

/* --- THEME SYSTEM --- */

/* 1. DARK THEME (Standard High-Tech) */
.theme-dark {
    --bg-color: #0a0a0a;
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --border-soft: rgba(255, 255, 255, 0.1);
    --card-surface: #141414;
    --gradient-text: linear-gradient(135deg, #ffffff 30%, var(--primary-color) 100%);

    background-color: var(--bg-color);
    color: var(--text-main);
}

/* 2. LIGHT THEME (Clean & Store-like) */
.theme-light {
    --bg-color: #ffffff;
    --text-main: #111111;
    --text-muted: #555555;
    --border-soft: rgba(0, 0, 0, 0.08);
    --card-surface: #f8f8f8;
    --gradient-text: linear-gradient(135deg, #111111 30%, var(--primary-color) 100%);

    background-color: var(--bg-color);
    color: var(--text-main);
}

/* 3. GREY THEME (Modern Neutral) */
.theme-grey {
    --bg-color: #f4f4f4;
    --text-main: #222222;
    --text-muted: #666666;
    --border-soft: rgba(0, 0, 0, 0.06);
    --card-surface: #ffffff;
    --gradient-text: linear-gradient(135deg, #333333 30%, var(--primary-color) 100%);

    background-color: var(--bg-color);
    color: var(--text-main);
}

/* =========================================
   PRODUCT HIGHLIGHTS SECTION (Split Theme)
   ========================================= */
.ph-section-corrected {
    padding: 120px 0 60px 0;
    /* Reduced bottom padding */
    background-color: #ffffff;
    color: #333;
}

.section-title.super-title {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.split-line {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    color: #1a1a1a;
    text-transform: uppercase;
}

.split-line span {
    display: inline-block;
    transition: transform 0.4s ease, color 0.4s ease;
}

.split-line:hover span {
    color: var(--primary-color);
    transform: translateY(-10px);
}

.sub-split-line {
    font-size: 1.5rem;
    color: #666;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Features Grid */
.mb-90 {
    margin-bottom: 90px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-40 {
    margin-bottom: 40px;
}

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

.ph-tile {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    text-align: center;
}

.ph-tile:hover {
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    /* Revert Shadow */
    transform: translateY(-10px);
    border-color: #eee;
}

.ph-tile-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    height: 60px;
    display: flex;
    /* Center icon */
    align-items: center;
    justify-content: center;
}

.ph-tile-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    /* Revert Title Color */
    line-height: 1.5;
    margin: 0;
}

/* =========================================
   GALLERY DARK SECTION
   ========================================= */
.ph-gallery-section-dark {
    background-color: #111111;
    padding: 80px 0 120px 0;
    color: #ffffff;
}

/* Interactive Gallery Stage */
.ph-gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    /* White Title */
    margin-bottom: 1rem;
}



/* =========================================
   PRODUCT SPECS SECTION (Unified & Magnificent)
   ========================================= */
.ps3-section {
    padding: 100px 0;
    background-color: #f4f4f4;
    color: #333;
    overflow: hidden;
}

/* Header Compact */
.ps3-header-box {
    margin-bottom: 3rem;
    border-bottom: none;
    text-align: center;
}

.ps3-header-title {
    font-size: 3rem;
    color: #1a1a1a;
    display: inline-block;
}

.ps3-bg-typo {
    display: none;
    /* Removed to clean up space */
}

/* UNIFIED GLASS CARD LAYOUT */
.ps3-glass-card {
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    /* Soft deeply elevated shadow */
    display: flex;
    overflow: hidden;
    min-height: 600px;
    /* Fixed height for stability */
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Left Navigation Side */
.ps3-nav-col {
    flex: 0 0 35%;
    /* 35% Width */
    background: #1a1a1a;
    /* Dark Contrast for Menu */
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* FIX: Align to TOP instead of center */
}

.ps3-nav-item {
    padding: 1.5rem 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0.6;
}

.ps3-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    opacity: 1;
}

.ps3-nav-item.active {
    background: #ffffff;
    opacity: 1;
    border-left-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ps3-nav-item.active .ps3-nav-num {
    color: var(--primary-color);
}

.ps3-nav-header {
    display: flex;
    align-items: center;
}



/* =========================================
   PRODUCT GALLERY SECTION (The Portal)
   ========================================= */
.pg-section {
    padding: 140px 0;
    background-color: #111;
    /* Deep Dark Background for Contrast */
    color: #fff;
    overflow: hidden;
    position: relative;
}

/* Custom Grid System (No Bootstrap) */
.pg-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.pg-grid-left {
    flex: 0 0 40%;
    max-width: 40%;
}

.pg-grid-right {
    flex: 1;
    max-width: 60%;
}

.pg-preview-wrapper {
    position: relative;
    width: 100%;
    min-height: 500px;
    /* Changed from height to min-height */
    cursor: pointer;
}

/* Back Image (Angled) */
.pg-img-back {
    position: absolute;
    top: 0;
    left: 20px;
    width: 70%;
    height: 80%;
    z-index: 1;
    overflow: hidden;
    border-radius: 4px;
    transform: rotate(-5deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.6;
    filter: grayscale(100%);
}

.pg-img-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Front Image (Main) */
.pg-img-front {
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 75%;
    height: 85%;
    z-index: 2;
    overflow: hidden;
    border-radius: 4px;
    /* Sharp modern look */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pg-img-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* Branding/Icon Overlay */
.pg-overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    opacity: 0;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover Interaction: The "Open" Effect */
.pg-preview-wrapper:hover .pg-img-back {
    transform: rotate(-10deg) translate(-30px, -20px);
    opacity: 0.8;
    filter: grayscale(0%);
}

.pg-preview-wrapper:hover .pg-img-front {
    transform: translate(10px, 10px);
}

.pg-preview-wrapper:hover .pg-img-front img {
    transform: scale(1.05);
}

.pg-preview-wrapper:hover .pg-overlay-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Right Content */
.pg-subtitle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: -77px;
    font-weight: 700;
    margin-left: 54px;
    text-transform: uppercase;
}

.pg-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
}

.pg-desc {
    font-size: 1.2rem;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 450px;
}

/* Bespoke Button */
.pg-btn-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    /* Removed invalid group property */
}

.pg-btn-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    transition: color 0.3s;
}

.pg-btn-circle {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pg-btn-circle i {
    z-index: 2;
    transition: transform 0.4s ease;
}

.pg-btn-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.pg-btn-wrapper:hover .pg-btn-circle {
    border-color: #fff;
}

.pg-btn-wrapper:hover .pg-btn-circle::before {
    transform: scale(1);
}

.pg-btn-wrapper:hover .pg-btn-circle i {
    color: #000;
    transform: translateX(5px);
}

.pg-btn-wrapper:hover .pg-btn-text {
    color: var(--primary-color);
}

.hidden-gallery-item {
    display: none;
}

@media (max-width: 992px) {
    .pg-section {
        padding: 80px 0;
    }

    .pg-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .pg-grid-left,
    .pg-grid-right {
        flex: 1;
        max-width: 100%;
    }

    .pg-preview-wrapper {
        height: 400px;
        margin-bottom: 0;
    }

    .pg-title {
        font-size: 3rem;
    }

    .pg-img-back {
        display: none;
    }

    /* Simplify on mobile */
    .pg-img-front {
        width: 100%;
        height: 100%;
        right: 0;
    }
}

.ps3-nav-num {
    font-size: 1rem;
    font-weight: 700;
    color: #666;
    margin-right: 1rem;
}

.ps3-nav-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    /* White text on dark bg */
    margin: 0;
    transition: color 0.3s;
}

.ps3-nav-item.active .ps3-nav-title {
    color: #1a1a1a;
    /* Dark text on white active bg */
}

.ps3-nav-arrow {
    opacity: 0;
    color: var(--primary-color);
}

.ps3-nav-item.active .ps3-nav-arrow {
    opacity: 1;
}


/* Right Content Side */
.ps3-content-col {
    flex: 1;
    background: #ffffff;
    padding: 4rem 5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Keep content at the top */
}

.ps3-content-pane {
    display: none;
    animation: fadeInScale 0.5s ease;
}

.ps3-content-pane.active {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ps3-watermark {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    position: absolute;
    top: 2rem;
    right: 2rem;
    line-height: 1;
}

.ps3-pane-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 2rem;
    position: relative;
}

.ps3-pane-title::after {
    content: '';
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin-top: 1rem;
    border-radius: 2px;
}

.ps3-pane-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

/* Spec Table in Content */
.spec-table tr td {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.05rem;
}

.spec-table tr:last-child td {
    border-bottom: none;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .ps3-glass-card {
        flex-direction: column;
        min-height: auto;
    }

    .ps3-nav-col {
        width: 100%;
        padding: 1rem 0;
        flex-direction: row;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .ps3-nav-item {
        padding: 1rem;
        flex: 0 0 auto;
        background: transparent;
        margin: 0;
        transform: none !important;
        border-radius: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-left: none;
    }

    .ps3-nav-item.active {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        box-shadow: none;
    }

    .ps3-nav-item.active .ps3-nav-title {
        color: white;
    }

    .ps3-content-col {
        padding: 2rem;
    }
}

/* Light Gray */


.ph-stage-wrapper {
    margin-bottom: 2rem;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    aspect-ratio: 16/9;
}

.ph-stage-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.ph-stage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.ph-stage-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
}

.ph-stage-caption {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    color: white;
    z-index: 2;
    max-width: 600px;
}

.ph-stage-caption h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ph-stage-caption p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Thumbnails */
.ph-swiper-container {
    position: relative;
    padding: 0 50px;
    /* Space for arrows */
}

.ph-thumbs-slider {
    padding: 10px 0;
}

.ph-thumb-item {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    height: 100px;
    position: relative;
}

.ph-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
    opacity: 0.6;
}

.ph-thumb-item:hover img,
.ph-thumb-item.isActive img {
    opacity: 1;
}

.ph-thumb-item.isActive {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.ph-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.ph-nav-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.ph-prev-btn {
    left: 0;
}

.ph-next-btn {
    right: 0;
}

@media (max-width: 992px) {
    .split-line {
        font-size: 3rem;
    }

    .ph-grid-clean {
        grid-template-columns: 1fr;
    }

    .ph-stage-caption h3 {
        font-size: 1.5rem;
    }
}

/* Generic Element Styles adapted to Theme */
body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    /* Uses default or applied theme */
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Gradient */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 1px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    background: #c21c1c;
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #3a3a3a;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10010;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: #ffffff;
    /* Pure White */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    /* No filter for logo, display original colors */
    filter: none;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
    position: relative;
    color: #111111;
    /* Dark text for white header */
}

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

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

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


/* Header Actions (Lang, Search, CTA, Mobile Trigger) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.active-lang {
    color: var(--primary-color);
}

.lang-sep {
    color: #ccc;
    font-weight: 300;
}

.lang-link {
    color: #777;
    transition: color 0.3s ease;
}

.lang-link:hover {
    color: #111;
}

.header-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #333;
    transition: color 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-btn:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- MEGA MENU & DROPDOWNS --- */
.has-dropdown {
    position: relative;
    padding-bottom: 20px;
    /* Bridge gap */
    margin-bottom: -20px;
}

.nav-arrow {
    font-size: 0.7rem;
    margin-left: 4 px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Base Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.has-dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    margin-bottom: 0.8rem;
}

.submenu li:last-child {
    margin-bottom: 0;
}

.submenu li a {
    font-size: 0.95rem;
    color: #555;
    font-weight: 400;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    transition: color 0.2s;
}

.submenu li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* MEGA MENU SPECIFIC */
.tp-megamenu {
    width: 1200px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.has-dropdown:hover .tp-megamenu {
    transform: translateX(-50%) translateY(0);
}

/* Grid Layout for Columns */
.products-grid-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.tp-megamenu-title-wrap {
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tp-megamenu-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111;
}

/* Preview Row */
.product-preview-row {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #3c3c3c;
    padding: 1.5rem;
    border-radius: 8px;
}

.preview-placeholder {
    width: 120px;
    height: 80px;
    background: #eee;
    border-radius: 4px;
    /* Img logic normally goes here via JS */
}

.product-preview-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #fff;
}

.product-preview-desc {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* Hero Section - Floating Video Card */
.hero {
    position: relative;
    /* Frame the video */
    margin: 110px 0 0 0;
    height: calc(100vh - 140px);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    /* Content alignment */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0;
    /* Clear padding from old sticky styles if any */
    color: white;
    /* Text inside hero is still white */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
    padding-left: 12rem;
    /* Inside the card padding */
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(230, 46, 46, 0.2);
    border: 1px solid rgba(230, 46, 46, 0.5);
    color: white;
    /* Badge text white on video */
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* =========================================
   MOBILE HERO SLIDER (RE-LAYOUT)
   ========================================= */
@media (max-width: 991px) {
    .hero {
        height: auto !important;
        margin: 80px 0 0 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
        min-height: auto !important;
        display: block !important;
    }

    .hero-slider .swiper-slide {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        background: var(--bg-color, #fff) !important;
        color: var(--text-main, #111) !important;
        align-items: flex-start !important;
        padding-bottom: 50px !important;
        background-image: none !important;
    }

    .hero-video,
    .hero-image-bg,
    .hero-image-bg img {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        transform: none !important;
        object-fit: cover !important;
        z-index: 1 !important;
        display: block !important;
    }

    .video-overlay {
        display: none !important;
    }

    .hero-content {
        position: relative !important;
        padding: 40px 20px !important;
        width: 100% !important;
        max-width: 90% !important;
        padding-left: 0px !important;
        z-index: 2 !important;
        height: auto !important;
        display: block !important;
        background: transparent !important;
    }

    .hero-title-large {
        font-size: 28px !important;
        margin-bottom: 12px !important;
        color: var(--text-main) !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
        margin-bottom: 25px !important;
        color: var(--text-muted) !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
        border: none !important;
        padding-left: 0 !important;
    }

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

    .hero-btns .btn {
        width: 100% !important;
        margin: 0 !important;
        padding: 14px 25px !important;
        font-size: 16px !important;
    }

    .hero-slider .swiper-pagination {
        bottom: 15px !important;
    }

    .scroll-down {
        display: none !important;
    }

    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none !important;
    }
}


/* Scroll Indicator */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
    color: white;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

.arrow {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}


/* Animations */
@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 18px;
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background: var(--card-surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        border-left: 1px solid var(--border-soft);
        gap: 2rem;
    }

    .nav-links.active {
        transform: translateX(0);
        display: flex;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    }

    .mobile-menu-btn {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
        z-index: 1001;
    }

    .hero-title {
        font-size: 3rem;
    }
}

/* --- MAIN SECTION (Adaptive) --- */
.main-section {
    position: relative;
    padding: 30px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Background and Color set by utility class (.theme-light, .theme-dark) */
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background-color 0.5s ease, color 0.5s ease;
}

.main-content-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

/* Titles adapting to theme */
.hero-title-large {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 3.3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-main);
    /* Adaptive */
}

/* Left Content Styling */
.main-text-col {
    flex: 1;
    padding-right: 4rem;
    z-index: 2;
    /* Isolate layer to prevent repaint-induced jitter */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform;
    /* Inform browser of potential static/dynamic nature */
}

.premium-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 50px;
}

.premium-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--primary-color);
}

.main-h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
    color: var(--text-main);
    /* Adaptive */
}

.h1-gradient {
    background: var(--gradient-text);
    /* Adaptive Gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    /* Adaptive */
    line-height: 1.7;
    margin-bottom: 4rem;
    max-width: 90%;
    border-left: 3px solid var(--border-soft);
    /* Adaptive */
    padding-left: 1.5rem;
}

/* Features Block */
.features-block {
    margin-top: 3rem;
}

.features-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    /* Adaptive */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.features-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-soft), transparent);
    /* Adaptive */
    max-width: 200px;
}

.premium-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.premium-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transform: translateZ(0);
    /* Hardware acceleration to prevent jitter */
    backface-visibility: hidden;
}

.list-marker {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-top: 6px;
    box-shadow: 0 0 15px var(--primary-color);
    position: relative;
    /* Removed transition on layout properties if any existed */
    flex-shrink: 0;
    /* Prevent resizing */
}

.list-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 2s infinite linear;
    /* Added linear for smoothness */
    pointer-events: none;
    /* Ensure no interaction */
}

.list-content strong {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 1.1rem;
    color: var(--text-main);
    /* Adaptive */
    margin-bottom: 0.3rem;
}

.list-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    /* Adaptive */
    margin: 0;
}

/* Main Visual (Right) */
.main-image-col {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 700px;
    border-radius: 20px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    /* Softer shadow */
    transition: var(--transition);
}

.visual-card:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Removed filters to look good on light bg too, or adaptive? */
    /* Only darken slightly on dark theme if needed, but let's keep natural */
}

.visual-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1), transparent 60%);
    z-index: 2;
    pointer-events: none;
}

/* On Dark Theme only, add gloss/glow effects */
.theme-dark .visual-border {
    border-color: rgba(255, 255, 255, 0.1);
}

.theme-light .visual-border {
    border-color: rgba(0, 0, 0, 0.1);
}

.visual-border {
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-soft);
    /* Adaptive */
    border-radius: 20px;
    z-index: 3;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 1200px) {
    .main-h1 {
        font-size: 3rem;
    }

    .hero-title-large {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .main-content-wrapper {
        flex-direction: column;
    }

    .main-text-col {
        padding-right: 0;
        margin-bottom: 4rem;
    }

    .visual-card {
        height: 500px;
        transform: none;
    }

    .visual-card:hover {
        transform: scale(1.02);
    }
}

/* Process Section (Formerly Home-2) */
.process-section {
    position: relative;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Adaptive colors */
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background-color 0.5s ease, color 0.5s ease;
}

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

.process-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.theme-dark .process-background-image {
    filter: brightness(0.4) contrast(1.1);
}

.theme-light .process-background-image {
    opacity: 0.1 !important;
    filter: grayscale(100%);
}

.process-background-image.active {
    opacity: 1;
}

.theme-light .process-background-image.active {
    opacity: 0.05;
}


.process-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(90deg, var(--bg-color) 0%, rgba(0, 0, 0, 0) 100%);
}

.process-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.process-container .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-content-column {
    max-width: 550px;
}

.process-main-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.process-description {
    font-size: 1rem;
    color: var(--text-muted);
    /* Adaptive */
    margin-bottom: 2rem;
    max-width: 90%;
    line-height: 1.5;
}

/* Process Steps List */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    border-bottom: 1px solid var(--border-soft);
    /* Adaptive */
    padding-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.step-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.7;
    transition: var(--transition);
}

.step-title {
    font-size: 1.35rem;
    /* Reduced size */
    font-weight: 400;
    margin: 0;
    transition: var(--transition);
    color: var(--text-main);
    /* Adaptive */
}

.step-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-body p {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    /* Adaptive */
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Active State */
.step-item.active .step-number {
    opacity: 1;
    transform: scale(1.1);
}

.step-item.active .step-title {
    font-weight: 700;
    color: var(--primary-color);
}

.step-item.active .step-body {
    max-height: 120px;
    /* Reduced max-height */
}

/* Hover effect */
.step-item:not(.active):hover .step-title {
    color: var(--text-muted);
    /* Adaptive hover */
    padding-left: 5px;
}

/* Engineering Section (Legendary V3) */
/* Engineering Section (Legendary V3 - Refined & Compact) */
.engineering-section {
    position: relative;
    /* Using min-height instead of flex centering to avoid squeezing the container */
    min-height: 850px;
    padding: 100px 0;
    background-color: #050505;
    overflow: hidden;
    color: white;
    /* display: flex; REMOVED to fix stacking issue */
    /* align-items: center; REMOVED */
}

/* Ensure container is centered via margin if needed, though Bootstrap handles this */
.engineering-section .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Dynamic Backgrounds (Same as before) */
.eng-bg-grid {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    transform: perspective(500px) rotateX(60deg);
    animation: grid-move 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.eng-bg-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(230, 46, 46, 0.08), transparent 60%);
    z-index: 1;
    pointer-events: none;
}

@keyframes grid-move {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(100px);
    }
}

/* Header */
.eng-header {
    position: relative;
    z-index: 2;
}

.premium-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.premium-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
}

.section-title {
    font-size: 4rem;
    /* Slightly reduced */
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.outline-text {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    color: transparent;
    transition: var(--transition);
}

/* Navigation List - More Compact */
.eng-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    /* Tighter gap */
    position: relative;
    z-index: 2;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    /* Reduced padding */
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.5;
}

.nav-item:hover,
.nav-item.active {
    opacity: 1;
    background: linear-gradient(90deg, rgba(230, 230, 230, 0.05) 0%, transparent 100%);
}

.nav-num {
    font-family: monospace;
    font-size: 1rem;
    color: var(--primary-color);
}

.nav-text {
    font-size: 1.1rem;
    /* Adjusted for 8 items vertical fit */
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-item.active .nav-text {
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* The Visual Stage - Strictly Controlled */
.perspective-container {
    perspective: 2000px;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    /* Ensure centering */
    align-items: center;
    justify-content: center;
}

.visual-stage {
    position: relative;
    width: 100%;
    max-width: 650px;
    /* Max constraint */
    height: 100%;
    /* Fill the container provided by the grid */
    min-height: 400px;
    /* Don't collapse */
    max-height: 80vh;
    /* Don't exceed screen */
    transform-style: preserve-3d;
    margin: 0 auto;
}

.visual-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: rotateY(15deg) translateZ(-100px) translateX(50px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    /* HUD at bottom */
    justify-content: center;
    /* Center HUD horizontally */
}

.visual-layer.active {
    opacity: 1;
    transform: rotateY(0) translateZ(0) translateX(0);
    z-index: 10;
}

.visual-layer img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    /* Removed clip-path to prevent cutting off if image is sized weirdly */
    filter: brightness(0.9) contrast(1.1);
}

/* Glass HUD */
.glass-hud {
    position: relative;
    z-index: 20;
    width: 90%;
    margin-bottom: 2rem;
    background: rgba(10, 10, 10, 0.75);
    /* Darker for better contrast */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.visual-layer.active .glass-hud {
    transform: translateY(0);
    opacity: 1;
}

.glass-hud h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glass-hud p {
    margin: 0;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Pulse Dot */
.glass-hud h3::after {
    content: '';
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}




/* Design Freedom Section (Section 4) */
.design-freedom-section {
    position: relative;
    padding: 30px 0;
    min-height: auto;
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background-color 0.5s ease, color 0.5s ease;
}

.design-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.design-main-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-main);
    /* Adaptive */
    position: relative;
    display: inline-block;
}

.design-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 1.5rem;
    font-weight: 300;
}

/* Feature Grid - Desktop: 4-col / Mobile: Accordion Stack */
.design-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.design-feature-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    cursor: default;
}

/* Header in Grid (Desktop) */
.design-feature-header {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.design-feature-item:hover {
    background: var(--card-surface);
    border-color: var(--border-soft);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.design-count {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    opacity: 0.15;
    font-family: var(--font-main);
    transition: var(--transition);
    line-height: 1;
}

.design-feature-item:hover .design-count {
    opacity: 1;
    transform: scale(0.9);
}

.design-feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
    position: relative;
    padding-bottom: 1rem;
}

.design-feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.design-feature-item:hover .design-feature-title::after {
    opacity: 1;
    width: 60px;
}

.design-feature-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- MOBILE ACCORDION STYLING --- */
@media (max-width: 991px) {
    .design-features-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .design-feature-item {
        text-align: left;
        padding: 0;
        background: var(--card-surface);
        border: 1px solid var(--border-soft);
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
    }

    .design-feature-item:hover {
        transform: none;
        box-shadow: none;
    }

    .design-feature-header {
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
        position: relative;
        z-index: 2;
    }

    .design-count {
        margin-bottom: 0;
        font-size: 1.5rem;
        opacity: 0.3;
    }

    .design-feature-title {
        margin-bottom: 0;
        font-size: 1.1rem;
        padding: 0;
    }

    .design-feature-title::after {
        display: none;
    }

    .design-toggle-icon {
        margin-left: auto;
        color: var(--primary-color);
        transition: transform 0.3s ease;
    }

    .design-feature-item.active .design-toggle-icon {
        transform: rotate(180deg);
    }

    .design-feature-item.active .design-count {
        opacity: 1;
    }

    .design-feature-body {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0 20px;
    }

    .design-feature-item.active .design-feature-body {
        max-height: 300px;
        opacity: 1;
        padding-bottom: 25px;
    }

    .design-feature-desc {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 15px;
    }
}

/* Bottom CTA Area */
.design-bottom-cta {
    text-align: center;
    margin-top: 80px;
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 300;
}

.cta-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 8px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.cta-highlight:hover {
    border-bottom-color: var(--primary-color);
    padding-bottom: 2px;
}

.cta-icon svg {
    width: 24px;
    height: auto;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.cta-highlight:hover .cta-icon svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1200px) {
    .design-features-row {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .design-features-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .design-main-title {
        font-size: 24px;
        margin-bottom: 0;
    }

    .design-header {
        margin-bottom: 0;
    }

}

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

/* Product Showcase Section (Section 5) - REDESIGNED */
.product-showcase-section {
    position: relative;
    padding: 120px 0;
    background-color: #0b0b0b;
    color: #fff;
    overflow: hidden;
}

.product-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 100%;
    /* Allow full width */
    padding: 0 20px;
}

.product-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #040404, #8c8c8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    /* Full width block */
    width: 100%;
}

.product-description {
    font-size: 1.1rem;
    color: #888;
    max-width: 900px;
    /* Increased readability width */
    margin: 0 auto;
    line-height: 1.6;
}

/* 5-Column Grid */
.product-grid-row {
    display: grid !important;
    /* Force grid on desktop, override swiper-wrapper flex */
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    padding: 0 2rem;
}

@media (max-width: 991px) {
    .product-grid-row {
        display: flex !important;
        /* Swiper needs flex on mobile */
        /* Swiper needs flex */
        grid-template-columns: none;
        gap: 0;
        padding: 0;
    }

    .product-showcase-container {
        overflow: visible;
        padding: 0 20px;
    }

    .product-showcase-container .swiper-slide {
        width: 80% !important;
        flex: 0 0 80% !important;
    }

    .product-thumb-box {
        height: 400px;
        /* Smaller height for mobile */
    }
}

.product-card {
    position: relative;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    text-decoration: none;
    transition: transform 0.4s ease;
    height: 100%;
}

.product-thumb-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 480px;
    /* Taller for better visual */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
    /* Removing margin as title is inside */
    background: #1a1a1a;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), filter 0.4s ease;
    filter: grayscale(20%) brightness(0.9);
}

.product-card:hover .product-img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1.1);
}

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

/* New Title Style: Overlay on image */
.product-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px 20px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    text-align: left;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass to card */
}

/* Additional Overlay Gradient for better text readability if needed */
.product-thumb-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1400px) {
    .product-grid-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .product-grid-row {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }

    .product-thumb-box {
        height: 300px;
    }

    .product-main-title {
        font-size: 20px;
    }

}

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

/* Living Spaces Section (Section 6) */
.living-spaces-section {
    position: relative;
    padding: 140px 0;
    background-color: #ffffff;
    /* Pure white */
    color: #111;
    overflow: hidden;
}

.living-header {
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.living-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    height: 40px;
    width: 4px;
    background: var(--primary-color);
}

.living-title {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    color: #000;
}

@media (max-width: 991px) {
    .living-title {
        font-size: 18px;
    }
}

.living-description {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
    max-width: 500px;
}

/* Staggered Grid for "Miraculous" Look */
.living-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    /* Changed from center to start for sticky ease */
}

.living-content-side {
    position: sticky;
    top: 150px;
    /* Sticky text while scrolling visuals */
}

.living-visuals-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Video Card Styling */
.living-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 4/5;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    /* Soft, luxurious shadow */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    cursor: pointer;
}

.living-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

/* Stagger Effect: Shift second column down */
.living-visuals-side .living-card:nth-child(even) {
    transform: translateY(60px);
}

.living-visuals-side .living-card:nth-child(even):hover {
    transform: translateY(45px) scale(1.02);
}

/* Media Handling */
.living-card-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.living-card video.living-card-media {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    /* Hidden by default */
    transform: scale(1.1);
    transition: opacity 0.5s ease, transform 0.8s ease;
}

/* Hover Effects */
.living-card:hover .living-card-media {
    transform: scale(1.1);
}

.living-card:hover video.living-card-media {
    opacity: 1;
    /* Show video on hover */
    transform: scale(1.0);
}

/* Overlay Content inside Card */
.living-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.living-card:hover .living-card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.living-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.living-card-tag {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 992px) {
    .living-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .living-content-side {
        position: relative;
        top: 0;
        margin-bottom: 30px;
        order: -1;
    }

    .living-visuals-side {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .living-visuals-side .living-card:nth-child(even) {
        transform: none;
    }

    .living-visuals-side .living-card:nth-child(even):hover {
        transform: translateY(-10px);
    }
}



/* Fallback Masonry */
.gallery-masonry {
    column-count: 3;
    column-gap: 25px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 25px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    transform: translateZ(0);
    cursor: zoom-in;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.9);
}

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

/* Hover Overlay & Info */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

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

.gallery-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.5) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #fff;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1) translateY(0);
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
    z-index: 3;
    pointer-events: none;
}

.gallery-item:hover .gallery-item-info {
    transform: translateY(0);
    opacity: 1;
}

/* Lightbox Trigger Reset */
a.lightbox-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

/* Responsive Masonry ve Grid */
@media (max-width: 992px) {
    .gallery-masonry {
        column-count: 2;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-filters-container {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .gallery-masonry {
        column-count: 1;
    }

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

    .gallery-title {
        font-size: 2.2rem;
    }

    .gallery-filters-container {
        flex-direction: column;
        align-items: center;
    }

    .filter-group {
        width: 100%;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .filter-group:last-child {
        border-bottom: none;
    }
}

/* Testimonials Section (Section 8: Client Voices) */
.testimonial-section {
    padding: 140px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.huge-quote-mark {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 300px;
    line-height: 1;
    font-family: 'Times New Roman', serif;
    color: rgba(0, 0, 0, 0.03);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.testimonial-slider {
    position: relative;
    padding-bottom: 60px;
    z-index: 1;
    width: 100%;
}

.testimonial-item {
    text-align: center;
    padding: 0 40px;
}

.testimonial-text {
    font-size: 1.8rem;
    line-height: 1.6;
    font-weight: 300;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    font-family: 'Inter', sans-serif;
    /* Fallback */
    /* If possible, stick to your primary font, but thinner weight looks premium */
}

.testimonial-author {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: inline-block;
    padding-top: 20px;
    min-width: 200px;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-role {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

/* Custom Navigation */
.testimonial-nav-prev,
.testimonial-nav-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    background: transparent;
}

.testimonial-nav-prev:hover,
.testimonial-nav-next:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.testimonial-nav-prev {
    left: 0px;
}

.testimonial-nav-next {
    right: 0px;
}

@media (max-width: 991px) {

    .testimonial-nav-prev,
    .testimonial-nav-next {
        display: none;
        /* Hide arrows on smaller screens, rely on pagination/touch */
    }

    .testimonial-text {
        font-size: 1.4rem;
        padding: 0;
    }
}

.testimonial-hero-title {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 800;
    color: #111 !important;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.testimonial-hero-desc {
    font-size: 1.2rem;
    color: #666 !important;
    max-width: 500px;
    line-height: 1.6;

    /* Default (Mobile): Center block & text */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .testimonial-hero-desc {
        /* Desktop: Push block to right & align text right */
        margin-left: auto;
        margin-right: 0;
        margin-bottom: 0;
        text-align: right;
    }
}


@media (max-width: 991px) {
    .testimonial-section {
        padding: 0px 0 !important;
    }

    .huge-quote-mark {
        display: none !important;
    }

    .testimonial-hero-title {
        font-size: 20px !important;
    }

    .testimonial-hero-desc {
        font-size: 14px !important;
    }

    .testimonial-text {
        font-size: 15px !important;
    }
}

.faq-section {
    padding: 0 0 76px 0;
    background-color: #fcfcfc;
    /* Ultra light grey to separate from stark white */
    color: #111;
}

.faq-subtitle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    letter-spacing: 4px;
    font-weight: 600;
    color: #999;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.faq-huge-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    color: #000;
    line-height: 1;
}

/* Elegant Accordion List */
.faq-list {
    margin-top: 60px;
}

.faq-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.faq-row:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-trigger {
    display: flex;
    align-items: center;
    padding: 7px 0;
    cursor: pointer;
    position: relative;
    width: 100%;
}

.faq-idx {
    font-size: 2rem;
    font-weight: 300;
    color: #ccc;
    font-family: 'Inter', sans-serif;
    margin-right: 40px;
    min-width: 50px;
    transition: color 0.4s ease;
}

.faq-q-text {
    font-size: 25px;
    font-weight: 400;
    color: #111;
    margin: 0;
    flex-grow: 1;
    letter-spacing: -0.5px;
    transition: transform 0.4s ease;
}

/* Custom Indicator (Plus/Minus using CSS) */
.faq-indicator {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-indicator::before,
.faq-indicator::after {
    content: '';
    position: absolute;
    background-color: #000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-indicator::before {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-indicator::after {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Answer Area */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.faq-answer-inner {
    padding-left: 90px;
    /* Align with text start (50px width + 40px margin) */
    padding-bottom: 50px;
    padding-right: 100px;
}

.faq-answer p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    font-weight: 300;
}

/* Active State Interactions */
.faq-row:hover .faq-idx {
    color: #000;
}

.faq-row:hover .faq-q-text {
    transform: translateX(10px);
}

.faq-row.active .faq-idx {
    color: #000;
    font-weight: 600;
}

@media (max-width: 991px) {
    .faq-section {
        padding: 0 0 !important;
    }

    .faq-huge-title {
        font-size: 26px !important;
    }

    .faq-list {
        margin-top: 1px !important;
    }

    .faq-idx {
        font-size: 22px !important;
        margin-right: 1px !important;
        min-width: auto !important;
    }

    .faq-q-text {
        font-size: 14px !important;
    }

    .faq-answer-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.faq-row.active .faq-indicator::before {
    transform: translateX(-50%) rotate(90deg);
    /* Makes it a minus */
}




/* =========================================
   10. GRAND FINALE (Contact & Footer)
   ========================================= */

.grand-finale-section {
    position: relative;
    background-color: #0b0b0b;
    /* Deepest Black */
    color: #fff;
    padding: 120px 0 0 0;
    /* No bottom padding, flows into footer */
    overflow: hidden;
}

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

/* Custom Grid for Finale (Desktop: Side by Side) */
.finale-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 80px;
}

.finale-col-text {
    flex: 1;
    max-width: 50%;
}

.finale-col-form {
    flex: 1;
    max-width: 50%;
}

/* Typography */
.finale-subtitle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: 600;
    color: #666;
    margin-bottom: 20px;
}

.finale-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #F44336 0%, #c50e4c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.finale-desc {
    font-size: 1.2rem;
    color: #999;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 50px;
    max-width: 90%;
}

/* Contact Info Grid */
.finale-contact-info {
    margin-top: 40px;
}

.phone-cta-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: fit-content;
}

.phone-cta-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: #8ec5fc;
}

.cta-icon-pulse {
    font-size: 2rem;
    color: #8ec5fc;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(142, 197, 252, 0.5);
    }

    50% {
        transform: scale(1.1);
        text-shadow: 0 0 15px rgba(142, 197, 252, 0.8);
    }

    100% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(142, 197, 252, 0.5);
    }
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.info-link {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #8ec5fc;
}

/* Glass Form */
.finale-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px;
    border-radius: 4px;
}

.finale-form .form-group {
    position: relative;
    margin-bottom: 40px;
}

.form-control-custom {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    color: #fff;
    font-size: 1.1rem;
    border-radius: 0;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-control-custom::placeholder {
    color: #555;
    font-weight: 300;
}

.form-control-custom:focus {
    outline: none;
    border-color: #fff;
}

/* Submit Button */
.btn-finale-submit {
    background: #fff;
    color: #000;
    border: none;
    padding: 20px 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-finale-submit:hover {
    background: #e0e0e0;
    padding-right: 40px;
}

/* Magnificent Transition */
.magnificent-transition {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    opacity: 0.6;
}

.transition-line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    max-width: 300px;
}

.transition-symbol {
    margin: 0 20px;
    color: #444;
    font-size: 1.2rem;
}

/* Footer Section */
.site-footer {
    background-color: #0b0b0b;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
}


/* Custom Footer Grid (Strict Layout) */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr;
    /* Brand wider, Nav narrower, Contact standard */
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.footer-col-brand {
    /* No flex properties needed here anymore */
}

.footer-col-nav,
.footer-col-contact {
    /* Grid handles sizing */
}

/* Footer Content Styles */
.footer-logo img {
    height: 45px;
    margin-bottom: 35px;
    opacity: 1;
    /* Full brightness for clarity */
}

.footer-desc {
    color: #888;
    line-height: 1.8;
    margin-bottom: 35px;
    font-size: 1rem;
    font-weight: 300;
    max-width: 90%;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    background: rgba(255, 255, 255, 0.02);
}

.social-links a:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-3px);
}

/* Widgets - Strict Alignment */
.footer-widget-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #555;
    margin-bottom: 35px;
    /* Aligns with logo margin */
    text-transform: uppercase;
}

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

.footer-menu li {
    margin-bottom: 18px;
}

.footer-menu li a {
    color: #bbb;
    /* Lighter for legibility */
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-address {
    font-style: normal;
    color: #bbb;
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.footer-map-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 4px;
    transition: all 0.3s;
}

.footer-map-link:hover {
    border-color: #fff;
}

/* Footer Bottom Flex */
.footer-bottom {
    margin-top: 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* Slightly more visible separator */
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    font-weight: 400;
}

.footer-legal-links a {
    color: #555;
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .finale-grid {
        flex-direction: column;
    }

    .finale-col-text,
    .finale-col-form {
        max-width: 100%;
        width: 100%;
    }

    .finale-form-wrapper {
        padding: 0px;
        margin-top: 40px;
    }

    .finale-title {
        font-size: 3rem;
    }

    /* Footer Stack on Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        /* Single column */
        gap: 50px;
        text-align: center;
    }

    /* Override Desktop Grid on Mobile */
    .footer-col-brand,
    .footer-col-nav,
    .footer-col-contact {
        /* No specific width needed */
    }

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

    .footer-address {
        margin-bottom: 20px;
    }

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

    .footer-menu li a:hover {
        transform: translateX(0);
        /* No move on mobile touch */
        color: #fff;
    }

    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links a {
        margin: 0 10px;
        display: inline-block;
    }
}

/* Background Glows */
.finale-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.4;
    z-index: 1;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: #1a1a1a;
    top: -100px;
    right: -100px;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: #0f0f0f;
    bottom: 0;
    left: -100px;
}




/* =========================================
   2. PROCESS SECTION (Bulletproof Split - Grid - Full Viewport)
   ========================================= */

.process-full-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Strict 50/50 split */
    width: 100vw;
    /* Force full viewport width */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 100vh;
    /* Exactly fill the viewport height */
    min-height: 700px;
    /* Safety check for small laptops */
    background: linear-gradient(114deg, rgba(31, 31, 31, 1) 0%, #484848 50%, rgba(0, 0, 0, 1) 100%);
    overflow: hidden;
}

/* --- Left Side: Content (White) --- */
.split-content-side {

    display: flex;
    align-items: flex-start;
    /* FIX: Stop centering dynamically */
    justify-content: center;
    padding: 5vh 60px 0 60px;
    /* FIX: Fixed top spacing to simulate center */
    position: relative;
    z-index: 2;
    height: 100%;
    overflow-y: auto;
    /* Allow internal scrolling if content overflows */
}

.content-inner {
    max-width: 600px;
    width: 100%;
    text-align: left;
}

/* Header Typography */
.process-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-transform: uppercase;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.process-title {
    font-size: 3rem;
    /* Optimized for single screen fit */
    line-height: 1.1;
    color: #fff;
    font-weight: 800;
    margin-bottom: 25px;
}

.process-title .text-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    color: #efefef;
}

.process-lead {
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 35px;
    /* Reduced margin */
}

/* Steps List */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    padding: 18px 0 18px 60px;
    /* Compact padding */
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.step-item:last-child {
    border-bottom: none;
}

.step-marker {
    position: absolute;
    left: 0;
    top: 20px;
    font-size: 1rem;
    font-weight: 700;
    color: #ddd;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    transition: color 0.3s ease;
}

.step-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-body p {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.5;
}

/* Active State */
.step-item.active .step-marker {
    color: var(--primary-color);
    transform: translateX(5px);
}

.step-item.active .step-title {
    color: #efefef;
}

.step-item.active .step-body {
    max-height: 120px;
    /* Reduced max-height for compactness */
    opacity: 1;
}

/* --- Right Side: Visuals (Black, Full Bleed) --- */
.split-visual-side {
    background: #000;
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Fill grid cell */
    width: 100%;
}

.visual-stack {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.process-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s ease-in-out, transform 1s ease;
    z-index: 1;
}

.process-background-image.active {
    opacity: 1 !important;
    transform: scale(1);
    z-index: 2;
}

/* Hide Mobile Process Slider on Desktop */
.process-mobile-slider {
    display: none !important;
}

@media (max-width: 991px) {

    /* Hide Desktop Process Section on Mobile */
    .process-full-split {
        display: none !important;
    }

    /* Show Mobile Process Slider on Mobile */
    .process-mobile-slider {
        display: block !important;
    }

    /* --- MOBILE PROCESS SLIDER --- */
    .process-mobile-slider {
        padding: 60px 0 80px;
        background: #000;
        color: #fff;
    }

    .process-mobile-header {
        padding: 0 25px;
        margin-bottom: 40px;
        text-align: center;
    }

    .process-mobile-slider .process-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .process-mobile-slider .process-lead {
        font-size: 1rem;
        opacity: 0.8;
    }

    .process-mobile-card {
        padding: 0 25px;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .process-mobile-img {
        width: 100%;
        aspect-ratio: 16/9;
        background-size: cover;
        background-position: center;
        border-radius: 20px;
        margin-bottom: 30px;
        box-shadow: 0 15px 30px rgba(255, 255, 255, 0.05);
    }

    .process-mobile-content {
        padding: 0 10px;
    }

    .process-mobile-num {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 10px;
        letter-spacing: 2px;
    }

    .process-mobile-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 15px;
        color: #fff;
    }

    .process-mobile-text {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #ddd;
    }

    .process-mobile-slider .swiper-pagination {
        bottom: 30px !important;
    }

    .process-mobile-slider .swiper-pagination-bullet {
        background: #fff;
        opacity: 0.3;
    }

    .process-mobile-slider .swiper-pagination-bullet-active {
        background: var(--primary-color);
        opacity: 1;
    }
}

/* --- CINEMATIC TYPEWRITER EFFECT --- */

/* The wrapper that ensures cursor placement logic */
.type-reveal {
    position: relative;
    display: inline-block;
    /* Or block, depending on flow */
}

/* Character & Word Styling */
.type-word {
    display: inline-block;
    white-space: nowrap;
}

.type-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    filter: blur(8px);
    transition: all 0.05s cubic-bezier(0.2, 0, 0.2, 1);
    /* Very fast transition for crisp typing feel, JS controls delay */
    will-change: opacity, transform, filter;
    /* white-space: pre; REMOVED to prevent source indentation being rendered */
}

/* state: revealed */
.type-char.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Optional: Tech Cursor for the active typing line */
/* Cursor removed as requested */
.type-line-cursor::after {
    display: none;
}

.type-line-cursor.typing::after {
    opacity: 1;
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* --- PAGE HEADER (Subpages - Dark & Magnificent V2) --- */
.page-header-section {
    position: relative;
    padding: 200px 0 100px 0;
    background-color: #080808;
    background-image: radial-gradient(circle at 80% 20%, #151515 0%, #080808 60%);
    overflow: hidden;
    color: white;
}

.page-header-content {
    max-width: 100%;
    /* Allow full container width */
    margin-left: 5%;
    /* Slight left margin as requested */
    text-align: left;
    position: relative;
    z-index: 2;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Breadcrumb - Moved to Top Left of Content Area */
.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 3rem;
    /* Space before title */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: absolute;
    top: -40px;
    left: 2rem;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.page-breadcrumb a:hover {
    color: white;
}

.page-breadcrumb .sep {
    font-size: 0.6rem;
    color: var(--primary-color);
    opacity: 0.8;
}

/* Typography - Classy & Clean (No metallic gradient) */
.page-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: #ffffff;
    /* Pure White */
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -1px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-subtitle {
    font-size: 1.15rem;
    color: #a0a0a0;
    /* Soft grey */
    line-height: 1.8;
    max-width: 600px;
    margin: 0;
    /* Reset auto margins */
    font-weight: 300;
}

/* Watermark Background Effect */
.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Giant Watermark Text (e.g. 'ESVERA') */
.page-header-bg::before {
    content: 'ESVERA';
    position: absolute;
    right: -2%;
    bottom: -15%;
    font-size: 25vw;
    font-weight: 900;
    color: rgb(255 255 255 / 8%);
    /* Very subtle watermark */
    line-height: 1;
    white-space: nowrap;
    font-family: var(--font-main);
    letter-spacing: -10px;
    z-index: -1;
}

/* Technical Lines/Grid overlay (Static, watermark style) */
.page-header-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
    mask-image: linear-gradient(to left, black, transparent);
    -webkit-mask-image: linear-gradient(to left, black, transparent);
}


/* =========================================
   MAGNIFICENT NEW SECTIONS (Page & Content)
   ========================================= */

/* Common Typography for These Sections */
.super-h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.super-h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.super-h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.premium-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 90%;
    margin-bottom: 2.5rem;
}

/* --- 1. PREMIUM SPLIT SECTION (Refined Masterpiece V3) --- */
.section-premium-split {
    padding: 120px 0;
    position: relative;
    background-color: white;
    overflow: visible;
}

.row-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.col-text {
    flex: 1;
}

.col-image {
    flex: 0 0 45%;
    /* Slightly smaller image area */
    position: relative;
    padding-left: 2rem;
    /* Give space for decoration effects */
}

/* Esvera House Decorative Elements */
.mps-decor-esvera {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160%;
    /* Much larger than the image */
    height: 160%;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}


.mps-decor-dots {
    position: absolute;
    left: 10%;
    top: 10%;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(#fa2837 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes floatBreath {

    0%,
    100% {
        transform: rotate(45deg) scale(1);
    }

    50% {
        transform: rotate(45deg) scale(1.1);
    }
}

/* Typography Refinements */
.super-h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #111;
}

.premium-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    max-width: 95%;
    margin-bottom: 0;
}

/* Centered Middle Text */
.mid-section-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: #333;
    line-height: 1.6;
    font-style: italic;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 2.5rem 0;
    margin: 3rem 0;
}

/* Feature Grid (Horizontal) */
.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding-top: 1rem;
}

.pf-item {
    background: #fcfcfc;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    text-align: left;
}

.pf-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

/* Minimal Sweep Icon */
.pf-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(230, 46, 46, 0.08);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    /* For sweep effect */
    z-index: 1;
    transition: color 0.3s ease;
}

/* The Sweep Element */
.pf-icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: width 0.3s ease-in-out;
    /* Fast & Smooth */
}

.pf-item:hover .pf-icon-box::before {
    width: 100%;
}

.pf-item:hover .pf-icon-box {
    color: white;
    /* Contrast change on hover */
    transform: none;
    /* No rotation, pure sweep */
}

.pf-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #111;
}

.pf-content p,
.pf-text {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.6;
    margin: 0;
}


/* --- 3. ASYMMETRIC ART SECTION (Home Content 2) --- */
.section-asymmetric-art {
    padding: 140px 0;
    background: white;
}

.asym-row {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.asym-col-content {
    flex: 1;
}

.asym-col-image {
    flex: 1.2;
    /* Slightly larger image area */
}

.asym-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid #eee;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.asym-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.asym-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

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

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

/* --- ART FRAME SYSTEM (Used in Main Content & Asymmetric Section) --- */
.art-frame {
    position: relative;
    z-index: 1;
}

.art-frame img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.03);
    /* Offset shadow style */
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.frame-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: repeating-linear-gradient(45deg,
            rgba(230, 46, 46, 0.05),
            rgba(230, 46, 46, 0.05) 10px,
            transparent 10px,
            transparent 20px);
    z-index: -1;
    transition: all 0.5s ease;
}

.art-frame:hover .frame-decoration {
    top: -40px;
    right: -40px;
}

/* Badge Adjustment */
.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: white;
    color: black;
    padding: 1rem 1.8rem;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.fb-icon {
    color: #ffb700;
    font-size: 1.1rem;
}

.fb-text {
    font-weight: 700;
    color: #111;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- 2. SHOWCASE TRIAD SECTION (Restored) --- */
.section-showcase-triad {
    padding: 120px 0;
    position: relative;
    background: #f8f8f8;
}

.bg-pattern-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ddd 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

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

.section-desc {
    font-size: 1.1rem;
    color: #777;
    margin-top: 1rem;
}

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

.triad-box {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.triad-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.triad-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

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

.triad-box:hover .triad-img img {
    transform: scale(1.1);
}

.triad-content {
    padding: 2rem;
    text-align: center;
}

.triad-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111;
}

.triad-content p {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.triad-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.triad-link:hover {
    gap: 0.8rem;
}

/* --- MASTER PROJECTS SECTION (The Two Pillars - Brand Red Theme) --- */
/* --- VISIONARY PROJECTS RIFT (Mind-Blowing Section) --- */
.section-visionary-projects {
    position: relative;
    height: 600px;
    display: flex;
    overflow: hidden;
    background: #000;
}

/* The Panels: Default 50/50 Split */
.vision-panel {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    transition: flex 0.8s cubic-bezier(0.2, 1, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hover Interaction: The Expansion */
.vision-panel:hover {
    flex: 2.5;
    /* Expands massively while sibling shrinks */
}

/* Backgrounds & Images */
.vision-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.vision-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(100%) contrast(1.2);
    transform: scale(1.05);
    /* Slight zoom initially */
    transition: transform 1.2s ease, filter 0.8s ease, opacity 0.8s ease;
}

/* On Hover: Image wakes up */
.vision-panel:hover .vision-bg img {
    filter: grayscale(0%) contrast(1.1);
    opacity: 0.8;
    transform: scale(1.15);
}

/* Overlays: The Atmosphere */
.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    z-index: 1;
    transition: background 0.5s ease;
}

/* Red Tint on Hover similar to CTA form */
.vision-panel:hover .vision-overlay {
    background: linear-gradient(to bottom, rgba(230, 46, 46, 0.2), rgba(0, 0, 0, 0.6));
}

/* Grid Pattern for Right Side */
.vision-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

/* The Center Rift Line */
.rift-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s;
}

.section-visionary-projects:hover .rift-line {
    opacity: 0;
    /* Disappear on interaction to focus on content */
}

/* Content Area */
.panel-content {
    position: relative;
    z-index: 5;
    padding: 3rem;
    max-width: 600px;
    transition: transform 0.6s ease;
}

/* Subtitle: The Tag */
.vision-subtitle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* The Giant Title */
.vision-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: white;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.vision-title br {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Button / CTA */
.vision-footer {
    overflow: hidden;
}

.btn-vision {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    transform: translateY(100px);
    /* Hidden initially or pushed down */
    opacity: 0;
}

/* Reveal Button on Hover */
.vision-panel:hover .btn-vision {
    transform: translateY(0);
    opacity: 1;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(230, 46, 46, 0.4);
}

/* Text Alignment Utilities */
.text-end-md {
    text-align: left;
    /* Mobile default */
}

@media (min-width: 992px) {
    .text-end-md {
        text-align: right;
        margin-left: auto;
        /* Push to right */
    }

    .footer-end {
        display: flex;
        justify-content: flex-end;
    }

    .vision-align-right {
        text-align: right;
    }

    /* Fix Symmetry in Vision Section */
    .section-visionary-projects .text-end-md {
        margin-left: 0;
        /* Don't push to edge, keep centered like the left side */
        width: 100%;
        /* Ensure text aligns properly within the box */
    }
}

@media (max-width: 768px) {
    .section-visionary-projects {
        flex-direction: column;
        height: auto;
    }

    .vision-panel {
        height: 400px;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .vision-title {
        font-size: 2.5rem;
    }

    .rift-line {
        display: none;
    }

    .btn-vision {
        transform: translateY(0);
        opacity: 1;
        /* Always show visual cue on mobile */
        font-size: 0.8rem;
        padding: 0.8rem 1.5rem;
    }
}

/* --- 4. GRAND CTA SECTION --- */
.section-grand-cta {
    padding: 120px 0;
    position: relative;
    background: #0a0a0a;
    color: white;
    overflow: hidden;
}

.bg-glow-cta {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 46, 46, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.cta-text-col {
    flex: 1;
    max-width: 600px;
}

.cta-lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 1.5rem 0;
}

.text-gradient-gold {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    color: #ffd700 !important;
    display: inline;
    font-weight: 700;
}

.text-theme-red {
    color: var(--primary-color) !important;
    font-weight: 800;
}

/* Glass Form */
.cta-form-col {
    flex: 0 0 400px;
}

.glass-form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-floating-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-input-premium {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-input-premium:focus {
    border-color: var(--primary-color);
}

.form-label-premium {
    position: absolute;
    top: 10px;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-input-premium:focus~.form-label-premium,
.form-input-premium:not(:placeholder-shown)~.form-label-premium {
    top: -15px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.btn-submit-premium {
    width: 60%;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: white;
    color: black;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, gap 0.3s;
    gap: 0.5rem;
}

.btn-submit-premium:hover {
    transform: translateY(-2px);
    gap: 1rem;
}

.form-note {
    text-align: right;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 1rem;
}

/* RESPONSIVE MAGNIFICENT */
@media (max-width: 992px) {

    .row-split,
    .asym-row,
    .cta-grid {
        flex-direction: column;
        gap: 3rem;
    }

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

    .col-image {
        order: -1;
        /* Image on top for mobile often looks better */
    }

    .asym-col-image {
        order: -1;
    }

    .super-h1 {
        font-size: 2.5rem;
    }

    .super-h2 {
        font-size: 2rem;
    }

    .cta-form-col {
        width: 100%;
    }
}


/* =========================================
   LIGHTBOX STYLES (Moved from Index)
   ========================================= */
/* Lightbox Core */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
}

/* Content & Animation */
.lightbox-content {
    margin: auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: auto;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Caption */
#caption {
    margin: auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ddd;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
}

/* Close Button */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ccc;
    font-size: 40px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10002;
    line-height: 1;
    padding: 10px;
}

.close-lightbox:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* Navigation Arrows */
.prev-slide,
.next-slide {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -50px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    font-size: 35px;
    transition: 0.3s ease;
    user-select: none;
    z-index: 10002;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.next-slide {
    right: 20px;
}

.prev-slide {
    left: 20px;
}

.prev-slide:hover,
.next-slide:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

@media (max-width: 768px) {

    .prev-slide,
    .next-slide {
        font-size: 25px;
        padding: 15px;
        background: transparent;
    }

    .lightbox-content {
        max-width: 95%;
    }
}


/* =========================================
   ART FRAME HOVER EFFECTS & FORM TWEAKS
   ========================================= */

/* Art Frame Hover - Magnificent Reveal */
.art-frame {
    position: relative;
    cursor: pointer;
    overflow: visible;
    /* Allow decoration to go out */
}

.art-frame img {
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center;
    filter: brightness(100%);
}

.art-frame:hover img {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    filter: brightness(105%);
}

/* The Decoration Spin */
.frame-decoration {
    transition: all 0.8s ease;
}

.art-frame:hover .frame-decoration {
    transform: rotate(90deg) scale(1.2);
    opacity: 0.8;
}

/* Add a new overlay effect on hover */
.art-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 4px;
    pointer-events: none;
}

.art-frame:hover::after {
    opacity: 1;
}

/* Floating icon removed as requested */


/* Premium Form Tweaks for Textarea */
textarea.form-input-premium {
    resize: none;
    height: auto;
    min-height: 40px;
}

.form-input-premium:focus~.form-label-premium,
.form-input-premium:not(:placeholder-shown)~.form-label-premium {
    /* Ensure label moves up correctly for all fields including textarea */
    top: -20px;
    font-size: 0.85rem;
}

/* CORRECTED MEGA MENU POSITIONING */
/* Allow megamenu to break out of relative parent constraint */
.header-container {
    position: relative;
    /* Context */
}

/* But standard dropdowns need li relative. Mega menu needs full width context. */
.has-mega-menu {
    position: static;
    /* Allows absolute child to be relative to nearest positioned ancestor (the header-container or header) */
}

.tp-megamenu {
    width: 100%;
    max-width: 1400px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    margin-top: 0;
    top: 100%;
    position: absolute;

    /* DARK THEME REDESIGN */
    background-color: #fff;
    /* Black/Dark Gray */
    background-image: none;
    /* No grid pattern */

    /* Premium Bottom Right Accent */
    overflow: hidden;
    /* Ensure gradient stays inside */

    /* Glassmorphism subtle */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    /* Clean Borders */
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    /* Deeper shadow */
}

/* The Brand Accent Corner */
.tp-megamenu::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230, 46, 46, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.tp-megamenu::before {
    /* Subtle decorative line to balance */
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color));
    z-index: 1;
}

.has-dropdown:hover .tp-megamenu {
    transform: translateX(-50%) translateY(0);
}

/* PROJECTS MEGA MENU (Clean Columns, No Boxes) */
.projects-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem 4rem;
    /* More internal breathing room */
    position: relative;
    z-index: 2;
}

/* Remove the 'Boxed' look from columns */
.project-mega-col {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    transition: transform 0.3s ease;
}

.project-mega-col:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.project-col-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle divider */
}

.project-col-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.project-col-title {
    font-size: 1.1rem;
    font-weight: 800;
    /* Bolder for visibility */
    margin: 0;
    text-transform: uppercase;
    color: #ffffff;
    /* Contrast Fix: Pure White */
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Lift off background */
}

.project-links li {
    margin-bottom: 0.5rem;
}

.project-links a {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Faint separator */
    font-weight: 500;
    color: #bbbbbb;
    /* Contrast Fix: Brighter Gray */
    transition: all 0.3s ease;
}

.project-links a:hover {
    color: #ffffff !important;
    transform: translateX(5px);
    padding-left: 0;
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.project-count-badge {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    /* More visible background */
    padding: 2px 8px;
    border-radius: 10px;
    color: #fff;
    /* White text */
}

/* Symmetrical Right Column */
.project-col-right .project-col-header {
    flex-direction: row-reverse;
    text-align: right;
}

.project-col-right .project-links a {
    flex-direction: row-reverse;
}

.project-col-right .project-links a:hover {
    transform: translateX(-5px);
}

/* =========================================
   PRODUCT SHOWCASE SECTION (3D Model)
   ========================================= */
.product-showcase-section {
    padding: 10px 0;
    background: #fff;

    /* Explicit Light Theme */
    color: #333;
    position: relative;
    overflow: hidden;
}

.showcase-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* 3D Model Column */
.showcase-model-col {
    position: relative;
    height: 600px;
    background: #f8f9fa;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.model-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.esvera-3d-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
}

.model-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.model-hint i {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Info Column */
.showcase-subtitle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.showcase-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.showcase-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2.5rem;
}

.showcase-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.showcase-features li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 46, 46, 0.1);
    /* Primary color variable usually */
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.feature-text span {
    color: #777;
    font-size: 0.95rem;
}

.btn-dark {
    background: #1a1a1a;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(230, 46, 46, 0.3);
}

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

    .showcase-model-col {
        height: 400px;
        order: -1;
    }

    .showcase-title {
        font-size: 2.5rem;
    }
}


/* =========================================
   PRODUCT CONTENT 1 (System Options)
   ========================================= */
.ps1-section {
    padding: 100px 0;
    background-color: #121212;
    /* Very light grey background for contrast with white section above */
}

.ps1-1-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    min-height: 600px;
    /* Ensure substantial presence */
}

.ps1-1-content {
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ps1-1-overline {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ps1-1-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.ps1-1-intro-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 2.5rem;
}

/* Interactive Tags (Pills) */
.ps1-1-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.ps1-1-tag {
    padding: 0.6rem 0.7rem;
    border-radius: 50px;
    background: #f1f1f1;
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.ps1-1-tag:hover {
    background: #e2e2e2;
    transform: translateY(-2px);
}

.ps1-1-tag.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(230, 46, 46, 0.3);
}

/* Dynamic Content */
.ps1-1-desc-area {
    min-height: 120px;
    /* Prevent layout jump */
    margin-bottom: 3rem;
}

.ps1-content-block {
    animation: fadeIn 0.5s ease;
}

.ps1-content-block ul {
    padding-left: 1.2rem;
    color: #555;
    line-height: 1.7;
}

.ps1-content-block ul li {
    margin-bottom: 0.8rem;
}

.ps1-content-block p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* CTA Button */
.ps1-1-btn {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
    transition: var(--transition);
    align-self: flex-start;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}

.ps1-1-btn:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Image Side */
.ps1-1-image-box {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.ps1-1-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, opacity 0.5s ease;
}

#ps1-1-main-img {
    transition: opacity 0.3s ease-in-out;
}


.ps1-1-card:hover .ps1-1-image-box img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

.ps1-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 20%);
    pointer-events: none;
}

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

    .ps1-1-image-box {
        height: 300px;
        order: -1;
    }

    .ps1-1-content {
        padding: 2.5rem;
    }

    .ps1-1-title {
        font-size: 2.2rem;
    }
}

.tp-megamenu-box ul li a {
    color: #383838 !important;
    /* Light Gray Links */
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.tp-megamenu-box ul li a:hover {
    color: #000 !important;
    transform: translateX(5px);
}

/* =========================================
   PROJECTS SHOWCASE SECTION
   ========================================= */
.projects-showcase-section {
    padding: 100px 0;
    background: #ffffff;
}

.project-showcase-item {
    margin-bottom: 120px;
    position: relative;
}

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

/* Grid System */
.project-grid {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.project-img-col {
    flex: 0 0 55%;
    position: relative;
}

.project-content-col {
    flex: 1;
}

/* Reversed Layout */
.project-reversed .project-grid {
    flex-direction: row-reverse;
}

/* Image Wrapper */
.project-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    aspect-ratio: 16 / 10;
    /* Modern aspect ratio instead of ::before hack */
}

.project-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-img-wrapper:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(-10px);
}

.project-img-wrapper:hover img {
    transform: scale(1.08);
}

/* Image Overlay */
.project-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 1;
    /* Always visible */
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 30px;
}

.project-img-wrapper:hover .project-img-overlay {
    opacity: 1;
}

/* Photo Count Badge */
.photo-count-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    transform: translateY(0);
    /* Always in position */
    opacity: 1;
    /* Always visible */
    transition: all 0.4s ease 0.1s;
    margin-bottom: 50px;
}

.project-img-wrapper:hover .photo-count-badge {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Add shadow on hover */
}

.photo-count-badge i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Expand Icon */
.expand-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transform: scale(1);
    /* Always visible */
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
    /* Pulsing animation */
    margin-bottom: 50px;
    margin-right: 50px;
}

.project-img-wrapper:hover .expand-icon {
    transform: scale(1.1);
    background: var(--primary-color);
    color: #fff;
    animation: none;
    /* Stop pulsing on hover */
}

/* Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(218, 165, 32, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(218, 165, 32, 0);
    }
}

/* Hidden Gallery */
.hidden-gallery {
    display: none;
}

/* Content Inner */
.project-content-inner {
    position: relative;
    padding: 40px 0;
}

/* Project Number */
.project-number {
    display: inline-block;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    margin-bottom: -30px;
    font-family: var(--font-heading);
}

/* Project Name */
.project-name {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.1;
}

/* Location */
.project-location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #666;
}

.project-location i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Excerpt */
.project-excerpt {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    max-width: 600px;
}

/* Tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.project-tag {
    display: inline-block;
    padding: 8px 18px;
    background: #f5f5f5;
    color: #666;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-tag:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Products */
.project-products {
    border-top: 2px solid #f0f0f0;
    padding-top: 25px;
}

.products-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
}

.products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-pill {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c59d5f 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
    transition: all 0.3s ease;
}

.product-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
    .project-grid {
        gap: 50px;
    }

    .project-name {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .project-grid {
        flex-direction: column !important;
        gap: 40px;
        padding: 0 20px;
    }

    .project-img-col,
    .project-content-col {
        flex: 1;
        max-width: 100%;
    }

    .project-showcase-item {
        margin-bottom: 80px;
    }

    .project-number {
        font-size: 4rem;
    }

    .project-name {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .project-name {
        font-size: 2rem;
    }

    .project-number {
        font-size: 3rem;
    }

    .project-excerpt {
        font-size: 1rem;
    }
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

/* Contact Hero Section */
.contact-hero-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Contact Info Cards */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c59d5f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-card-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.contact-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.contact.mps-intro-content {
    font-size: 17px;
    color: #333;
    /* Darker base color */
    line-height: 1.7;
    margin-bottom: 40px;
}

.mps-intro-content p {
    color: #333;
    /* Force paragraph color */
    margin-bottom: 1em;
}

.contact-card-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.contact-card-link:hover {
    color: #c59d5f;
    transform: translateX(5px);
}

.contact-card-link:last-child {
    margin-bottom: 0;
}

/* Contact Form */
.contact-form-col {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.contact-form-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(218, 165, 32, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c59d5f 100%);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.4);
}

.contact-submit-btn i {
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(5px);
}

/* Branches Map Section */
.branches-map-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title-big {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
}

.branches-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Branch Selector */
.branch-selector {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.branch-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.branch-item:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.branch-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c59d5f 100%);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3);
}

.branch-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.branch-item.active .branch-item-icon {
    background: rgba(255, 255, 255, 0.3);
}

.branch-item-icon i {
    font-size: 1.3rem;
    color: #666;
}

.branch-item.active .branch-item-icon i {
    color: #fff;
}

.branch-item-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.branch-item.active .branch-item-content h4 {
    color: #fff;
}

.branch-item-content p {
    font-size: 0.95rem;
    color: #666;
}

.branch-item.active .branch-item-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Map Container */
.branch-map-container {
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.branch-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.branch-map.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 1200px) {
    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-col {
        flex-direction: row;
        overflow-x: auto;
    }

    .contact-info-card {
        min-width: 280px;
    }

    .branches-wrapper {
        grid-template-columns: 1fr;
    }

    .branch-selector {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .branch-item {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .contact-form-col {
        padding: 35px 25px;
    }

    .contact-form-title {
        font-size: 2rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title-big {
        font-size: 2.2rem;
    }

    .branch-map-container {
        height: 400px;
    }
}

/* =========================================
   CONTACT PAGE - PREMIUM DESIGN
   ========================================= */

/* Split Hero Section */
.contact-split-hero {
    display: grid;
    grid-template-columns: 40fr 60fr;
    min-height: 100vh;
    position: relative;
    margin-top: 80px;
    /* Space for header */
}

/* Left Visual Side */
.hero-visual-side {
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(139, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-visual-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px;
    color: #fff;
}

.hero-logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.hero-logo:hover img {
    transform: scale(1.05);
}

.hero-text-block {
    margin-bottom: auto;
}

.hero-mega-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
}

.title-line {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out backwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.gradient-text {
    background: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

/* Floating Stats */
.floating-stats {
    display: flex;
    gap: 30px;
    margin-top: 60px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 25px 30px;
    transition: all 0.4s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #8B0000;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Right Form Side */
.hero-form-side {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.hero-form-side::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.form-container {
    width: 100%;
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.form-header {
    margin-bottom: 50px;
}

.form-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.form-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.1;
}

.form-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Premium Form with Floating Labels */
.premium-contact-form {
    margin-bottom: 40px;
}

.floating-input-group {
    position: relative;
    margin-bottom: 35px;
}

.floating-input-group input,
.floating-input-group select,
.floating-input-group textarea {
    width: 100%;
    padding: 18px 0;
    font-size: 1.1rem;
    font-family: inherit;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background: transparent;
    outline: none;
    transition: all 0.3s ease;
}

.floating-input-group label {
    position: absolute;
    left: 0;
    top: 18px;
    font-size: 1.1rem;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
}

.floating-input-group input:focus~label,
.floating-input-group input:valid~label,
.floating-input-group select:focus~label,
.floating-input-group select:valid~label,
.floating-input-group textarea:focus~label,
.floating-input-group textarea:valid~label {
    top: -8px;
    font-size: 0.85rem;
    color: #8B0000;
    font-weight: 600;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
    transition: width 0.4s ease;
}

.floating-input-group input:focus~.input-border,
.floating-input-group select:focus~.input-border,
.floating-input-group textarea:focus~.input-border {
    width: 100%;
}

.floating-input-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 40fr 60fr;
    gap: 30px;
}

/* Submit Button */
.submit-btn-premium {
    position: relative;
    width: 100%;
    padding: 22px 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.submit-btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

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

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn-premium:hover .btn-icon {
    transform: translateX(5px);
}

/* Quick Contact Bar */
.quick-contact-bar {
    display: flex;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.quick-contact-item i {
    color: #8B0000;
    font-size: 1.2rem;
}

.quick-contact-item:hover {
    color: #8B0000;
    transform: translateX(5px);
}

/* Interactive Map Section */
.interactive-map-section {
    background: #f8f9fa;
    position: relative;
}

.map-header-overlay {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.map-section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.map-section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Map Tabs */
.map-tabs-container {
    background: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.map-tab {
    flex: 1;
    padding: 25px 40px;
    background: #fff;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.map-tab:hover {
    background: #f8f9fa;
    color: #1a1a1a;
}

.map-tab.active {
    color: #8B0000;
    border-bottom-color: #8B0000;
    background: #fff;
}

.map-tab i {
    font-size: 1.2rem;
}

/* Map Content */
.map-content-wrapper {
    position: relative;
    min-height: 600px;
}

.map-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.map-content.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.map-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
}

.map-info-panel {
    padding: 60px 50px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
}

.branch-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #8B0000;
}

.branch-details {
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item i {
    font-size: 1.5rem;
    color: #8B0000;
    flex-shrink: 0;
    margin-top: 5px;
}

.detail-item strong {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.detail-item p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: #8B0000;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.directions-btn:hover {
    background: #B22222;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

.map-iframe-wrapper {
    height: 100%;
    min-height: 600px;
}

/* Back to Home */
.back-to-home {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 1000;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.back-btn:hover {
    background: #8B0000;
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 1200px) {
    .contact-split-hero {
        grid-template-columns: 1fr;
    }

    .hero-visual-side {
        min-height: 60vh;
    }

    .hero-mega-title {
        font-size: 3.5rem;
    }

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

    .map-info-panel {
        order: 2;
    }
}

@media (max-width: 768px) {
    .hero-visual-content {
        padding: 40px 30px;
    }

    .hero-mega-title {
        font-size: 2.5rem;
    }

    .floating-stats {
        flex-direction: column;
        gap: 15px;
    }

    .hero-form-side {
        padding: 50px 30px;
    }

    .form-title {
        font-size: 2.5rem;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .map-tabs {
        flex-wrap: wrap;
    }

    .map-tab {
        flex: 1 1 50%;
    }

    .quick-contact-bar {
        flex-direction: column;
        gap: 15px;
    }
}

/* Header Override for Contact Page */
.contact-page .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
}

/* Contact Page Color Fixes */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.stat-number {
    color: #fff !important;
}

.branch-name {
    color: #fff !important;
}

.detail-item i {
    color: #fff !important;
}

.directions-btn {
    background: #8B0000 !important;
}

.directions-btn:hover {
    background: #B22222 !important;
}

.map-tab.active {
    color: #8B0000 !important;
    border-bottom-color: #8B0000 !important;
}

/* Fix Floating Stats Visibility */
.floating-stats {
    position: relative !important;
    z-index: 10 !important;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.stat-label {
    color: #000 !important;
}

/* Fix Hero Visual Content Layout */
.hero-visual-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 60px !important;
}

.hero-text-block {
    margin-bottom: 60px !important;
}

/* =========================================
   TEXT CONTENT SECTION (Legal Pages)
   ========================================= */

.text-content-section {
    padding: 100px 0;
    background: #fff;
}

.text-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-block {
    background: #fff;
}

.content-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.content-intro {
    font-size: 1rem;
    color: #999;
    margin-bottom: 40px;
    font-style: italic;
}

.content-body h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.content-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.content-body ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content-body ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
    position: relative;
}

.content-body ul li::marker {
    color: var(--primary-color);
}

.content-body strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .text-content-section {
        padding: 60px 0;
    }

    .content-title {
        font-size: 2.2rem;
    }

    .content-body h3 {
        font-size: 1.5rem;
    }

    .content-body p,
    .content-body ul li {
        font-size: 1rem;
    }
}

/* =========================================
   BLOG PAGE - CORPORATE DESIGN
   ========================================= */

.blog-content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Blog Main Content */
.blog-main {
    background: transparent;
}

.blog-post-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-post-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.post-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

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

.blog-post-item:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 20px;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-content {
    padding: 35px;
}

.post-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #999;
    flex-wrap: wrap;
}

.post-meta i {
    margin-right: 6px;
    color: #666;
}

.post-title {
    margin-bottom: 15px;
}

.post-title a {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.post-title a:hover {
    color: #666;
}

.post-excerpt {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-read-more:hover {
    gap: 15px;
}

.post-read-more i {
    transition: transform 0.3s ease;
}

.post-read-more:hover i {
    transform: translateX(5px);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #fff;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* Search Widget */
.search-widget {
    display: flex;
    gap: 10px;
}

.search-widget input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.search-widget input:focus {
    outline: none;
    border-color: #1a1a1a;
}

.search-widget button {
    padding: 12px 20px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-widget button:hover {
    background: #333;
}

/* Category List */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: #1a1a1a;
    padding-left: 10px;
}

.category-count {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #999;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
}

.recent-post-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content h4 {
    margin-bottom: 8px;
}

.recent-post-content h4 a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-content h4 a:hover {
    color: #666;
}

.recent-post-date {
    font-size: 0.85rem;
    color: #999;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    padding: 8px 16px;
    background: #f8f9fa;
    color: #666;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .post-image {
        height: 250px;
    }

    .post-content {
        padding: 25px;
    }

    .post-title a {
        font-size: 1.5rem;
    }

    .post-meta {
        gap: 15px;
    }
}

/* =========================================
   BLOG DETAIL PAGE
   ========================================= */

.blog-detail-article {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Article Header */
.article-header {
    padding: 50px 50px 30px;
}

.article-category {
    display: inline-block;
    padding: 8px 20px;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.article-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #999;
}

.meta-item i {
    margin-right: 8px;
    color: #666;
}

/* Featured Image */
.article-featured-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Content */
.article-content {
    padding: 50px;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
}

.lead-paragraph {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
    line-height: 1.8;
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-top: 50px;
    margin-bottom: 25px;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 40px;
    margin-bottom: 20px;
}

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

.article-content ul,
.article-content ol {
    margin: 25px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-quote {
    background: #f8f9fa;
    border-left: 4px solid #1a1a1a;
    padding: 30px 40px;
    margin: 40px 0;
    font-size: 1.3rem;
    font-style: italic;
    color: #333;
}

.article-quote cite {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    color: #666;
}

/* Article Tags */
.article-tags {
    padding: 30px 50px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 700;
    color: #1a1a1a;
}

.tag-link {
    padding: 8px 16px;
    background: #f8f9fa;
    color: #666;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Article Share */
.article-share {
    padding: 30px 50px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-weight: 700;
    color: #1a1a1a;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* Author Box */
.author-box {
    margin: 50px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.author-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* Related Posts */
.related-posts {
    padding: 50px;
    border-top: 1px solid #f0f0f0;
}

.related-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-post-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.related-post-image {
    height: 200px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-item:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 25px;
}

.related-post-category {
    display: inline-block;
    padding: 5px 12px;
    background: #f0f0f0;
    color: #666;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.related-post-content h4 {
    margin-bottom: 12px;
}

.related-post-content h4 a {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: #666;
}

.related-post-date {
    font-size: 0.85rem;
    color: #999;
}

/* Responsive */
@media (max-width: 1024px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .article-header,
    .article-content,
    .article-tags,
    .article-share,
    .related-posts {
        padding: 30px 25px;
    }

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

    .article-featured-image {
        height: 300px;
    }

    .article-content {
        font-size: 1rem;
    }

    .lead-paragraph {
        font-size: 1.1rem;
    }

    .author-box {
        margin: 30px 25px;
        padding: 25px;
        flex-direction: column;
        text-align: center;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FAQ PAGE
   ========================================= */

.faq-content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* FAQ Intro */
.faq-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.faq-intro h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.faq-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* FAQ Categories */
.faq-categories {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-category {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.category-icon {
    font-size: 2rem;
    color: #1a1a1a;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* FAQ Items */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #1a1a1a;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-item.active .faq-question {
    background: #1a1a1a;
    color: #fff;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

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

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

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

.faq-answer p {
    padding: 25px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    background: #f8f9fa;
}

/* Contact CTA */
.faq-contact-cta {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 12px;
    color: #fff;
}

.faq-contact-cta h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.faq-contact-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #fff;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    gap: 18px;
}

.cta-btn i {
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-category {
        padding: 25px 20px;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .category-icon {
        font-size: 1.5rem;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 20px;
        font-size: 0.95rem;
    }

    .faq-contact-cta {
        padding: 35px 25px;
    }

    .faq-contact-cta h3 {
        font-size: 1.5rem;
    }
}

/* Mega Men� Preview Alan� D�zenlemesi */
.product-preview-img {
    width: 100%;
    max-width: 100%;
    height: 250px;
    /* Sabit ve makul bir y�kseklik */
    border-radius: 8px;
    overflow: hidden;
    background-color: #f1f1f1;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Resmi ta�mayacak �ekilde s��d�r */
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    transition: transform 0.3s ease;
}

.product-preview-content {
    text-align: center;
}

.product-preview-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #efefef;
}

.product-preview-desc {
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.4;
}

/* Blog Detail Navigation Fix */
.blog-post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
}

.blog-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-soft);
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.blog-nav-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.blog-nav-btn i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.blog-nav-btn:hover i.fa-arrow-left {
    transform: translateX(-3px);
}

.blog-nav-btn:hover i.fa-arrow-right {
    transform: translateX(3px);
}

/* Ensure breadcrumb links are visible */
.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
    color: #fff;
}

.page-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* 
 * =========================================
 * PRODUCT SECTION 2-2 (Magnificent Product Section - MPS)
 * =========================================
 * Moved from product-section-2-2.php
 */
.mps-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background-color: #f9f9f9;
    /* Light elegant background */
}

.mps-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.mps-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Image Side */
.mps-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    /* Stacking context */
}


.mps-image-inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* Removed background/shadow for clean look */
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s ease;
    z-index: 2;
    /* In front of decor */
    width: 100%;
}

.mps-image-inner:hover {
    transform: perspective(1000px) rotateY(2deg);
}

.mps-image-inner img {
    width: 100%;
    height: auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease-in-out;
}

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

/* Content Side */
.mps-content-wrapper {
    padding-right: 20px;
}

.mps-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--tp-theme-primary, #fa2837);
    /* Fallback to theme primary */
    margin-bottom: 20px;
    display: inline-block;
}

.mps-title {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
    position: relative;
}

.mps-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 60px;
    height: 4px;
    background: currentColor;
    opacity: 0.1;
}

.mps-content-body {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

/* Custom List Styling */
.mps-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mps-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.mps-icon-box {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fff1f2;
    /* Light red tint */
    color: var(--tp-theme-primary, #fa2837);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 20px;
    margin-top: 2px;
}

.mps-text {
    flex: 1;
}

.mps-text p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* MPS Sub Grid (from Component) */
.mps-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.mps-sub-item {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: default;
}

.mps-sub-item:hover {
    background: #fff;
    border-color: var(--tp-theme-primary, #fa2837);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.mps-sub-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.mps-sub-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 14px;
    background-color: var(--tp-theme-primary, #fa2837);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.mps-sub-item:hover .mps-sub-title::before {
    height: 100%;
    top: 0;
}

.mps-sub-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.mps-sub-text p {
    margin-bottom: 0px;
}

@media (max-width: 991px) {
    .mps-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .mps-content-wrapper {
        padding-right: 0;
        order: 2;
    }

    .mps-image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }

    .mps-title {
        font-size: 36px;
    }

    .mps-sub-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PRODUCT COVER (3D Viewer)
   ========================================= */
.viewer-container {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    outline: none;
}

.camera-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    padding: 10px;
    display: grid;
    grid-template-columns: 40px 40px 40px;
    grid-template-rows: 40px 40px 40px;
    gap: 5px;
    width: 140px;
    height: 140px;
}

.cam-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    transition: all 0.1s;
}

.cam-btn:active {
    background: #333;
    color: #fff;
}

.cam-btn.up {
    grid-column: 2;
    grid-row: 1;
}

.cam-btn.left {
    grid-column: 1;
    grid-row: 2;
}

.cam-btn.right {
    grid-column: 3;
    grid-row: 2;
}

.cam-btn.down {
    grid-column: 2;
    grid-row: 3;
}

.cam-btn.zoom-in {
    grid-column: 1;
    grid-row: 1;
    font-size: 14px;
}

.cam-btn.zoom-out {
    grid-column: 3;
    grid-row: 1;
    font-size: 14px;
}

.cam-center {
    grid-column: 2;
    grid-row: 2;
    border: none;
    background: transparent;
    font-size: 10px;
    text-align: center;
    color: #999;
    pointer-events: none;
}

.view-presets {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.preset-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.preset-btn:hover {
    transform: translateX(-5px);
    background: #333;
    color: #fff;
}

.config-panel {
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.control-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.control-label {
    font-weight: bold;
    min-width: 100px;
    font-size: 14px;
}

.color-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: 0.2s;
}

.color-btn.active {
    border-color: #000;
    transform: scale(1.2);
}

.texture-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f8f8f8;
    cursor: pointer;
    font-size: 13px;
}

.texture-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
}

.update-bar {
    height: 100%;
    background: #ffb700;
    width: 0%;
    transition: width 0.2s;
}

.ar-custom-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none;
}

@media (max-width: 768px) {
    .ar-custom-btn {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .camera-controls {
        transform: scale(0.8);
        left: 0;
        bottom: 0;
    }
}

/* =========================================
   PRODUCT MAIN (360 Interaction)
   ========================================= */
.model-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f4f4f4;
    height: 500px;
}

.esvera-3d-viewer {
    width: 100%;
    height: 100%;
    outline: none;
}

.model-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    backdrop-filter: blur(5px);
    white-space: nowrap;
}

.hint-integrated {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    border-left: 1px solid #ddd;
    padding-left: 15px;
    margin-left: 5px;
}

.hint-integrated i {
    animation: spin 4s linear infinite;
}

.fullscreen-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: #111;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.fullscreen-btn:hover {
    background: #e62e2e;
}

/* Configurator Button */
.config-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #111;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.config-btn:hover {
    background: #e62e2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 46, 46, 0.3);
}

.modal-config-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

/* Modal Styles */
.model-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    flex-direction: column;
}

.model-modal.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.modal-content-wrapper {
    flex: 1;
    width: 100%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: #111;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 100;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: #e62e2e;
}

.modal-controls {
    padding: 30px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
    display: flex;
    justify-content: center;
}

/* =========================================
   PRODUCT FAQ (Accordion)
   ========================================= */
.pf-huge-title {
    font-size: 64px;
    font-weight: 300;
    line-height: 1.1;
    color: #111;
    margin: 0;
    letter-spacing: -1px;
}

.pf-type-char.revealed {
    display: inline-block;
    animation: pfFadeInChar 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes pfFadeInChar {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.pf-list {
    border-top: 1px solid #eee;
}

.pf-row {
    border-bottom: 1px solid #eee;
}

.pf-trigger {
    display: flex;
    align-items: center;
    padding: 30px 0;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    user-select: none;
}

.pf-row.active .pf-trigger {
    padding-bottom: 20px;
}

.pf-idx {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    margin-right: 40px;
    width: 30px;
}

.pf-q-text {
    font-size: 24px;
    font-weight: 400;
    color: #111;
    margin: 0;
    flex: 1;
    padding-right: 40px;
    transition: color 0.3s ease;
}

.pf-row.active .pf-q-text {
    font-weight: 500;
}

.pf-indicator {
    width: 24px;
    height: 24px;
    position: relative;
}

.pf-indicator::before,
.pf-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #111;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pf-indicator::before {
    width: 14px;
    height: 2px;
}

.pf-indicator::after {
    width: 2px;
    height: 14px;
}

.pf-row.active .pf-indicator::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.pf-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0;
}

.pf-row.active .pf-answer {
    opacity: 1;
}

.pf-answer-inner {
    padding-left: 70px;
    padding-right: 40px;
    padding-bottom: 30px;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.pf-trigger:hover .pf-q-text {
    color: #555;
}

@media (max-width: 768px) {
    .pf-huge-title {
        font-size: 36px;
    }

    .pf-idx {
        margin-right: 20px;
        font-size: 12px;
    }

    .pf-q-text {
        font-size: 18px;
        padding-right: 20px;
    }

    .pf-answer-inner {
        padding-left: 0;
        padding-top: 10px;
    }
}

/* =========================================
   TECHNICAL OVERVIEW (Tabs)
   ========================================= */
.sec33-section {
    padding: 120px 0;
    position: relative;
    background: #fff;
}

.sec33-header {
    margin-bottom: 60px;
    text-align: center;
}

.sec33-subtitle {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tp-theme-primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sec33-title {
    margin-bottom: 25px;
    color: var(--tp-common-black);
    font-family: var(--tp-ff-heading);
    font-size: 48px;
    font-weight: 700;
}

.sec33-desc {
    font-size: 18px;
    color: var(--tp-grey-1);
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--tp-ff-p);
}

.sec33-nav-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.sec33-nav-item {
    cursor: pointer;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    color: #666;
    background: #f5f5f5;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sec33-nav-item:hover {
    background: #eee;
    color: #333;
}

.sec33-nav-item.active {
    background: var(--tp-theme-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sec33-tab-content-area {
    position: relative;
    min-height: 400px;
}

.sec33-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.sec33-tab-pane.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    opacity: 1;
    transform: translateY(0);
    align-items: center;
}

.sec33-pane-num {
    font-size: 8rem;
    font-weight: 900;
    color: #eee;
    line-height: 0.8;
    margin-bottom: -20px;
    margin-left: -5px;
}

.sec33-pane-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tp-common-black);
    margin-bottom: 25px;
    position: relative;
}

.sec33-pane-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--tp-grey-1);
}

.sec33-visual-box {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    border: 1px solid #eaeaea;
    transition: transform 0.3s;
}

.sec33-visual-box:hover {
    transform: translateY(-5px);
}

.sec33-visual-icon {
    font-size: 5rem;
    color: var(--tp-theme-primary);
    margin-bottom: 30px;
    display: inline-block;
}

.sec33-visual-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
}

@media (max-width: 991px) {
    .sec33-tab-pane.active {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sec33-pane-text {
        padding-right: 0;
        text-align: center;
    }

    .sec33-pane-num {
        font-size: 6rem;
    }
}

/* =========================================
   MOSAIC SHOWCASE (Gallery)
   ========================================= */
.mosaic-section {
    padding: 100px 0;
    position: relative;
    background: #f4f6f8;
}

.mosaic-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.mosaic-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tp-theme-primary, #fa2837);
    margin-bottom: 15px;
    background: rgba(250, 40, 55, 0.08);
    padding: 8px 16px;
    border-radius: 30px;
}

.mosaic-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.mosaic-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 30px;
    margin-bottom: 50px;
}

.mosaic-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mosaic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mosaic-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mosaic-item:hover img {
    transform: scale(1.1);
}

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

.mosaic-item:hover .mosaic-icon {
    transform: scale(1);
}

.mosaic-item:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
}

.mosaic-item:nth-child(2) {
    grid-column: span 5;
    grid-row: span 1;
}

.mosaic-item:nth-child(3) {
    grid-column: span 2;
    grid-row: span 1;
}

.mosaic-item:nth-child(4) {
    grid-column: span 3;
    grid-row: span 1;
    position: relative;
}

.mosaic-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 5;
    transition: background 0.3s;
}

.mosaic-more-count {
    font-size: 3rem;
    font-weight: 700;
}

.mosaic-more-text {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mosaic-btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 45px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mosaic-btn:hover {
    background: var(--tp-theme-primary, #fa2837);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(250, 40, 55, 0.3);
    color: #fff;
}

.mosaic-btn i {
    margin-left: 10px;
    transition: transform 0.3s;
}

.mosaic-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .mosaic-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mosaic-item {
        height: 250px;
    }

    .mosaic-title {
        font-size: 2.5rem;
    }
}

/* GLightbox Navigation Buttons - Product Gallery */
.glightbox-container .gslide-description {
    background: rgba(0, 0, 0, 0.75);
    padding: 20px;
}

.glightbox-container .gnext,
.glightbox-container .gprev {
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.glightbox-container .gnext:hover,
.glightbox-container .gprev:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.1);
}

.glightbox-container .gnext svg,
.glightbox-container .gprev svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #fff !important;
    stroke-width: 2 !important;
    fill: none !important;
}

.glightbox-container .gclose {
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    opacity: 1 !important;
}

.glightbox-container .gclose:hover {
    background: rgba(255, 255, 255, 0.4) !important;
}

.glightbox-container .gclose svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #fff !important;
    stroke-width: 2 !important;
}

/* =========================================
   MPS TECHNICAL SPECS BUTTON & MODAL
   ========================================= */
.mps-tech-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    z-index: 10 !important;
}

.mps-tech-btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6) !important;
}

.mps-tech-btn-glow {
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%) !important;
    opacity: 0 !important;
    transition: opacity 0.6s ease !important;
    pointer-events: none !important;
}

.mps-tech-btn:hover .mps-tech-btn-glow {
    opacity: 1 !important;
    animation: glowPulse 2s ease-in-out infinite !important;
}

.mps-tech-btn-content {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 32px !important;
    z-index: 1 !important;
}

.tech-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-modal.active {
    display: flex;
    opacity: 1;
}

.tech-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.tech-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.tech-modal.active .tech-modal-content {
    transform: scale(1);
}

.tech-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.tech-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.tech-modal-body {
    padding: 30px 40px 40px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.8;
    overflow-y: auto;
    max-height: calc(85vh - 140px);
}

/* Product Header Styles */
.ph-pro-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: -3px;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ph-pro-desc {
    font-size: 1.35rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 1);
    font-weight: 400;
    border-left: 6px solid #e62e2e;
    padding-left: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
    .ph-pro-title {
        font-size: 3rem;
        letter-spacing: -1px;
    }

    .ph-pro-desc {
        font-size: 1.1rem;
        border-left-width: 4px;
        padding-left: 20px;
    }

    .ph-glass-panel {
        left: 0 !important;
    }
}

/* Header Layout & Alignment */
.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ph-pro-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

.ph-glass-panel {
    background: transparent;
    padding: 0;
    max-width: 900px;
    position: relative;
    transition: left 0.3s ease;
}

@media (min-width: 1600px) {
    .ph-glass-panel {
        left: -250px;
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .ph-glass-panel {
        left: -120px;
    }
}


/* Product Highlights Header Styles */
.ph-header-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.ph-header-content {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* --- PREMIUM GALLERY SLIDER --- */
.ph-premium-gallery-wrapper {
    position: relative;
    padding: 20px 0 60px;
    overflow: hidden;
}

.ph-premium-slider {
    padding-bottom: 50px;
}

.ph-premium-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    /* Fixed nice height */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover Effect: Lift Card */
.ph-premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ph-premium-img-box {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

/* Hover Effect: Zoom Image */
.ph-premium-card:hover .ph-premium-img {
    transform: scale(1.1);
}

.ph-premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.ph-premium-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: #fff;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.ph-premium-card:hover .ph-premium-content {
    transform: translateY(0);
}

.ph-premium-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.ph-premium-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}



/* Hide Pagination Dots */
.ph-premium-dots {
    display: none !important;
}

/* Arrows */
.ph-premium-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    font-size: 18px;
}

.ph-premium-arrow:hover {
    background: #000;
    color: #fff;
}

.ph-prev {
    left: 10px;
}

.ph-next {
    right: 10px;
}

@media (max-width: 991px) {
    .ph-premium-card {
        height: 400px;
    }

    .ph-premium-arrow {
        display: none;
    }
}

/* Lightbox Description Fix */
.glightbox-clean .gslide-desc {
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 5px;
    font-family: var(--tp-ff-body, 'Outfit', sans-serif);
    /* Ensure theme font */
}

/* --- FEATURES GRID (Product Highlights) --- */
.ph-section-corrected {
    padding: 60px 0 100px;
    background: #fff;
    position: relative;
    z-index: 5;
}

.ph-grid-clean {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ph-tile {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ph-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ph-tile-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--tp-theme-primary, #fa2837);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ph-tile-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.ph-tile-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
}

.ph-tile-desc {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

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

/* --- MOBILE MENU STYLES --- */
@media (max-width: 991px) {
    .header-container {
        justify-content: space-between;
        padding: 15px 20px;
    }

    .mobile-menu-btn {
        display: block !important;
        font-size: 24px;
        background: none;
        border: none;
        color: var(--text-main);
        cursor: pointer;
        z-index: 10001;
        /* Above Menu */
    }

    .navbar_legacy_conflict {
        position: fixed;
        top: 0;
        right: -100%;
        /* Slide from right */
        width: 100%;
        /* Full Width (or 80%) */
        height: 100vh;
        background-color: var(--bg-color);
        /* Theme Background */
        z-index: 10000;
        padding: 80px 20px 40px 20px;
        transition: all 0.4s ease;
        overflow-y: auto;
        border-left: 1px solid var(--border-soft);
    }

    .navbar_legacy_conflict.active {
        right: 0;
    }

    .nav-links_legacy_conflict {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-soft);
        padding-bottom: 10px;
    }

    .nav-links li a {
        font-size: 18px;
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
        width: 100%;
        color: var(--text-main);
    }

    /* Submenu/Mega Menu in Mobile */
    .tp-submenu,
    .tp-megamenu {
        position: static !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: none !important;
        padding: 10px !important;
        margin-top: 10px;
        display: none;
        /* JS Toggle needed */
    }

    .has-dropdown.open>.tp-submenu {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    /* Mega Menu Grid Fix for Mobile */
    .products-grid-menu {
        display: flex !important;
        flex-direction: column;
        gap: 20px !important;
    }

    .mega-menu-col {
        grid-column: span 1 !important;
    }

    .nav-arrow {
        float: right;
        transition: transform 0.3s ease;
    }

    .has-dropdown.open>a>.nav-arrow {
        transform: rotate(180deg);
    }
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Alternating Split Layout */
.row-split-reverse {
    flex-direction: row-reverse;
}

.row-split-reverse .col-image {
    padding-left: 0 !important;
    padding-right: 2rem !important;
}

@media (max-width: 991px) {
    .row-split-reverse {
        flex-direction: column !important;
    }

    .row-split-reverse .col-image {
        padding-right: 0 !important;
    }
}

/* Full Width Text Template Styles */
.max-w-1000 {
    max-width: 1000px !important;
    margin: 0 auto;
}

.content-typography {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

.content-typography p {
    margin-bottom: 1.5rem;
}

.content-typography h2,
.content-typography h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: #111;
    font-weight: 700;
}

/* =========================================
   PRODUCT CATEGORY VIEW (pcv-*)
   ========================================= */

/* Hero banner */
.pcv-hero {
    background: linear-gradient(135deg, #0b0f1a 0%, #161c2e 60%, #1a2240 100%);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pcv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(193, 155, 95, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.pcv-hero--cat {
    padding: 120px 0 60px;
}

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

.pcv-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c19b5f;
    margin-bottom: 16px;
}

.pcv-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 0 auto 20px;
    max-width: 800px;
}

.pcv-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Back link */
.pcv-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.25s;
}

.pcv-back-link:hover {
    color: #c19b5f;
}

/* Section wrapper */
.pcv-section {
    padding: 80px 0 100px;
    background: #f7f7f8;
}

/* Grid */
.pcv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

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

    .pcv-hero {
        padding: 110px 0 60px;
    }
}

/* Card */
.pcv-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.pcv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Card media area */
.pcv-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1a1a2e;
    flex-shrink: 0;
}

.pcv-media-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pcv-card:hover .pcv-media-el {
    transform: scale(1.05);
}

.pcv-media-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1e2e 0%, #2a2d40 100%);
}

.pcv-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(10, 12, 20, 0.65) 0%,
            rgba(10, 12, 20, 0.1) 50%,
            transparent 100%);
    pointer-events: none;
}

/* Card body */
.pcv-card-body {
    padding: 24px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    position: relative;
}

.pcv-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin: 0;
}

.pcv-card-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.pcv-card-count {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #c19b5f;
    text-transform: uppercase;
}

.pcv-card-arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.pcv-card:hover .pcv-card-arrow {
    background: #c19b5f;
    color: #fff;
    transform: translateX(3px);
}

/* Empty state */
.pcv-empty {
    text-align: center;
    color: #999;
    font-size: 1.05rem;
    padding: 60px 0;
}

/* --- PREMIUM CONTACT PAGE STYLES --- */
.contact-premium {
    color: var(--text-main);
    background: var(--bg-color);
}

.cp-hero {
    background: #000;
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
}

.cp-hero-title {
    font-size: 5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cp-info-card {
    background: var(--card-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    transition: all 0.4s ease;
    padding: 40px;
    text-align: center;
}

.cp-info-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--primary-glow);
}

.cp-info-icon {
    background: rgba(230, 46, 46, 0.1);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem;
}

.cp-info-val a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.cp-info-val a:hover {
    color: var(--primary-color);
}

.cp-form-wrap {
    background: var(--card-surface);
    padding: 60px;
    border-radius: 32px;
    border: 1px solid var(--border-soft);
}

.cp-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-soft);
    color: #fff;
    padding: 16px 20px;
    border-radius: 14px;
    width: 100%;
    transition: 0.3s;
}

.cp-input:focus {
    border-color: var(--primary-color);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
}

.cp-submit-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 20px;
    border-radius: 14px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
}

.cp-submit-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.cp-branch-item {
    background: var(--card-surface);
    border: 1px solid var(--border-soft);
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
    margin-bottom: 20px;
}

.cp-branch-item:hover {
    border-color: var(--primary-color);
}

.cp-map-section {
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    margin: 80px 0;
    border: 1px solid var(--border-soft);
}

.cp-social-btn {
    background: var(--card-surface);
    border: 1px solid var(--border-soft);
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.cp-social-btn:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* MEGA MENU RESPONSIVE FIX (Desktop) */
@media (min-width: 992px) {
    .products-grid-menu {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 15px !important;
    }

    .mega-menu-col.is-wide {
        grid-column: span 2 !important;
    }
}

/* WhatsApp Floating Button */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(0, 163, 33, 0.5);
    z-index: 9999;
    text-decoration: none;
    transition: 0.3s;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-floating:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 15px 30px rgba(0, 163, 33, 0.7);
}

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

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

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

/* Mobile Tweaks */
@media (max-width: 768px) {
    .whatsapp-floating {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
        font-size: 30px;
    }
}

/* --- Premium Modal System --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10050;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    pointer-events: none;
    max-width: 800px;
    transform: translateY(-20px);
    transition: transform 0.3s ease-out;
}

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

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-radius: 20px;
    outline: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.2;
    font-size: 1.5rem;
    color: #111;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 2rem;
    color: #333;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem;
}

.btn-close {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

/* Fix for mobile */
@media (max-width: 991px) {
    .modal-dialog {
        margin: 1rem;
        max-width: none;
    }
}


/* ==========================================================================
   HEADER & NAVIGATION PREMIUM STYLES (RELOCATED FROM HEADER.PHP)
   ========================================================================== */

/* Premium Language Selector Dropdown */
.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lang-selector:hover {
    background: rgba(230, 46, 46, 0.08);
}

.active-lang {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    min-width: 140px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10006;
    padding: 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none !important;
    white-space: nowrap;
}

.lang-dropdown-item:hover {
    background: #e62e2e;
    color: #fff;
}

.lang-dropdown-item.active {
    color: #e62e2e;
    background: rgba(230, 46, 46, 0.05);
}

.lang-dropdown-item.active:hover {
    color: #fff;
    background: #e62e2e;
}

.lang-code-badge {
    font-size: 10px;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 12px;
    opacity: 0.8;
    font-weight: 700;
    min-width: 32px;
    text-align: center;
    transition: all 0.2s ease;
}

.lang-dropdown-item:hover .lang-code-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.lang-name-text {
    flex: 1;
}

/* ==========================================================================
   ISOLATED PREMIUM MOBILE NAVIGATION (ZERO LEAKAGE)
   ========================================================================== */

#mobile-panel-premium,
.premium-mobile-overlay {
    display: none !important;
}

@media (max-width: 991px) {
    .header-container {
        padding: 15px 20px !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .header-actions .btn-outline,
    .header-search-btn,
    .header .navbar {
        display: none !important;
    }

    #mobile-panel-premium {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #ffffff;
        z-index: 9999999;
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.25);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex !important;
        flex-direction: column;
        overflow: hidden;
        visibility: hidden;
    }

    #mobile-panel-premium.active {
        transform: translateX(-100%);
        visibility: visible;
    }

    .premium-mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        z-index: 9999998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    body.premium-menu-open .premium-mobile-overlay {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }

    /* Panel Header */
    .panel-header {
        padding: 25px;
        border-bottom: 1px solid #f1f1f1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .panel-title {
        font-family: 'Outfit', sans-serif;
        font-weight: 800;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #999;
    }

    .panel-close {
        width: 36px;
        height: 36px;
        background: #f8f8f8;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
        cursor: pointer;
    }

    .panel-content {
        flex: 1;
        overflow-y: auto;
        padding: 10px 0;
    }

    .premium-m-nav {
        list-style: none !important;
        padding: 0 15px !important;
        margin: 0 !important;
    }

    .m-item-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 10px;
        padding: 0 10px;
        transition: all 0.2s;
    }

    .m-item-wrap a {
        flex: 1;
        padding: 13px 0;
        font-weight: 700;
        font-size: 16px;
        color: #1a1a1a;
        text-decoration: none;
    }

    .m-toggle {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        cursor: pointer;
        margin-right: 60px;
        position: relative;
    }

    .m-toggle span {
        position: absolute;
        width: 14px;
        height: 2px;
        background-color: #333;
        transition: all 0.3s ease;
    }

    .m-toggle .v-line {
        transform: rotate(90deg);
    }

    .m-submenu {
        display: none;
        padding: 5px 0 15px 15px;
        list-style: none !important;
        border-left: 1px solid #ddd;
        margin: 0 0 10px 10px !important;
    }

    .m-submenu li a {
        color: #111 !important;
        font-weight: 500 !important;
        font-size: 15px !important;
        padding: 8px 0 !important;
    }

    li.open>.m-submenu {
        display: block !important;
    }

    li.open>.m-item-wrap .m-toggle .v-line {
        transform: rotate(0deg);
        opacity: 0;
    }

    li.open>.m-item-wrap .m-toggle span {
        background-color: #e62e2e;
    }

    li.open>.m-item-wrap {
        background: #fcfcfc;
    }

    .m-3d-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: #e62e2e;
        color: #fff;
        padding: 16px;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 800;
        font-size: 14px;
        margin-bottom: 25px;
        transition: all 0.2s;
        box-shadow: 0 10px 20px rgba(230, 46, 46, 0.15);
    }

    .panel-footer {
        padding: 25px;
        border-top: 1px solid #f1f1f1;
        background: #fff;
    }

    .p-contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
        color: #444;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }

    .p-contact-item i {
        color: #e62e2e;
    }
}

/* SEARCH OVERLAY STYLES */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 10px;
}

.search-overlay-close:hover {
    transform: rotate(90deg);
    color: #e62e2e;
}

.search-overlay-content {
    width: 100%;
    max-width: 800px;
    padding: 0 40px;
    text-align: center;
}

.search-form-overlay {
    position: relative;
    width: 100%;
}

.search-input-premium {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    padding: 20px 0;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.search-input-premium::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-input-premium:focus {
    border-color: #e62e2e;
}

.search-submit-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    margin-top: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.search-submit-btn:hover {
    color: #e62e2e;
    opacity: 1;
    transform: scale(1.1);
}

.search-validation-msg {
    color: #e62e2e;
    margin-top: 20px;
    font-weight: 600;
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.search-validation-msg.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .search-input-premium {
        font-size: 28px;
    }

    .search-overlay-close {
        top: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* Mobile Specific Premium Tweaks (Subpages) */
@media (max-width: 991px) {
    .page-title {
        font-size: 33px !important;
    }

    .page-header-section {
        padding: 200px 0 30px 0 !important;
    }

    .section-premium-split {
        padding: 14px 0 !important;
    }

    .page-header-bg::before {
        right: 8% !important;
        bottom: 11% !important;
    }

    .row-split {
        flex-direction: column !important;
        gap: 3rem !important;
    }

    .col-image {
        padding-left: 0 !important;
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .premium-feature-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

.chic-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.chic-service-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Vertical Items take 1 column */
.chic-item-vertical {
    grid-column: span 1;
}

/* Horizontal Items take full 3 columns */
.chic-item-horizontal {
    grid-column: span 3;
}

.chic-item-inner {
    display: flex;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    min-height: 500px;
}

/* Horizontal Layout (Image) */
.chic-item-horizontal .chic-item-inner {
    flex-direction: row;
}

.chic-item-horizontal .chic-media-wrapper {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
}

.chic-item-horizontal .chic-content-wrapper {
    flex: 1;
    padding: 60px;
    display: flex;
    align-items: center;
}

.chic-reversed.chic-item-horizontal .chic-item-inner {
    flex-direction: row-reverse;
}

/* Vertical Layout (Video) */
.chic-item-vertical .chic-item-inner {
    flex-direction: column;
    min-height: 600px;
    /* Reduced for grid view */
    background: #000;
    position: relative;
}

.chic-item-vertical .chic-media-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chic-item-vertical .chic-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    color: #fff;
    z-index: 5;
    /* Higher for better overlay */
}

.chic-item-vertical .chic-title {
    color: #fff !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* Stronger shadows for video overlay */
    font-size: 38px;
}

.chic-item-vertical .chic-excerpt {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.chic-item-vertical .chic-category {
    color: rgba(255, 255, 255, 0.7) !important;
}

.chic-item-vertical .chic-link {
    color: #fff !important;
}

.chic-item-vertical .chic-link-line {
    background: #fff !important;
}

.chic-item-vertical .chic-title,
.chic-item-vertical .chic-excerpt,
.chic-item-vertical .chic-meta {
    color: #fff !important;
}

/* Media Elements */
.chic-media-wrapper img,
.chic-media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.chic-service-item:hover .chic-media-wrapper img,
.chic-service-item:hover .chic-media-wrapper video {
    transform: scale(1.05);
}

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

.chic-service-item:hover .chic-media-overlay {
    opacity: 1;
}

.chic-expand-btn {
    width: 70px;
    height: 70px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.chic-service-item:hover .chic-expand-btn {
    transform: translateY(0);
}

/* Typography */
.chic-meta {
    margin-bottom: 20px;
}

.chic-category {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #888;
}

.chic-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.chic-excerpt {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 35px;
}

.chic-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    position: relative;
}

.chic-link-line {
    width: 50px;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.chic-link:hover .chic-link-line {
    width: 80px;
}

/* Responsive Handling */
@media (max-width: 1200px) {
    .chic-title {
        font-size: 34px;
    }

    .chic-item-inner {
        height: auto;
        flex-direction: column !important;
    }

    .chic-media-wrapper {
        flex: 0 0 350px !important;
    }

    .chic-content-wrapper {
        padding: 40px !important;
    }
}

@media (max-width: 768px) {
    .chic-item-vertical .chic-item-inner {
        height: 500px;
    }

    .chic-title {
        font-size: 28px;
    }

    .chic-excerpt {
        font-size: 16px;
    }
}


/* Service Detail Premium Styles */
.project-detail-premium {
    background: #f5f5f5;
    color: #222;
}

.breadcrumb-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.breadcrumb-list-new {
    list-style: none !important;
    display: flex;
    align-items: center;
    gap: 15px;
}

.breadcrumb-list-new a {
    color: #888;
    text-decoration: none;
}

.main-card-wrapper {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.media-canvas {
    flex: 0 0 58.33%;
    position: relative;
    min-height: 500px;
    background: #000;
}

.content-canvas {
    flex: 0 0 41.66%;
    padding: 50px;
}

.project-title-large {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}

.location-karne {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 20px;
    border-left: 5px solid #ff3b30;
}

.project-rich-text {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

.gallery-img-inner {
    aspect-ratio: 16/11;
    border-radius: 15px;
    overflow: hidden;
}

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

.gallery-card-modern:hover .gallery-img-obj {
    transform: scale(1.1);
}

.btn-cta-fancy {
    background: #ff3b30;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (max-width: 991px) {

    .media-canvas,
    .content-canvas {
        flex: 0 0 100%;
    }
}

/* Service Detail ULTIMATE Fix */
.project-detail-premium {
    background: #ffffff !important;
    color: #1a1a1a !important;
    padding: 40px 0 !important;
    min-height: 80vh !important;
}

.main-card-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    background: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #eee !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.media-canvas {
    width: 58% !important;
    min-height: 500px !important;
    background: #222 !important;
    position: relative !important;
    order: 1 !important;
    display: block !important;
}

.content-canvas {
    width: 42% !important;
    padding: 50px !important;
    order: 2 !important;
    display: block !important;
    background: #fff !important;
}

.media-obj {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.location-karne {
    background: #f8f9fa !important;
    border-left: 4px solid #ff3b30 !important;
    padding: 20px !important;
    margin-bottom: 30px !important;
    display: block !important;
}

.project-title-large {
    color: #111 !important;
    font-weight: 850 !important;
    margin-bottom: 20px !important;
    font-size: 42px !important;
}

.prose p {
    color: #444 !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
    font-size: 17px !important;
}

@media (max-width: 991px) {

    .media-canvas,
    .content-canvas {
        width: 100% !important;
    }

    .media-canvas {
        min-height: 300px !important;
    }
}

/* Service Detail Modern v6 */
.project-detail-modern-v6 {
    background: #fff !important;
    color: #1a1a1a !important;
    font-family: 'Inter', sans-serif !important;
}

.breadcrumb-v6 {
    padding: 90px 0 30px !important;
    margin-bottom: 40px !important;
    border-bottom: 1px solid #f9f9f9 !important;
}

.breadcrumb-v6 ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    gap: 12px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #aaa !important;
}

.breadcrumb-v6 a {
    color: inherit !important;
    text-decoration: none !important;
}

.breadcrumb-v6 .active {
    color: #fe3d34 !important;
}

.main-project-grid-v6 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 70px !important;
}

.content-column-v6 {
    flex: 0 0 55% !important;
    max-width: 55% !important;
}

.gallery-column-v6 {
    flex: 1 !important;
    position: sticky !important;
    top: 140px !important;
    height: fit-content !important;
}

@media (max-width: 991px) {

    .content-column-v6,
    .gallery-column-v6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        position: relative !important;
        top: 0 !important;
    }

    .main-project-grid-v6 {
        gap: 40px !important;
    }
}

.project-h1-v6 {
    font-size: clamp(34px, 5vw, 60px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    margin-bottom: 30px !important;
    color: #111 !important;
    letter-spacing: -2px !important;
}

.location-v6 {
    background: #fafafa !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    padding: 15px 25px !important;
    margin-bottom: 45px !important;
    width: fit-content !important;
}

.location-icon-v6 {
    color: #fe3d34 !important;
    font-size: 18px !important;
}

.location-info-v6 .val {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111 !important;
}

.project-rich-text-v6 {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #444 !important;
    margin-bottom: 60px !important;
}

.project-rich-text-v6 p {
    margin-bottom: 25px !important;
}

/* Integrated Nav v6 Vertical Stack */
.nav-inline-v6 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    padding-top: 40px !important;
    border-top: 2px solid #f8f8f8 !important;
}

.nav-link-v6 {
    width: 100% !important;
    text-decoration: none !important;
    color: #111 !important;
    padding: 20px 25px !important;
    border-radius: 20px !important;
    border: 1px solid #f0f0f0 !important;
    background: #fff !important;
    transition: 0.4s !important;
    display: block !important;
    text-align: center !important;
}

.nav-link-v6:hover {
    transform: translateY(-3px) !important;
    border-color: #fe3d34 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.nav-link-v6 .n-label {
    display: block !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #ccc !important;
    text-transform: uppercase !important;
    margin-bottom: 5px !important;
    letter-spacing: 1px !important;
}

.nav-link-v6 .n-title {
    display: block !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

.favicon-circle-v6 {
    width: 55px !important;
    height: 55px !important;
    min-width: 55px !important;
    border-radius: 50% !important;
    border: 1px solid #eee !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    transition: 0.3s !important;
    padding: 10px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04) !important;
}

.favicon-circle-v6 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.favicon-circle-v6:hover {
    transform: scale(1.1) !important;
    border-color: #fe3d34 !important;
}

/* Sidebar Gallery v6 */
.gallery-v6-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

.gallery-v6-item {
    aspect-ratio: 1/1 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    position: relative !important;
    border: 1px solid #f5f5f5 !important;
}

.gallery-v6-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: 0.6s !important;
}

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

.gallery-v6-item:first-child {
    grid-column: span 2 !important;
    aspect-ratio: 16/10 !important;
}

.chic-title {
    color: black;
}


.contact-premium {
    font-family: 'Outfit', sans-serif;
}

/* --- SECTION 1: SERIOUS THEME (HERO) --- */
.cp-hero-sec {
    background: #000;
    color: #fff;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.cp-hero-sec::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(230, 46, 46, 0.08) 0%, transparent 70%);
}

.cp-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.cp-hero-desc {
    font-size: 1.1rem;
    color: #999;
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.cp-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 10;
}

.cp-info-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    transition: 0.3s;
}

.cp-info-icon {
    font-size: 1.5rem;
    color: #e62e2e;
    margin-bottom: 20px;
}

.cp-info-val {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

/* --- SECTION 2: FORM & BRANCHES (REFINED GREY) --- */
.cp-sec-grey {
    background: #f5f5f5;
    color: #1a1a1a;
    padding-bottom: 150px;
    border-top: 1px solid #eee;
}

.cp-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    padding-top: 120px;
    align-items: start;
}

@media (max-width: 991px) {
    .cp-main-grid {
        grid-template-columns: 1fr;
    }
}

.cp-form-wrap {
    background: #fff;
    padding: 60px;
    border-radius: 35px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
}

.cp-input {
    width: 100%;
    background: #f9f9f9 !important;
    border: 1px solid #eee !important;
    padding: 20px 25px !important;
    border-radius: 16px !important;
    margin-bottom: 25px;
    transition: 0.3s;
    color: #1a1a1a !important;
}

.cp-input:focus {
    border-color: #e62e2e !important;
    background: #fff !important;
}

.cp-submit-btn {
    width: 100%;
    background: #e62e2e;
    color: #fff;
    border: none;
    padding: 25px;
    border-radius: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.cp-branch-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 45px;
    border-radius: 30px;
    margin-bottom: 30px;
    border-left: 0 solid #e62e2e;
    transition: 0.3s;
    color: #1a1a1a;
}

.cp-branch-item:hover {
    border-left-width: 8px;
    border-color: #e62e2e;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.cp-branch-name {
    font-weight: 900;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.cp-branch-link-row i {
    width: 35px;
    height: 35px;
    background: #fdf2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e62e2e;
    font-size: 0.8rem;
}

.cp-info-row-v2 {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    color: #1a1a1a;
    transition: 0.3s;
    margin-top: 10px;
}

.cp-info-row-v2:hover {
    color: #e62e2e;
    transform: translateX(5px);
}

.cp-icon-box {
    width: 35px;
    height: 35px;
    background: #fdf2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e62e2e;
    font-size: 0.85rem;
    flex-shrink: 0;
}


/* --- SECTION 3: OBSIDIAN ZEBRA SYSTEM --- */
.cp-card-sec-obsidian {
    background: #080808;
    color: #fff;
    padding: 150px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.cp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.cp-obs-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 60px 45px;
    border-radius: 40px;
    position: relative;
    transition: 0.4s;
}

/* The Zebra Logic: Every Even card is slightly lighter */
.cp-obs-card:nth-child(even) {
    background: #181818;
    border-color: rgba(255, 255, 255, 0.06);
}

.cp-obs-card:hover {
    border-color: rgba(230, 46, 46, 0.3);
    transform: translateY(-10px);
    background: #1a1a1a !important;
    /* Unified hover color */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.cp-obs-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #fff;
}

.cp-obs-text {
    color: #888;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.cp-obs-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cp-obs-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.2s;
}

.cp-obs-item i {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e62e2e;
    font-size: 1rem;
    transition: 0.3s;
}

.cp-obs-item:hover {
    color: #e62e2e;
    transform: translateX(10px);
}

.cp-obs-item:hover i {
    background: #e62e2e;
    color: #fff;
    border-color: #e62e2e;
    box-shadow: 0 0 30px rgba(230, 46, 46, 0.2);
}

/* FINAL MAP BOX */
.cp-map-box {
    padding: 120px 0;
    background: #fff;
}

.cp-map-section {
    width: 100%;
    height: 600px;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

/* MODAL STYLES */
.cp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.cp-modal.active {
    display: flex;
}

.cp-modal-content {
    background: #fff;
    width: 90%;
    max-width: 1000px;
    height: 70%;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.cp-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #e62e2e;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    cursor: pointer;
    z-index: 20;
    font-size: 1.2rem;
    transition: 0.3s;
}

.cp-modal-close:hover {
    transform: scale(1.1);
    background: #000;
}

.cp-map-trigger-btn {
    background: #e62e2e;
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.1rem;
}

.cp-map-trigger-btn:hover {
    background: #000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(230, 46, 46, 0.2);
}