/* ==========================================================================
   1. BRAND ARCHETYPE VARIABLES (FUTURISTIC INDUSTRIAL GRADE)
   ========================================================================== */
:root {
    /* Precise color extractions from SLA Constrcution India Logo Official.jpg */
    --charcoal: #1A1A1A;          
    --charcoal-dark: #111111;     
    --charcoal-light: #252525;    
    
    --ins-blue: #0056A4;          
    --ins-blue-glow: rgba(0, 86, 164, 0.20);
    --ins-blue-dark: #003F78;
    
    --amber: #E8771A;             
    --amber-glow: rgba(232, 119, 26, 0.35);
    --amber-hover: #D0630F;       
    
    --light-bg: #F8F9FA;          
    --dark-muted: #202124;        
    --white: #FFFFFF;
    
    --neon-glow: 0 0 25px var(--amber-glow);
    --blue-glow: 0 0 20px var(--ins-blue-glow);
    --3d-shadow: 0 15px 35px rgba(26, 26, 26, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    --hover-3d: 0 25px 50px rgba(26, 26, 26, 0.12), 0 10px 20px var(--ins-blue-glow);
    
    --hazard-stripes: repeating-linear-gradient(45deg, var(--amber), var(--amber-hover) 10px, var(--charcoal) 10px, var(--charcoal) 20px);
}

/* ==========================================================================
   2. GLOBAL ANTI-HORIZONTAL SCROLL STRUCTURE & TYPOGRAPHY SCALE
   ========================================================================== */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important; /* PREVENTS WHITE HORIZONTAL SCROLL ENTIRELY */
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif; /* High-end corporate readability standard */
    color: var(--dark-muted);
    background-color: var(--light-bg);
    line-height: 1.65;
}

/* Premium High-Contrast Architectural Typography Scale */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif; /* Sharp engineering layout weight */
    font-weight: 800;
    text-transform: uppercase;
}

/* FIXED: Removed the global negative letter-spacing to allow premium spacing selectors */
.fw-black { font-weight: 900; }
.tracking-wider { letter-spacing: 2px !important; }
.tracking-wide { letter-spacing: 1px !important; }

