/* Modern Premium Stylesheet for Jodha Power (Solar Business) - Daylight Theme */

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

/* CSS Variables for Premium Brand Theme - Matched with JODHA POWER Logo */
:root {
    --bg-main: #F8FAFC;         /* Light slate background */
    --bg-surface: #FFFFFF;      /* Pure white surface */
    --bg-card: #FFFFFF;         /* Card background */
    --border-color: #E2E8F0;    /* Light clean border */
    --border-hover: rgba(1, 160, 242, 0.45); /* Electric Solar Cyan border hover */
    
    --primary: #012B8D;         /* Deep Royal Navy Blue (JODHA Logo Core Brand) */
    --primary-hover: #001F68;   /* Deep Midnight Blue */
    --secondary: #01A0F2;       /* Electric Solar Cyan (POWER Logo Color) */
    --secondary-hover: #008AD1; /* Darker Cyan */
    --accent: #01A0F2;          /* Solar Cyan Accent */
    --accent-glow: rgba(1, 160, 242, 0.3);
    
    --text-primary: #0F172A;    /* Slate-900 */
    --text-secondary: #475569;  /* Slate-600 */
    --text-dark: #0A192F;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 10px 30px -10px rgba(1, 43, 141, 0.08);
    --shadow-accent: 0 10px 20px -10px rgba(1, 43, 141, 0.3);
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

button, input, select, textarea {
    font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 4px;
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography Helpers */
.text-gradient-sun {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-green {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 8px;
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #FFF;
    border: none;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(1, 43, 141, 0.4);
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
    background: rgba(1, 43, 141, 0.05);
    transform: translateY(-2px);
}

/* Layout Container: 2cm left & right space on whole website */
.container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 2cm !important;
    padding-right: 2cm !important;
    box-sizing: border-box !important;
}

.section {
    padding: 5rem 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
}

/* Header & Navigation */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

header.site-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(1, 43, 141, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-wrapper a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.logo-wrapper a:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-heading);
    font-weight: 800;
}

.logo-jodha {
    color: #012B8D;
    font-weight: 800;
}

.logo-power {
    color: #01A0F2;
    font-weight: 800;
}

.logo-wrapper {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    margin-left: 7cm;
    margin-right: 7cm;
    list-style: none;
}

.nav-cta {
    flex-shrink: 0;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background: #0F172A url('../images/solar-hero-poster.jpg') no-repeat center center/cover;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.95) saturate(1.1);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(249, 250, 251, 0.76) 0%,
        rgba(249, 250, 251, 0.68) 50%,
        rgba(241, 245, 249, 0.62) 100%
    );
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-video,
    .page-hero-bg-video {
        display: none;
    }
}

/* Page Hero Banner with Video Background (About Us, etc.) */
.page-hero-section {
    position: relative;
    padding: 160px 0 90px;
    text-align: center;
    overflow: hidden;
    background: #0B0F19 url('../images/solar-about-poster.jpg') no-repeat center center/cover;
    border-bottom: 1px solid var(--border-color);
}

.page-hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.page-hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.92) saturate(1.15);
}

.page-hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(11, 15, 25, 0.72) 0%,
        rgba(11, 15, 25, 0.58) 50%,
        rgba(11, 15, 25, 0.80) 100%
    );
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
}

.page-hero-section .hero-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.22);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.45);
    padding: 0.4rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}

.page-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #FFFFFF !important;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.page-hero-desc {
    color: #E2E8F0 !important;
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .page-hero-section {
        padding: 130px 0 60px;
    }
    .page-hero-title {
        font-size: 2.3rem;
    }
    .page-hero-desc {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Glassmorphism Quick Quote Box */
.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05), var(--shadow);
    transform: translateY(0);
    transition: all 0.5s ease;
}

.hero-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 25px 50px -12px rgba(1, 43, 141, 0.1);
}

.hero-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

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

.form-control {
    width: 100%;
    background: #FFF;
    border: 1px solid #D1D5DB;
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(1, 160, 242, 0.25);
}

