/* ==========================================================================
   STYLE SHEET: NRUPUR PROJECTS INDUSTRIAL
   Premium Black & Gold Theme with Dual Light Mode and RFQ Estimator Utilities
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. DESIGN SYSTEM VARIABLES (Dual Theme Mapping)
   -------------------------------------------------------------------------- */
:root {
    /* DEFAULT DARK MODE (Obsidian Industrial Theme) */
    --bg-dark: #121212;      /* Industrial dark grey */
    --bg-darker: #080808;    /* Pure obsidian background */
    --bg-card: rgba(22, 22, 22, 0.65);
    --bg-card-hover: rgba(30, 30, 30, 0.85);
    
    /* Luxury Gold Palette */
    --gold-primary: #C5A059;
    --gold-secondary: #B38728;
    --gold-light: #FBF5B7;
    --gold-dark: #8A6421;
    --gold-gradient: linear-gradient(135deg, #A87E3B 0%, #FCF6BA 30%, #B38728 60%, #FBF5B7 85%, #8A6421 100%);
    --gold-text-grad: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    --gold-glow: 0 0 25px rgba(179, 135, 40, 0.25);
    
    /* Text and Lines */
    --text-light: #F3F4F6;
    --text-muted: #9CA3AF;
    --border-color: rgba(197, 160, 89, 0.2);
    --border-hover: rgba(251, 245, 183, 0.45);
    
    /* Fonts and Animation */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease-out;
}

/* --------------------------------------------------------------------------
   LIGHT MODE VARIABLES OVERRIDES
   -------------------------------------------------------------------------- */
html[data-theme="light"] {
    /* Clean Light Steel Theme */
    --bg-darker: #F3F4F6;    /* Soft steel-white */
    --bg-dark: #FFFFFF;      /* Pure white sections */
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    
    /* Luxury Gold Adjustments for Light Contrast */
    --gold-primary: #B38728;
    --gold-secondary: #9B701F;
    --gold-light: #AA771C;
    --gold-dark: #5C4314;
    --gold-gradient: linear-gradient(135deg, #B38728 0%, #E6C875 40%, #B38728 100%);
    --gold-text-grad: linear-gradient(135deg, #9B701F 0%, #C5A059 50%, #9B701F 100%);
    --gold-glow: 0 5px 25px rgba(179, 135, 40, 0.15);
    
    /* Text and Lines */
    --text-light: #1F2937;    /* Deep charcoal */
    --text-muted: #556677;    /* Muted steel-slate */
    --border-color: rgba(179, 135, 40, 0.3);
    --border-hover: rgba(179, 135, 40, 0.6);
}

/* --------------------------------------------------------------------------
   1. RESET & BASE
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

.section-padding {
    padding: 120px 0;
}

.dark-bg {
    background-color: var(--bg-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.25;
}

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

p {
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.4s ease;
}

/* Utility classes */
.text-gold {
    background: var(--gold-text-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

.hover-gold:hover {
    color: var(--gold-primary) !important;
}

.hidden {
    display: none !important;
}

/* --------------------------------------------------------------------------
   2. SCROLL PROGRESS & LUXURY CURSOR GLOW
   -------------------------------------------------------------------------- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gold-gradient);
    width: 0%;
    z-index: 9999;
}

.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, rgba(197, 160, 89, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: transform 0.1s ease-out;
}

/* --------------------------------------------------------------------------
   3. REVEAL ANIMATIONS ON SCROLL
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* --------------------------------------------------------------------------
   4. NAVIGATION HEADER
   -------------------------------------------------------------------------- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background-color: transparent;
    transition: var(--transition-smooth);
}

#header.scrolled {
    padding: 12px 0;
    background-color: var(--bg-dark);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    aria-label: Header Navigation Menu Container;
    align-items: center;
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 52px;
    height: 52px;
    border-radius: 50%; /* Converts the black square background into a perfect circle */
    border: 1px solid var(--border-color);
    object-fit: cover;
    box-shadow: var(--gold-glow);
    transition: var(--transition-smooth);
}

.logo-img-small {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* Hover effects */
.logo:hover .logo-img {
    transform: scale(1.05) rotate(5deg);
    border-color: var(--gold-primary);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.45);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-light);
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold-primary);
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold-gradient);
    transition: var(--transition-smooth);
}

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

.nav-link.active {
    color: var(--gold-primary);
}

/* Custom button navigation navlink */
.btn-nav {
    border: 1px solid var(--gold-primary);
    padding: 8px 20px !important;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.1);
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background: var(--gold-gradient);
    color: var(--bg-darker) !important;
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
}