/* PREMIUM HIGH-FIDELITY TRACKING FOR SLA TITLE */
.hero-main-title {
    letter-spacing: 2px !important; /* High-end wide structural gap style */
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Visual Graphic Grids */
.architectural-blueprint-grid {
    background-image: 
        linear-gradient(rgba(0, 86, 164, 0.015) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(0, 86, 164, 0.015) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
}

.structural-industrial-mesh {
    background-image: 
        linear-gradient(rgba(232, 119, 26, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 119, 26, 0.012) 1px, transparent 1px);
    background-size: 16px 16px;
}

.positional-cad-grid {
    background-image: radial-gradient(rgba(26, 26, 26, 0.03) 1.2px, transparent 0);
    background-size: 22px 22px;
}

/* Custom Semantic Color Utilities */
.text-charcoal { color: var(--charcoal); }
.bg-charcoal { background-color: var(--charcoal) !important; }
.text-ins-blue { color: var(--ins-blue) !important; }
.bg-ins-blue { background-color: var(--ins-blue) !important; }
.text-amber { color: var(--amber) !important; }
.bg-amber { background-color: var(--amber) !important; }
.text-light-50 { color: rgba(255, 255, 255, 0.65) !important; }

.py-6, .section-padding {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

/* ==========================================================================
   3. TOP BAR AREA
   ========================================================================== */
.top-bar {
    background: linear-gradient(90deg, var(--charcoal-dark) 0%, var(--charcoal) 100%);
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 2px solid var(--ins-blue);
    letter-spacing: 0.5px;
}

.top-bar span i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar span:hover i {
    transform: scale(1.15) rotate(8deg);
}

.social-links a {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    color: var(--amber) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   4. NAVIGATION MENU & MOBILE TOGGLER LOGIC
   ========================================================================== */
.main-navbar {
    background-color: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
    box-shadow: var(--3d-shadow);
}

.main-navbar .navbar-toggler {
    border: 2px solid var(--charcoal) !important;
    padding: 6px 10px;
}

.main-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 26, 26, 1%29' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.brand-logo-box {
    width: 52px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

.navbar-brand:hover .brand-logo-box {
    transform: scale(1.05);
}

.block-brand {
    font-size: 1.35rem;
    color: var(--charcoal);
    display: block;
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: 1.5px !important; /* Premium corporate look for nav brand */
}

.brand-tagline {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.main-navbar .nav-link {
    color: rgba(26, 26, 26, 0.85) !important;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 10px;
    padding: 6px 0 !important;
    position: relative;
    transition: color 0.3s ease;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--ins-blue);
    box-shadow: 0 0 10px var(--ins-blue-glow);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    width: 100%;
    background-color: var(--amber);
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--ins-blue) !important;
}

.btn-nav {
    background: linear-gradient(135deg, var(--ins-blue) 0%, var(--ins-blue-dark) 100%) !important;
    border: none !important;
    border-radius: 6px;
    font-weight: 800 !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(0, 86, 164, 0.2);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* ==========================================================================
   5. HERO ARCHITECTURE & SYNCED INTERFACE BUTTON TOKEN PARAMETERS
   ========================================================================== */
.hero-section {
    min-height: 75vh;
    background: linear-gradient(135deg, var(--charcoal-dark) 0%, var(--charcoal) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 86, 164, 0.06) 1px, transparent 0);
    background-size: 24px 24px;
    top: 0;
    left: 0;
    pointer-events: none;
}

.btn-hero-sync {
    min-width: 210px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-warning.btn-hero-sync {
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-hover) 100%);
    border: none;
    color: var(--white) !important;
}

.btn-warning.btn-hero-sync:hover {
    transform: translateY(-2px);
    box-shadow: var(--neon-glow) !important;
}

.btn-outline-light.btn-hero-sync {
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light.btn-hero-sync:hover {
    background: var(--white);
    color: var(--charcoal) !important;
    transform: translateY(-2px);
}

/* CAD Technical Corner Crosshairs */
.cad-crosshair {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--amber);
    z-index: 5;
    pointer-events: none;
}
.cad-tl { top: -8px; left: -8px; border-right: none; border-bottom: none; }
.cad-tr { top: -8px; right: -8px; border-left: none; border-bottom: none; }
.cad-bl { bottom: -8px; left: -8px; border-right: none; border-top: none; }
.cad-br { bottom: -8px; right: -8px; border-left: none; border-top: none; }

/* DYNAMIC CIVIL VIDEO INLINE FRAMES */
.sleek-civil-frame {
    width: 100%;
    max-width: 520px; 
    height: 295px !important; 
    background: #000;
    position: relative;
    z-index: 2;
}

/* Border Framework Directly Synced */
.hero-img-container::before {
    content: '';
    position: absolute;
    width: 100%;
    max-width: 520px;
    height: 295px; 
    border: 3px solid var(--ins-blue);
    top: 15px;
    left: 15px;
    z-index: 1;
    border-radius: 14px;
    pointer-events: none;
}

.video-facade-preview-panel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video-overlay-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.45);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-play-btn-industrial, .play-btn-industrial {
    width: 62px;
    height: 62px;
    background: var(--amber);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    padding-left: 5px; 
    box-shadow: var(--neon-glow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: industrialPulse 2s infinite alternate;
}

.hero-video-tag {
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.video-facade-preview-panel:hover .main-hero-img,
.video-facade-preview-panel:hover .style-tender-video-thumb {
    transform: scale(1.04);
}

.video-facade-preview-panel:hover .hero-video-overlay-play,
.video-facade-preview-panel:hover .video-overlay-play {
    background: rgba(0, 86, 164, 0.4); 
}

.video-facade-preview-panel:hover .hero-play-btn-industrial,
.video-facade-preview-panel:hover .play-btn-industrial {
    background: var(--white);
    color: var(--ins-blue);
    transform: scale(1.08);
    box-shadow: var(--blue-glow);
}

@keyframes industrialPulse {
    0% { box-shadow: 0 0 4px var(--amber-glow); }
    100% { box-shadow: 0 0 20px var(--amber); }
}

.main-hero-img, .style-tender-video-thumb {
    object-fit: cover;
    height: 100% !important;
    width: 100% !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-img-container {
    position: relative;
    z-index: 1;
    max-width: 520px; 
}

/* ==========================================================================
   6. CARDS & MECHANICAL HOVERS
   ========================================================================== */
.service-card {
    background: var(--white);
    border: 1px solid rgba(26, 26, 26, 0.05) !important;
    box-shadow: var(--3d-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border-radius: 12px !important;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-dark) 100%);
    color: var(--amber);
    box-shadow: 0 6px 15px rgba(26, 26, 26, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ins-blue) 0%, var(--amber) 100%);
    transition: width 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--hover-3d) !important;
    border-color: rgba(0, 86, 164, 0.25) !important;
}

.service-card:hover .service-icon-box {
    background: linear-gradient(135deg, var(--ins-blue) 0%, var(--ins-blue-dark) 100%) !important;
    color: var(--white) !important;
    transform: scale(1.1) rotate(10deg);
}

.service-card:hover .card-hover-border {
    width: 100%;
}

.shadow-hover {
    background: var(--white);
    border-left: 4px solid rgba(0, 86, 164, 0.1) !important;
    box-shadow: var(--3d-shadow);
    transition: all 0.3s ease;
    border-radius: 10px !important;
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-3d);
    border-left-color: var(--amber) !important;
}

