/* BASE */

html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

@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;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* BASE */
body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    margin: 0;
    padding: 0;
}

/* MODAL Z-INDEX FIXES */
.modal {
    z-index: 9999 !important;
}

.modal-backdrop {
    z-index: 9998 !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
}

.modal-dialog {
    z-index: 10000 !important;
}

/* Ensure modal appears above all other content */
#dynamic-modal-container {
    position: relative;
    z-index: 10001;
}

/* Override Bootstrap modal z-index specifically for event detail modal */
#eventDetailModal {
    z-index: 10002 !important;
}

    #eventDetailModal .modal-backdrop {
        z-index: 10001 !important;
    }

/* CONTAINER WIDTH FIXES */
.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 576px) {
    .container {
        max-width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 100%;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 100%;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 100%;
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 100%;
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

/* NAVBAR LOGO */
.nav-logo {
    height: 48px;
    width: auto;
    display: block;
}

/* Brand text */
.brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: #cbd5f5;
}

/* Desktop */
@media (min-width: 992px) {
    .nav-logo {
        height: 56px;
    }
}

/* Mobile */
@media (max-width: 991.98px) {
    .nav-logo {
        height: 42px;
    }

    .brand-subtitle {
        display: none;
    }
}

/* NAVBAR*/
.navbar {
    min-height: 72px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: linear-gradient(180deg, #0b0f14 0%, #111827 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    z-index: 1200;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

    /* Fix navbar container padding - use container-fluid for full width */
    .navbar .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }

@media (min-width: 768px) {
    .navbar .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 992px) {
    .navbar .container-fluid {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1200px) {
    .navbar .container-fluid {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1400px) {
    .navbar .container-fluid {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff !important;
}

/*nav links */
.navbar-nav .nav-link {
    color: #e5e7eb !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

    .navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
        color: #ffffff !important;
    }

/* Login button */
.nav-login {
    background-color: #2563eb;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    margin-left: 0.5rem;
}

    .nav-login:hover {
        background-color: #1e40af;
    }

/*HAMBURGER ICON */
.hamburger {
    border: none;
    background: transparent;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
}

    .hamburger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: #ffffff;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

        .hamburger span:nth-child(1) {
            top: 0;
        }

        .hamburger span:nth-child(2) {
            top: 9px;
        }

        .hamburger span:nth-child(3) {
            bottom: 0;
        }

    .hamburger[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .hamburger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .hamburger[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 10px;
    }

/*DESKTOP NAVBAR*/
@media (min-width: 992px) {
    .navbar {
        min-height: 88px;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .navbar-nav {
        align-items: center;
    }

    .navbar .navbar-nav .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        padding: 0.75rem 1.25rem;
        letter-spacing: 0.04em;
    }
}

/*MOBILE NAV*/
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #0b0f14;
        padding: 1rem;
        margin-top: 0.75rem;
        border-radius: 14px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.45);
    }

    .navbar-nav {
        width: 100%;
        text-align: center;
    }

        .navbar-nav .nav-link {
            width: 100%;
            padding: 0.75rem 1rem;
            border-radius: 10px;
            color: #e5e7eb !important;
        }

            .navbar-nav .nav-link:hover {
                background-color: rgba(255,255,255,0.08);
                color: #ffffff !important;
            }

    .nav-login {
        margin-top: 0.75rem;
        text-align: center;
    }
}

/*HERO SECTION*/
.hero-section {
    background: linear-gradient(180deg, #0f172a 0%, #1e3a8a 100%);
    padding: 2rem 0 1.5rem;
    text-align: center;
    margin: 0;
}

    .hero-section h1 {
        color: #ffffff;
        font-weight: 600;
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .hero-section p {
        color: #e5e7eb;
        max-width: 720px;
        margin: 0 auto;
    }

/* Fix main content spacing */
main {
    margin: 0;
    padding: 0;
}

/*SECTIONS*/
section {
    padding: 2rem 0;
    margin: 0;
}

    section h2 {
        font-weight: 600;
        margin-bottom: 1rem;
    }

    section p {
        color: #6b7280;
    }

/* CAROUSEL*/
.enhanced-carousel {
    max-width: 100%;
    position: relative;
}

/* carousel height */
#communityCarousel .carousel-item {
    height: 420px;
}

@media (max-width: 768px) {
    #communityCarousel .carousel-item {
        height: 260px;
    }
}

/* Image sizing */
#communityCarousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Hover zoom (desktop only) */
@media (min-width: 992px) {
    #communityCarousel .carousel-item:hover img {
        transform: scale(1.03);
    }
}

/* Dark overlay */
#communityCarousel .carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.1) 75% );
    z-index: 1;
}

/* Caption */
#communityCarousel .carousel-caption {
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 12%;
    text-align: left;
    z-index: 2;
}

    #communityCarousel .carousel-caption h5 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.4rem;
    }

    #communityCarousel .carousel-caption p {
        font-size: 1rem;
        color: #e5e7eb;
        max-width: 520px;
    }

