/* ===== BOOTSTRAP 5.1.0 FOOTER FIX ===== */

/* 1. Ensure html and body take full height */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 2. Flexbox layout for sticky footer */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 3. Main content grows to push footer down */
main {
    flex: 1 0 auto;
}

/* 4. Footer stays at bottom */
.footer {
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

/* ===== NAVBAR STYLING ===== */
.navbar {
    padding: 0.8rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.2);
        font-weight: 600;
    }

/* ===== CONTENT AREA ===== */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .navbar-collapse {
        margin-top: 1rem;
    }

    .nav-link {
        margin: 0.2rem 0;
        text-align: center;
    }

    .footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer ul {
        padding-left: 0;
    }
}

/* ===== ADDITIONAL STYLES ===== */
.bg-primary {
    background-color: #1a237e !important;
}

.text-warning {
    color: #ffc107 !important;
}

/* Button hover effects */
.btn-primary {
    background-color: #1a237e;
    border-color: #1a237e;
}

    .btn-primary:hover {
        background-color: #0d1b5c;
        border-color: #0d1b5c;
    }
/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, #1a237e 0%, #0d1b5c 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(13, 27, 92, 0.95) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.min-vh-80 {
    min-height: 80vh;
}

/* ===== QUOTE FORM CARD ===== */
.quote-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .quote-form-card .form-control-lg,
    .quote-form-card .form-select-lg {
        border-radius: 10px;
        border: 2px solid #e0e0e0;
        transition: all 0.3s ease;
    }

        .quote-form-card .form-control-lg:focus,
        .quote-form-card .form-select-lg:focus {
            border-color: #1a237e;
            box-shadow: 0 0 0 0.25rem rgba(26, 35, 126, 0.25);
        }

/* ===== SERVICE CARDS ===== */
.service-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

    .service-icon i {
        font-size: 2.5rem;
    }

/* ===== FEATURE ICONS ===== */
.feature-icon-small {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== ANIMATIONS ===== */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__delay-1s {
    animation-delay: 0.5s;
}

.animate__delay-2s {
    animation-delay: 1s;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
/* ===== HERO SECTION - FIXED ===== */
.hero-section {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, #1a237e 0%, #0d1b5c 100%);
    overflow: hidden;
    padding: 4rem 0;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        opacity: 0.3;
        z-index: 1;
    }

    .hero-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(13, 27, 92, 0.95) 100%);
        z-index: 2;
    }

.hero-content {
    position: relative;
    z-index: 3;
}

.quote-form-card {
    position: relative;
    z-index: 10 !important; /* HIGHEST priority */
    background: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Remove previous hero-bg and hero-overlay classes */
.hero-bg,
.hero-overlay {
    display: none;
}