/* --------------------------------------------------------------------------
   THEME SWITCH TOGGLE BUTTON STYLING
   -------------------------------------------------------------------------- */
.theme-switch-container {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.theme-switch {
    display: inline-block;
    height: 28px;
    position: relative;
    width: 54px;
    cursor: pointer;
}

.theme-switch input {
    display: none;
}

.slider-toggle {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 34px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    font-size: 0.75rem;
}

.slider-toggle::before {
    background: var(--gold-gradient);
    border-radius: 50%;
    content: "";
    height: 18px;
    width: 18px;
    position: absolute;
    left: 4px;
    bottom: 4px;
    transition: var(--transition-smooth);
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Slide transformations on checked */
input:checked + .slider-toggle::before {
    transform: translateX(26px);
}

.icon-moon {
    color: var(--gold-primary);
    z-index: 1;
}

.icon-sun {
    color: var(--text-muted);
    z-index: 1;
}

input:checked + .slider-toggle .icon-moon {
    color: var(--text-muted);
}

input:checked + .slider-toggle .icon-sun {
    color: var(--gold-primary);
}

/* Mobile hamburger button */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--gold-primary);
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-darker);
    border: none;
    box-shadow: 0 5px 25px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.5);
}

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

.btn-secondary:hover {
    background-color: rgba(197, 160, 89, 0.05);
    border-color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.1);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/project_peb_steel_erection.png');
    background-size: cover;
    background-position: center 25%; /* Frame the massive yellow crane and blue steel frame perfectly */
    overflow: hidden;
    padding-top: 100px;
}

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

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(7, 7, 7, 0.25) 0%, rgba(7, 7, 7, 0.75) 100%);
    z-index: 2;
}

/* Light mode overlay adjustments */
html[data-theme="light"] .hero-bg-overlay {
    background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.5) 0%, rgba(243, 244, 246, 0.96) 90%);
}

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

.hero-content {
    max-width: 720px;
}

.hero-subtitle {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 5px;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 24px;
    animation: trackingIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    margin-bottom: 24px;
    line-height: 1.15;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero-description {
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    color: #e5e7eb; /* Brighter slate white for extra pop in front of video background */
    margin-bottom: 40px;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

/* Scroll down indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
    cursor: pointer;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--gold-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouseWheel 1.6s infinite ease-out;
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.scroll-down-indicator:hover .scroll-text {
    color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   7. STATISTICS SECTION
   -------------------------------------------------------------------------- */
.stats-section {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 60px 24px;
}

.stat-card {
    text-align: center;
    border-right: 1px solid rgba(197, 160, 89, 0.15);
    padding: 0 10px;
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 5px rgba(197, 160, 89, 0.2));
}

.stat-number-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--text-light);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number {
    font-family: var(--font-heading);
    background: var(--gold-text-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-suffix {
    color: var(--gold-primary);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8. SECTION HEADERS
   -------------------------------------------------------------------------- */
.section-header {
    margin-bottom: 60px;
}

.section-tagline {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--gold-primary);
    display: block;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--text-light);
}

.section-subtitle {
    margin-top: 16px;
    font-size: 1.05rem;
    max-width: 650px;
}

.section-header.center-align .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   9. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.visual-stack {
    position: relative;
    padding-right: 40px;
    padding-bottom: 40px;
}

.main-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gold-border-decor {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--gold-primary);
    border-radius: 6px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.65;
}

.about-img-main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

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

.floating-badge {
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 24px 32px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    z-index: 3;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    transition: background-color 0.4s ease;
}

.badge-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gold-text-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.badge-txt {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.about-text {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

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

.pillar-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold-primary);
    font-size: 1.3rem;
    box-shadow: var(--gold-glow);
}

.pillar-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.pillar-text p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.12), 0 0 30px rgba(0,0,0,0.1);
    background-color: var(--bg-card-hover);
}

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

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-icon-floating {
    position: absolute;
    bottom: -25px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-darker);
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(179, 135, 40, 0.3);
    z-index: 2;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-floating {
    transform: rotate(360deg);
}

