/* ==========================================================================
   Shree Shyam Construction - Next-Gen Modern Design System
   Brand Colors:
   - Primary Crimson Red: #E3262A (Hindi "श्री" & Roof structure)
   - Secondary Cerulean Blue: #0077C0 ("Shyam" & accent lines)
   - Dark Slate / Obsidian: #0b0f19, #0f172a, #1e293b
   - Version: 3.0 - Premium Architectural Redesign
   ========================================================================== */

:root {
    /* Brand Color Palette */
    --brand-red: #E3262A;
    --brand-red-hover: #C31B1F;
    --brand-red-light: #FEE2E2;
    --brand-red-subtle: rgba(227, 38, 42, 0.08);
    --brand-red-glow: rgba(227, 38, 42, 0.35);

    --brand-blue: #0077C0;
    --brand-blue-hover: #005E99;
    --brand-blue-light: #E0F2FE;
    --brand-blue-subtle: rgba(0, 119, 192, 0.08);
    --brand-blue-glow: rgba(0, 119, 192, 0.35);

    --brand-dark: #0f172a;
    --brand-dark-soft: #1e293b;
    --brand-dark-deep: #0b0f19;
    --brand-slate: #475569;
    --brand-slate-light: #94a3b8;
    --brand-light: #f8fafc;
    --brand-border: #e2e8f0;
    --brand-border-subtle: rgba(226, 232, 240, 0.8);

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #E3262A 0%, #0077C0 100%);
    --gradient-brand-subtle: linear-gradient(135deg, rgba(227, 38, 42, 0.05) 0%, rgba(0, 119, 192, 0.05) 100%);
    --gradient-dark: linear-gradient(145deg, #0b0f19 0%, #1e293b 100%);
    --gradient-red: linear-gradient(135deg, #E3262A 0%, #b91c1c 100%);
    --gradient-blue: linear-gradient(135deg, #0077C0 0%, #0284c7 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.16);
    --shadow-red: 0 10px 25px rgba(227, 38, 42, 0.25);
    --shadow-blue: 0 10px 25px rgba(0, 119, 192, 0.25);

    /* Bootstrap Overrides */
    --bs-primary: #E3262A;
    --bs-primary-rgb: 227, 38, 42;
    --bs-secondary: #0077C0;
    --bs-secondary-rgb: 0, 119, 192;
    --bs-dark: #0f172a;
    --bs-dark-rgb: 15, 23, 42;
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #334155;
    background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: 'Outfit', sans-serif;
    color: var(--brand-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    line-height: 1.75;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--brand-red);
}

::selection {
    background-color: var(--brand-red);
    color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-red);
}

/* ==========================================================================
   Header Top Utility Bar
   ========================================================================== */
.top-bar {
    background: var(--brand-dark-deep);
    color: #cbd5e1;
    font-size: 0.84rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar a:hover {
    color: #ffffff;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.top-bar-icon {
    color: var(--brand-red);
    font-size: 0.9rem;
}

.top-bar-icon.blue {
    color: var(--brand-blue);
}

.top-bar-social-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1 !important;
    font-size: 0.78rem;
    transition: all 0.25s ease;
}

.top-bar-social-btn:hover {
    background: var(--brand-red);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   Main Navbar Styles
   ========================================================================== */
.navbar-custom {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    transition: all 0.3s ease;
}

.navbar-brand-logo {
    height: 56px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

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

@media (max-width: 991px) {
    .navbar-brand-logo {
        height: 46px;
    }
}

.navbar-nav .nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    color: #334155 !important;
    padding: 0.55rem 1rem !important;
    position: relative;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--brand-red) !important;
    background-color: rgba(227, 38, 42, 0.05);
}

.navbar-nav .nav-link.active {
    color: var(--brand-red) !important;
    background-color: rgba(227, 38, 42, 0.08);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-brand);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

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

.nav-cta-btn {
    background: var(--gradient-red);
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 1.45rem !important;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(227, 38, 42, 0.3);
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.2px;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(227, 38, 42, 0.45);
    color: #ffffff !important;
}

/* ==========================================================================
   Hero Section - Responsive Custom Graphic Banners Slider
   ========================================================================== */
.hero-slider {
    position: relative;
    background-color: #0b0f19;
    width: 100%;
    overflow: hidden;
}

.hero-slider .carousel-inner {
    width: 100%;
    position: relative;
}

.hero-slider .carousel-item {
    width: 100%;
    background-color: #0b0f19;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.hero-banner-link {
    display: block;
    width: 100%;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background-color: #0b0f19;
    transition: transform 0.4s ease;
}

@media (min-width: 992px) {
    .hero-banner-img {
        width: 100%;
        height: auto;
        aspect-ratio: 2048 / 770;
        object-fit: cover;
    }
}

@media (max-width: 991px) {
    .hero-banner-img {
        width: 100%;
        height: auto;
        aspect-ratio: 2048 / 770;
        object-fit: cover;
    }
}

/* Hero Carousel Controls & Indicators */
.hero-slider .carousel-indicators {
    bottom: 14px;
    margin-bottom: 0;
    z-index: 4;
}

.hero-slider .carousel-indicators [data-bs-target] {
    width: 28px;
    height: 5px;
    border-radius: 4px;
    border: none;
    background-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-slider .carousel-indicators .active {
    width: 48px;
    background: var(--brand-red);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 5%;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    opacity: 1;
}

.hero-control-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-control-btn:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #ffffff;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-control-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    .hero-slider .carousel-indicators [data-bs-target] {
        width: 18px;
        height: 3px;
    }
    .hero-slider .carousel-indicators .active {
        width: 32px;
    }
}

/* Hero Bottom Trust Strip */
.hero-trust-strip {
    background: #0d131f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    position: relative;
    z-index: 5;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #e2e8f0;
}

.hero-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--brand-red);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.hero-trust-item:hover .hero-trust-icon {
    background: var(--brand-red);
    color: #ffffff;
    transform: rotate(6deg) scale(1.05);
}

