:root {
    --brand-dark: #0b2239;
    --brand: #0d6efd; /* Bootstrap primary */
    --brand-accent: #00b894; /* accent for highlights */
    --brand-light: #f5f9ff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: "rlig" 1, "kern" 1;
}

/* Navbar */
.navbar {
    transition: all .25s ease;
}

    .navbar.scrolled {
        background: rgba(11,34,57,.9) !important;
        box-shadow: 0 8px 24px rgba(0,0,0,.15);
    }

    .navbar .nav-link {
        font-weight: 600;
    }

/* Hero */
.hero {
    background: linear-gradient(180deg, rgba(11,34,57,.82), rgba(11,34,57,.75)), url('/images/hero1.png') center/cover no-repeat;
    color: #fff;
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
}

    .hero .badge {
        background: var(--brand-accent);
    }

    .hero h1 {
        font-weight: 800;
        letter-spacing: .3px;
    }

.hero-cta .btn {
    padding: .85rem 1.25rem;
    font-weight: 700;
}

.floating-card {
    background: #fff;
    border: 0;
    box-shadow: 0 20px 60px rgba(13,110,253,.15);
    border-radius: 1rem;
    margin-top: -3rem;
    position: relative;
    z-index: 5;
}

/* Sections */
section.section {
    padding: 5rem 0;
}

.section-title {
    font-weight: 800;
}

.lead-strong {
    font-size: 1.125rem;
}

/* Services */
.service-card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

    .service-card .icon {
        font-size: 2rem;
        width: 3rem;
        height: 3rem;
        display: grid;
        place-items: center;
        border-radius: .75rem;
        background: var(--brand-light);
        color: var(--brand);
    }

/* Pricing */
.pricing .card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.07);
}

    .pricing .card.featured {
        border: 2px solid var(--brand);
        transform: scale(1.02);
    }

/* CTA band */
.band {
    background: linear-gradient(135deg,var(--brand) 0%, #2152ff 100%);
    color: #fff;
}

/* Footer */
footer {
    background: #0b1f33;
    color: #cfe0ff;
}

    footer a {
        color: #cfe0ff;
    }

/* Tiny helpers */
.checklist i {
    color: var(--brand-accent);
}

.badge-outline {
    border: 1px solid #8cc9ff;
    color: #cfe0ff;
    background: transparent;
}

.contact-section {
    background: #f0f4f9;
    padding: 10px 10px;
    text-align: center;
}

    .contact-section .section-title {
        font-size: 2rem;
        margin-bottom: 5px;
        color: #003366;
    }

    .contact-section .section-subtitle {
        margin-bottom: 20px;
        color: #555;
    }

.contact-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Let cards grow, shrink, and wrap at ~280px */
.contact-item {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    flex: 1 1 280px; /* was: flex:1 */
    min-width: 260px; /* prevents squishing */
    max-width: 320px; /* optional cap */
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

    .contact-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(0,0,0,.15);
    }

    .contact-item i {
        font-size: 2.5rem;
        color: #0056b3;
        margin-bottom: 10px;
    }

    .contact-item h4 {
        margin-bottom: 8px;
        font-size: 1.2rem;
        color: #222;
    }

    /* Keep phone number on one line */
    .contact-item p a {
        color: #0056b3;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap; /* key for the phone card */
    }

/* Stack cards full-width on small screens */
@media (max-width: 768px) {
    .contact-item {
        flex: 1 1 100%;
        min-width: 0;
        max-width: none;
    }

    .contact-row {
        gap: 12px;
    }
}

/* Modal niceties */
.modal-content {
    border-radius: 1rem;
}

.modal-header {
    border-bottom: 0;
}

.modal-footer {
    border-top: 0;
}