/* Stats Section */
.stats-bar {
    background: var(--bg-surface);
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h2 {
    font-size: 2.8rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Services Page & Grids */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.05), var(--shadow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(1, 43, 141, 0.08);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card:nth-child(2n) .service-icon {
    background: rgba(1, 160, 242, 0.12);
    color: var(--secondary);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-card:hover .read-more {
    gap: 10px;
}

/* Savings Calculator CSS */
.calc-container {
    background: var(--bg-surface);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 3rem;
    margin-top: 4rem;
    box-shadow: var(--shadow);
}

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

.calc-sliders {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.slider-group {
    display: flex;
    flex-direction: column;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.slider-header span {
    font-weight: 600;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #E5E7EB;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: transform 0.1s ease;
    box-shadow: 0 0 8px rgba(1, 43, 141, 0.4);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-result-box {
    background: rgba(1, 43, 141, 0.03);
    border: 1px dashed rgba(1, 43, 141, 0.25);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
}

.calc-result-title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.calc-result-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 1.5rem;
}

/* Solar Calculator 3-Column Grid with Video on Right */
.calc-grid-with-video {
    display: grid;
    grid-template-columns: 1fr 1.08fr 1.25fr;
    gap: 1.75rem;
    align-items: stretch;
}

.calc-preset-pill {
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    color: var(--text-secondary, #4B5563);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}
.calc-preset-pill:hover,
.calc-preset-pill.active {
    background: var(--primary, #012B8D);
    border-color: var(--primary, #012B8D);
    color: #FFFFFF;
}

.calc-video-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color, #E5E7EB);
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.calc-sound-toggle-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}
.calc-sound-toggle-btn:hover {
    background: #EF4444;
    color: #FFFFFF;
}
.calc-sound-toggle-btn.unmuted {
    background: rgba(1, 160, 242, 0.15);
    color: #01A0F2;
    border-color: rgba(1, 160, 242, 0.35);
}

.calc-video-player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0F172A;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.calc-video-player-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.calc-yt-selector-btn {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: var(--text-secondary, #64748B);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}
.calc-yt-selector-btn:hover,
.calc-yt-selector-btn.active {
    background: #FF0000;
    border-color: #FF0000;
    color: #FFFFFF;
}

@media (max-width: 1180px) {
    .calc-grid-with-video {
        grid-template-columns: 1fr 1fr;
    }
    .calc-video-box {
        grid-column: 1 / -1;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .calc-grid-with-video {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Projects & Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #FFF;
    border-color: var(--primary);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.05), var(--shadow);
}

.project-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.project-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(1, 43, 141, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.project-details {
    padding: 1.5rem;
}

.project-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.project-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact form layout */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(1, 43, 141, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Footer Section - Premium Solar EPC Logo-Matched Theme */
footer.site-footer {
    position: relative;
    background: linear-gradient(135deg, rgba(1, 43, 141, 0.94) 0%, rgba(2, 25, 84, 0.96) 50%, rgba(0, 14, 46, 0.98) 100%),
                url('../images/footer-solar-bg.jpg') center center / cover no-repeat;
    border-top: 3px solid #01A0F2;
    box-shadow: 0 -8px 25px rgba(1, 43, 141, 0.2);
    padding: 4.5rem 0 1.5rem 0;
    color: #E2E8F0;
    overflow: hidden;
}

footer.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(1, 160, 242, 0.2), transparent 55%),
                radial-gradient(circle at 10% 80%, rgba(1, 43, 141, 0.3), transparent 50%);
    pointer-events: none;
}

footer.site-footer .container {
    position: relative;
    z-index: 2;
}

footer.site-footer h4 {
    color: #FFF;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.05fr 1fr;
    gap: 1.5rem;
    max-width: 1220px;
    margin: 0 auto 1.5rem auto;
    align-items: start;
}

/* Brand Card */
.footer-brand-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    padding: 7px 16px;
    border-radius: 8px;
    border: 1px solid rgba(1, 160, 242, 0.35);
    margin-bottom: 1.25rem;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 13, 45, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.footer-brand-card:hover {
    transform: translateY(-2px);
    border-color: #01A0F2;
    box-shadow: 0 6px 22px rgba(1, 160, 242, 0.35);
}

.footer-brand-logo {
    height: 42px;
    width: 42px;
    object-fit: contain;
}

.footer-brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.footer-brand-desc {
    color: #CBD5E1;
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(1, 160, 242, 0.3);
    color: #BFDBFE;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-social-links a:hover {
    background: #01A0F2;
    color: #FFFFFF;
    border-color: #01A0F2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 160, 242, 0.4);
}

.footer-social-links a.social-fb:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.45);
}

.footer-social-links a.social-yt:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.45);
}

.footer-social-links a.social-ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.45);
}

.footer-social-links a.social-google:hover {
    background: #4285F4;
    border-color: #4285F4;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.45);
}

/* Columns Headings */
.footer-col h4 {
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0;
}

.footer-col h4::after {
    display: none;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-links li {
    margin: 0;
    padding: 0;
    line-height: 1.25;
}

.footer-links a {
    color: #BFDBFE;
    font-size: 0.82rem;
    line-height: 1.3;
    padding: 2px 0;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(3px);
    text-shadow: 0 0 10px rgba(1, 160, 242, 0.5);
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #E2E8F0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.footer-contact-icon {
    color: #01A0F2;
    margin-top: 3px;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list a:hover {
    color: #01A0F2;
}

/* Middle Divider Line */
.footer-middle-divider {
    border-top: 1px solid rgba(1, 160, 242, 0.2);
    margin: 2rem 0 1.25rem 0;
}

/* SEO Location Strip */
.footer-seo-strip {
    margin-bottom: 1.25rem;
}

.footer-seo-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #01A0F2;
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.footer-seo-cities {
    color: #94A3B8;
    font-size: 0.82rem;
    line-height: 1.85;
    margin: 0;
}

.footer-seo-cities .dot-sep {
    color: rgba(1, 160, 242, 0.35);
    margin: 0 4px;
}

.view-all-locations {
    color: #01A0F2;
    text-decoration: underline;
    font-weight: 600;
}

.view-all-locations:hover {
    color: #38BDF8;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(1, 160, 242, 0.18);
    padding-top: 1.2rem;
    margin-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #94A3B8;
    font-size: 0.82rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Responsive Styles (Only apply when force-desktop-view is not active) */
@media (max-width: 1024px) {
    html:not(.force-desktop-view) .hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    html:not(.force-desktop-view) .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    html:not(.force-desktop-view) .services-grid,
    html:not(.force-desktop-view) .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    html:not(.force-desktop-view) .calc-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    html:not(.force-desktop-view) .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html:not(.force-desktop-view) .menu-toggle {
        display: flex;
    }
    html:not(.force-desktop-view) .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid var(--border-color);
    }
    html:not(.force-desktop-view) .nav-menu.active {
        left: 0;
    }
    html:not(.force-desktop-view) .hero-content h1 {
        font-size: 2.5rem;
    }
    html:not(.force-desktop-view) .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    html:not(.force-desktop-view) .services-grid,
    html:not(.force-desktop-view) .projects-grid {
        grid-template-columns: 1fr;
    }
    html:not(.force-desktop-view) .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    html:not(.force-desktop-view) .footer-grid {
        grid-template-columns: 1fr;
    }
    html:not(.force-desktop-view) .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================================================
   Modern Executive Dashboard Styles
   ========================================================================== */
.dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.dash-kpi-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.dash-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -5px rgba(0, 0, 0, 0.08);
    border-color: rgba(1, 43, 141, 0.25);
}

.dash-kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.dash-kpi-info {
    flex: 1;
    min-width: 0;
}

.dash-kpi-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.dash-kpi-val {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1.15;
    color: var(--text-primary);
}

.dash-kpi-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modern App-Style Segmented Navigation */
.dash-nav-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.5rem;
    margin-bottom: 2.25rem;
    box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.03);
}

.dash-nav-bar {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    padding: 0.2rem;
}

.dash-nav-bar::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.dash-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 1.15rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.dash-nav-pill:hover {
    color: var(--primary);
    background: rgba(1, 43, 141, 0.06);
}

.dash-nav-pill.active {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 14px -2px rgba(1, 43, 141, 0.35);
}

.dash-nav-pill .badge-count {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
}

.dash-nav-pill.active .badge-count {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.dash-nav-pill .badge-new {
    background: #EF4444;
    color: #FFFFFF;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Instant Search Box */
.dash-search-wrapper {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.dash-search-input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.4rem;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 0.88rem;
    transition: all 0.2s ease;
    outline: none;
}

.dash-search-input:focus {
    border-color: var(--primary);
    background: var(--bg-surface);
    box-shadow: 0 0 0 3px rgba(1, 160, 242, 0.25);
}

.dash-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.85rem;
    pointer-events: none;
}

/* Modern Card Containers */
.dash-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px -3px rgba(0, 0, 0, 0.04);
}

/* Modern Table Enhancements */
.dash-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.92rem;
}

.dash-table th {
    padding: 12px 14px;
    background: var(--bg-main);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--border-color);
}

.dash-table th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.dash-table th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.dash-table td {
    padding: 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.dash-table tr:hover td {
    background: rgba(245, 158, 11, 0.02);
}

/* Status Badges */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.28rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-status.success {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-status.warning {
    background: rgba(245, 158, 11, 0.12);
    color: #D97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-status.danger {
    background: rgba(239, 68, 68, 0.12);
    color: #DC2626;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-status.info {
    background: rgba(59, 130, 246, 0.12);
    color: #2563EB;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-status.neutral {
    background: rgba(156, 163, 175, 0.15);
    color: var(--text-secondary);
    border: 1px solid rgba(156, 163, 175, 0.25);
}

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

@media (max-width: 576px) {
    .dash-kpi-grid {
        grid-template-columns: 1fr;
    }
    .dash-nav-pill {
        padding: 0.55rem 0.85rem;
        font-size: 0.82rem;
    }
}

/* Dashboard Split Layout (Modern 2-column with responsive collapse) */
.dash-split-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.75rem;
    align-items: start;
}

@media (max-width: 1024px) {
    html:not(.force-desktop-view) .dash-split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* View Switcher Visibility Guards */
.view-hidden {
    display: none !important;
}

/* View Switcher Controls */
.dash-view-switcher {
    display: inline-flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3px;
    gap: 3px;
}

.dash-view-btn {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.dash-view-btn:hover {
    color: var(--text-primary);
}

.dash-view-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 6px rgba(1, 43, 141, 0.25);
}

/* Project Cards Grid */
.project-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.25rem;
}

.dash-card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.dash-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(1, 160, 242, 0.4);
}

.project-card-cover {
    height: 125px;
    position: relative;
    background: linear-gradient(135deg, #012B8D 0%, #001F68 50%, #0A192F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.dash-card-item:hover .project-card-cover img {
    transform: scale(1.04);
}

.project-card-cover .cover-placeholder-icon {
    font-size: 3.2rem;
    color: rgba(255, 255, 255, 0.22);
}

.project-badge-kw {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #FCD34D;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.project-badge-status {
    position: static;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: none;
}

.folder-card .project-badge-status {
    position: static !important;
    top: auto !important;
    right: auto !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    box-shadow: none !important;
}

.project-badge-status.planning {
    background: rgba(59, 130, 246, 0.95);
    color: #fff;
}
.project-badge-status.installing {
    background: rgba(245, 158, 11, 0.95);
    color: #fff;
}
.project-badge-status.commissioned {
    background: rgba(16, 185, 129, 0.95);
    color: #fff;
}
.project-badge-status.completed {
    background: rgba(5, 150, 105, 0.95);
    color: #fff;
}

.project-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.project-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.project-card-type {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.project-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.83rem;
    color: var(--text-secondary);
    margin-bottom: 1.1rem;
}

.project-card-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-card-detail-item i {
    width: 14px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.project-card-vault-bar {
    background: rgba(1, 160, 242, 0.08);
    border: 1px dashed rgba(1, 160, 242, 0.4);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    margin-bottom: 0.9rem;
}

.project-card-vault-bar:hover {
    background: var(--primary);
    color: #fff;
    border-style: solid;
}

.project-card-vault-bar .vault-doc-badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.15rem 0.55rem;
    border-radius: 12px;
    font-weight: 700;
}

.project-card-vault-bar:hover .vault-doc-badge {
    background: #fff;
    color: var(--primary);
}

.project-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--border-color);
    padding-top: 0.85rem;
}

/* Folder Explorer & Vault Directory System */
.folder-explorer-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.folder-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    flex-wrap: wrap;
}

.folder-breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.folder-breadcrumbs a:hover {
    text-decoration: underline;
}

.folder-breadcrumbs .crumb-separator {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

/* Project Folder Cards - Compact & Space-Efficient */
.folder-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 0.85rem;
}

.folder-card {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.folder-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    border-color: rgba(1, 160, 242, 0.4);
}

.folder-card-top {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.folder-card-icon-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.folder-icon-glow {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #F59E0B;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.folder-card-title-block {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.folder-card-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.folder-card-sub-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--text-secondary, #64748B);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.folder-serial-pill {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 6px;
    display: inline-block;
    flex-shrink: 0;
    line-height: 1.25;
    box-shadow: 0 1px 3px rgba(1, 43, 141, 0.25);
}

.folder-client-section {
    padding: 0.65rem 0.85rem 0.55rem 0.85rem;
    border-bottom: 1px solid var(--border-color, #E2E8F0);
    background: #FAFBFD;
}

.folder-client-full-name {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.35;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.folder-card-body {
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 0.55rem;
}

.folder-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.folder-card-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.folder-card-meta-row i {
    width: 14px;
    color: var(--primary);
    font-size: 0.78rem;
    flex-shrink: 0;
}

.folder-stats-pill {
    background: rgba(1, 43, 141, 0.08);
    border: 1px solid rgba(1, 43, 141, 0.2);
    border-radius: 7px;
    padding: 0.35rem 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--primary);
}

.folder-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 0.55rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-folder-open {
    flex: 1;
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.btn-folder-open:hover {
    background: var(--primary-hover);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(1, 43, 141, 0.3);
}

/* Category Sub-Folder Tabs & Grid inside a Project Vault */
.vault-subfolder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.vault-subfolder-item {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.vault-subfolder-item:hover {
    border-color: var(--secondary);
    background: rgba(1, 160, 242, 0.04);
    transform: translateY(-2px);
}

.vault-subfolder-item.active {
    border-color: var(--primary);
    background: rgba(1, 43, 141, 0.08);
    box-shadow: 0 2px 8px rgba(1, 43, 141, 0.15);
}

.vault-subfolder-icon {
    font-size: 1.35rem;
    color: #F59E0B;
}

.vault-subfolder-item.active .vault-subfolder-icon {
    color: var(--primary);
}

.vault-subfolder-name {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vault-subfolder-count {
    font-size: 0.75rem;
    background: #F1F5F9;
    color: #475569;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 12px;
}

.vault-subfolder-item.active .vault-subfolder-count {
    background: var(--primary);
    color: #ffffff;
}

.vault-subfolder-item.has-files {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.03);
}

.vault-subfolder-item.has-files .vault-subfolder-count {
    background: #FEF3C7;
    color: #B45309;
}

/* Vault Document File Cards */
.vault-file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.1rem;
}

.vault-file-card {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 14px;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vault-file-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    border-color: rgba(1, 160, 242, 0.4);
}

.vault-file-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.vault-file-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.vault-file-info {
    flex: 1;
    min-width: 0;
}

.vault-file-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vault-file-meta {
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.vault-file-category-badge {
    font-size: 0.72rem;
    background: rgba(59, 130, 246, 0.1);
    color: #2563EB;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

.vault-file-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
}

/* ==========================================================================
   Stock Management & Warehouse Inventory Styles
   ========================================================================== */
.stock-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.15rem;
    margin-bottom: 1.75rem;
}

.stock-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.25rem;
}

.stock-card {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.stock-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
    border-color: rgba(1, 160, 242, 0.4);
}

.stock-card.low-stock-alert {
    border-color: rgba(239, 68, 68, 0.45);
}

.stock-card.low-stock-alert .stock-card-top {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}

.stock-card-top {
    padding: 1.1rem 1.25rem;
    background: #F8FAFC;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.stock-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stock-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 1rem;
}

.stock-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.83rem;
    color: var(--text-secondary);
}

.stock-card-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stock-card-meta-row i {
    width: 15px;
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.stock-meter {
    background: #F1F5F9;
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
    margin: 8px 0 4px 0;
    position: relative;
}

.stock-meter-fill {
    height: 100%;
    border-radius: 20px;
    transition: width 0.3s ease;
}

.stock-card-footer {
    border-top: 1px solid var(--border-color);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #FAFBFD;
}

.btn-stock-in {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.38rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-stock-in:hover {
    background: #059669;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.btn-stock-out {
    background: rgba(239, 68, 68, 0.12);
    color: #DC2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.38rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-stock-out:hover {
    background: #DC2626;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.category-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
}

.category-filter-btn {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.category-filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(1, 43, 141, 0.25);
}

.category-filter-btn .cat-count-pill {
    background: rgba(0, 0, 0, 0.08);
    font-size: 0.72rem;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
}

.category-filter-btn.active .cat-count-pill {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Vault Multi-File Dropzone & File Queue */
.vault-dropzone {
    border: 2px dashed rgba(1, 43, 141, 0.35);
    background: rgba(1, 43, 141, 0.02);
    border-radius: 14px;
    padding: 1.4rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.vault-dropzone:hover,
.vault-dropzone.drag-over {
    border-color: var(--primary);
    background: rgba(1, 43, 141, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 43, 141, 0.12);
}

.vault-dropzone.has-files {
    border-color: var(--secondary);
    background: rgba(1, 160, 242, 0.06);
}

.vault-queue-list {
    max-height: 190px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #FAFBFD;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vault-queue-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.82rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.vault-queue-item-info {
    min-width: 0;
    flex: 1;
}

.vault-queue-item-name {
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vault-queue-item-size {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

/* User Dashboard: Consultation Panel with Running Video on Right */
.consultation-video-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.75rem;
    align-items: stretch;
    width: 100%;
}

.consultation-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.consultation-video-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.65rem 1.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

@media (max-width: 992px) {
    .consultation-video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .consultation-card {
        padding: 1.75rem 1.35rem;
    }
    .consultation-video-card {
        padding: 1.35rem;
    }
}

/* ==========================================================================
   National Portal for Rooftop Solar - Verified Vendor Live Showcase
   ========================================================================== */
.national-portal-section {
    background: #F8FAFC;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.portal-badge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 0 4px;
}

.portal-badge-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.portal-gov-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #012B8D;
    color: #FFFFFF;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(1, 43, 141, 0.25);
}

.portal-sync-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #059669;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: portalPulse 2s infinite;
}

@keyframes portalPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.portal-updated-time {
    font-size: 0.82rem;
    color: #64748B;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* National Vendor Card (Exact replica of National Portal UI) */
.national-vendor-card {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.national-vendor-card:hover {
    box-shadow: 0 8px 30px rgba(1, 43, 141, 0.12);
}

.nvc-header {
    background: #F0F6FE;
    border-bottom: 1px solid #D8E6F8;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nvc-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nvc-gov-emblem {
    color: #012B8D;
    font-size: 1.15rem;
}

.nvc-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0A2540;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nvc-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nvc-badge-pill {
    background: #FFFFFF;
    color: #012B8D;
    border: 1px solid #BDD7F5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nvc-toggle-icon {
    color: #012B8D;
    font-size: 0.95rem;
}

/* Card Body */
.nvc-body {
    padding: 24px 28px;
}

/* Middle Contact & Action Row */
.nvc-middle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 1.75rem;
}

.nvc-contact-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nvc-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #012B8D;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(1, 43, 141, 0.25);
}

.nvc-detail-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nvc-detail-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748B;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nvc-phone-link {
    color: #012B8D;
    text-decoration: underline;
    font-size: 1.15rem;
    font-weight: 800;
    transition: color 0.2s ease;
}

.nvc-phone-link:hover {
    color: #01A0F2;
}

.nvc-select-vendor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #012B8D;
    color: #FFFFFF;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(1, 43, 141, 0.25);
    border: 1px solid #012B8D;
    transition: all 0.2s ease;
}

.nvc-select-vendor-btn:hover {
    background: #001F68;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(1, 43, 141, 0.35);
}

/* Stats Row */
.nvc-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.nvc-stat-col {
    padding: 6px 16px;
}

.nvc-stat-col:not(:last-child) {
    border-right: 1px solid #E2E8F0;
}

.nvc-stat-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748B;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.nvc-rating-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nvc-stars {
    color: #F59E0B;
    font-size: 1.1rem;
    display: inline-flex;
    gap: 2px;
}

.nvc-rating-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0F172A;
}

.nvc-stat-number {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.1;
}

/* Footer note below card */
.portal-verify-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: #64748B;
    padding: 0 4px;
}

@media (max-width: 768px) {
    .nvc-middle-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .nvc-select-vendor-btn {
        width: 100%;
        text-align: center;
    }
    .nvc-stats-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .nvc-stat-col:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
        padding-bottom: 1.25rem;
    }
    .nvc-header {
        padding: 12px 16px;
    }
    .nvc-body {
        padding: 18px 16px;
    }
}

/* ==========================================================================
   FORCE DESKTOP VIEW (FOR MOBILE DEVICES IN DESKTOP MODE)
   ========================================================================== */
html.force-desktop-view,
body.force-desktop-view {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
}

html.force-desktop-view .site-header,
body.force-desktop-view .site-header {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

html.force-desktop-view .container,
body.force-desktop-view .container {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    padding-left: 2cm !important;
    padding-right: 2cm !important;
    box-sizing: border-box !important;
}

html.force-desktop-view .menu-toggle,
body.force-desktop-view .menu-toggle {
    display: none !important;
}

html.force-desktop-view .logo-wrapper,
body.force-desktop-view .logo-wrapper,
.logo-wrapper {
    flex-shrink: 0 !important;
}

html.force-desktop-view .nav-menu,
body.force-desktop-view .nav-menu,
.nav-menu {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    width: auto !important;
    height: auto !important;
    margin-left: 3cm !important;
    margin-right: 3cm !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border-top: none !important;
    transform: none !important;
    left: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html.force-desktop-view .nav-link,
body.force-desktop-view .nav-link,
.nav-link {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    padding: 6px 2px !important;
}

html.force-desktop-view .nav-cta,
body.force-desktop-view .nav-cta,
.nav-cta {
    flex-shrink: 0 !important;
    display: flex !important;
}

@media (max-width: 1400px) {
    html.force-desktop-view .nav-menu,
    body.force-desktop-view .nav-menu,
    .nav-menu {
        margin-left: 3cm !important;
        margin-right: 3cm !important;
    }
}

@media (max-width: 980px), (max-aspect-ratio: 13/16) {
    html.force-desktop-view .nav-menu,
    body.force-desktop-view .nav-menu,
    .nav-menu {
        margin: 0 auto !important;
        gap: 8px !important;
        justify-content: center !important;
    }
    html.force-desktop-view .nav-link,
    body.force-desktop-view .nav-link,
    .nav-link {
        font-size: 0.84rem !important;
        padding: 4px 1px !important;
    }
}

html.force-desktop-view .d-none-mobile,
body.force-desktop-view .d-none-mobile {
    display: flex !important;
}

html.force-desktop-view .services-grid,
body.force-desktop-view .services-grid,
html.force-desktop-view .projects-grid,
body.force-desktop-view .projects-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

html.force-desktop-view .stats-grid,
body.force-desktop-view .stats-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

html.force-desktop-view .footer-grid,
body.force-desktop-view .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
}

/* Force 2-column side-by-side layout on portal.php (Login and Register side-by-side as on computer) */
html.force-desktop-view .contact-layout,
body.force-desktop-view .contact-layout {
    display: grid !important;
    grid-template-columns: 0.88fr 1.12fr !important;
    gap: 1.75rem !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html.force-desktop-view .contact-layout > div,
body.force-desktop-view .contact-layout > div {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html.force-desktop-view .contact-form-wrapper,
body.force-desktop-view .contact-form-wrapper {
    padding: 2.25rem 1.85rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
}

html.force-desktop-view .form-row,
body.force-desktop-view .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
}

/* Force 2-column layout in Document Vault (Upload card on left, Folder Explorer on right) */
html.force-desktop-view .dash-split-layout,
body.force-desktop-view .dash-split-layout {
    display: grid !important;
    grid-template-columns: 360px 1fr !important;
    gap: 2rem !important;
    align-items: start !important;
}

/* Force 2-column layout on split-layout and calc-grid */
html.force-desktop-view .split-layout,
body.force-desktop-view .split-layout {
    grid-template-columns: 1fr 1fr !important;
}

html.force-desktop-view .calc-grid,
body.force-desktop-view .calc-grid {
    grid-template-columns: 1fr 1fr !important;
}

/* Home Page (index.php) Desktop View Enforcement */
html.force-desktop-view .header,
body.force-desktop-view .header,
html.force-desktop-view .site-header,
body.force-desktop-view .site-header {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

html.force-desktop-view .navbar,
body.force-desktop-view .navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

html.force-desktop-view .hero-section,
body.force-desktop-view .hero-section {
    width: 100% !important;
    min-width: 0 !important;
}

html.force-desktop-view .hero-grid,
body.force-desktop-view .hero-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    align-items: center !important;
    gap: 2.5rem !important;
}

html.force-desktop-view .hero-content h1,
body.force-desktop-view .hero-content h1 {
    font-size: 3.5rem !important;
    line-height: 1.15 !important;
}

html.force-desktop-view .calc-grid-with-video,
body.force-desktop-view .calc-grid-with-video {
    display: grid !important;
    grid-template-columns: 1fr 1.08fr 1.25fr !important;
    gap: 1.75rem !important;
    align-items: stretch !important;
}

html.force-desktop-view .calc-video-box,
body.force-desktop-view .calc-video-box {
    grid-column: auto !important;
    margin-top: 0 !important;
}

html.force-desktop-view .nvc-middle-row,
body.force-desktop-view .nvc-middle-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}

html.force-desktop-view .nvc-select-vendor-btn,
body.force-desktop-view .nvc-select-vendor-btn {
    width: auto !important;
}

html.force-desktop-view .nvc-stats-row,
body.force-desktop-view .nvc-stats-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
}

html.force-desktop-view .nvc-stat-col:not(:last-child),
body.force-desktop-view .nvc-stat-col:not(:last-child) {
    border-right: 1px solid #E2E8F0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

html.force-desktop-view .footer-bottom,
body.force-desktop-view .footer-bottom {
    flex-direction: row !important;
    justify-content: space-between !important;
    text-align: left !important;
}

/* Custom Category Dropdown Component */
.custom-cat-native-select.custom-cat-initialized {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.custom-cat-dropdown-wrap {
    position: relative;
    width: 100%;
    user-select: none;
    font-family: inherit;
}

.custom-cat-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 0.5rem 0.85rem;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #111827;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    outline: none;
    text-align: left;
}

.custom-cat-trigger:hover {
    border-color: #9ca3af;
    background: #FAFAFA;
}

.custom-cat-dropdown-wrap.open .custom-cat-trigger {
    border-color: #012B8D;
    box-shadow: 0 0 0 3px rgba(1, 43, 141, 0.15);
    background: #ffffff;
}

.custom-cat-trigger-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-cat-chevron {
    font-size: 0.78rem;
    color: #6b7280;
    transition: transform 0.2s ease;
    margin-left: 8px;
    flex-shrink: 0;
}

.custom-cat-dropdown-wrap.open .custom-cat-chevron {
    transform: rotate(180deg);
    color: #012B8D;
}

.custom-cat-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 10050;
    max-height: 270px;
    overflow-y: auto;
    padding: 6px;
    display: none;
}

.custom-cat-dropdown-wrap.open .custom-cat-menu {
    display: block;
}

.custom-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.custom-cat-item:hover {
    background: #F1F5F9;
    color: #012B8D;
}

.custom-cat-item.selected {
    background: rgba(1, 43, 141, 0.09);
    color: #012B8D;
    font-weight: 600;
}

.custom-cat-item-img {
    height: 19px;
    width: auto;
    max-width: 35px;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

.custom-cat-item-emoji {
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    flex-shrink: 0;
}

.custom-cat-item-label {
    flex-grow: 1;
}

.custom-cat-item.selected .custom-cat-item-label::after {
    content: " ✓";
    float: right;
    font-weight: 700;
    color: #012B8D;
}





