* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0b1f33;
}

.navbar {
    background: linear-gradient(90deg, #003d73, #0060aa);
}

.navbar .nav-link {
    color: #f8f5ee !important;
    font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #ffe0b3 !important;
}

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

.brand-text .brand-name {
    display: block;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.brand-text .brand-subtitle {
    font-size: .75rem;
    color: #f4e2c2;
}

/* Hero */
.hero-section {
    position: relative;
}

.hero-carousel .carousel-item img {
    max-height: 640px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0,0,0,.3), transparent 40%), 
                linear-gradient(to top, rgba(0,0,0,.65), transparent 50%);
    z-index: 1;
}

.hero-carousel .carousel-caption {
    z-index: 2;
    max-width: 650px;
}

.hero-carousel h1,
.hero-carousel h2 {
    font-weight: 700;
    text-shadow: 0 8px 25px rgba(0,0,0,.65);
}

.hero-carousel p.lead {
    text-shadow: 0 6px 20px rgba(0,0,0,.7);
}

/* Buttons */
.btn-cta {
    background: #004b84;
    color: #ffffff;
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 600;
}

.btn-cta:hover {
    background: #0060aa;
    color: #ffffff;
}

.btn-cta-outline {
    border: 2px solid #004b84;
    color: #004b84;
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 600;
}

.btn-cta-outline:hover {
    background: #004b84;
    color: #ffffff;
}

.btn-phone {
    background: #ffffff;
    color: #003d73;
    border-radius: 999px;
    font-weight: 600;
}

.btn-phone:hover {
    background: #ffe3c2;
    color: #003d73;
}

/* Intro */
.intro-section {
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(242,160,53,.12), transparent 60%);
    pointer-events: none;
}

.section-title {
    font-weight: 700;
    font-size: clamp(1.75rem, 2.4vw, 2.3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #4a6078;
    max-width: 600px;
    margin-inline: auto;
}

.intro-list li {
    margin-bottom: .35rem;
}

.intro-image {
    transform: translateY(0);
    transition: transform .5s ease, box-shadow .5s ease;
}

.intro-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

/* Cards */
.service-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 14px 35px rgba(0,0,0,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.service-card .card-title {
    font-weight: 600;
    margin-bottom: .75rem;
}

.service-card ul {
    padding-left: 1.1rem;
}

.service-card li {
    margin-bottom: .25rem;
}

.about-list li {
    margin-bottom: .35rem;
}

/* Areas */
.area-card {
    border-radius: 16px;
    padding: 1.5rem 1.3rem;
    background: #f5f8fc;
    border: 1px solid #d4e1f3;
    height: 100%;
    box-shadow: 0 12px 30px rgba(0,0,0,.04);
}

/* Contact */
#contact {
    background: radial-gradient(circle at top left, #004b84, #001226);
}

.contact-box h5 {
    font-weight: 600;
    margin-bottom: .15rem;
}

.contact-link {
    color: #f8931d;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-form-card {
    border-radius: 20px;
    border: none;
    box-shadow: 0 18px 45px rgba(0,0,0,.4);
}

.form-note {
    color: #cfc3b0;
}

/* Footer */
.footer {
    background: #001226;
    color: #dbe4f5;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp .9s ease forwards;
}

.animate-fade-up.delay-1 {
    animation-delay: .25s;
}

.animate-fade-up.delay-2 {
    animation-delay: .5s;
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 16px;
    z-index: 999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    box-shadow: 0 15px 35px rgba(0,0,0,.35);
}

.whatsapp-icon {
    width: 34px;
    height: 34px;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-carousel .carousel-caption {
        align-items: center !important;
        text-align: center !important;
    }
    .hero-carousel .carousel-caption h1,
    .hero-carousel .carousel-caption h2 {
        font-size: 1.7rem;
    }
    .hero-carousel .carousel-caption .btn {
        margin-bottom: .5rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand .brand-text {
        font-size: .8rem;
    }
    .hero-carousel .carousel-item img {
        max-height: 520px;
    }
}

/* Intro map card */
.intro-map-card {
    border-radius: 24px;
    overflow: hidden;
}
.intro-map-card .card-body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0b1f33;
}

/* Contact text colors */
#contact p,
#contact .small,
#contact .contact-link {
    color: #e4ecf8;
}

#contact .contact-link:hover {
    color: #ffffff;
}


.intro-section p,
.intro-section .small {
    color: #ffffff !important;
}


/* Intro hero text colors adjusted to button blue */
.intro-section .section-title {
    color: #004b84 !important;
}

.intro-section p,
.intro-section .small {
    color: #004b84 !important;
}

.intro-section .intro-list li {
    color: #004b84 !important;
}

.intro-section .intro-list li::marker {
    color: #004b84;
}


/* Hero intro explicit colors */
.intro-section .section-title {
    color: #004b84 !important;
}

.intro-section p.mb-3 {
    color: #004b84 !important;
}

.intro-section ul.intro-list li {
    color: #004b84 !important;
}

.intro-section ul.intro-list li::marker {
    color: #004b84;
}

/* Corporate contrast adjustments */
.intro-section .section-title {color:#004b84!important;}
.intro-section p.mb-3 {color:#3a4750!important;}
.intro-section ul.intro-list li {color:#004b84!important;}
.intro-section ul.intro-list li::marker {color:#004b84;}

/* Navbar subtitle white */
.navbar small, .navbar .sub-text, .navbar .tagline {color:#ffffff!important;}


/* Navbar subtitle explicit white */
.navbar .brand-subtitle {
    color: #ffffff !important;
}

/* Contact summary text (blue bar) white */
.contact-summary {
    color: #ffffff !important;
}


/* Stronger map title */
.intro-map-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
}