.service-content {
    padding: 40px 32px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 16px;
    transition: var(--transition-fast);
}

.service-card:hover .service-content h3 {
    color: var(--gold-primary);
}

.service-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-list {
    list-style: none;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li i {
    color: var(--gold-primary);
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   11. NEW INTERACTIVE FEATURE: DYNAMIC RFQ ESTIMATOR STYLING
   -------------------------------------------------------------------------- */
.estimator-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--gold-glow);
}

.estimator-inputs {
    padding: 50px;
    background-color: var(--bg-dark);
}

.estimator-inputs h3, .estimator-outputs h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.est-group {
    margin-bottom: 36px;
}

.est-group label {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 12px;
}

.est-group select {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 14px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

html[data-theme="light"] .est-group select {
    background-color: #FFFFFF;
}

.est-group select:focus {
    border-color: var(--gold-primary);
    background-color: rgba(197, 160, 89, 0.05);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.slider-header label {
    margin-bottom: 0;
}

.slider-val {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
}

/* Custom premium range slider */
.range-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: var(--transition-fast);
}

html[data-theme="light"] .range-slider {
    background: rgba(0, 0, 0, 0.1);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold-gradient);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(179, 135, 40, 0.4);
    transition: transform 0.1s ease;
}

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

.slider-limits {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Checkbox group specs */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-container {
    display: block;
    position: relative;
    padding-left: 36px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 22px;
}

.check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition-fast);
}

html[data-theme="light"] .checkmark {
    background-color: #FFFFFF;
}

.check-container:hover input ~ .checkmark {
    border-color: var(--gold-primary);
}

.check-container input:checked ~ .checkmark {
    background: var(--gold-gradient);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(179, 135, 40, 0.3);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.check-container input:checked ~ .checkmark::after {
    display: block;
}

.check-container .checkmark::after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid var(--bg-darker);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Output Live pane style */
.estimator-outputs {
    padding: 50px;
    background-color: rgba(197, 160, 89, 0.03);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.output-divider {
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 24px;
}

.out-card {
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--gold-glow);
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

html[data-theme="light"] .out-card {
    background: #FFFFFF;
}

.out-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.out-val {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 900;
    display: block;
    margin-bottom: 6px;
}

.out-card p {
    font-size: 0.75rem;
    font-weight: 700;
}

.out-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.sub-out-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 16px 8px;
    text-align: center;
}

.sub-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.sub-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-light);
}

/* --------------------------------------------------------------------------
   12. NEW INTERACTIVE FEATURE: ROADMAP TIMELINE
   -------------------------------------------------------------------------- */
.roadmap-tabs {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 50px;
}

.roadmap-tab {
    background: none;
    border: none;
    border-bottom: 2px solid var(--border-color);
    padding: 20px 10px;
    cursor: pointer;
    flex: 1;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
    outline: none;
}

.roadmap-tab:hover {
    border-bottom-color: var(--gold-primary);
}

.roadmap-tab.active {
    border-bottom-color: var(--gold-primary);
}

.tab-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--border-color);
    line-height: 1;
    transition: var(--transition-fast);
}

.roadmap-tab.active .tab-num,
.roadmap-tab:hover .tab-num {
    color: var(--gold-primary);
    text-shadow: var(--gold-glow);
}

.tab-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.roadmap-tab.active .tab-title,
.roadmap-tab:hover .tab-title {
    color: var(--text-light);
}

