/* General */
body {
  font-family: 'Noto Sans Bengali', sans-serif;
  line-height: 1.6;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #056044, #087f5b) !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #ffffff !important;
}

.navbar-brand span {
    font-size: 1rem;
    font-weight: 700;
}
.navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}
.navbar .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}
.navbar .nav-link:hover {
    color: #ffd966 !important;
}

.nav-shadow {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.brand-name {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    padding: 0 15px;
}

/* Tablet */
@media (max-width: 992px) {
    .brand-name {
        font-size: 2.3rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .brand-name {
        font-size: 1.5rem;
        line-height: 2;
        padding: 0 10px;
    }
}
#heroSlider .carousel-item img {
    height: 450px;
    width: 100%;
    object-fit: coverc;
}

@media (max-width: 768px) {
    #heroSlider .carousel-item img {
        height: 250px;
    }
}
  .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.carousel-caption {
    z-index: 2;
}
.news_section {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 5px 0;
    margin-top: 0px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.principal-image-box {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    margin: auto;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3)
}

.principal-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3)
}


/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
/* =================================
   OUR INSTITUTION
================================= */

.institution-section {
    background: linear-gradient(
        135deg,
        #eaf8f2,
        #fffaf0
    );
    box-shadow: 0 0px 25px rgba(0,0,0,0.25) !important;
}

/* Heading */

.institution-heading h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #18332b;
    margin-bottom: 10px;
}

.institution-subtitle {
    display: inline-block;
    color: #087f5b;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.institution-heading p {
    color: #596862;
}

.institution-line {
    width: 70px;
    height: 4px;
    background: #d4a017;
    margin: 15px auto;
    border-radius: 10px;
}


/* Cards */

.institution-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;

    padding: 35px 25px;

    height: 100%;

    text-align: center;

    border: 1px solid rgba(8, 127, 91, 0.08);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);

    transition: all 0.3s ease;
}

.institution-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.13);
}


/* Icons */

.institution-icon {
    width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #087f5b,
        #18a878
    );

    color: white;

    font-size: 32px;

    box-shadow:
        0 8px 18px rgba(8, 127, 91, 0.25);
}

.education-icon {
    background: linear-gradient(
        135deg,
        #d39b00,
        #f3c64b
    );
}

.location-icon {
    background: linear-gradient(
        135deg,
        #2471a3,
        #48a9e6
    );
}


/* Text */

.institution-card h4 {
    font-weight: 700;
    color: #18332b;
    margin-bottom: 12px;
}

.institution-card p {
    color: #596862;
    line-height: 1.7;
    margin-bottom: 0;
}


/* Mobile */

@media (max-width: 768px) {

    .institution-heading h2 {
        font-size: 1.9rem;
    }

    .institution-card {
        padding: 30px 20px;
    }

}
/* Gallery */
.gallery-img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-img:hover {
  transform: scale(1.05);
}

/* ================= PHOTO ALBUM ================= */
.star{
  background: #f5d2f5de;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18) !important;
}
.album-section {
            background:
                linear-gradient(
                    135deg,
                    #fffcf4,
                    #ffffff
                );
}
/* ================================
   COMPACT ALBUM CARDS
================================ */

.album-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    background: #fff;
}

.album-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
}


/* Album Image */

.album-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}


/* Album Title */

.album-title {
    font-size: 17px;
    line-height: 1.3;
}


/* Date */

.album-date {
    font-size: 13px;
    color: #6c757d;
}

.album-date i {
    margin-right: 3px;
}


/* Description */

.album-description {
    font-size: 13px !important;
    line-height: 1.4;
    margin-bottom: 8px !important;

    /* Keep description compact */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* No Image */

.no-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #f1f3f5;
    color: #6c757d;
    font-size: 35px;
}