.hero-trust-item.blue:hover .hero-trust-icon {
    background: var(--brand-blue);
    color: #ffffff;
}

/* ==========================================================================
   Section Headers & Decorators
   ========================================================================== */
.section-badge {
    background: var(--brand-red-subtle);
    color: var(--brand-red);
    border: 1px solid rgba(227, 38, 42, 0.2);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.section-badge.blue {
    background: var(--brand-blue-subtle);
    color: var(--brand-blue);
    border-color: rgba(0, 119, 192, 0.2);
}

.section-badge.dark {
    background: rgba(255, 255, 255, 0.08);
    color: #ff6b6e;
    border-color: rgba(227, 38, 42, 0.4);
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--brand-dark);
    margin-bottom: 0.85rem;
}

.section-title.text-white {
    color: #ffffff !important;
}

.brand-gradient-bar {
    height: 4px;
    background: var(--gradient-brand);
    width: 64px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.brand-gradient-bar.center {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Modern Buttons & Interactions
   ========================================================================== */
.btn-modern-primary {
    background: var(--gradient-red);
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(227, 38, 42, 0.3);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(227, 38, 42, 0.45);
    color: #ffffff !important;
}

.btn-modern-primary .btn-arrow {
    transition: transform 0.3s ease;
}

.btn-modern-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-modern-secondary {
    background: transparent;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-modern-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-3px);
}

.btn-modern-outline-dark {
    background: transparent;
    color: var(--brand-dark) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    border: 2px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.btn-modern-outline-dark:hover {
    border-color: var(--brand-red);
    color: var(--brand-red) !important;
    background-color: var(--brand-red-subtle);
    transform: translateY(-3px);
}

/* ==========================================================================
   About Section Enhancements
   ========================================================================== */
.about-img-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-frame img {
    transition: transform 0.6s ease;
    width: 100%;
    display: block;
}

.about-img-frame:hover img {
    transform: scale(1.04);
}

.about-floating-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 1.15rem 1.4rem;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--brand-red);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    animation: floatBadge 4s ease-in-out infinite alternate;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.about-feature-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    transition: all 0.3s ease;
    height: 100%;
}