/* Active Phase Board design */
.roadmap-board {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 48px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.board-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

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

.board-phase-tag {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.board-title {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    color: var(--text-light);
}

.board-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 24px 0;
}

.board-desc {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.board-bullets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.board-bullets span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.board-media {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.board-media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.board-media:hover img {
    transform: scale(1.05);
}

.board-stat {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(7, 7, 7, 0.85);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 4px;
    text-align: center;
    backdrop-filter: blur(8px);
}

html[data-theme="light"] .board-stat {
    background: rgba(255, 255, 255, 0.9);
}

.bs-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.bs-val {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   13. PORTFOLIO SHOWCASE SECTION
   -------------------------------------------------------------------------- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    color: var(--text-light);
    border-color: var(--gold-primary);
    background-color: rgba(197, 160, 89, 0.05);
}

.filter-btn.active {
    background: var(--gold-gradient);
    color: var(--bg-darker);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    min-height: 400px;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-item.hidden-item {
    display: none !important;
}

.portfolio-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* Portfolio Overlay hover */
.portfolio-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(7, 7, 7, 0.95) 0%, rgba(7, 7, 7, 0.6) 50%, rgba(7, 7, 7, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    z-index: 2;
}

html[data-theme="light"] .portfolio-hover-overlay {
    background: linear-gradient(0deg, rgba(243, 244, 246, 0.98) 0%, rgba(243, 244, 246, 0.65) 50%, rgba(243, 244, 246, 0.1) 100%);
}

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

.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.1);
}

.portfolio-detail-btn {
    width: 48px;
    height: 48px;
    background-color: var(--gold-primary);
    color: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-left: auto;
    transform: scale(0.6) rotate(-45deg);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.4);
}

.portfolio-item:hover .portfolio-detail-btn {
    transform: scale(1) rotate(0);
}

.portfolio-meta {
    transform: translateY(20px);
    transition: var(--transition-smooth);
    transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-meta {
    transform: translateY(0);
}

.project-tag {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 8px;
}

.portfolio-meta h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.project-loc {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-loc i {
    color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   14. TESTIMONIALS SLIDER SECTION
   -------------------------------------------------------------------------- */
.testimonial-slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 60px 40px 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.quote-decor {
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 4rem;
    color: rgba(197, 160, 89, 0.08);
    line-height: 1;
    pointer-events: none;
}

.testimonial-slider {
    position: relative;
    min-height: 220px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
}

.testimonial-rating {
    display: flex;
    gap: 6px;
    color: var(--gold-primary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    padding-top: 30px;
}

.control-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.control-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background-color: rgba(197, 160, 89, 0.05);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.25);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--gold-primary);
    transform: scale(1.4);
    box-shadow: var(--gold-glow);
}

/* --------------------------------------------------------------------------
   15. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: start;
}

.contact-lead-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 20px;
}

.contact-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.contact-icon {
    width: 52px;
    height: 52px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--gold-glow);
}

.contact-txt span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.contact-txt a, .contact-txt p {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Map Mockup */
.map-mockup {
    margin-top: 50px;
    height: 250px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: #121212;
    background-image: radial-gradient(rgba(197, 160, 89, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
    position: relative;
    overflow: hidden;
}

html[data-theme="light"] .map-mockup {
    background-color: #FFFFFF;
    background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 0);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: radial-gradient(circle, rgba(7, 7, 7, 0.4) 0%, rgba(7, 7, 7, 0.85) 90%);
}

html[data-theme="light"] .map-overlay {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(243, 244, 246, 0.85) 90%);
}

.map-pin {
    position: relative;
    width: 20px;
    height: 20px;
    margin-bottom: 12px;
}

.pin-inner {
    width: 14px;
    height: 14px;
    background-color: var(--gold-primary);
    border: 2px solid var(--text-light);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 2;
    box-shadow: 0 0 10px var(--gold-primary);
}

.pin-pulse {
    width: 40px;
    height: 40px;
    background-color: rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: -10px;
    animation: mapPulse 2s infinite ease-out;
}

.map-label {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.map-label strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-light);
}

.map-label span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Luxury Interactive Form */
.luxury-form {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 48px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.luxury-form h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.luxury-form p {
    font-size: 0.9rem;
    margin-bottom: 36px;
}

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

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: none;
    border-bottom: 1.5px solid var(--border-color);
    padding: 12px 0 10px 10px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
    border-radius: 4px 4px 0 0;
}

html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea,
html[data-theme="light"] .form-group select {
    background-color: rgba(0, 0, 0, 0.02);
}

.form-group textarea {
    resize: none;
}

/* Float labels */
.form-group label {
    position: absolute;
    top: 12px;
    left: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

/* Select specific design */
.form-group select {
    cursor: pointer;
    background-color: transparent;
    border-radius: 0;
}

.form-group select option {
    background-color: var(--bg-darker);
    color: var(--text-light);
}

/* Floating labels effect */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -15px;
    left: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold-primary);
    background-color: rgba(197, 160, 89, 0.03);
}

/* Custom error message */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #cc3333;
    background-color: rgba(204, 51, 51, 0.02);
}

.error-msg {
    position: absolute;
    bottom: -18px;
    left: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #cc3333;
    opacity: 0;
    transition: var(--transition-fast);
}

