/* ==========================================================================
   1. Brand Design System & Global Variables
   ========================================================================== */
:root {
    --bs-primary: #0f4c92;        /* Corporate Dark Blue */
    --bs-warning: #ffcc00;        /* High-Visibility Yellow */
    --bs-primary-light: #e6f0fa;  /* Light Background Highlights */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background-color: #ffffff;
}

/* ==========================================================================
   2. Typography & Utility Classes
   ========================================================================== */
.fs-7 { font-size: 0.85rem; }
.fs-8 { font-size: 0.7rem; }
.max-width-600 { max-width: 600px; }

/* Color Modifier Forces (Overrides standard Bootstrap values perfectly) */
.bg-primary { background-color: var(--bs-primary) !important; }
.text-primary { color: var(--bs-primary) !important; }
.bg-warning { background-color: var(--bs-warning) !important; }
.text-warning { color: var(--bs-warning) !important; }
.bg-primary-light { background-color: var(--bs-primary-light); }

/* ==========================================================================
   3. Components & Sections Layout
   ========================================================================== */
/* ==========================================================================
   8. Logo Sizing Fixes
   ========================================================================== */
.navbar-logo {
    height: 45px;      
    width: auto;      
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .navbar-logo {
        height: 38px;   
    }
}
.brand-logo {
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: -1px;
}
/* ==========================================================================
   9. White Navbar with Black `#000000` Text Custom Styling
   ========================================================================== */
.custom-navbar {
    background-color: #ffffff !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Base Text Styles next to Logo */
.text-dark-blue {
    color: #0f4c92; /* Keeps the main identity brand color, change to #000000 if needed */
}

/* Nav Links Color Styling to Exact #000000 */
.custom-navbar .navbar-nav .nav-link {
    color: #000000 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding-left: 15px !important;
    padding-right: 15px !important;
    transition: color 0.2s ease;
}

/* Active Link State */
.custom-navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important; /* Blue color for active section */
}

/* Link Hover Effect */
.custom-navbar .navbar-nav .nav-link:hover {
    color: var(--bs-primary) !important;
}

/* Mobile Dropdown Fix for White Background */
@media (max-width: 991.98px) {
    .custom-navbar .navbar-collapse {
        background: #ffffff;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    
    .custom-navbar .navbar-nav .nav-link {
        padding-top: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #f8f9fa;
    }
}
/* Immersive Hero Header */
.hero-section {
    background: linear-gradient(135deg, rgba(15, 76, 146, 0.95) 40%, rgba(15, 76, 146, 0.8)), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    min-height: 520px;
}

/* Conversion Form Card Edge */
.quote-card {
    border-top: 5px solid var(--bs-warning) !important;
}

/* Section Header Dividers */
.title-line {
    width: 60px;
    height: 4px;
    border-radius: 2px;
}

/* Interactive Feature & Service Grid Cards */
.icon-box {
    width: 70px;
    height: 70px;
    transition: all 0.3s ease;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.125) !important;
}

.service-card:hover .icon-box {
    background-color: var(--bs-primary) !important;
    color: #ffffff !important;
}

/* Offset Badge Base Grid Structure */
.custom-badge-bg {
    transform: translate(15px, 15px);
}

/* Interactive Input Controls Focus States */
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(15, 76, 146, 0.25);
}

/* Call Button Subtle Alert Animation loop */
@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 204, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

.call-btn {
    animation: pulse-ring 2s infinite;
}

/* ==========================================================================
   4. Premium Footer Custom Architectures
   ========================================================================== */

/* Link Shifting Animation on Hover */
.footer-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--bs-warning) !important;
    transform: translateX(5px);
}

/* Decorative Footer Typography Accent lines */
.footer-title-under::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 35px;
    height: 2px;
    background-color: var(--bs-warning);
}

/* Floating Grid Round Social Elements */
.social-icon-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-icon-btn:hover {
    background-color: var(--bs-warning);
    color: #000000 !important;
    transform: translateY(-3px);
}

/* ==========================================================================
   5. Mobile UI Fixes & Responsive Rules
   ========================================================================== */
.mobile-cta-bar {
    z-index: 1030;
}

.mobile-cta-bar .btn {
    font-size: 1.05rem;
}

@media (max-width: 767.98px) {
    footer {
        /* Prevents content layout overlapping with the bottom mobile quick-contact panel */
        padding-bottom: 75px !important; 
    }
}

/* ==========================================================================
   6. Premium App-Style Mobile Bottom Navigation
   ========================================================================== */
.mobile-app-menu {
    z-index: 1040;
    height: 65px;
    border-radius: 20px 20px 0 0; /* Modern curved top layout */
}

.mobile-app-menu .menu-item {
    font-size: 0.68rem;
    font-weight: 600;
    transition: all 0.2s ease;
    flex: 1;
}

/* Active Menu Tab State */
.mobile-app-menu .menu-item.active {
    color: var(--bs-primary) !important;
}

/* Center Shifting Call Button Hero Element */
.mobile-app-menu .menu-call-action {
    background-color: var(--bs-primary);
    width: 52px;
    height: 52px;
    margin-top: -30px; /* Floats the button upwards like food delivery/fintech apps */
    border: 4px solid #ffffff;
    box-shadow: 0 4px 10px rgba(15, 76, 146, 0.4) !important;
    animation: pulse-ring-call 2s infinite;
}

.mobile-app-menu .menu-call-action:active {
    transform: scale(0.9);
}

/* Call Animation loop specifically for the circle button */
@keyframes pulse-ring-call {
    0% { box-shadow: 0 4px 10px rgba(15, 76, 146, 0.4), 0 0 0 0 rgba(15, 76, 146, 0.4); }
    70% { box-shadow: 0 4px 10px rgba(15, 76, 146, 0.4), 0 0 0 10px rgba(15, 76, 146, 0); }
    100% { box-shadow: 0 4px 10px rgba(15, 76, 146, 0.4), 0 0 0 0 rgba(15, 76, 146, 0); }
}

@media (max-width: 767.98px) {
    footer {
        padding-bottom: 85px !important; /* Extra bottom clearance for native feel */
    }
}

/* ==========================================================================
   7. Recent Work Gallery Component
   ========================================================================== */
.gallery-card {
    height: 220px; /* निश्चित ऊंचाई ताकि ग्रिड टूटे नहीं */
    cursor: pointer;
    background-color: #e9ecef;
}

.gallery-img {
    height: 100%;
    object-fit: cover; /* इमेज को बिना स्ट्रेच किए फिट रखता है */
    transition: transform 0.4s ease;
}

/* Hover Zoom Effect */
.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}

/* Gradient Overlay for Text Visibility */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Responsive adjustment for small phones */
@media (max-width: 575.98px) {
    .gallery-card {
        height: 150px; /* मोबाइल स्क्रीन पर थोड़ी छोटी ताकि दोनो कॉलम एकदम सही बैठें */
    }
}