/* ==========================================================================
   7. HIGHWAY ROADMAP SYSTEM
   ========================================================================== */
.roadmap-responsive-carrier {
    width: 100%;
    position: relative;
    overflow-x: auto;
    height: 540px; 
    display: flex;
    justify-content: center;
    scrollbar-width: none;
}
.roadmap-responsive-carrier::-webkit-scrollbar {
    display: none;
}

.roadmap-wrapper {
    width: 960px;
    height: 540px;
    position: absolute;
    top: 0;
}

.road-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 20px rgba(26, 26, 26, 0.04));
}

.step-chevron {
    position: absolute;
    top: 54px; 
    width: 160px; 
    height: 72px;  
    display: flex;
    align-items: center;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-dir-right {
    margin-right: -11px;
    clip-path: polygon(0% 0%, calc(100% - 11px) 0%, 100% 50%, calc(100% - 11px) 100%, 0% 100%, 11px 50%);
}

.step-dir-left {
    margin-left: -11px;
    clip-path: polygon(11px 0%, 100% 0%, calc(100% - 11px) 50%, 100% 100%, 11px 100%, 0% 50%);
}

.hw-yellow { background-color: var(--amber) !important; }
.hw-navy { background-color: var(--ins-blue) !important; }

.hw-start {
    width: 150px;
    background: linear-gradient(135deg, #E63946 0%, #B51A27 100%) !important;
    font-size: 0.95rem;
    font-weight: 900;
    clip-path: polygon(0% 0%, calc(100% - 11px) 0%, 100% 50%, calc(100% - 11px) 100%, 0% 100%) !important;
}

.hw-finish {
    width: 150px;
    background: linear-gradient(135deg, #2A9D8F 0%, #136359 100%) !important;
    font-size: 0.95rem;
    font-weight: 900;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 11px 50%) !important;
}

.step-inside {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 18px; 
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
}

.step-chevron:hover {
    transform: translateY(-4px) scale(1.04);
    z-index: 25;
}

/* ==========================================================================
   8. GOVERNMENT TENDER SYSTEMS & TENDER FIELD CONFIG
   ========================================================================== */
.tender-matrix-bg {
    position: relative;
    background-color: #F1F5F9 !important; 
    border-top: 1px dashed rgba(0, 86, 164, 0.15);
    border-bottom: 1px dashed rgba(0, 86, 164, 0.15);
}

.tender-matrix-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 86, 164, 0.05) 1.5px, transparent 0);
    background-size: 16px 16px;
    top: 0;
    left: 0;
    pointer-events: none;
}

.tender-capability-tag {
    background: var(--white) !important;
    border: 1px solid rgba(0, 86, 164, 0.08) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tender-capability-tag:hover {
    transform: translateX(6px);
    border-color: var(--amber) !important;
    box-shadow: var(--3d-shadow);
}

.tender-hq-box {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-dark) 100%) !important;
    border-bottom: 6px solid var(--ins-blue);
    box-shadow: var(--hover-3d) !important;
    max-width: 440px;
}

.hazard-tape-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--hazard-stripes);
}

.video-thumb-wrapper {
    background: #000;
}

.video-overlay-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.4);
    transition: all 0.4s ease;
}