.form-group.error .error-msg {
    opacity: 1;
}

/* Custom processing state on buttons */
.btn-loader {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-darker);
    padding: 80px 0 0;
    position: relative;
    z-index: 2;
    transition: background-color 0.4s ease;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.footer-bio {
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: var(--gold-glow);
}

.footer-links h4,
.footer-newsletter h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 24px;
}

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

.footer-links ul li a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Newsletter Input Form */
.newsletter-form {
    display: flex;
    position: relative;
    border-bottom: 1.5px solid var(--border-color);
}

.newsletter-form input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: var(--text-light);
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.newsletter-form button {
    background: none;
    border: none;
    color: var(--gold-primary);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    transform: translateX(3px) scale(1.1);
}

/* Footer Bottom credits bar */
.footer-bottom {
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    padding: 30px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a:hover {
    color: var(--text-light);
}

/* --------------------------------------------------------------------------
   17. PORTFOLIO DETAILS MODAL
   -------------------------------------------------------------------------- */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 7, 0.9);
    backdrop-filter: blur(10px);
}

html[data-theme="light"] .modal-overlay {
    background-color: rgba(255, 255, 255, 0.85);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    z-index: 2;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}

.portfolio-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    color: var(--gold-primary);
    transform: scale(1.1);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image-pane {
    height: 100%;
    min-height: 480px;
    position: relative;
}

.modal-image-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-info-pane {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-dark);
}

.modal-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 12px;
    display: block;
}

.modal-title {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.modal-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.modal-sep {
    border: none;
    border-top: 1px solid rgba(197, 160, 89, 0.15);
    margin-bottom: 24px;
}

.modal-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.modal-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(197, 160, 89, 0.15);
    padding-left: 12px;
}

.spec-item:first-child {
    border-left: none;
    padding-left: 0;
}

.spec-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.spec-val {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   18. TOAST NOTIFICATION STYLING
   -------------------------------------------------------------------------- */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--gold-primary);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    color: var(--text-light);
    font-size: 0.9rem;
    width: 350px;
    backdrop-filter: blur(10px);
    transform: translateY(50px);
    opacity: 0;
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: var(--transition-smooth);
}

html[data-theme="light"] .toast {
    background: rgba(255, 255, 255, 0.95);
}

.toast-icon {
    font-size: 1.3rem;
    color: var(--gold-primary);
}

.toast-content h5 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.toast-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.toast-close:hover {
    color: var(--text-light);
}

/* --------------------------------------------------------------------------
   19. KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes trackingIn {
    0% {
        letter-spacing: -3px;
        opacity: 0;
    }
    100% {
        letter-spacing: 5px;
        opacity: 1;
    }
}

@keyframes scrollMouseWheel {
    0% {
        top: 6px;
        opacity: 1;
        height: 6px;
    }
    50% {
        top: 18px;
        opacity: 0.4;
        height: 10px;
    }
    100% {
        top: 24px;
        opacity: 0;
        height: 4px;
    }
}

@keyframes mapPulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes toastSlideIn {
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   20. RESPONSIVENESS (MOBILE BREAKPOINTS)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .section-padding {
        padding: 90px 0;
    }
    .about-container,
    .contact-container,
    .estimator-grid,
    .board-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .about-visual {
        max-width: 550px;
        margin: 0 auto;
    }
    .services-grid {
        gap: 30px;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .estimator-outputs {
        border-left: none;
        border-top: 1px solid var(--border-color);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }
    #header {
        padding: 16px 0;
    }
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-darker);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: var(--transition-smooth);
        z-index: 1000;
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.05rem;
    }

    .btn-nav {
        width: 80%;
        text-align: center;
    }
    
    .hero-section {
        text-align: center;
        padding-top: 140px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-ctas {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        padding: 40px 20px;
    }
    
    .stat-card {
        border-right: none;
    }
    
    .stat-card:nth-child(odd) {
        border-right: 1px solid rgba(197, 160, 89, 0.15);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .roadmap-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .roadmap-tab {
        flex: auto;
        width: 45%;
        padding: 12px 6px;
    }
    
    .roadmap-board {
        padding: 30px 20px;
    }
    
    .board-media img {
        height: 220px;
    }

    .luxury-form {
        padding: 30px 20px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-image-pane {
        height: 250px;
        min-height: auto;
    }
    
    .modal-info-pane {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .modal-specs {
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    .stat-card:nth-child(odd) {
        border-right: none;
    }
    .stat-card {
        border-bottom: 1px solid rgba(197, 160, 89, 0.1);
        padding-bottom: 20px;
    }
    .stat-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .floating-badge {
        padding: 16px 20px;
    }
    .badge-num {
        font-size: 1.8rem;
    }
    .roadmap-tab {
        width: 100%;
    }
    .out-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-slider-container {
        padding: 40px 20px 20px;
    }
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   21. VISION BOX STYLING
   -------------------------------------------------------------------------- */