.about-feature-card:hover {
    border-color: rgba(227, 38, 42, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-feature-icon.red {
    background: rgba(227, 38, 42, 0.1);
    color: var(--brand-red);
}

.about-feature-icon.blue {
    background: rgba(0, 119, 192, 0.1);
    color: var(--brand-blue);
}

/* ==========================================================================
   Services Section - Modern 3D / Glass Cards
   ========================================================================== */
.service-modern-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 2.25rem 1.85rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
}

.service-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(227, 38, 42, 0.3);
}

.service-modern-card:hover::before {
    opacity: 1;
}

.service-icon-capsule {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff1f2 0%, #f0f9ff 100%);
    border: 1px solid #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: var(--brand-red);
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

.service-icon-capsule.blue {
    color: var(--brand-blue);
    border-color: #e0f2fe;
}

.service-modern-card:hover .service-icon-capsule {
    background: var(--gradient-brand);
    color: #ffffff !important;
    transform: scale(1.1) rotate(4deg);
    box-shadow: 0 12px 24px rgba(227, 38, 42, 0.3);
    border-color: transparent;
}

.service-tag {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.service-modern-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.85rem;
}

.service-modern-text {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.service-spec-chip {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.3rem 0.65rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.service-spec-chip i {
    color: var(--brand-red);
    font-size: 0.75rem;
}

.service-link-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--brand-red);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link-btn i {
    transition: transform 0.3s ease;
}

.service-modern-card:hover .service-link-btn {
    color: var(--brand-blue);
    gap: 0.75rem;
}

.service-modern-card:hover .service-link-btn i {
    transform: translateX(4px);
}

/* ==========================================================================
   Why Choose Us - Dark Executive Architecture Section
   ========================================================================== */
.why-section-dark {
    background: radial-gradient(circle at 10% 20%, rgba(227, 38, 42, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 119, 192, 0.08) 0%, transparent 40%),
                var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.why-grid-blueprint {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
}

.why-feature-glass {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.why-feature-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-feature-glass:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(227, 38, 42, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.why-feature-glass:hover::after {
    opacity: 1;
}

.why-number-tag {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    transition: color 0.3s ease;
}

.why-feature-glass:hover .why-number-tag {
    color: var(--brand-red);
}

.why-icon-capsule {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.why-feature-glass:hover .why-icon-capsule {
    transform: scale(1.1) rotate(5deg);
}

.why-icon-red {
    background: var(--gradient-red);
    color: #ffffff;
}

.why-icon-blue {
    background: var(--gradient-blue);
    color: #ffffff;
}

/* ==========================================================================
   Projects / Portfolio Section
   ========================================================================== */
.project-modern-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(227, 38, 42, 0.3);
}

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

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.project-badge-float {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.project-badge-float.completed {
    background: rgba(16, 185, 129, 0.9);
    border-color: rgba(16, 185, 129, 0.4);
}

.project-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-meta-pill {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.project-meta-pill i {
    color: var(--brand-red);
}

/* ==========================================================================
   Stats / Counter Section
   ========================================================================== */
.stat-modern-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.25rem 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.stat-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(227, 38, 42, 0.3);
}

.stat-modern-card:hover::before {
    opacity: 1;
}

.stat-icon-capsule {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--gradient-brand-subtle);
    border: 1px solid rgba(227, 38, 42, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--brand-red);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.stat-modern-card:hover .stat-icon-capsule {
    background: var(--gradient-brand);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(227, 38, 42, 0.25);
}

.stat-number {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1;
    color: var(--brand-dark);
    margin-bottom: 0.4rem;
}

.stat-number-accent {
    color: var(--brand-red);
}

.stat-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 0;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonial-card-modern {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 2.25rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.35s ease;
}

.testimonial-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(227, 38, 42, 0.3);
}

.testimonial-quote-watermark {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-size: 4rem;
    line-height: 1;
    color: rgba(227, 38, 42, 0.08);
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(227, 38, 42, 0.25);
}

/* ==========================================================================
   Clients / Brand Badges
   ========================================================================== */
.client-logo-pill {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 2px;
    color: #94a3b8;
    padding: 0.9rem 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
}

.client-logo-pill:hover {
    color: var(--brand-dark);
    border-color: var(--brand-red);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-tab-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-tab-btn:hover {
    color: var(--brand-red);
    border-color: var(--brand-red);
    background: var(--brand-red-subtle);
}

.gallery-tab-btn.active {
    background: var(--gradient-red);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(227, 38, 42, 0.3);
}

.gallery-modern-item {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
}

.gallery-modern-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-modern-item:hover img {
    transform: scale(1.08);
}

.gallery-modern-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11, 15, 25, 0.92) 0%, rgba(11, 15, 25, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-modern-card .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 16px !important;
    margin-bottom: 1rem;
    background: #ffffff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-modern-card .accordion-item:hover {
    border-color: rgba(227, 38, 42, 0.3);
    box-shadow: var(--shadow-md);
}

.faq-modern-card .accordion-button {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--brand-dark);
    padding: 1.4rem 1.6rem;
    background-color: #ffffff;
    box-shadow: none !important;
    border-radius: 16px !important;
    gap: 1rem;
}

.faq-modern-card .accordion-button:not(.collapsed) {
    color: var(--brand-red);
    background-color: rgba(227, 38, 42, 0.03);
    border-bottom: 1px solid #e2e8f0;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.faq-modern-card .accordion-button::after {
    background-image: none;
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-red);
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.faq-modern-card .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    color: var(--brand-red);
}

.faq-modern-card .accordion-body {
    padding: 1.4rem 1.6rem;
    color: #475569;
    font-size: 1rem;
    line-height: 1.75;
    background-color: #ffffff;
}

/* ==========================================================================
   Enquiry / Quote Blueprint Form
   ========================================================================== */
.blueprint-box-modern {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    border: 2px dashed rgba(227, 38, 42, 0.3);
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
}

@media (max-width: 768px) {
    .blueprint-box-modern {
        padding: 1.5rem;
    }
}

.blueprint-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--brand-red);
    z-index: 10;
}

.corner-tl { top: -6px; left: -6px; border-radius: 3px; }
.corner-tr { top: -6px; right: -6px; border-radius: 3px; }
.corner-bl { bottom: -6px; left: -6px; border-radius: 3px; }
.corner-br { bottom: -6px; right: -6px; border-radius: 3px; }

.contact-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-info-card:hover {
    border-color: rgba(227, 38, 42, 0.4);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

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

.contact-info-icon.red {
    background: rgba(227, 38, 42, 0.1);
    color: var(--brand-red);
}

.contact-info-icon.blue {
    background: rgba(0, 119, 192, 0.1);
    color: var(--brand-blue);
}

/* Form Controls & Inputs */
.form-control, .form-select {
    border: 1.5px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    font-weight: 500;
    font-size: 0.98rem;
    border-radius: 12px;
    padding: 0.8rem 1.15rem;
    transition: all 0.25s ease-in-out;
}

.form-control::placeholder, .form-select::placeholder {
    color: #94a3b8 !important;
    font-weight: 400;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 0.25rem rgba(227, 38, 42, 0.18) !important;
    background-color: #ffffff !important;
}

.form-label {
    font-weight: 600 !important;
    color: var(--brand-dark) !important;
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
}

/* ==========================================================================
   Footer Component Styles (Preserving Mineib Credit & Pari Yugesh)
   ========================================================================== */
.footer-main {
    background: var(--brand-dark-deep) !important;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}

.footer-top-gradient {
    height: 4px;
    background: var(--gradient-brand);
    width: 100%;
}

.footer-logo-wrapper {
    transition: transform 0.3s ease;
}

.footer-logo-wrapper:hover {
    transform: translateY(-2px);
}

.footer-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: 3px;
}

.footer-link {
    color: #94a3b8 !important;
    text-decoration: none;
    font-size: 0.93rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
}

.footer-link:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

.footer-link::before {
    content: '›';
    color: var(--brand-red);
    font-weight: bold;
    font-size: 1.15rem;
    line-height: 1;
    margin-right: 6px;
    transition: transform 0.25s ease;
}

.footer-link:hover::before {
    transform: translateX(2px);
    color: var(--brand-blue);
}

.text-slate-light {
    color: #94a3b8 !important;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1 !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.footer-social-btn:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(227, 38, 42, 0.35);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #94a3b8 !important;
    font-size: 0.91rem;
    line-height: 1.55;
    transition: all 0.25s ease;
}

.footer-contact-item:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}

