@import url('https://fonts.maateen.me/kalpurush/font.css');

/* ========================================
   Base & Reset
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kalpurush', sans-serif !important;
    font-size: 1.1rem;
    background: url(../img/bg_main.gif) repeat-y scroll center top rgba(0, 0, 0, 0);
}

a {
    color: #333;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    text-decoration: none;
}

.h2, h2 {
    font-size: 1.4rem;
    color: #673ab7;
    font-weight: 600;
}

ol, ul {
    padding-left: 0;
    list-style-type: none;
}

/* Notice board list bullets */
.notice-board-bg ul li {
    list-style-type: disc;
    margin-bottom: 5px;
}

.notice-board-bg ul li a {
    color: #333;
}

.notice-board-bg ul li a:hover {
    color: #673ab7;
    text-decoration: underline;
}

/* ========================================
   Top Bar
======================================== */
.top-bar {
    background-color: #5811a0;
    padding: 6px;
    color: white;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #8BC34A;
    box-shadow: 0px 0px 10px #666666cc;
    margin-top: 0;
}

.welcome-text {
    font-size: 18px;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input[type="text"] {
    padding: 1px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    margin-right: 10px;
}

.search-box input[type="submit"] {
    padding: 1px 7px;
    font-size: 16px;
    background-color: #8BC34A;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ========================================
   Social Bar
======================================== */
.social-bar {
    display: flex;
    gap: 5px;
}

.social-bar a {
    font-size: 15px;
    text-decoration: none;
    color: #ffffff;
    padding: 1px;
    border-radius: 5px;
    width: 23px;
    background: #246e0a;
    transition: color 0.3s ease;
    text-align: center;
}

.social-bar .facebook:hover { color: #1877F2; }
.social-bar .youtube:hover { color: #FF0000; }
.social-bar .twitter:hover { color: #1DA1F2; }

/* ========================================
   Accessibility
======================================== */
.accessibilityDesign {
    background-color: #9e9e9e61;
    width: 240px;
    height: 39px;
    border-radius: 5px;
}

.accessibilityDesign span {
    cursor: pointer;
    padding-left: 19px;
    color: #112b12;
    display: inline-block;
    font-weight: bold;
}

.font-small, .font-medium, .font-large {
    font-size: 14px;
}

/* ========================================
   Navbar
======================================== */
.navbar-light .navbar-nav .nav-link {
    color: rgb(0 0 0 / 86%);
    border: 0.5px solid #d3d3d3b3;
    border-top: 0;
    padding: 6px 12px 6px 11px;
    background: #fff;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #673ab7;
    background: #f3eafd;
}

/* ========================================
   Slider
======================================== */
.slider-container {
    position: relative;
    width: 100%;
    height: 239px;
    overflow: hidden;
    border-top: 4px solid #673AB7;
    box-shadow: 0px 0px 10px #666666cc;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

/* Slide backgrounds & keyframes are generated dynamically by slider.php */

.slider-container .content {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.logo {
    max-width: 100px;
    margin-right: 20px;
}

.text h1 {
    font-size: 25px;
    color: #fff;
    font-weight: 500;
    margin: 0;
    text-shadow: -1px -1px 10px #000, 1px -1px 10px #000, -1px 1px 10px #000, 1px 1px 10px #000;
}

.text {
    font-size: 16px;
    color: black;
    margin: 0;
    text-shadow: -1px -1px 9px #333333ab, 1px -1px 10px #333, -1px 1px 10px #333, 1px 1px 10px #333;
}

/* ========================================
   Scroller / Marquee
======================================== */
.scroller-bar {
    background: #eef8ea;
    border-radius: 6px;
    box-shadow: 0 1px 7px #d2e9cb;
    padding: 6px 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

#page-marquee:hover div {
    animation-play-state: paused;
}

/* ========================================
   Notice Board
======================================== */
#notice-board {
    border: 1px solid #dddddd;
    margin-bottom: 20px;
}

.notice-board-bg {
    background-image: url(https://shed.gov.bd/themes/responsive_npf/images/bg_notice_board.png);
    background-repeat: no-repeat;
    padding: 21px 0 15px 117px;
    background-color: #90ee9024;
}

.notice-more {
    margin: -34px 21px 0 0;
    background: #9eb286e0;
    padding: 3px;
    width: 56px;
    text-align: center;
    color: #fff;
}

/* ========================================
   8-Box Grid Layout (Flat Icons)
======================================== */
.flat-icon {
    font-size: 3rem;
    color: #673AB7;
    background: #f3eafd;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    margin-top: 4px;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px #dbdbdb30;
}

.menus {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.menus li {
    margin-bottom: 7px;
    font-size: 1.07rem;
    min-height: 25px;
    display: flex;
    align-items: center;
}

.menus li a {
    color: #2c246a;
    text-decoration: none;
    transition: color 0.2s;
    margin-left: 4px;
}

.menus li a:hover {
    color: #8000ff;
    text-decoration: underline;
}

.session {
    font-weight: bold;
    font-size: 1.1rem;
    color: #5941a9;
    letter-spacing: 0.2px;
    margin-bottom: 18px;
}

#cart {
    background: #f8f7fc;
}

/* ========================================
   Menu Sidebar
======================================== */
.menu-fw {
    font-size: .8rem;
    margin-right: 5px;
    color: #8bc34a;
}

.menu-li {
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, #683091 0%, #8bc643 100%);
    border-image-slice: 1;
    padding: 5px;
    list-style-type: none;
}

/* ========================================
   Cards & Content Boxes
======================================== */
.card {
    border: 1px solid rgba(211,210,210,0.54);
    border-radius: 0;
    margin-bottom: 5px;
}

.card-header {
    border-radius: 0 !important;
    background-color: #effcff33;
    color: #673ab7 !important;
    border: none;
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 1.3rem;
    border-bottom: 3px solid #8BC34A;
}

.card-body {
    background: #ffffff;
}

.bk-org {
    background-color: #8BC34A !important;
    color: #fff;
    padding: 9px;
    font-weight: 600;
    font-size: 1rem;
}

/* ========================================
   News & Events (Date Circle)
======================================== */
#news-events-holder ul.news > li {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(158,158,158,0.16);
}

#news-events-holder ul.news > li > div {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
}

#news-events-holder ul.news > li > div > .date {
    display: table-cell;
    width: 70px;
    vertical-align: top;
}

#news-events-holder ul.news > li > div > .date > div {
    position: relative;
    width: 59px;
    height: 59px;
    display: block;
    font-size: 20px;
    line-height: 20px;
    color: #fff;
    padding: 8px;
    font-weight: bold;
    border-radius: 50%;
    background: #673ab7;
    text-align: center;
    margin-left: 10px;
    border: 2px solid #8BC34A;
}

#news-events-holder ul.news > li > div > .date > div > span {
    display: block;
    font-size: 12px;
}

#news-events-holder ul.news > li > div > .desc {
    display: table-cell;
    padding-left: 12px;
    vertical-align: middle;
}

/* ========================================
   Counter Cards (New Design)
======================================== */
.counter-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(103,58,183,0.10);
    border: 1px solid #f0ebf8;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #673ab7, #8BC34A);
}