.vision-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 40px;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-card);
    box-shadow: var(--gold-glow);
}

.vision-icon {
    width: 54px;
    height: 54px;
    background-color: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: var(--gold-glow);
}

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

.vision-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.vision-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   22. LEADERSHIP CORE TEAM STYLING
   -------------------------------------------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.12), 0 0 30px rgba(0,0,0,0.15);
    background-color: var(--bg-card-hover);
}

.team-img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.team-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.member-role {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.team-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.member-experience {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-experience i {
    color: var(--gold-primary);
}

.member-bio {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   23. INDUSTRIAL PROJECT LEDGER STYLING
   -------------------------------------------------------------------------- */
.ledger-heading {
    font-size: 1.6rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.table-wrapper {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.ledger-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
    min-width: 800px;
}

.ledger-table th, .ledger-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    transition: var(--transition-fast);
}

.ledger-table th {
    background-color: rgba(197, 160, 89, 0.05);
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: var(--gold-primary);
}

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

.ledger-table tbody tr:hover td {
    background-color: rgba(197, 160, 89, 0.02);
    color: var(--text-light);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.completed {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.status-badge.ongoing {
    background-color: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.2);
}

/* Responsive tweaks for Team & Vision */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .vision-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
}

/* --------------------------------------------------------------------------
   24. CORE MANAGEMENT TEAM STYLING
   -------------------------------------------------------------------------- */
.mgmt-heading-container {
    margin-top: 80px;
    margin-bottom: 40px;
}

.mgmt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .mgmt-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

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

/* --------------------------------------------------------------------------
   25. INDUSTRIAL CAPACITY & ISO CERTIFICATIONS STYLING
   -------------------------------------------------------------------------- */
.capacity-section {
    position: relative;
    overflow: hidden;
}

.capacity-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.capacity-grid-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.capacity-feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 22px;
    display: flex;
    gap: 20px;
    transition: var(--transition-smooth);
}

.capacity-feature-card:hover {
    border-color: var(--gold-primary);
    transform: translateX(6px);
    background-color: var(--bg-card-hover);
    box-shadow: var(--gold-glow);
}

.capacity-feature-icon {
    width: 46px;
    height: 46px;
    background-color: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.capacity-feature-info h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}

.capacity-feature-info p {
    font-size: 0.85rem;
    line-height: 1.55;
}

/* Certificate Card styling */
.cert-card-wrapper {
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.35);
    background-color: var(--bg-card);
    transition: var(--transition-smooth);
}

.cert-card-wrapper:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--gold-glow);
    transform: translateY(-6px);
}

.cert-img-container {
    height: 400px;
    overflow: hidden;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    padding: 10px;
}

.cert-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.cert-card-wrapper:hover .cert-img-container img {
    transform: scale(1.04);
}

.cert-info-box {
    padding: 24px;
}

.cert-badge-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.cert-badge {
    background-color: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.cert-info-box h3 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.cert-info-box p {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 12px;
}

.cert-registrar {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    padding-top: 12px;
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 1024px) {
    .capacity-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .cert-img-container {
        height: 360px;
    }
}

/* Collapsible Project Experience Ledger Accordion */
.ledger-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}
.ledger-header-text {
    flex: 1;
    min-width: 300px;
}
.collapsible-ledger {
    max-height: 2500px;
    opacity: 1;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin-top 0.4s ease;
    overflow-x: auto;
    overflow-y: hidden;
}
.collapsible-ledger.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0 !important;
    border-color: transparent !important;
    pointer-events: none;
}
#toggle-ledger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}
#toggle-ledger-btn:hover {
    background: var(--gold-gradient);
    color: var(--bg-darker);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}