.footer-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(227, 38, 42, 0.15);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.25s ease;
}

.footer-contact-item:hover .footer-icon-box {
    background: var(--brand-red);
    color: #ffffff;
}

.footer-icon-box.blue {
    background: rgba(0, 119, 192, 0.18);
    color: var(--brand-blue);
}

.footer-contact-item:hover .footer-icon-box.blue {
    background: var(--brand-blue);
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #080c14;
    padding: 1.25rem 0;
}

.back-to-top-btn {
    font-size: 0.78rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #cbd5e1 !important;
    transition: all 0.25s ease;
}

.back-to-top-btn:hover {
    background: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Footer Credit Bar / Designed by Mineib */
.footer-credit-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 14px;
    margin-top: 10px;
}

.footer-credit-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.footer-mineib-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.78rem;
    text-decoration: none;
    transition: all 0.35s ease;
    white-space: nowrap;
}

.footer-mineib-badge span {
    color: #64748b;
    transition: color 0.3s ease;
}

.footer-mineib-badge strong {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    transition: filter 0.3s ease;
}

.footer-mineib-badge svg {
    color: var(--brand-blue);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.footer-mineib-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    color: #e2e8f0;
}

.footer-mineib-badge:hover strong {
    filter: brightness(1.25);
}

.footer-mineib-badge:hover svg {
    opacity: 1;
    color: var(--brand-red);
}

