/* ==========================================================================
   SMART INDIA INFRAHIGH AND MULTISERVICES PVT. LTD. - Main Design System
   Exact Color Palette: Crimson Red (#dc2626) & Deep Indigo Navy (#0f172a)
   ========================================================================== */

:root {
    --primary: #0f172a;        /* Deep Indigo Slate Navy (#0F172A From "इण्डिया") */
    --primary-light: #1e293b;  /* Medium Slate Navy */
    --accent: #dc2626;         /* Crimson Red (From "स्मार्ट" & Building Towers) */
    --accent-hover: #b91c1c;   /* Darker Crimson Red */
    --secondary: #ef4444;      /* Light Crimson Red */
    --dark: #090d16;           /* Midnight Dark */
    --dark-light: #1e293b;     /* Slate Card Dark */
    --light: #f8fafc;          /* Soft Off-White Background */
    --text-dark: #0f172a;      /* Dark Slate Text */
    --text-muted: #64748b;     /* Muted Subtext */
    --border-color: #e2e8f0;   /* Light Border */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(220, 38, 38, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

/* ==========================================================================
   3-LAYER HEADER LAYOUT STYLING (STICKY HEADERS & 100% RESPONSIVE)
   ========================================================================== */

/* --- LAYER 1: TOP BAR (DESKTOP LIGHT CLEAN) --- */
.topbar {
    background: #f8fafc; /* Clean Light Off-White Background */
    color: #334155;
    font-size: 0.82rem;
    position: relative;
    z-index: 1020;
    border-bottom: 1px solid #e2e8f0 !important;
}

.topbar a {
    color: #1e293b;
    text-decoration: none;
    transition: var(--transition);
}

.topbar a:hover {
    color: #dc2626;
}

.topbar-icon-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-right: 6px;
}

.topbar-divider {
    width: 1px;
    height: 18px;
    background: #cbd5e1;
    display: inline-block;
    margin: 0 10px;
}

.marketing-pill {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #dc2626;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.topbar-social-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
    border: 1px solid #cbd5e1;
}

.topbar-social-btn:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    transform: translateY(-2px);
}

/* --- LAYER 2: BRANDING BAR (MIDDLE ROW DESKTOP FLUID RESPONSIVE) --- */
.middle-branding-bar {
    background: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.middle-branding-bar .brand-logo-img {
    height: clamp(75px, 7vw, 92px);
    width: auto;
    object-fit: contain;
}

.brand-title {
    font-size: clamp(1.4rem, 1.85vw, 1.85rem);
    font-weight: 800;
    color: #dc2626; /* Crimson Red */
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.1;
}

.brand-title span {
    color: #0f172a; /* Deep Indigo Navy */
}

.brand-subtitle {
    font-size: clamp(0.75rem, 0.92vw, 0.92rem);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

/* --- HERO SLIDER RESPONSIVE STYLING (FULL WIDTH & NO CROPPING) --- */
.hero-slider {
    position: relative;
    background: #0f172a;
    overflow: hidden;
    width: 100%;
}

.hero-slider-img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain;
    object-position: center;
}

.header-info-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* --- LAYER 3: DESKTOP STICKY NAVIGATION BAR (LIGHT SKY BLUE) --- */
.bottom-nav-bar {
    background: #87cefa !important; /* Light Sky Blue Menu Background */
    box-shadow: 0 4px 15px rgba(135, 206, 250, 0.35);
    border-bottom: 1px solid #70bde8;
    position: sticky !important;
    top: 0 !important;
    z-index: 1040 !important;
    width: 100%;
}

.bottom-nav-bar .navbar-nav {
    width: 100%;
    flex-wrap: nowrap !important;
}

.bottom-nav-bar .nav-link {
    color: #0f172a !important; /* Dark Slate Navy for crystal clear contrast */
    font-weight: 700;
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    padding: 9px 16px !important;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    background: transparent !important;
    box-shadow: none !important;
    white-space: nowrap;
}

.bottom-nav-bar .nav-link i {
    color: #0f172a !important;
    transition: var(--transition);
}

.bottom-nav-bar .nav-link:hover,
.bottom-nav-bar .nav-link.active {
    color: #dc2626 !important;
    background: rgba(255, 255, 255, 0.35) !important;
}

.bottom-nav-bar .nav-link:hover i,
.bottom-nav-bar .nav-link.active i {
    color: #dc2626 !important;
}

.bottom-nav-bar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    background-color: #dc2626;
    border-radius: 2px 2px 0 0;
}

.bottom-nav-bar .nav-divider {
    color: rgba(15, 23, 42, 0.25) !important;
    font-weight: 300;
    font-size: 0.9rem;
    user-select: none;
}