/* Arrows */
#communityCarousel .carousel-control-prev-icon, #communityCarousel .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.55);
    border-radius: 50%;
    padding: 18px;
}

/* Hide indicators */
#communityCarousel .carousel-indicators {
    display: none;
}

/*GALLERY CTA LINK */
a.gallery-link {
    display: inline-block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2563eb;
    text-decoration: none;
    position: relative;
    padding: 8px 10px;
    transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
}
    /*HOVER EFFECTS */

    a.gallery-link:hover {
        color: #1e40af;
        text-shadow: 0 0 6px rgba(37,99,235,0.9), 0 0 14px rgba(37,99,235,0.6), 0 0 22px rgba(37,99,235,0.35);
        transform: translateY(-2px);
    }

    a.gallery-link:focus {
        outline: none;
        box-shadow: none;
    }

/* GALLERY CTA BUTTON */
.btn-gallery-ghost {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 999px;
    transition: color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}
    /*HOVER EFFECT */

    .btn-gallery-ghost:hover {
        color: #ffffff;
        background-color: #2563eb;
        box-shadow: 0 0 10px rgba(37,99,235,0.8), 0 0 22px rgba(37,99,235,0.45);
        transform: translateY(-2px);
    }

    .btn-gallery-ghost:focus, .btn-gallery-ghost:active {
        box-shadow: none;
        outline: none;
    }

/*EVENT CARDS*/
.event-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
}

    .event-card:hover {
        transform: translateY(-4px);
    }

.event-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.event-body {
    padding: 16px;
}

    .event-body h5 {
        margin-bottom: 4px;
        font-weight: 600;
    }

.event-date {
    color: #6b7280;
    font-size: 0.9rem;
}

/*FEATURED EVENT*/
.featured-event {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.featured-event-img {
    flex: 1 1 45%;
    min-height: 300px;
}

    .featured-event-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.featured-event-content {
    flex: 1 1 55%;
    padding: 32px;
}

    .featured-event-content h3 {
        font-weight: 600;
        margin-bottom: 8px;
    }

.featured-event-date {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.featured-event-desc {
    margin-bottom: 20px;
    color: #374151;
}

/*FEATURED EVENT MOBILE*/
@media (max-width: 768px) {
    .featured-event {
        flex-direction: column;
    }

    .featured-event-img {
        min-height: 220px;
    }

    .featured-event-content {
        padding: 20px;
    }
}

/*FOOTER*/
footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Caption positioning */
.enhanced-carousel .carousel-caption {
    position: absolute;
    left: 5%;
    bottom: 12%;
    right: 5%;
    text-align: left;
    z-index: 2;
}
    /* Title */

    .enhanced-carousel .carousel-caption h5 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.4rem;
    }
    /* Description */

    .enhanced-carousel .carousel-caption p {
        font-size: 1.rem;
        color: #e5e7eb;
        max-width: 520px;
    }

/* Hover effect */
.enhanced-carousel .carousel-item {
    cursor: pointer;
}

    .enhanced-carousel .carousel-item:hover img {
        transform: scale(1.03);
    }

.enhanced-carousel img {
    transition: transform 0.4s ease;
}

/* Indicators */
.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
}

.carousel-indicators .active {
    background-color: #ffffff;
}

.event-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.event-small .event-img-wrapper {
    height: 140px;
}

.event-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-body {
    padding: 16px;
}

.event-title a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

    .event-title a:hover {
        text-decoration: underline;
    }

/*WEATHER CARD*/
.weather-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background-image: url("/assets/img/weatherbg.jpg");
    background-size: cover;
    color: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
    margin-top: 1rem;
}

