:root {
    --primary: #005267;
    --secondary: #e6f4fa;
    --accent: #ff6b6b;
}
body {
    font-family: 'Noto Sans Bengali', sans-serif;
    background-color: #fff;
    color: #333;
}
.header-top h1 {
    font-size: 45px;
    font-weight: 700;
    margin-top: 20px;
    color: var(--primary);
}

.header-top h6 {
    font-size: 25px;
    font-weight: 500;
    margin-top: 8px;
    margin-bottom: 30px;
    color: var(--primary);
}

/* Sticky Navbar */
nav.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--primary);
    border-bottom: 3px solid #ff6b6b;
}
.navbar-brand img {
    height: 60px;
}
.navbar-nav {
    text-align: center;
}
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
}
.navbar-nav .nav-link:hover, {
    color: #ffdd4d !important;
}
.navbar-nav .nav-item.dropdown:hover .dropdown-menu .dropdown-item {
    color: white !important;

}

.navbar-nav .nav-item.dropdown:hover .dropdown-menu .dropdown-item:hover {
    color: black !important;

}



/* Sidebar Style */
#sidebar .list-unstyled li a {
    color: var(--primary);
    text-decoration: none;
    display: block;
    padding: 2px 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

#sidebar .list-unstyled li a:hover {
    padding-left: 10px;
    border-radius: 5px;
}


/*.list-unstyled li a {*/
/*    color: var(--primary);*/
/*    text-decoration: none;*/
/*}*/


/*principal-message*/
.principal-message {
    background-color: var(--primary);
}
.principal-message .principal-img {
    max-height: 500px;
    object-fit: cover;
    border: 4px solid #fff;
}
.principal-message .principal-text {
    text-align: justify;
    line-height: 1.6;
}
.principal-message .section-title {
    font-weight: 700;
    font-size: 2rem;
}

/*Academic Corner*/
#academicCorner .section-title {
    font-weight: 700;
    font-size: 2rem;
}
#academicCorner .academic-img {
    width: 50px; 
    height: 50px;
    object-fit: contain;
}
#academicCorner .card-body ul li {
    margin-bottom: 5px;
}
#academicCorner .card-body ul li a {
    color: #000;
    text-decoration: none;
}
#academicCorner .card-body ul li a:hover {
    text-decoration: underline;
    color: var(--primary);
}

/*faculty*/


/*photoGallery*/


/* Lightbox overlay */
.lightbox-overlay {
    position: fixed;
    display: none;  /* lightbox by default hidden */
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 0 15px #fff;
}
.close {
    position: absolute;
    top: 20px; right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    font-weight: bold;
    z-index: 10000;
}


/*newsEvents*/
#newsEvents .section-title {
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary);
}
#newsEvents .news-card img {
    transition: transform 0.3s;
    border-radius: 5px;
}
#newsEvents .news-card:hover img {
    transform: scale(1.05);
}
#newsEvents .news-card .card-body h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
#newsEvents .news-card .card-text {
    font-size: 0.875rem;
}

/*footer*/
.footer h5 {
    font-weight: 700;
    font-size: 1.1rem;
}
.footer p, .footer a {
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer a.footer-link:hover {
    color: #ffd700; /* optional highlight on hover */
    text-decoration: underline;
}
.footer-logo {
    display: block;
    margin: 0 auto 10px auto;
}
.footer ul.list-unstyled li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.footer ul.list-unstyled li i {
    min-width: 20px;
    color: #fff;
}
.footer a {
    color: #fff;
}
.footer a:hover {
    color: #ffd700;
}


/* Dropdown on Hover (Desktop only) */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        background-color: var(--primary);

    }
    .navbar-nav .nav-item.dropdown .dropdown-menu {
        transition: all 0.3s ease;
        margin-top: 0.25rem;
        border: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        justify-content: center;
    }
}

.carousel-item img {
    height: 400px;
    object-fit: cover;
}
.notice-board {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary);
}
.notice-date {
    background-color: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}
.course-card {
    transition: transform 0.3s ease;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.photo-gallery img {
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}
.photo-gallery img:hover {
    transform: scale(1.05);
}
footer {
    background-color: var(--primary);
    color: white;
    padding: 30px 0;
}
.footer-logo {
    height: 100px;
}
.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
}
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background-color: #003d4c;
    border-color: #003d4c;
}
.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}
.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}
.badge-new {
    background-color: #ff6b6b;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}
.view-all-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s;
}
.view-all-btn:hover {
    background-color: #003d4c;
    color: white;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .header-top h1 {
        font-size: 35px;
    }

    .header-top h6 {
        font-size: 20px;
    }
    .navbar-brand img {
        height: 50px;
    }
    .carousel-item img {
        height: 250px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    
    
    .principal-message .principal-img {
        max-height: 180px;
    }
    .principal-message .section-title {
        font-size: 1.5rem;
    }
    
    /*Academic Corner*/
    #academicCorner .academic-img {
        width: 40px;
        height: 40px;
    }
    #academicCorner .section-title {
        font-size: 1.5rem;
    }
    
    /*faculty*/

    
    /*newsEvents*/
    #newsEvents .section-title {
        font-size: 1.5rem;
    }
    
    /*footer*/
    .footer-logo {
        margin-bottom: 15px;
    }
    .footer h5 {
        font-size: 1rem;
    }
    .footer p, .footer a {
        font-size: 0.85rem;
    }
}

/* Mobile Device (480px এর নিচে) */
@media (max-width: 480px) {
    .header-top h1 {
        font-size: 28px;
    }

    .header-top h6 {
        font-size: 18px;
    }
}