/* Medium Desktop Screen Sizing (992px - 1200px Laptop/Tablet Viewports) */
@media (min-width: 992px) and (max-width: 1200px) {
    .bottom-nav-bar .nav-link {
        padding: 12px 6px !important;
        font-size: 0.78rem !important;
        letter-spacing: 0.2px !important;
    }
    .bottom-nav-bar .nav-link.active::after {
        left: 6px;
        right: 6px;
    }
    .topbar {
        font-size: 0.76rem !important;
    }
    .middle-branding-bar .brand-logo-img {
        height: 75px !important;
    }
    .brand-title {
        font-size: 1.25rem !important;
    }
}

/* --- Dropdown Styling --- */
.dropdown-menu {
    border-radius: 12px;
    padding: 8px;
    min-width: 240px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    background: #ffffff;
}

.dropdown-item {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 8px;
    padding: 10px 14px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: rgba(220, 38, 38, 0.08);
    color: #dc2626;
    border-left-color: #dc2626;
    padding-left: 18px;
}

/* Desktop Hover Dropdown */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeInUp 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   CLEAN WHITE STICKY MOBILE HEADER & LEFT OFFCANVAS DRAWER MENU
   ========================================================================== */

.mobile-header-bar {
    background: #ffffff !important;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky !important;
    top: 0 !important;
    z-index: 1050 !important;
}

.mobile-header-bar .brand-logo-img-mobile {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.mobile-hamburger-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: var(--transition);
}

.mobile-hamburger-btn:hover,
.mobile-hamburger-btn:active {
    background: #dc2626;
    color: #ffffff;
}

/* --- Left Side Mobile Drawer (Offcanvas) --- */
.mobile-left-drawer {
    width: 300px !important;
    max-width: 85vw;
    background: #ffffff !important;
    border-right: 1px solid var(--border-color);
}

.mobile-left-drawer .offcanvas-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
}

.mobile-left-drawer .offcanvas-body {
    padding: 16px;
    background: #ffffff;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin-bottom: 6px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

.mobile-nav-link i {
    width: 24px;
    font-size: 1.1rem;
}

.mobile-submenu-box {
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 6px 0 6px 16px;
    margin-top: 4px;
    border-left: 2px solid #dc2626;
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #475569;
    font-weight: 500;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-submenu-link:hover,
.mobile-submenu-link.active {
    color: #dc2626;
    font-weight: 600;
}

/* ==========================================================================
   ENHANCED FOOTER STYLING
   ========================================================================== */

.footer-feature-strip {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-top: 2px solid #dc2626;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    color: #ffffff;
}

.footer-feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 18px;
    transition: var(--transition);
}

.footer-feature-card:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

.footer-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(220, 38, 38, 0.18);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); /* Deep Slate Navy Gradient */
    color: #94a3b8;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.site-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #dc2626;
    border-radius: 2px;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.site-footer a:hover {
    color: #ef4444;
    padding-left: 4px;
}

.footer-social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-social-circle:hover {
    background: #dc2626;
    color: #ffffff;
    transform: translateY(-3px);
    border-color: #dc2626;
}

.bottom-footer {
    background-color: #0b1120; /* Dark Navy Accent */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.84rem;
}

.bottom-footer a {
    color: #94a3b8;
}

.bottom-footer a:hover {
    color: #ef4444;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    background-color: #20ba5a;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem !important;
    }
    .section-subtitle {
        font-size: 0.78rem !important;
    }
    .badge-card {
        padding: 20px 16px !important;
    }
    .badge-icon {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.4rem !important;
        margin-bottom: 12px !important;
    }
    .footer-feature-box {
        gap: 12px;
    }
    .footer-feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* --- Gallery Lightbox & Thumbnail Styling --- */
.gallery-thumb-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-thumb-card:hover .gallery-thumb-img {
    transform: scale(1.08);
}

.gallery-thumb-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    transition: var(--transition);
}

.gallery-thumb-card:hover .gallery-thumb-hover {
    opacity: 1;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1060;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.lightbox-nav-btn:hover {
    background: #dc2626;
    transform: translateY(-50%) scale(1.1);
    color: #ffffff;
}

.lightbox-prev-btn {
    left: 15px;
}

.lightbox-next-btn {
    right: 15px;
}

/* --- Upcoming Projects Unique Layout Styling --- */
.upcoming-bento-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.upcoming-bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(220, 38, 38, 0.3);
}

.pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.25);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #dc2626;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.location-hero-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.location-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, rgba(220, 38, 38, 0) 70%);
    pointer-events: none;
}