.weather-header {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.weather-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

    .weather-row small {
        display: block;
        font-size: 0.85rem;
        color: #c7d2fe;
    }

.weather-footer {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 12px;
    text-align: center;
}

/*PHOTO GALLERY*/
.gallery-section {
    padding: 3rem 0;
}

.gallery-header h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-header p {
    color: #6b7280;
    font-size: 0.95rem;
}

.gallery-section-title {
    font-weight: 600;
    color: #374151;
}

/* GALLERY CARD */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    cursor: pointer;
}

    .gallery-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .gallery-card:hover img {
        transform: scale(1.08);
    }

/* OVERLAY */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15) );
    display: flex;
    align-items: flex-end;
    padding: 12px;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay strong {
    display: block;
    font-size: 0.9rem;
}

.gallery-overlay small {
    font-size: 0.75rem;
    opacity: 0.85;
}

/* LEFT SIDEBAR*/
.info-sidebar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    width: 100%;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Title */
.info-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #111827;
}

/* List */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .info-list li {
        margin-bottom: 10px;
    }
    /* Links */

    .info-list a {
        display: block;
        padding: 10px 12px;
        border-radius: 6px;
        font-size: 1rem;
        color: #1d4ed8;
        text-decoration: none;
        background: #f8fafc;
        transition: background 0.2s ease, color 0.2s ease;
    }

        .info-list a:hover {
            background: #2563eb;
            color: #ffffff;
        }

/* Mobile */
/*@media (max-width: 575.98px) {
    .info-sidebar {
        margin-left: 0;
    }
}*/

/* CONTENT LAYOUT – IMPROVED SPACING */
@media (min-width: 992px) {
    aside.col-lg-3 {
        padding-right: 1.5rem;
    }

    main.col-lg-9 {
        padding-left: 1.5rem;
    }
}

/* MAIN SECTION SPACING IMPROVEMENTS */
section.container.my-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
}

/*ABOUT US PAGE*/

/* ABOUT HERO */
.about-hero {
    background: linear-gradient( rgba(0,0,0,0.55), rgba(0,0,0,0.55) ), url('/assets/img/img1.jpg') center/cover no-repeat;
    color: #fff;
    padding: 80px 20px;
}

    .about-hero h1 {
        font-weight: 700;
        margin-bottom: 10px;
    }

    .about-hero p {
        max-width: 600px;
        margin: 0 auto;
        opacity: 0.9;
    }

/* BREADCRUMB */
.about-breadcrumb {
    display: block;
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 10px;
}

/* ABOUT SECTION */
.about-section {
    padding: 70px 0;
}

.about-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.about-description {
    color: #555;
    line-height: 1.7;
}

/* IMAGE GRID */
.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

    .about-image-grid img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 10px;
    }

        .about-image-grid img:first-child {
            grid-column: span 2;
            height: 240px;
        }

/* MISSION & VISION CARDS */
.about-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

    .about-card h3 {
        font-weight: 600;
        margin-bottom: 12px;
    }

    .about-card p {
        color: #555;
        line-height: 1.7;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 16px;
    }

    .about-image-grid img {
        height: 160px;
    }
}

/* HOME ANNOUNCEMENTS WIDTH TWEAK*/
@media (min-width: 992px) {
    .home-left-feature {
        flex: 0 0 44%;
        max-width: 44%;
    }

    .home-right-announcements {
        flex: 0 0 56%;
        max-width: 100%;
    }
}

/* HOME HERO */
.hero-card {
    aspect-ratio: 4 / 3;
    background: #000;
}

.carousel-img {
    object-fit: cover;
    opacity: 0.9;
}

/* ANNOUNCEMENTS */
.news-events-container {
    max-height: 950px;
    overflow-y: auto;
}

.news-event-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

    .news-event-item:hover {
        background: #f8faff;
    }

