/* =========================================
   UNIVERSAL RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* To prevent header overlap */
}


/* =========================================
   GLOBAL VARIABLES (Fonts & Colors)
   ========================================= */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --dark-color: #1a1d20;
    --light-bg: #f8f9fa;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 70px;
}

/* =========================================
   REFINEMENTS & FIXES (FAQ & BLOG)
   ========================================= */
/* Fix FAQ Jumping on Open */
#faqAccordion,
#mobileFaqAccordion {
    overflow-anchor: none;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Fix Blog Swiper Pagination Centering */
.blogSwiper .swiper-pagination {
    bottom: 0px !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center !important;
}

/* Ensure Blog Cards have equal height without button */
.blog-card .card-body,
.swiper-slide .card-body {
    display: flex;
    flex-direction: column;
}

.blog-card .card-text,
.swiper-slide .card-text {
    flex-grow: 1;
}

/* =========================================
   GLOBAL UTILITIES & COMPONENTS
   ========================================= */
.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    /* Removed margin: 0 auto; to allow flex alignment */
}

.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.text-shadow-lg {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* =========================================
   MOBILE STYLES (max-width: 767px)
   ========================================= */
@media (max-width: 767px) {
    .desktop-only {
        display: none !important;
    }

    /* Mobile Reset & Base */
    :root {
        --primary-color: #0d6efd;
        --accent-color: #ffc107;
        --dark-bg: #111;
        --card-bg: #ffffff;
        --nav-height: 70px;
        --header-height: 60px;
    }

    body.mobile-body {
        font-family: 'Outfit', sans-serif;
        background-color: #f8f9fa;
        padding-bottom: var(--nav-height);
        /* Space for bottom nav */
        padding-top: var(--header-height);
        /* Space for header */
    }

    /* Mobile Header */
    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: var(--header-height);
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        z-index: 1000;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .logo-text span {
        font-size: 1rem;
    }

    /* Pulse Animation */
    .pulse-anim {
        animation: pulse-shadow 2s infinite;
    }

    @keyframes pulse-shadow {
        0% {
            box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
        }

        70% {
            box-shadow: 0 0 0 8px rgba(255, 193, 7, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
        }
    }

    /* Mobile Hero */
    .mobile-hero {
        height: 75vh;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        position: relative;
        /* Extra spacing/styles handled in html classes */
    }

    .video-overlay {
        transition: opacity 0.3s ease;
        cursor: pointer;
        z-index: 2;
        pointer-events: auto !important;
        /* Force touch/click events */
    }

    .video-bg-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
        z-index: 1;
    }

    .custom-shape-divider-bottom-1681234567 {
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        overflow: hidden;
        line-height: 0;
        transform: rotate(180deg);
        z-index: 2;
    }

    .custom-shape-divider-bottom-1681234567 svg {
        position: relative;
        display: block;
        width: calc(137% + 1.3px);
        height: 40px;
    }

    .custom-shape-divider-bottom-1681234567 .shape-fill {
        fill: #f8f9fa;
    }

    /* Horizontal Scroll Services */
    .horizontal-scroll-container {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .horizontal-scroll-container::-webkit-scrollbar {
        display: none;
    }

    /* Glassmorphism Service Cards */
    .glass-card {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
        min-width: 120px;
        border-radius: 20px;
        padding: 20px 10px;
        text-align: center;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .gradient-icon-primary {
        background: linear-gradient(135deg, #e3f2fd, #bbdefb);
        color: var(--primary-color);
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        font-size: 1.4rem;
        box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
    }

    .gradient-icon-warning {
        background: linear-gradient(135deg, #fff3e0, #ffe0b2);
        color: #ff9800;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        font-size: 1.4rem;
        box-shadow: 0 4px 10px rgba(255, 152, 0, 0.2);
    }

    .gradient-icon-success {
        background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
        color: #4caf50;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        font-size: 1.4rem;
        box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
    }

    .gradient-icon-danger {
        background: linear-gradient(135deg, #ffebee, #ffcdd2);
        color: #f44336;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        font-size: 1.4rem;
        box-shadow: 0 4px 10px rgba(244, 67, 54, 0.2);
    }

    .gradient-icon-info {
        background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
        color: #00bcd4;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        font-size: 1.4rem;
        box-shadow: 0 4px 10px rgba(0, 188, 212, 0.2);
    }

    .scroll-card {
        min-width: 110px;
        border-radius: 16px;
        padding: 15px 10px;
        text-align: center;
        scroll-snap-align: start;
        flex-shrink: 0;
    }



    .scroll-card span {
        font-size: 0.85rem;
    }

    /* Mobile Reviews - Ultra Premium */
    .mobile-review-card {
        background: #fff;
        padding: 25px 20px;
        border-radius: 20px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        /* Clean Border */
        text-align: center;
        margin: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
    }

    /* Review Glow Effect */
    .mobile-review-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    }

    .verified-badge-mobile {
        background: linear-gradient(45deg, #0dcaf0, #0d6efd);
        color: white;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.6rem;
        position: absolute;
        bottom: 0;
        right: -2px;
        border: 2px solid white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    /* Bottom Nav */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: var(--nav-height);
        background: white;
        display: flex;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #999;
        font-size: 0.7rem;
        transition: color 0.3s;
    }

    .nav-item i {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }

    .nav-item.active,
    .nav-item:hover {
        color: var(--primary-color);
    }

    .nav-item-center {
        position: relative;
        top: -25px;
    }

    .call-btn-center {
        width: 65px;
        height: 65px;
        background: linear-gradient(135deg, #ffc107, #ff9800);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
        font-size: 1.8rem;
        box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
        border: 4px solid #fff;
        text-decoration: none;
    }

    /* Mobile Video Fixes */
    .video-card video {
        z-index: 0;
        position: relative;
        pointer-events: none;
        /* INITIALLY DISABLED: Click must hit overlay */
    }

    .video-overlay {
        z-index: 10 !important;
        /* Ensure overlay is above everything */
        background: rgba(0, 0, 0, 0.3) !important;
        /* Lighter overlay for visibility */
    }

    .video-card .bg-gradient-dark {
        z-index: 5 !important;
        /* Text gradient below click overlay */
        pointer-events: none;
        /* Let clicks pass through text area */
    }
}

/* =========================================
   DESKTOP STYLES (min-width: 768px)
   ========================================= */
@media (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }

    /* Fonts */
    :root {
        --primary-color: #0d6efd;
        /* Official Blue */
        --primary-dark: #0a58ca;
        --secondary-color: #6c757d;
        --accent-color: #ffc107;
        /* Gold/Amber */
        --dark-color: #1a1d20;
        --light-bg: #f8f9fa;
        --font-heading: 'Outfit', sans-serif;
        --font-body: 'Inter', sans-serif;
    }

    body {
        font-family: var(--font-body);
        color: var(--dark-color);
        line-height: 1.6;
        overflow-x: hidden;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .navbar-brand {
        font-family: var(--font-heading);
    }



    /* Navbar */
    .navbar {
        background-color: rgba(13, 17, 23, 0.95);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
        padding: 15px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand .brand-icon {
        width: 40px;
        height: 40px;
        background: var(--primary-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .navbar-brand {
        z-index: 1001;
        position: relative;
    }

    .navbar-brand .brand-text {
        color: white;
        font-weight: 700;
        font-size: 1.8rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        white-space: nowrap;
        display: inline-block;
    }

    /* Cool Navbar Animation (Phase 10 - V2 Glass Pill) */
    .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
        font-weight: 500;
        font-size: 0.95rem;
        padding: 8px 16px !important;
        /* Added padding for pill shape */
        border-radius: 25px;
        /* Pill shape */
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        /* Bouncy transition */
        position: relative;
        overflow: hidden;
    }

    /* Remove the underline pseudo-element */
    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        color: white !important;
        background: rgba(255, 255, 255, 0.1);
        /* Glass background */
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
        /* Soft glow */
        transform: translateY(-2px);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Brand Text */
    .brand-text {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 1.25rem;
        color: white;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    @media (max-width: 991px) {
        .brand-text {
            font-size: 1rem;
            /* Keep visible on mobile */
        }
    }

    @media (max-width: 400px) {
        .brand-text {
            font-size: 0.85rem;
        }
    }


    /* Hero Section */
    .hero-section {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1578844251758-2f71da645217?q=80&w=2071&auto=format&fit=crop');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        height: 100vh;
        min-height: 600px;
    }

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    }

    @keyframes scrollWheel {
        0% {
            transform: translateY(6px);
            opacity: 1;
        }

        50% {
            transform: translateY(18px);
            opacity: 0;
        }

        100% {
            transform: translateY(6px);
            opacity: 1;
        }
    }

    .scroll-down:hover {
        opacity: 0.8;
    }

    /* Section General */
    .section-padding {
        padding: 80px 0;
    }

    .ls-2 {
        letter-spacing: 2px;
    }

    /* Service Cards */
    .service-card {
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .hover-lift:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
        border-color: var(--primary-color);
    }



    .hover-lift:hover .icon-box {
        transform: scale(1.1);
        background-color: var(--primary-color) !important;
        color: white !important;
    }

    /* Animations & Premium Effects */
    @keyframes glowing {
        0% {
            box-shadow: 0 0 5px rgba(13, 110, 253, 0.2);
        }

        50% {
            box-shadow: 0 0 20px rgba(13, 110, 253, 0.6), 0 0 10px rgba(255, 193, 7, 0.4);
        }

        100% {
            box-shadow: 0 0 5px rgba(13, 110, 253, 0.2);
        }
    }

    @keyframes float {
        0% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-10px);
        }

        100% {
            transform: translateY(0px);
        }
    }

    @keyframes shine {
        0% {
            background-position: -100% 50%;
        }

        100% {
            background-position: 200% 50%;
        }
    }

    @keyframes gradientBG {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    /* Feature Tags */
    .feature-tag {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.7);
        padding: 15px;
        border-radius: 12px;
        transition: all 0.3s ease;
        cursor: default;
    }

    .feature-tag:hover {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
    }

    .feature-tag i {
        font-size: 1.2rem;
        margin-bottom: 8px;
        display: block;
        color: var(--accent-color);
    }

    .feature-tag:hover i {
        color: white;
    }

    /* Service Cards Enhanced */
    .service-card {
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.4s;
    }

    .hover-lift {
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        display: inline-block;
    }

    .hover-lift:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 15px 30px rgba(13, 110, 253, 0.2) !important;
        border-color: var(--primary-color);
    }

    .hover-lift:hover::before {
        opacity: 1;
    }

    .icon-box {
        transition: all 0.4s ease;
        /* Smoother transition */
    }

    .hover-lift:hover .icon-box {
        transform: scale(1.2) rotate(360deg);
        background-color: var(--primary-color) !important;
        /* Solid color for smooth transition */
        color: white !important;
        box-shadow: 0 0 20px rgba(13, 110, 253, 0.4);
    }

    /* Video Card Enhanced */
    .video-card {
        cursor: pointer;
        background: black;
        border: 2px solid rgba(255, 255, 255, 0.1);
        transition: all 0.4s ease;
    }

    .video-card:hover {
        border-color: var(--accent-color);
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.3);
        transform: scale(1.03);
    }

    .video-card:hover .play-btn {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.6);
        background-color: var(--accent-color) !important;
        border: none;
        color: black;
    }

    .play-btn {
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        border: 2px solid white;
        color: white;
    }

    /* Reviews Swiper Ultra-Premium (Refined) */
    .review-card {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 30px;
        border-radius: 20px;
        height: 100%;
        border: 1px solid rgba(0, 0, 0, 0.05);
        /* Clean border */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        position: relative;
        overflow: hidden;
        margin: 15px;
    }

    /* Hover Glow Effect */
    .review-card:hover {
        transform: translateY(-8px);
        border-color: rgba(13, 110, 253, 0.3);
        box-shadow: 0 20px 40px rgba(13, 110, 253, 0.15);
        /* Soft Blue Glow */
        background: #fff;
    }

    .review-avatar-container {
        position: relative;
        display: inline-block;
        margin-bottom: 20px;
    }

    .review-avatar-container img {
        border: 3px solid #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.4s;
    }

    .review-card:hover .review-avatar-container img {
        transform: scale(1.1) rotate(3deg);
        border-color: var(--primary-color);
    }

    .verified-badge {
        position: absolute;
        bottom: 0;
        right: 0;
        background: linear-gradient(45deg, #0dcaf0, #0d6efd);
        color: white;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        border: 2px solid white;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        animation: pulse-badge 2s infinite;
    }

    @keyframes pulse-badge {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(13, 202, 240, 0.7);
        }

        70% {
            transform: scale(1.05);
            box-shadow: 0 0 0 6px rgba(13, 202, 240, 0);
        }

        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(13, 202, 240, 0);
        }
    }

    .swiper-slide-active .review-card {
        border-color: rgba(13, 110, 253, 0.5);
        transform: scale(1.02);
    }

    /* Blog Cards */
    .blog-card {
        transition: all 0.4s ease;
        border: none;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        overflow: hidden;
    }

    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .blog-card .card-img-top {
        transition: transform 0.5s ease;
        height: 200px;
        object-fit: cover;
    }

    .blog-card:hover .card-img-top {
        transform: scale(1.1);
    }

    .blog-card .read-more {
        color: var(--primary-color);
        font-weight: 600;
        transition: all 0.3s;
    }

    .blog-card:hover .read-more {
        color: var(--primary-dark);
        letter-spacing: 1px;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 70px;
        height: 70px;
        z-index: 1000;
        transition: all 0.3s;
        animation: pulse-green 2s infinite;
        background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }

    .whatsapp-float:hover {
        transform: scale(1.1);
    }

    @keyframes pulse-green {
        0% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8);
        }

        70% {
            transform: scale(1.05);
            box-shadow: 0 0 0 25px rgba(37, 211, 102, 0);
        }

        100% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        }
    }

    /* Footer & Dev Button */
    .footer-dev-btn {
        transition: all 0.3s;
        font-size: 0.85rem;
    }

    .footer-dev-btn:hover {
        background-color: white;
        color: var(--dark-color);
    }

    .pulse-btn {
        animation: pulse-blue 2s infinite;
    }

    @keyframes pulse-blue {
        0% {
            box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
        }

        70% {
            box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
        }
    }

    /* Responsive adjustments */
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .display-3 {
            font-size: 2.2rem;
        }

        .hero-section {
            background-attachment: scroll;
            height: auto;
            min-height: 100vh;
            padding-top: 80px;
            padding-bottom: 50px;
        }

        /* Better performance on mobile */
        .section-padding {
            padding: 50px 0;
        }

        .navbar-collapse {
            background: rgba(13, 17, 23, 0.98);
            padding: 20px;
            border-radius: 0 0 15px 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .navbar-toggler {
            border-color: rgba(255, 255, 255, 0.5);
        }

        .navbar-toggler:focus {
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
        }

        /* Hide hero image explicitly on mobile if not handled by d-none classes */
        .hero-image-container {
            display: none !important;
        }
    }

    /* Contact Cards */
    .contact-card {
        transition: all 0.3s ease;
    }

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }

    .contact-card .icon-wrapper {
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .contact-card:hover .icon-wrapper {
        background-color: var(--primary-color) !important;
        color: white !important;
        transform: rotate(15deg);
    }

    .map-container iframe {
        transition: all 0.3s ease;
    }

    .map-container:hover iframe {
        filter: none !important;
    }

    /* Mobile Menu Fix */
    .navbar-toggler {
        z-index: 1050;
        position: relative;
    }

    .offcanvas {
        z-index: 1045;
    }

    /* Modern Developer Badge (Mobile - White Pill Segmented) */
    .dev-badge {
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 50px;
        padding: 4px;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        display: inline-flex;
        align-items: center;
        max-width: 95%;
    }

    .dev-label {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--primary-color);
        font-weight: 800;
        transition: color 0.3s ease;
        white-space: nowrap;
        padding: 0 12px 0 15px;
    }

    .dev-name {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: white;
        padding: 6px 20px;
        border-radius: 30px;
        font-size: 0.8rem;
        font-weight: 700;
        box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .dev-badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-color);
    }

    .dev-badge:active {
        transform: scale(0.98);
    }

    /* Fixed Bottom Nav (Explicitly Added) */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: var(--nav-height);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 1020;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--text-secondary);
        font-size: 0.75rem;
        font-weight: 500;
        transition: all 0.3s;
        opacity: 0.7;
    }

    .mobile-bottom-nav .nav-item.active,
    .mobile-bottom-nav .nav-item:hover {
        color: var(--primary-color);
        opacity: 1;
        transform: translateY(-2px);
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    /* Center Action Button */
    .nav-item-center {
        position: relative;
        top: -25px;
    }

    .call-btn-center {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, var(--primary-color), #0a58ca);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        font-size: 1.5rem;
        box-shadow: 0 10px 20px rgba(13, 110, 253, 0.4);
        border: 4px solid #fff;
    }
}

/* =========================================
   UNIFIED CODE - DEVELOPER BADGE (Robust)
   ========================================= */
.dev-badge {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Simpler shadow */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    max-width: 100%;
}

.dev-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333333;
    /* Hardcoded dark gray */
    font-weight: 800;
    margin-right: 8px;
    margin-left: 8px;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.dev-name {
    background: #0d6efd;
    font-family: var(--font-heading);
    /* Hardcoded Bootstrap Primary Blue */
    color: #ffffff;
    /* Hardcoded White */
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    white-space: nowrap;
}

/* Hover Effects */
.dev-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

.dev-badge:active {
    transform: scale(0.98);
}

/* =========================================
   DESKTOP OVERRIDE (Dark Theme Footer)
   ========================================= */
@media (min-width: 769px) {
    .dev-badge {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 5px 5px 5px 15px;
        box-shadow: none;
    }

    .dev-label {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.7);
        margin-right: 12px;
    }

    .dev-name {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 6px 20px;
        font-size: 0.85rem;
    }

    .dev-badge:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    }

    .dev-badge:hover .dev-label {
        color: #ffffff;
    }

    .dev-badge:hover .dev-name {
        background: #ffffff;
        color: #000000;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    }
}