.no-image span {
    font-size: 13px;
    margin-top: 5px;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 575px) {

    .album-section {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    .album-image {
        height: 140px;
    }

    .no-image {
        height: 190px;
    }

    .album-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .album-title {
        font-size: 18px;
    }

}
.contact-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 217, 102, 0.15), transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.10), transparent 25%),
        linear-gradient(135deg, #056044, #087f5b, #0a9367);
    color: #fff;
    padding: 70px 0;
}
/* Footer */
.footer {
  background: #222;
  color: #fff;
  padding: 8px 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

/* =========================================
   NEWS TICKER
========================================= */

.news-ticker {
    width: 100%;
    height: 42px;

    display: flex;
    flex-direction: row;
    align-items: center;

    overflow: hidden;

    background: linear-gradient(
        135deg,
        #f5e3dd,
        #ead4cc
    );
}


/* =========================================
   NOTICE LABEL
========================================= */

.news-label {
    height: 100%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    background: #dc3545;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    flex: 0 0 auto;

    min-width: max-content;

    z-index: 2;
}


/* Notice icon */

.news-label i {
    display: inline-flex;

    align-items: center;

    margin-right: 7px;

    font-size: 14px;

    flex-shrink: 0;
}


/* Notice text */

.news-label span {
    display: inline-block;

    white-space: nowrap;
}


/* =========================================
   MOVING CONTENT AREA
========================================= */

.news-content {
    flex: 1 1 auto;

    min-width: 0;

    height: 100%;

    display: flex;
    flex-direction: row;
    align-items: center;

    overflow: hidden;

    white-space: nowrap;
}


/* =========================================
   MOVING TRACK
========================================= */

.news-track {
    display: inline-flex;

    flex-direction: row;
    align-items: center;

    width: max-content;

    white-space: nowrap;

    flex: 0 0 auto;

    animation: tickerMove 50s linear 2s infinite;

    will-change: transform;
}


/* =========================================
   EACH NOTICE
========================================= */

.news-item {
    display: inline-flex;

    flex-direction: row;
    align-items: center;

    width: max-content;

    white-space: nowrap;

    flex: 0 0 auto;

    margin-right: 50px;

    font-size: 20px;

    font-weight: 500;

    color: #343a40;
}


/* =========================================
   BELL ICON
========================================= */

.news-item i {
    display: inline-flex;

    align-items: center;

    margin-right: 8px;

    color: #dc3545;

    font-size: 18px;

    flex-shrink: 0;
}


/* =========================================
   NEWS TEXT
========================================= */

.news-text {
    display: inline-block;

    white-space: nowrap;

    flex: 0 0 auto;
}


/* =========================================
   SEPARATOR
========================================= */

.news-separator {
    display: inline-block;

    margin-left: 50px;

    color: #dc3545;

    font-size: 16px;

    white-space: nowrap;

    flex: 0 0 auto;
}


/* =========================================
   RIGHT → LEFT ANIMATION
========================================= */

@keyframes tickerMove {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}


/* =========================================
   PAUSE WHEN MOUSE OVER
========================================= */

.news-ticker:hover .news-track {
    animation-play-state: paused;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .news-ticker {
        height: 40px;
    }


    /* NOTICE LABEL */

    .news-label {
        padding: 0 10px;

        font-size: 11px;

        min-width: max-content;

        white-space: nowrap;
    }


    .news-label i {
        margin-right: 5px;

        font-size: 11px;
    }


    .news-label span {
        white-space: nowrap;
    }


    /* NEWS */

    .news-item {
        font-size: 12px;

        margin-right: 30px;
    }


    /* BELL */

    .news-item i {
        margin-right: 5px;

        font-size: 11px;
    }


    /* SEPARATOR */

    .news-separator {
        margin-left: 30px;

        font-size: 10px;
    }


    /* MOBILE SPEED */

    .news-track {
        animation-duration: 35s;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .news-ticker {
        height: 38px;
    }


    .news-label {
        padding: 0 8px;

        font-size: 10px;
    }


    .news-label i {
        margin-right: 4px;

        font-size: 10px;
    }


    .news-item {
        font-size: 11px;

        margin-right: 25px;
    }


    .news-item i {
        margin-right: 4px;

        font-size: 10px;
    }


    .news-separator {
        margin-left: 25px;

        font-size: 9px;
    }

}
  body { font-family: 'Noto Sans Bengali', sans-serif; }


  .card:hover { transform: translateY(-5px); transition: 0.3s; }
  .gallery-img { height:250px; object-fit:cover; }
 
  .stat h2 { font-size:2rem; font-weight:700; }
  footer { background:#222; color:#fff; }
  footer h4 { font-weight:700; }