.date-badge {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.date-badge-success {
    background: linear-gradient(135deg, #56ab2f, #a8e063);
}

.date-month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

.date-day {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.news-event-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.news-event-description {
    font-size: 0.8rem;
    color: #6c757d;
}

.news-event-arrow {
    color: #c0c0c0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.news-event-item:hover .news-event-arrow {
    color: #0d6efd;
    transform: translateX(4px);
}

@media (max-width: 991.98px) {
    .hero-card {
        aspect-ratio: 16 / 9;
    }
}

.carousel-img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    min-height: 300px;
    max-height: 420px;
    background: #f8f9fa;
}

.hero-card {
    min-height: 320px;
    background: #fff;
}

.card.announcement-list {
    min-height: 240px;
    background: #fff;
}

@media (max-width: 991.98px) {
    .carousel-img {
        min-height: 180px;
        max-height: 220px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 1.8rem 1rem 1.4rem;
    }

        .hero-section h1 {
            font-size: 1.5rem;
            line-height: 1.25;
        }

        .hero-section p {
            font-size: 0.95rem;
        }

    section {
        padding: 1.5rem 0;
    }

    .hero-card {
        min-height: 0;
        border-radius: 12px;
    }

    .carousel-img {
        aspect-ratio: 16 / 9;
        min-height: 200px;
        max-height: 260px;
        border-radius: 12px;
    }

    .card.announcement-list {
        border-radius: 12px;
    }

    .news-events-container {
        max-height: none;
    }

    .news-event-item {
        padding: 0.85rem 0.95rem;
    }

    .date-badge {
        width: 46px;
        height: 46px;
    }

    .d-lg-none .btn {
        width: 100%;
    }

    .info-sidebar {
        padding: 16px;
    }

    .weather-card {
        margin-top: 0.75rem;
        padding: 14px;
    }
}

/*@media (min-width: 992px) {
    .hero-card,
    .card.announcement-list {
        height: 100%;
    }

    .card.announcement-list {
        display: flex;
        flex-direction: column;
    }

        .card.announcement-list .card-body {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

    .news-events-container {
        flex: 1;
        max-height: none;
        overflow-y: auto;
    }
}
*/
/* ANNOUNCEMENTS */
.card.announcement-list {
    min-height: 320px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

    .card.announcement-list .card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

.news-events-container {
    flex: 1;
    min-height: 0;
    max-height: 420px;
    overflow-y: auto;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}

    .news-events-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

/* Desktop: lock height to carousel and keep scroll hidden */
@media (min-width: 992px) {
    .hero-card,
    .card.announcement-list {
        min-height: 420px;
        height: 420px;
    }

    .news-events-container {
        height: 100%;
        max-height: 100%;
    }
}

/* ANNOUNCEMENT ITEMS: compact sizing */
.news-event-item {
    padding: 0.75rem 1rem; /* was 1rem 1.25rem */
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.news-event-title {
    font-size: 0.9rem; /* was 0.95rem */
    font-weight: 600;
}

.news-event-description {
    font-size: 0.75rem; /* was 0.8rem */
    color: #6c757d;
}

.date-badge {
    width: 46px; /* was 52px */
    height: 46px; /* was 52px */
}

.date-month {
    font-size: 0.65rem; /* was 0.7rem */
}

.date-day {
    font-size: 1.05rem; /* was 1.2rem */
}

/* HERO CAROUSEL PROGRESS INDICATORS VISIBLE */
#homeHeroCarousel.carousel {
    position: relative;
}

    #homeHeroCarousel.carousel .carousel-indicators {
        display: flex !important;
        position: absolute !important;
        left: 0;
        right: 0;
        bottom: 0.45rem !important;
        justify-content: center;
        gap: 0.35rem !important;
        margin: 0;
        padding: 0;
    }

        #homeHeroCarousel.carousel .carousel-indicators [data-bs-target] {
            position: relative;
            flex: 0 0 auto;
            width: 36px !important;
            height: 6px !important;
            padding: 0;
            border: none;
            border-radius: 999px;
            background: rgba(37, 99, 235, 0.18);
            opacity: 1;
            overflow: hidden;
            transition: width 0.2s ease, height 0.2s ease, border-radius 0.2s ease, background-color 0.2s ease;
        }

        #homeHeroCarousel.carousel .carousel-indicators .indicator-bar {
            position: absolute;
            inset: 0;
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, #2563eb, #60a5fa);
            border-radius: 999px;
            transition: width 5s linear;
        }

        #homeHeroCarousel.carousel .carousel-indicators [data-bs-target].completed {
            width: 12px !important;
            height: 12px !important;
            border-radius: 50%;
            background: #2563eb;
            box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
        }

            #homeHeroCarousel.carousel .carousel-indicators [data-bs-target].completed .indicator-bar {
                width: 100% !important;
                height: 100%;
                border-radius: 50%;
                transition: none;
            }