/* ==========================================================================
   9. GEOMETRIC ARCHITECTURAL SEGMENTS & LAYOUT ANIMATIONS
   ========================================================================== */
.section-bar {
    width: 70px;
    height: 6px;
    margin-top: 14px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ins-blue) 0%, var(--amber) 100%);
    position: relative;
}

.section-bar::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--charcoal);
    right: -12px;
    top: 0;
    border-radius: 50%;
}

.partner-card-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.partner-card-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--3d-shadow);
}

.animate-gear {
    animation: rotateGear 6s infinite linear;
}
@keyframes rotateGear {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-bob {
    animation: helmBob 2s infinite alternate ease-in-out;
}
@keyframes helmBob {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

/* ==========================================================================
   10. PORTFOLIO ASSETS LAYER
   ========================================================================== */
.project-card {
    height: 280px;
    position: relative;
    box-shadow: var(--3d-shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 8px;
    overflow: hidden;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95) 10%, rgba(26, 26, 26, 0.4) 60%, transparent 100%);
    opacity: 0.9;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-3d);
}

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

.gallery-item-box {
    height: 200px;
    position: relative;
    border: 1px solid rgba(26, 26, 26, 0.04);
    border-radius: 6px;
    overflow: hidden;
}

.asset-zoom {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item-box:hover .asset-zoom {
    transform: scale(1.08) rotate(0.5deg);
}

.client-logo-wrap {
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.65;
    border: 1px solid rgba(26, 26, 26, 0.1);
    background-color: var(--white);
}

.client-logo-wrap:hover {
    filter: grayscale(0%);
    opacity: 1;
    border-color: var(--ins-blue) !important;
    transform: translateY(-3px);
}

/* ==========================================================================
   11. INPUT CONSOLE DESK & HIGH CONTRAST QUOTATION BUTTON
   ========================================================================== */
.form-control {
    border-radius: 6px;
    font-size: 0.95rem;
    border: 2px solid rgba(26, 26, 26, 0.08);
    background-color: var(--white);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--ins-blue) !important;
    box-shadow: 0 0 0 4px rgba(0, 86, 164, 0.15) !important;
}

.btn-navy {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-dark) 100%) !important;
    border: none !important;
    border-radius: 6px !important;
    color: var(--white) !important; 
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.btn-navy:hover {
    background: linear-gradient(135deg, var(--ins-blue) 0%, var(--ins-blue-dark) 100%) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--blue-glow);
}

/* ==========================================================================
   12. CORPORATE FOOTER SYSTEM
   ========================================================================== */
footer {
    background-color: var(--charcoal-dark) !important;
    border-top: 4px solid var(--ins-blue);
    position: relative;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--hazard-stripes);
    opacity: 0.15;
}

/* ==========================================================================
   13. MOBILE RESPONSIVE ZERO-OVERFLOW SCREEN ENGINE
   ========================================================================== */
@media (max-width: 991.98px) {
    .main-navbar {
        background-color: var(--white) !important;
        padding: 10px 0;
    }
    
    .main-navbar .navbar-collapse {
        background-color: var(--white) !important;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: var(--3d-shadow);
    }

    .main-navbar .nav-link {
        margin: 5px 0;
        padding: 8px 12px !important;
        background: rgba(0, 86, 164, 0.03);
        border-radius: 6px;
    }

    .main-navbar .nav-link::after { display: none !important; }

    .main-navbar .nav-link:hover, 
    .main-navbar .nav-link.active {
        background: var(--ins-blue);
        color: var(--white) !important;
    }

    .hero-section {
        padding: 3.5rem 0;
        text-align: center;
    }

    .hero-img-container::before { display: none !important; }
    
    .btn-hero-sync {
        width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
    }
    
    .hero-img-container {
        max-width: 100%;
        padding-right: 15px; 
    }

    .sleek-civil-frame {
        max-width: 100%;
        height: 210px !important; 
        margin-top: 25px;
    }

    .hero-img-container::before {
        max-width: calc(100% - 15px);
        height: 210px;
        top: 40px;
        left: 15px;
    }
}

@media (max-width: 575.98px) {
    .block-brand { font-size: 1.15rem; }
    .brand-tagline { font-size: 0.62rem; }
    .py-6, .section-padding {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}