.counter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(103,58,183,0.20);
}

.counter-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3eafd, #e8f5e9);
    color: #673ab7;
    font-size: 24px;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
}

.counter-card:hover .counter-icon {
    background: linear-gradient(135deg, #673ab7, #8BC34A);
    color: #fff;
}

.counter-number {
    font-size: 2rem;
    font-weight: 700;
    color: #673ab7;
    margin-bottom: 0;
}

.counter-label {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
    font-weight: 500;
}

/* ========================================
   Team / Profile Cards
======================================== */
.single-team {
    background: #fff;
    text-align: center;
    transition: all 0.4s ease;
    margin-bottom: 19px;
    box-shadow: 0 0 6px rgba(0,0,0,0.14);
}

.single-team .team-head {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.single-team .team-head img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.single-team:hover .team-head img {
    transform: scale(1.05);
}

.single-team .t-content {
    text-align: center;
    padding: 20px 15px;
}

.single-team .t-content .name a {
    font-size: 20px;
    color: #333;
}

.single-team .t-content .name a:hover {
    color: #673ab7;
}

.single-team .t-content .designation {
    font-size: 14px;
    display: block;
    padding-bottom: 12px;
    margin-top: 5px;
    position: relative;
}

.single-team .t-content .designation::before {
    position: absolute;
    content: "";
    left: 50%;
    bottom: 0;
    height: 2px;
    width: 50px;
    margin-left: -25px;
    background: #8BC34A;
}

/* ========================================
   Image Hover Effects
======================================== */
.img-container {
    position: relative;
    overflow: hidden;
}

.img-container .image-zoom {
    transition: transform 0.5s ease;
}

.img-container:hover .image-zoom {
    transform: scale(1.1);
}

.img-container:hover .caption {
    opacity: 1;
}

.caption {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ========================================
   Wrapper & Container
======================================== */
.wrapper {
    background-color: white;
    padding: 0;
    font-size: 1.1rem;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    max-width: 1020px;
    padding: 24px;
    padding-top: 0;
}

.page-title {
    background: #5811a0;
    color: #fff;
    padding: 10px;
}

/* ========================================
   Footer (First Project Style)
======================================== */
.footer-section {
    background: #eee;
    padding: 10px;
}

.footer-section a {
    color: #333;
}

.footer-section .list-inline-item {
    border-right: 1px solid #999;
    padding-right: 10px;
}

.footer-bottom {
    background: #fff;
    padding: 5px;
    text-align: center;
}

/* ========================================
   Owl Carousel
======================================== */
.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    padding: 5px;
    border: 1px solid #fff;
    background: #fff;
    box-shadow: 0px 1px 4px rgba(238,238,238,0.82);
}

/* ========================================
   Responsive
======================================== */
@media only screen and (max-width: 768px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 100%;
        padding: 9px;
        padding-top: 0;
    }

    .notice-board-bg {
        background-image: none;
        padding: 15px;
    }

    #page-marquee { width: 100%; }
    #page-marquee > div { font-size: 13px; }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px;
    }

    .navbar-toggler {
        color: #000 !important;
    }
}