/* ==========================================================================
   Subpage Headers / Hero Banners
   ========================================================================== */
.subpage-hero {
    position: relative;
    background: var(--gradient-dark);
    padding: 4.5rem 0 3.5rem 0;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(227, 38, 42, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(0, 119, 192, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.subpage-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.subpage-breadcrumb a {
    color: #cbd5e1;
}

.subpage-breadcrumb a:hover {
    color: var(--brand-red);
}

/* ==========================================================================
   Floating Quick Action Buttons
   ========================================================================== */
.floating-contact-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.floating-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.floating-btn-call {
    background: var(--gradient-red);
}

.floating-btn-call:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(227, 38, 42, 0.45);
    color: #ffffff !important;
}

.floating-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn-whatsapp:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    color: #ffffff !important;
}

.floating-btn svg {
    width: 26px;
    height: 26px;
}

.pulse-animation {
    animation: phonePulse 2s infinite;
}

@keyframes phonePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(227, 38, 42, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(227, 38, 42, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(227, 38, 42, 0);
    }
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */
@media (max-width: 991px) {
    .top-bar-hide-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .floating-contact-container {
        bottom: 18px;
        right: 18px;
        gap: 10px;
    }
    .floating-btn {
        width: 48px;
        height: 48px;
    }
    .floating-btn svg {
        width: 22px;
        height: 22px;
    }
}
