html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

:root {
    --brand-blue: #3b3a90;
    --brand-blue-dark: #2c2b75;
    --saffron: #ff8a1f;
    --green: #10b981;
}

.topbar {
    background: #f5f6ff;
    color: #667085;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
    box-shadow: 0 0 0 4px rgba(16,185,129,.15);
}

.navbar .nav-link.active {
    color: var(--brand-blue-dark) !important;
    font-weight: 700;
}

.navbar .dropdown-menu {
    border-radius: 14px;
}

.navbar .btn-primary {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

    .navbar .btn-primary:hover {
        background: var(--brand-blue-dark);
        border-color: var(--brand-blue-dark);
    }

.hero {
    background: radial-gradient(1100px 600px at 10% 15%, rgba(59,58,144,.35), transparent 40%), radial-gradient(900px 500px at 90% 20%, rgba(255,138,31,.30), transparent 42%), radial-gradient(800px 520px at 70% 90%, rgba(16,185,129,.28), transparent 42%);
}

.hero-title {
    color: var(--brand-blue-dark);
}

.hero-accent {
    width: 26px;
    height: 2px;
    display: inline-block;
    border-radius: 999px;
    background: linear-gradient(90deg,var(--saffron),var(--green));
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid #e6e8ef;
    background: #fff;
    color: #667085;
    font-size: 14px;
}

.check {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16,185,129,.12);
    border: 1px solid rgba(16,185,129,.25);
    color: var(--green);
    font-weight: 900;
    font-size: 12px;
}

.hero-img {
    height: 320px;
    background: linear-gradient(135deg, rgba(59,58,144,.22), rgba(59,58,144,.06)), url("../images/header.png");
    background-size: cover;
    background-position: center;
}

.iconbox {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59,58,144,.10);
    border: 1px solid rgba(59,58,144,.18);
    color: var(--brand-blue-dark);
    font-weight: 800;
}

.iconbox-saffron {
    background: rgba(255,138,31,.12);
    border-color: rgba(255,138,31,.22);
}

.iconbox-green {
    background: rgba(16,185,129,.12);
    border-color: rgba(16,185,129,.22);
}

.tri-stripe {
    width: 20px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    background: linear-gradient(90deg,var(--saffron), #fff, var(--green));
    border: 1px solid rgba(0,0,0,.06);
}

.cta-block {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
}

.footer {
    background: #0e1030;
    color: rgba(255,255,255,.85);
}

    .footer a {
        color: rgba(255,255,255,.75);
    }

        .footer a:hover {
            color: #fff;
        }



.highlight-services .card {
    background: linear-gradient(180deg, rgba(245,246,255,.9), rgba(255,255,255,1));
}

.highlight-services .hs-btn {
    border-radius: 999px;
    font-weight: 600;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--blue-900);
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    font-size: 14px;
}

.chip .mini {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--saffron);
    box-shadow: 10px 0 0 var(--green);
}

/* Soft pulse blink for highlighted service */
.blink {
    position: relative;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(59,58,144,.45);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(59,58,144,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59,58,144,0);
    }
}

/* Service card – image + title only */
.service-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(16,24,40,.08);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 32px rgba(16,24,40,.14);
    }

/* Image area */
.service-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

    /* Subtle dark overlay for readability */
    .service-img::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(900px 500px at 15% 15%, rgba(59,58,144,.10), transparent 55%), radial-gradient(700px 380px at 85% 25%, rgba(255,138,31,.10), transparent 55%), radial-gradient(650px 420px at 75% 90%, rgba(16,185,129,.08), transparent 50%);
    }

/* Title */
.service-title {
    padding: 16px;
    font-weight: 700;
    font-size: 18px;
    color: #0e1030;
    text-align: center;
}

.step-num {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--brand-blue, #3b3a90);
    background: rgba(59,58,144,.10);
    border: 1px solid rgba(59,58,144,.18);
}

.step-num-saffron {
    color: #b45309;
    background: rgba(255,138,31,.12);
    border-color: rgba(255,138,31,.25);
}

.step-num-green {
    color: #047857;
    background: rgba(16,185,129,.12);
    border-color: rgba(16,185,129,.25);
}


#resources .card {
    transition: transform .25s ease, box-shadow .25s ease;
}

    #resources .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 32px rgba(16,24,40,.14);
    }


/* Service detail card */
.service-detail-card {
    overflow: hidden;
}

/* Image section */
.service-detail-img {
    height: 100%;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

    /* Soft overlay for consistency */
    .service-detail-img::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.25));
    }

/* Mobile fix */
@media (max-width: 768px) {
    .service-detail-img {
        min-height: 180px;
    }
}

.service-hero-img {
    height: 260px;
    background-size: cover;
    background-position: center;
}

.cta-block {
    background: linear-gradient(135deg, #3b3a90, #1e1d6f);
}


/* Home services card */
.service-home-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(16,24,40,.08);
    border: 1px solid rgba(230,232,239,.9);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    height: 100%;
}

    .service-home-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 32px rgba(16,24,40,.14);
        border-color: rgba(59,58,144,.25);
    }

/* Icon box */
.service-home-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(59,58,144,.10);
    border: 1px solid rgba(59,58,144,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

    .service-home-icon img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

/* Title and description */
.service-home-title {
    font-weight: 800;
    color: #0e1030;
}

.service-home-desc {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.35;
}

/* Show more */
.service-home-more {
    font-weight: 700;
    color: #3b3a90;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-home-card:hover .service-home-more {
    color: #ff8a1f;
}


/* Hero carousel sizing */
.hero-carousel .hero-slide {
    height: 280px; /* desktop height */
    background-size: cover;
    background-position: center;
    position: relative;
}

    /* Soft overlay to keep text area consistent */
    .hero-carousel .hero-slide::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.22));
    }

/* Smaller on mobile */
@media (max-width: 992px) {
    .hero-carousel .hero-slide {
        height: 220px;
    }
}

/* Make indicators visible on images */
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

.num-badge {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(59,58,144,.12);
    color: rgb(59,58,144);
    font-weight: 700;
}

/* Enable hover dropdown for desktop */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar .dropdown > .dropdown-toggle::after {
        transition: transform .2s ease;
    }

    .navbar .dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .navbar .dropdown-menu {
        display: none;
        margin-top: 0;
    }

    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }

    /* Visual feedback */
    .navbar .dropdown-toggle::after {
        transition: transform .2s ease;
    }

    .navbar .dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    /* Disable pointer click behavior */
    .navbar .dropdown-toggle.no-click {
        cursor: default;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: #25D366;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .whatsapp-float:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
        color: #fff;
    }

/* Icon */
.whatsapp-icon {
    font-size: 22px;
    line-height: 1;
}

/* Optional pulse animation */
.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    animation: whatsappPulse 2.5s infinite;
    background: rgba(37, 211, 102, 0.35);
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}
