﻿.hind-siliguri-light {
    font-family: "Hind Siliguri", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.hind-siliguri-regular {
    font-family: "Hind Siliguri", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.hind-siliguri-medium {
    font-family: "Hind Siliguri", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.hind-siliguri-semibold {
    font-family: "Hind Siliguri", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.hind-siliguri-bold {
    font-family: "Hind Siliguri", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.bangla-regular {
    font-family: "SutonnyMJ", "SutonnyOMJ", Arial;
    font-size: 13pt;
}

.english-regular {
    font-family: Roboto, sans-serif;
    font-size: 13pt;
}



/* ===============================
                     MODERN HERO SLIDER DESIGN
                     =============================== */

.hero-modern {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

    /* Remove any background */
    .hero-modern,
    .hero-modern .carousel,
    .hero-modern .carousel-inner,
    .hero-modern .carousel-item {
        background: transparent !important;
    }

        /* Main hero images */
        .hero-modern .main-image {
            width: 100%;
            height: 420px; /* desktop height */
            object-fit: cover;
            display: block;
            transition: transform 4s ease;
        }

/* Zoom + fade effect */
.carousel-fade .carousel-item {
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease, transform 4s ease;
}

    .carousel-fade .carousel-item.active {
        opacity: 1;
        transform: scale(1);
    }

/* Soft overlay for depth */
.hero-modern::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 -120px 160px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

/* Carousel indicators – modern dots */
.hero-modern .carousel-indicators {
    bottom: 20px;
}

    .hero-modern .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.4);
        border: none;
        margin: 0 6px;
        transition: all 0.3s ease;
    }

    .hero-modern .carousel-indicators .active {
        width: 28px;
        border-radius: 20px;
        background-color: #ffffff;
    }

/* ===============================
                     FLOATING CARDS
                     =============================== */

.floating-card {
    position: absolute;
    z-index: 5;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.emergency-card {
    bottom: 20%;
    left: -40px;
}

.stats-card {
    bottom: 8%;
    right: -30px;
}

    .stats-card .stat-item {
        text-align: center;
    }

    .stats-card .number {
        font-weight: 700;
        font-size: 20px;
    }

/* ===============================
                     RESPONSIVE
                     =============================== */

@media (max-width: 992px) {
    .hero-modern .main-image {
        height: 360px;
    }

    .emergency-card {
        left: 0;
    }

    .stats-card {
        right: 0;
    }

    .header .logo h1 {
        font-size: 20px;
        margin: 0;
        font-weight: 700;
        color: var(--heading-color);
    }
}

@media (max-width: 576px) {
    .hero-modern .main-image {
        height: 280px;
    }
}

/* Caption background */
.carousel-caption {
    background: rgba(0, 0, 0, 0.6); /* কালো, হালকা transparent */
    padding: 20px 30px;
    border-radius: 8px;
    bottom: 20%;
    height: 65px;
}

/* Animation initial state */
.carousel-item .animated-caption {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out;
}

/* Active slide animation */
.carousel-item.active .animated-caption {
    opacity: 1;
    transform: translateY(0);
}



/* Header Base */
.header {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    z-index: 999;
    padding: 0px 0;
}

/* First Line: Logo + Appointment */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #007bff;
}

.logo-text span {
    font-weight: 400;
    color: #333;
}

.btn-getstarted {
    background: #007bff;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

    .btn-getstarted:hover {
        background: #0056b3;
    }

/* Second Line: Menu */
.header-bottom {
    border-top: 1px solid #e0e0e0;
    /*padding: 0.5rem 0;*/
}

.navmenu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

    .menu-list li {
        position: relative;
    }

        .menu-list li a {
            color: #333;
            font-weight: 500;
            transition: 0.3s;
            padding: 0.5rem 0.3rem;
        }

            .menu-list li a:hover,
            .menu-list li a.active {
                color: #007bff;
            }

        /* Dropdown */
        .menu-list li .dropdown ul {
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            display: none;
            min-width: 180px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            border-radius: 8px;
            flex-direction: column;
            padding: 0.5rem 0;
            z-index: 1000;
        }

        .menu-list li:hover > .dropdown ul {
            display: flex;
        }

        .menu-list li .dropdown ul li a {
            padding: 0.5rem 1rem;
        }

            .menu-list li .dropdown ul li a:hover {
                background: #f1f1f1;
                color: #007bff;
            }

/* Mobile */
.mobile-nav-toggle {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

@media (max-width: 992px) {
    .menu-list {
        flex-direction: column;
        display: none;
        gap: 0;
    }

        .menu-list.show {
            display: flex;
        }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* ===============================
             HEADER SCROLL EFFECT
             =============================== */

.header {
    transition: all 0.35s ease;
}

    /* Minimized header */
    .header.scrolled {
        padding: 0;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }

        /* Top section shrink */
        .header.scrolled .header-top {
            padding: 4px 16px;
        }

        /* Logo shrink */
        .header.scrolled .logo-img {
            height: 42px;
            transition: 0.3s;
        }

.logo-img {
    height: 55px;
    transition: 0.3s;
}

/* Text shrink */
.header.scrolled .logo-text h1 {
    font-size: 1.1rem;
}

/* Appointment button small */
.header.scrolled .btn-getstarted {
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
}

main {
    margin-top: 120px;
}

@media (max-width: 768px) {
    main {
        margin-top: 100px;
    }
}

.menu-list li a {
    position: relative;
}

    .menu-list li a::after {
        content: "";
        position: absolute;
        left: 0;
        /*bottom: -4px;*/
        bottom: 0px;
        width: 0;
        height: 3px;
        background: #007bff;
        transition: width 0.3s ease;
    }

    .menu-list li a:hover::after,
    .menu-list li a.active::after {
        width: 100%;
    }

.carousel-caption {
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,0.45);
}





/* ===============================
        DEPARTMENT READ MORE BUTTON
        =============================== */

.department-actions {
    margin-top: 16px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.35);
}

    .btn-read-more i {
        transition: transform 0.3s ease;
    }

    .btn-read-more:hover {
        background: linear-gradient(135deg, #0056b3, #00408a);
        transform: translateY(-2px);
    }

        .btn-read-more:hover i {
            transform: translateX(4px);
        }


.department-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .department-overlay .btn-read-more {
        opacity: 0;
        transform: translateY(10px);
    }

.department-item:hover .department-overlay .btn-read-more {
    opacity: 1;
    transform: translateY(0);
}

.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    position: relative;
    /*padding-top: 36px;*/
    padding-top: 0px;
}

/* ===============================
            HEADER TOP – MEDICAL BAR
            =============================== */

.header-top {
    background: linear-gradient(135deg, #eaf3ff, #ffffff);
    /*border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 123, 255, 0.12);
            margin: 0 12px;*/
    position: relative;
    overflow: hidden;
}

    /* Subtle medical pattern overlay */
    .header-top::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(#007bff 0.6px, transparent 0.6px);
        background-size: 20px 20px;
        opacity: 0.08;
        pointer-events: none;
    }

    /* Keep content above overlay */
    .header-top > * {
        position: relative;
        z-index: 1;
    }

.header.scrolled .header-top {
    background: linear-gradient(135deg, #ffffff, #f2f7ff);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 0;
    margin: 0;
}

.header-top .btn-getstarted {
    background: linear-gradient(135deg, #007bff, #0056b3);
    /*box-shadow: 0 6px 18px rgba(0, 123, 255, 0.35);*/
}

    .header-top .btn-getstarted:hover {
        transform: translateY(-1px);
    }

@media (max-width: 768px) {
    .header-top {
        border-radius: 0;
        margin: 0;
    }
}
/* Tagline */
.tagline {
    margin-top: 50px;
    font-size: 0.7rem;
    color: #6c757d;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}



/* ===============================
        MISSION & VISION
        =============================== */

.mission-vision-section {
    padding: 60px 0 30px;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.mv-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .mv-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(#007bff 0.6px, transparent 0.6px);
        background-size: 22px 22px;
        opacity: 0.05;
        pointer-events: none;
    }

    .mv-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0, 123, 255, 0.2);
    }

.mv-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

/* ===============================
        MISSION & VISION TEXT BOOST
        =============================== */

.mv-card h3 {
    /*font-size: 1.9rem;*/ /* বড় heading */
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #003d80;
    /*margin-bottom: 16px;*/
    /*text-transform: uppercase;*/
}

.mv-card p {
    /*font-size: 1.25rem;*/ /* লেখা বড় */
    font-weight: 600; /* মোটা */
    color: #111; /* বেশি contrast */
    line-height: 1.6;
    letter-spacing: 0.4px;
}


/* Mobile spacing */
@media (max-width: 768px) {
    .mission-vision-section {
        padding: 40px 0 20px;
    }
}

/* ===============================
                NOTICE BOARD
                =============================== */

.notice-board-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

/* Section title */
.section-title h2 {
    font-weight: 800;
    color: #003d80;
    letter-spacing: 0.5px;
}

.section-title p {
    color: #666;
    margin-top: 6px;
}

/* Notice Card */
.notice-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 18px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.12);
    transition: all 0.3s ease;
    position: relative;
}

    .notice-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0, 123, 255, 0.2);
    }

/* Date box */
.notice-date {
    min-width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .notice-date .day {
        font-size: 1.4rem;
        font-weight: 800;
        line-height: 1;
    }

    .notice-date .month {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

/* Content */
.notice-content h5 {
    font-weight: 700;
    color: #003d80;
    margin-bottom: 6px;
}

.notice-content p {
    color: #555;
    margin-bottom: 6px;
}

.notice-content a {
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
}

    .notice-content a:hover {
        text-decoration: underline;
    }

/* New Notice Badge */
.notice-card.new::after {
    content: "NEW";
    position: absolute;
    top: -10px;
    right: -10px;
    background: #dc3545;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Mobile */
@media (max-width: 768px) {
    .notice-card {
        flex-direction: column;
    }

    .notice-date {
        width: 100%;
        flex-direction: row;
        gap: 10px;
        height: auto;
        padding: 10px;
    }
}

/* ===============================
        NEWS & EVENTS
        =============================== */

.news-events-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

/* NEWS */
.news-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    /*box-shadow: 0 10px 30px rgba(0, 123, 255, 0.12);*/
    transition: all 0.3s ease;
}

    .news-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0, 123, 255, 0.2);
    }

    .news-card img {
        width: 220px;
        object-fit: cover;
    }

.news-content {
    padding: 20px 20px 20px 0;
}

.news-date {
    font-size: 0.85rem;
    color: #007bff;
    font-weight: 600;
}

.news-content h4 {
    font-weight: 700;
    color: #003d80;
    margin: 10px 0;
}

.news-content p {
    color: #555;
}

.news-content a {
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
}

/* EVENTS */
.events-wrapper {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.12);
}

.event-item {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e0e0e0;
}

    .event-item:last-child {
        border-bottom: none;
    }

.event-date {
    min-width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .event-date .day {
        font-size: 1.3rem;
        font-weight: 800;
    }

    .event-date .month {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

.event-info h5 {
    font-weight: 700;
    color: #003d80;
    margin-bottom: 4px;
}

.event-info p {
    margin: 0;
    color: #555;
}

/* Mobile */
@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
    }

        .news-card img {
            width: 100%;
            height: 180px;
        }

    .news-content {
        padding: 20px;
    }
}
/* ===============================
        TOP FULL-WIDTH UTILITY BAR
        =============================== */

.top-utility-bar {
    width: 100%;
    background: linear-gradient(135deg, #003d80, #0056b3);
    color: #fff;
    font-size: 0.8rem;
    padding: 6px 0;
}

    .top-utility-bar a {
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        margin-right: 14px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

        .top-utility-bar a:hover {
            text-decoration: underline;
        }

.utility-left span {
    margin: 0 10px;
    opacity: 0.5;
}

.utility-right a {
    margin-left: 14px;
    font-size: 0.85rem;
}

/* Icons */
.top-utility-bar i {
    font-size: 0.9rem;
}

/* Scroll করলে hide */
.header.scrolled .top-utility-bar {
    display: none;
}

/* Mobile fix */
@media (max-width: 768px) {
    .top-utility-bar .container {
        display: flex !important; /* flex নিশ্চিত করা */
        flex-wrap: nowrap !important; /* এক লাইনে রাখা */
        justify-content: space-between;
        align-items: center;
        gap: 6px; /* ছোট gap */
        padding: 0 8px; /* container padding কমানো */
    }

    .top-utility-bar a {
        font-size: 0.65rem; /* ছোট font */
        margin-right: 6px;
    }

    .utility-right a {
        margin-left: 6px;
        font-size: 0.65rem;
    }

    .utility-left span {
        display: none; /* | pipe সরানো */
    }
}

