 @font-face {
     font-family: 'Kalpurush';
     src: url('fonts/kalpurush.ttf') format('truetype');
     font-weight: normal;
     font-style: normal;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     text-decoration: none;
     list-style: none;
     font-family: 'Kalpurush', 'Hind Siliguri', sans-serif !important;
     font-size: 14px;
 }

 :root {
     --gov-blue: #0d6efd;
     /* Primary trust blue (Bootstrap-like) */
     --gov-blue-dark: #0b5ed7;
     /* Hover / active */
     --gov-blue-soft: #e7f1ff;
     /* Light background */

     --gov-green: #198754;
     /* Bangladesh govt success green */
     --gov-green-dark: #146c43;
     /* Hover / active */
     --gov-green-soft: #e9f7ef;
     /* Light green bg */
 }

 html,
 body {
     font-family: 'Kalpurush', 'Hind Siliguri', sans-serif !important;
 }

 body {
     font-family: 'Hind Siliguri', 'Poppins', sans-serif;
     background: #f4f7fb;
     color: #333;
 }

 .container {
     width: 92%;
     max-width: 1200px;
     margin: auto;
 }

 /* GLOBAL LINK FIX (Bootstrap override) */
 a {
     text-decoration: none !important;
 }

 /* Optional: keep Bootstrap color but remove underline */
 a:not(.btn):not(.nav-link):not(.dropdown-item) {
     text-decoration: none !important;
 }

 /* NAV LINKS CLEAN */
 .nav-link,
 .dropdown-item {
     text-decoration: none !important;
 }

 /* RESET ONLY NAV MENU LIST */
 .main-menu,
 .main-menu ul {
     margin: 0;
     padding-left: 0;
     list-style: none;
 }

 /* HEADER & NAVIGATION */
 .header-sticky {
     position: sticky;
     top: 0;
     z-index: 1000;
     background: white;
     box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
 }

 .navbar {
     height: 80px;
     display: flex;
     align-items: center;
 }

 .nav-content {
     display: flex;
     align-items: center;
     justify-content: space-between;
     width: 100%;
 }

 .logo-section {
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .logo {
     width: 70px;
     height: auto;
 }

 .logo_text {
     color: #198754;
     font-weight: 700;
     font-size: 20px;
 }

 /* DESKTOP MENU */
 .main-menu {
     display: flex;
     gap: 5px;
 }

 .main-menu>li {
     position: relative;
 }

 .main-menu>li>a {
     padding: 10px 15px;
     color: #444;
     font-weight: 600;
     font-size: 16px;
     display: flex;
     align-items: center;
     gap: 5px;
     transition: 0.3s;
 }

 .main-menu>li:hover>a {
     color: #198754;
 }

 /* DROPDOWN LAYER 1 */
 .dropdown {
     position: absolute;
     top: 100%;
     left: 0;
     background: white;
     min-width: 220px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     border-radius: 8px;
     opacity: 0;
     visibility: hidden;
     transform: translateY(10px);
     transition: 0.3s;
     border-top: 3px solid #198754;
 }

 .main-menu li:hover>.dropdown {
     opacity: 1;
     visibility: visible;
     transform: translateY(0);
 }

 .dropdown li {
     position: relative;
     border-bottom: 1px solid #f1f1f1;
 }

 .dropdown li a {
     padding: 12px 20px;
     display: block;
     color: #555;
     font-size: 15px;
     transition: 0.3s;
 }

 .dropdown li a:hover {
     background: #f8fdfa;
     color: #198754;
     padding-left: 25px;
 }

 /* DROPDOWN LAYER 2 (Nested) */
 .dropdown .submenu {
     position: absolute;
     left: 100%;
     top: 0;
     display: none;
 }

 .dropdown li:hover>.submenu {
     display: block;
 }

 /* BUTTONS */
 .auth-btns {
     display: flex;
     align-items: center;
     gap: 12px;
 }

 .auth-btns a {
     font-size: 1.1rem;
     padding: 0.5rem 1.2rem;
     background: #fff;
     color: #198754;
     border: 1px solid #198754;
 }

 .auth-btns a ion-icon {
     font-size: 1.5rem;
 }

 .auth-btns a:hover {
     transform: scale(1.05);
     background-color: #198754;
 }


 .btn-outline {
     border: 1.5px solid #198754;
     color: #198754;
     padding: 10px 20px;
     border-radius: 30px;
     display: flex;
     align-items: center;
     gap: 8px;
     font-weight: 600;
     font-size: 14px;
     cursor: pointer;
     transition: 0.3s;
 }

 .btn-outline:hover {
     background: #f0fdf4;
 }

 .btn-primary {
     background: #198754;
     color: white;
     padding: 10px 22px;
     border-radius: 30px;
     font-weight: 600;
     font-size: 14px;
     border: none;
     cursor: pointer;
     transition: 0.3s;
 }

 .btn-primary:hover {
     transform: scale(1.05);
 }

 /* MOBILE TOGGLE */
 .menu-toggle {
     display: none;
     font-size: 30px;
     color: #333;
     cursor: pointer;
 }

 .mobile-only-auth {
     display: none;
     padding: 20px 0;
     border-top: 1px solid #eee;
     margin-top: 10px;
 }

 .hero-slider {
     position: relative;
     height: 85vh;
     /* Increased height for impact */
     min-height: 550px;
     overflow: hidden;
     background: #000;
     /* Dark base for better image contrast */
 }

 /* 2. Swiper Slide Enhancements */
 .hero-slider .swiper {
     width: 100%;
     height: 100%;
 }

 .hero-slider .slide {
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     transition: transform 8s ease;
     /* Subtle zoom effect */
 }

 /* Active slide zoom effect */
 .swiper-slide-active {
     transform: scale(1.1);
 }

 /* 3. Dark Gradient Overlay */
 .hero-slider::after {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
     z-index: 1;
     pointer-events: none;
 }

 /* 4. Overlay Content Centering */
 .overlay-content {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     z-index: 10;
     width: 90%;
     max-width: 800px;
     text-align: center;
 }

 /* 5. Typography Design */
 .hero-content h1 {
     font-family: 'Hind Siliguri', sans-serif;
     font-size: clamp(2.5rem, 6vw, 4.5rem);
     font-weight: 800;
     color: #ffffff;
     text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
     margin-bottom: 15px;
     letter-spacing: -1px;
 }

 .hero-content p {
     font-size: clamp(1rem, 2vw, 1.4rem);
     color: rgba(255, 255, 255, 0.9);
     margin-bottom: 40px;
     font-weight: 300;
     background: rgba(25, 135, 84, 0.2);
     /* Soft Union Green Tint */
     backdrop-filter: blur(5px);
     display: inline-block;
     padding: 5px 20px;
     border-radius: 50px;
     border: 1px solid rgba(255, 255, 255, 0.2);
 }

 /* 6. Modern Glass Search Box */
 .search-box-wrapper {
     background: rgba(255, 255, 255, 0.1);
     padding: 15px;
     border-radius: 20px;
     backdrop-filter: blur(15px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
 }

 .search-input {
     height: 65px !important;
     border-radius: 12px !important;
     border: none !important;
     padding-left: 55px !important;
     font-size: 1.15rem !important;
     box-shadow: none !important;
     background-color: #fff !important;
 }
/* সার্চ বক্সের ভেতর আইকন পজিশন */
.search-icon-inside {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    pointer-events: none; /* যাতে আইকনের ওপর ক্লিক করলে ইনপুট ফোকাস হয় */
}

.search-icon-inside ion-icon {
    font-size: 1.5rem;
    color: #198754; /* আপনার ব্র্যান্ড কালার */
}

/* ইনপুটের টেক্সট যাতে আইকনের ওপর না যায় */
.search-input {
    padding-left: 55px !important; 
    height: 60px;
    border-radius: 15px;
    border: 1px solid #ddd;
}

 /* 7. Dropdown Styling */
 .search-dropdown {
     position: absolute;
     top: 100%;
     left: 0;
     width: 100%;
     background: #fff;
     border-radius: 0 0 15px 15px;
     margin-top: 5px;
     max-height: 350px;
     overflow-y: auto;
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
     /* border: 1px solid #eee; */
 }

 .search-dropdown a {
     padding: 15px 20px;
     border: none;
     border-bottom: 1px solid #f8f9fa;
     font-weight: 500;
     color: #444;
     transition: all 0.2s;
 }

 .search-dropdown a:hover {
     background: #f0fff4;
     color: #198754;
     padding-left: 25px;
 }

 .search-dropdown ion-icon {
     font-size: 1.4rem;
     color: #198754;
 }

 /* 8. Swiper Buttons */
 .swiper-button-next,
 .swiper-button-prev {
     background: rgba(255, 255, 255, 0.2);
     width: 50px;
     height: 50px;
     border-radius: 50%;
     backdrop-filter: blur(5px);
     transition: all 0.3s;
 }

 .swiper-button-next:after,
 .swiper-button-prev:after {
     font-size: 1.2rem;
     font-weight: bold;
 }

 .swiper-button-next:hover,
 .swiper-button-prev:hover {
     background: #198754;
 }

 @media (max-width: 768px) {
     .hero-slider {
         height: 60vh;
     }

     .search-input {
         height: 55px !important;
     }
 }

 /* Container Layout */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 20; /* Hero overlay এর উপরে রাখার জন্য */
}

/* Card Professional Look */
.categories .card {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 24px;
    border: 1px solid rgba(25, 135, 84, 0.1);
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    font-family: 'Hind Siliguri', sans-serif;
    overflow: hidden;
    position: relative;
}

/* Icon Styling */
.categories .card ion-icon {
    font-size: 32px; /* একটু বড় করা হয়েছে */
    color: #198754;
    transition: 0.3s;
    background: rgba(25, 135, 84, 0.05);
    padding: 12px;
    border-radius: 15px;
    margin-bottom: 5px;
}

/* Hover Effect */
.categories .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(25, 135, 84, 0.15);
    border-color: #198754;
    background-color: #f0fff4;
}

.categories .card:hover ion-icon {
    background: #198754;
    color: #ffffff;
    transform: rotate(10deg);
}

.categories .card span {
    font-size: 1.1rem;
    color: #2d3748;
}

.categories .card:hover span {
    color: #198754;
}


 /* TUTORIALS */
 .tutorial {
     margin: 80px auto;
 }

 .tutorial h2 {
     text-align: center;
     margin-bottom: 40px;
     font-weight: 700;
 }

 .video-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 25px;
 }

 .video-card {
     background: white;
     border-radius: 20px;
     overflow: hidden;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
     transition: .3s;
 }

 .video-card:hover {
     transform: scale(1.02);
 }

 .video-card img {
     width: 100%;
     display: block;
 }

 .video-card p {
     padding: 15px;
     font-weight: 600;
     text-align: center;
 }

 /* ANIMATIONS & RESPONSIVE */
 @keyframes fadeUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @media (min-width: 993px) {
     .categories {
        margin-top: -60px; /* স্লাইডারের ওপর ভাসমান দেখাবে */
    }
 }

 @media (max-width: 992px) {
     .menu-toggle {
         display: block;
     }

     .menu-toggle ion-icon {
         font-size: 30px;
         color: #333;
         cursor: pointer;
     }

     /* .auth-btns {
         display: none;
     } */

     .mobile-only-auth {
         display: flex;
         flex-direction: column;
         gap: 10px;
     }

     .main-menu {
         position: absolute;
         top: 80px;
         left: -100%;
         width: 100%;
         background: white;
         flex-direction: column;
         height: calc(100vh - 80px);
         transition: 0.4s;
         overflow-y: auto;
         padding: 20px;
         box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
     }

     .main-menu.active {
         left: 0;
     }

     .dropdown,
     .dropdown .submenu {
         position: static;
         opacity: 1;
         visibility: visible;
         transform: none;
         display: none;
         box-shadow: none;
         border: none;
         padding-left: 20px;
     }

     .main-menu li:hover>.dropdown {
         display: block;
     }

     .hero-content h1 {
         font-size: 28px;
     }

     .categories {
        margin-top: 20px; /* মোবাইল বা ট্যাবে স্লাইডারের নিচে থাকবে */
        padding: 0 20px;
        grid-template-columns: repeat(2, 1fr); /* মোবাইলে ২ কলামে দেখাবে */
    }
    
    .categories .card {
        padding: 15px;
    }
 }


 /* STATISTICS SECTION */
 .statistics-section {
    padding: 60px 0;
    background: #f8fafc;
    border-radius: 30px;
    margin: 40px 0;
}

.stat-card {
    background: #ffffff;
    padding: 35px 20px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 20px;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-color: #198754;
}

.stat-card ion-icon {
    margin-bottom: 15px;
    transition: 0.3s;
}

.stat-card:hover ion-icon {
    transform: scale(1.2);
}

.stat-card h4 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 5px;
    font-family: 'Hind Siliguri', sans-serif;
}

.stat-card p {
    font-size: 1rem;
    font-weight: 500;
    color: #718096;
    margin-bottom: 0;
}

/* মোবাইলে যাতে গ্যাপ সুন্দর থাকে */
@media (max-width: 767px) {
    .stat-card {
        padding: 20px 10px;
    }
    .stat-card h4 {
        font-size: 1.5rem;
    }
}

 .text-center {
     text-align: center;
 }

 .fw-bold {
     font-weight: 700;
 }

 .mb-4 {
     margin-bottom: 1.5rem;
 }

 /* ১. ক্যাটাগরি হেডার স্টাইল */
.category-header {
    border-left: 5px solid #198754 !important; /* Union Green */
    padding: 10px 15px;
    background: linear-gradient(to right, rgba(25, 135, 84, 0.05), transparent);
    border-radius: 0 10px 10px 0;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
}

/* ২. সার্ভিস কার্ড রিফাইনমেন্ট */
.service-card {
    border: 1px solid #f0f0f0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px !important;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #198754 !important;
    box-shadow: 0 15px 30px rgba(25, 135, 84, 0.12) !important;
}

/* ৩. আইকন স্টাইল */
.service-icon {
    width: 65px;
    height: 65px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border-radius: 18px;
    color: #198754;
    font-size: 2rem;
    transition: 0.3s;
}

.service-card:hover .service-icon {
    background: #198754;
    color: #ffffff;
    transform: rotate(-10deg);
}

/* ৪. টেক্সট স্টাইল */
.service-card h6 {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 3rem; /* টেক্সট এলাইনমেন্ট ঠিক রাখার জন্য */
}


 .service-icon ion-icon {
     font-size: 3rem;
     margin-bottom: 10px;
 }

/* ৫. বাটন স্টাইল */
.c-button {
    border: 1px solid #198754 !important;
    color: #198754 !important;
    font-weight: 600 !important;
    transition: all 0.3s;
}

.c-button:hover {
    background: #198754 !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

/* মোবাইলে ২ কলামের জন্য প্যাডিং ফিক্স */
@media (max-width: 767px) {
    .service-card {
        padding: 15px 10px !important;
    }
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .service-card h6 {
        font-size: 0.95rem;
    }
}


 /* FEATURE CARDS (NOTICES) */
 /* অন্যান্য সেবা কার্ড */
.feature-card {
    border-top: 4px solid #198754 !important;
    border-radius: 15px !important;
    transition: 0.3s;
    height: 100%;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    border-bottom: 1px dashed #eee;
    padding: 8px 0;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li a {
    text-decoration: none;
    color: #4a5568;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

/* আইকনের আলাদা স্টাইল */
.feature-list li a ion-icon {
    color: #198754;
    font-size: 18px;
    flex-shrink: 0; /* টেক্সট বড় হলেও আইকন ছোট হবে না */
    transition: 0.3s;
}

/* হোভার ইফেক্ট */
.feature-list li a:hover {
    color: #198754;
    padding-left: 5px;
}

.feature-list li a:hover ion-icon {
    transform: translateX(3px); /* হোভার করলে আইকন ডানে সরবে */
}

 /* GALLERY */
 .section-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 20px;
 }


 /* VIEW ALL BUTTON */
 .view-all-btn {
     font-size: 13px;
     color: #FFF;
     text-decoration: none;
     background: var(--gov-green);
     padding: 4px 10px;
     border-radius: 20px;
     transition: 0.3s;
 }

 .view-all-btn:hover {
     background: rgba(255, 255, 255, 0.35);
     transform: translateY(-1px);
 }

 .gallery-item {
     position: relative;
     overflow: hidden;
     border-radius: 10px;
 }

 .gallery-link {
     display: block;
     position: relative;
 }

 /* IMAGE */
 .gallery-image {
     width: 100%;
     height: 220px;
     object-fit: cover;
     display: block;
     transition: transform 0.3s ease;
 }

 /* zoom effect */
 .gallery-item:hover .gallery-image {
     transform: scale(1.05);
 }

 /* 🔥 CAPTION BOTTOM (HIDDEN BY DEFAULT) */
 .gallery-caption {
     position: absolute;
     left: 0;
     right: 0;
     bottom: 0;
     /* 👈 bottom placement */

     padding: 10px;
     font-size: 0.95rem;
     font-weight: 600;
     color: #fff;
     text-align: center;

     background: rgba(0, 0, 0, 0.55);
     /* transparent dark bg */

     opacity: 0;
     transform: translateY(100%);
     transition: all 0.3s ease;
 }

 /* 🔥 SHOW ON HOVER */
 .gallery-item:hover .gallery-caption {
     opacity: 1;
     transform: translateY(0);
 }

 /* মেইন ফুটার স্টাইল */
.gov-footer {
    background: #097744; /* ডার্ক থিম */
    padding: 60px 0 20px;
    color: #cbd5e0;
    font-family: 'Hind Siliguri', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* টাইটেল স্টাইল */
.footer-box h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-box h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #198754;
    border-radius: 5px;
}

/* লিঙ্ক লিস্ট স্টাইল */
.footer-box ul {
    list-style: none;
    padding: 0;
}

.footer-box ul li {
    margin-bottom: 12px;
}

.footer-box ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-box ul li a:hover {
    color: #198754;
    transform: translateX(5px);
}

/* অডিও প্লেয়ার কাস্টমাইজেশন */
.audio-player {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.audio-player audio {
    filter: invert(100%) hue-rotate(180deg) brightness(1.5); /* ডার্ক থিমে সুন্দর দেখানোর জন্য */
}

/* সোশ্যাল আইকন */
.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white !important;
    transition: 0.3s;
}

.social-icon:hover {
    background: #198754;
    transform: scale(1.1);
}

/* ম্যাপ কন্টেইনার */
.map-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ফ্যামিলি ব্যানার মেইন সেকশন */
.family-banner {
    background: linear-gradient(135deg, #198754 0%, #0d4d30 100%);
    border-radius: 30px;
    margin: 60px 10px;
    padding: 50px 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(25, 135, 84, 0.2);
}

/* সূক্ষ্ম ব্যাকগ্রাউন্ড প্যাটার্ন */
.family-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/white-diamond.png');
    opacity: 0.1;
    pointer-events: none;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* টেক্সট এরিয়া */
.family-banner .text-area {
    flex: 1;
    color: #ffffff;
    z-index: 2;
}

.family-banner h2 {
    font-size: 2.8rem;
    margin-bottom: 5px;
    font-family: 'Hind Siliguri', sans-serif;
}

.family-banner h3 {
    font-size: 1.4rem;
    color: #ffc107; /* গোল্ডেন ইয়েলো */
    margin-bottom: 20px;
    font-weight: 500;
}

.family-banner p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* বাটন ডিজাইন */
.family-banner .btn-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.apply-btn {
    background: #ffffff;
    color: #198754 !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.apply-btn:hover {
    background: #ffc107;
    color: #000 !important;
    transform: translateY(-3px);
}

.info-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: 0.3s;
}

.info-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.family-banner small {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* ইমেজ এরিয়া */
.image-area {
    flex: 0.8;
    text-align: right;
    z-index: 2;
}

.image-area img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(10px 15px 25px rgba(0,0,0,0.3));
    animation: float 4s ease-in-out infinite;
}

/* ইমেজ ভাসমান অ্যানিমেশন */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* রেসপনসিভ */
@media (max-width: 991px) {
    .banner-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    .image-area { text-align: center; margin-bottom: 30px; }
    .family-banner h2 { font-size: 2.2rem; }
    .family-banner .btn-group { justify-content: center; }
}

 /* .krishok-banner {
     background: linear-gradient(to bottom right, #FFF 0%, #D6EAFE 50%) bottom right / 50% 50% no-repeat, linear-gradient(to bottom left, #FFF 0%, #D6EAFE 50%) bottom left / 50% 50% no-repeat, linear-gradient(to top left, #FFF 0%, #D6EAFE 50%) top left / 50% 50% no-repeat, linear-gradient(to top right, #FFF 0%, #D6EAFE 50%) top right / 50% 50% no-repeat;
     color: black;
     padding: 60px 0;
     position: relative;
     overflow: hidden;
 }

 .krishok-banner::before {
     content: "";
     position: absolute;
     inset: 0;
     opacity: 0.06;
 }

 .widow-banner {
     background: linear-gradient(180deg, #ECE2DB 0%, rgba(215, 236, 245, 0.55) 100%);
     color: black;
     padding: 60px 0;
     position: relative;
     overflow: hidden;
 }

 .widow-banner::before {
     content: "";
     position: absolute;
     inset: 0;
     opacity: 0.06;
 } */

 .banner-content {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 30px;
     position: relative;
     z-index: 2;
 }

 .text-area {
     flex: 1;
 }

 .text-area h1 {
     font-size: 42px;
     font-weight: 700;
     margin-bottom: 10px;
 }

 .text-area h3 {
     font-size: 20px;
     margin-bottom: 15px;
     opacity: 0.95;
 }

 .text-area p {
     font-size: 16px;
     opacity: 0.9;
     margin-bottom: 20px;
     line-height: 1.6;
     max-width: 500px;
 }

 .btn-group {
     display: flex;
     gap: 15px;
     margin-bottom: 15px;
 }

 .apply-btn {
     background: #fff;
     color: #198754;
     padding: 10px 20px;
     border-radius: 30px;
     font-weight: 600;
     transition: 0.3s;
 }

 .apply-btn:hover {
     transform: translateY(-3px);
 }

 .info-btn {
     border: 1px solid #fff;
     color: #fff;
     padding: 10px 20px;
     border-radius: 30px;
     transition: 0.3s;
 }

 .info-btn:hover {
     background: rgba(255, 255, 255, 0.2);
 }

 .image-area img {
     width: 220px;
     max-width: 100%;
     animation: float 3s ease-in-out infinite;
 }

 @keyframes float {
     0% {
         transform: translateY(0px);
     }

     50% {
         transform: translateY(-10px);
     }

     100% {
         transform: translateY(0px);
     }
 }

 /* responsive */
 @media (max-width: 768px) {
     .banner-content {
         flex-direction: column;
         text-align: center;
     }

     .text-area h1 {
         font-size: 30px;
     }

     .btn-group {
         justify-content: center;
     }
 }




 /* 1. Global Container & Section Styling */
 .border-b {
     border-bottom: 3px solid #6366f1 !important;
     /* Modern Indigo color */
     display: inline-block;
     padding-bottom: 8px;
     margin-bottom: 25px !important;
     color: #1e293b;
     text-transform: uppercase;
     letter-spacing: 1px;
     font-weight: 800 !important;
 }

 /* 2. Modernizing Input Fields */
 .form-control {
     border: 1.5px solid #e2e8f0;
     border-radius: 8px;
     padding: 10px 15px;
     transition: all 0.2s ease-in-out;
     background-color: #f8fafc;
 }

 .form-control:focus {
     background-color: #fff;
     border-color: #6366f1;
     box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
     outline: none;
 }

 /* 4. Document Upload Box Redesign */
 .document-upload {
     background: #ffffff;
     border: 1px solid #e2e8f0;
     padding: 20px;
     border-radius: 12px;
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
     transition: transform 0.2s;
 }

 .document-upload:hover {
     transform: translateY(-2px);
     border-color: #6366f1;
 }

 .document-upload label {
     display: block;
     font-weight: 700;
     margin-bottom: 12px !important;
     color: #334155;
 }

 /* Custom File Input Styling */
 input[type="file"]::file-selector-button {
     background-color: #6366f1;
     color: white;
     border: none;
     padding: 5px 15px;
     border-radius: 6px;
     margin-right: 10px;
     cursor: pointer;
     transition: background 0.2s;
 }

 input[type="file"]::file-selector-button:hover {
     background-color: #4f46e5;
 }

 /* 5. Validation Feedback Styling */
 .invalid-feedback {
     font-weight: 500;
     font-size: 0.85rem;
 }

 /* 6. Textarea specific height and feel */
 textarea.form-control {
     min-height: 80px;
     resize: none;
 }

 /* 7. Spacing Utility */
 .mb-3 {
     margin-bottom: 1.5rem !important;
 }

 /* 1. The Container for the whole form */
 .form-container {
     background: #f1f5f9;
     /* Subtle background to make cards pop */
     padding: 30px;
     border-radius: 20px;
 }

 .form-container h4 strong {
     font-size: 1.5rem;
     font-weight: bold;
 }

 /* 2. Section Headers */
 .border-b {
     border: none !important;
     color: #1e293b;
     font-size: 1.25rem;
     font-weight: 700 !important;
     margin-top: 40px !important;
     margin-bottom: 20px !important;
     text-align: left !important;
     /* Professional alignment */
     display: flex;
     align-items: center;
 }

 /* Add a colored accent next to headers */
 .border-b::before {
     content: "";
     width: 4px;
     height: 24px;
     background: #3b82f6;
     margin-right: 12px;
     border-radius: 10px;
 }

 /* 3. The "White Card" Grouping Logic */
 /* This targets the row containing your fields */
 .row:has(.col-md-6) {
     background: #ffffff;
     padding: 30px 20px 10px 20px;
     border-radius: 16px;
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
     border: 1px solid #e2e8f0;
     margin-bottom: 20px;
 }

 /* 4. Cleaning up internal field spacing */
 .input-item {
     margin-bottom: 15px;
     align-items: center;
 }


 /* 5. Modern Input Fields */
 .form-control,
 .form-select {
     border: 1.5px solid #e2e8f0;
     border-radius: 8px;
     padding: 10px;
     transition: all 0.2s;
 }

 .form-control:focus {
     border-color: #3b82f6;
     box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
 }

 /* 6. Document Upload Section Styling */
 .document-upload {
     padding: 15px;
     background: #f8fafc;
     /* Slightly different shade for upload area */
     border-radius: 10px;
     border: 1px dashed #cbd5e1;
 }

 /* 1. Page Background (Optional but recommended for contrast) */
 body {
     background-color: #f0f2f5;
 }

 /* 2. Section Header Styling */
 h4.border-b {
     border-bottom: none !important;
     text-align: left !important;
     font-size: 1.15rem;
     font-weight: 700 !important;
     color: #334155;
     margin: 40px 0 15px 10px !important;
     display: flex;
     align-items: center;
 }

 /* Add a modern accent line next to the heading */
 h4.border-b::before {
     content: "";
     display: inline-block;
     width: 5px;
     height: 20px;
     background: #0d6efd;
     /* Your brand color */
     margin-right: 12px;
     border-radius: 4px;
 }

 /* 3. The WHITE CARD Grouping Logic */
 /* We target the direct row that follows a heading or wraps inputs */
 form .row {
     background: #ffffff;
     padding: 25px 20px;
     border-radius: 12px;
     box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
     border: 1px solid #e2e8f0;
     margin-bottom: 30px !important;
     /* Spacing between groups */
     margin-left: 0;
     margin-right: 0;
 }

 /* 4. Global Input Item Styling */
 .input-item {
     background: transparent !important;
     /* Ensure nested rows don't get double backgrounds */
     box-shadow: none !important;
     border: none !important;
     padding: 0 !important;
     margin-bottom: 12px;
 }

 .col-form-label {
     font-weight: 600;
     color: #475569;
     font-size: 1.2rem;
     display: flex;
     align-items: center;
 }

 .col-form-label span {
     color: #ef4444;
     margin-left: 4px;
 }

 /* 5. Form Control Modernization */
 .form-control,
 .form-select {
     border: 1.5px solid #cbd5e1;
     border-radius: 8px;
     padding: 10px 12px;
     font-size: 0.95rem;
     transition: all 0.2s ease-in-out;
 }

 .form-control:focus {
     border-color: #0d6efd;
     box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
 }

 .form-control[readonly] {
     background-color: #f8fafc;
     border-style: dashed;
 }

 /* 6. Professional Submit Button */
 .custom-submit {
     background: linear-gradient(135deg, #0d6efd, #0a58ca);
     color: white;
     border: none;
     padding: 12px 40px;
     border-radius: 8px;
     font-weight: 700;
     font-size: 1.5rem;
     letter-spacing: 0.5px;
     transition: transform 0.2s, box-shadow 0.2s;
     box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
 }

 .custom-submit:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 15px rgba(13, 110, 253, 0.4);
     color: #fff;
 }


 .notice-card {
     background: #fff;
     border: 1px solid rgba(0, 0, 0, 0.05);
     transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
     display: flex;
     flex-direction: column;
 }

 .notice-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
     border-color: #198754;
 }

 /* Maintain aspect ratio for images */
 .notice-img-wrapper {
     position: relative;
     width: 100%;
     padding-top: 60%;
     /* 16:9 or 3:2 Ratio */
     overflow: hidden;
     background: #f8f9fa;
 }

 .notice-img {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.5s ease;
 }

 .notice-card:hover .notice-img {
     transform: scale(1.1);
 }

 /* Content Styling */
 .notice-title a {
     font-family: 'Hind Siliguri', sans-serif;
     font-weight: 700;
     color: #2c3e50 !important;
     line-height: 1.4;
     transition: color 0.3s;
 }

 .notice-card:hover .notice-title a {
     color: #198754 !important;
 }

 .notice-desc {
     font-size: 0.95rem;
     color: #6c757d;
     line-height: 1.6;
     display: -webkit-box;
     -webkit-line-clamp: 3;
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 .read-more {
     font-size: 0.9rem;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     border-top: 1px solid #f1f1f1;
     padding-top: 15px;
 }

 /* Section Header Decor */
 .section-title {
     position: relative;
     padding-bottom: 15px;
     margin-bottom: 30px;
 }

 .section-title::after {
     content: '';
     position: absolute;
     left: 0;
     bottom: 0;
     width: 60px;
     height: 4px;
     background: #198754;
     border-radius: 2px;
 }

 .article-container {
     background: #ffffff;
     border-radius: 16px;
     overflow: hidden;
     border: 1px solid rgba(0, 0, 0, 0.05);
 }

 .notice-main-img {
     width: 100%;
     max-height: 450px;
     object-fit: cover;
     border-radius: 12px;
 }

 .article-header {
     border-bottom: 2px solid #f8f9fa;
     margin-bottom: 25px;
     padding-bottom: 20px;
 }

 .article-title {
     font-family: 'Hind Siliguri', sans-serif;
     font-weight: 700;
     color: #1a202c;
     line-height: 1.3;
 }

 .meta-info {
     font-size: 0.9rem;
     color: #718096;
     display: flex;
     align-items: center;
     gap: 15px;
 }

 .notice-body {
     font-size: 1.1rem;
     line-height: 1.8;
     color: #4a5568;
     font-family: 'Hind Siliguri', sans-serif;
 }

 .notice-body p {
     margin-bottom: 1.5rem;
 }

 /* Sidebar Styling */
 .sidebar-sticky {
     position: sticky;
     top: 100px;
 }

 .sidebar-card {
     background: #fff;
     border-radius: 12px;
     border: 1px solid #edf2f7;
 }

 .sidebar-title {
     background: #198754;
     color: #fff;
     padding: 15px 20px;
     border-radius: 12px 12px 0 0;
     font-size: 1.1rem;
     font-weight: 600;
     margin: 0;
 }

 .related-notice-list {
     padding: 0;
     margin: 0;
 }

 .related-item {
     border-bottom: 1px solid #edf2f7;
     transition: background 0.2s;
 }

 .related-item:last-child {
     border-bottom: none;
 }

 .related-link {
     display: block;
     padding: 15px 20px;
     color: #4a5568;
     text-decoration: none;
     font-size: 0.95rem;
     font-weight: 500;
     transition: all 0.2s;
 }

 .related-link:hover {
     background: #f8fdfa;
     color: #198754;
     padding-left: 25px;
 }

 /* Print Button */
 .btn-print {
     border: 1px solid #dee2e6;
     color: #6c757d;
     transition: all 0.3s;
 }

 .btn-print:hover {
     background: #f8f9fa;
     color: #198754;
 }

/* মেইন ফ্লোটিং কন্টেইনার */
.floating-clock-plugin {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.85); /* স্লাইটলি ট্রান্সপারেন্ট */
    backdrop-filter: blur(10px); /* গ্লাস ইফেক্ট */
    border: 2px solid #198754;
    border-radius: 20px; /* রাউন্ডেড কর্নার */
    padding: 12px 25px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
}


.close-clock-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    color: #dc3545; /* লাল রঙের ক্রস */
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10001;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-clock-btn:hover {
    color: #a71d2a;
    transform: scale(1.1);
}

/* মোবাইলে ক্লোজ বাটনটি একটু বড় রাখা হয়েছে যাতে ক্লিক করতে সুবিধা হয় */
@media (max-width: 767px) {
    .close-clock-btn {
        top: -8px;
        right: -8px;
        font-size: 26px;
    }
}

.floating-clock-plugin:hover {
    transform: translateY(-8px) scale(1.02);
    background: #ffffff;
    border-color: #ff9900; /* হোভার করলে অরেঞ্জ বর্ডার */
    box-shadow: 0 20px 40px rgba(25, 135, 84, 0.25);
}

/* ক্লক টেক্সট এরিয়া */
.clock-text-wrapper {
    font-family: 'Hind Siliguri', sans-serif;
    color: #1a202c !important; /* মিক্স ব্লেন্ড মোড বাদ দিয়ে ডিরেক্ট কালার */
}

#floatingClock {
    line-height: 1.3;
    text-align: center;
}

#timeLine {
    font-weight: 800;
    font-size: 1.1rem;
    color: #198754; /* সময়টা সবুজ দেখাবে */
    display: block;
    margin-bottom: 2px;
}

#dateLine {
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
    line-height: 1.5;
}

/* ফ্লাটপিকার ক্যালেন্ডার থিম কাস্টমাইজেশন */
.flatpickr-calendar {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2) !important;
    padding: 10px;
}

.flatpickr-months .flatpickr-month {
    color: #198754 !important;
    fill: #198754 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 700 !important;
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
    background: #198754 !important;
    border-color: #198754 !important;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3) !important;
}

.flatpickr-day:hover {
    background: #f0fff4 !important;
}

/* এক্সট্রা ইনফো বক্স (হিজরি ও বঙ্গাব্দ) */
#calendarExtraInfo {
    background: #f8fafc;
    border-radius: 12px;
    margin-top: 10px;
    padding: 12px !important;
    border: 1px solid #e2e8f0;
}

 /* ১. সেকশন ব্যাকগ্রাউন্ড ও প্যারাল্যাক্স */
.vip-parallax-section {
    padding: 80px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), 
                url('https://www.transparenttextures.com/patterns/cubes.png'); /* হালকা টেক্সচার */
    background-attachment: fixed;
}

/* ২. গ্রিড লেআউট */
.vip-grid {
    display: grid;
    /* ৪টি আইটেম নিশ্চিত করতে minmax কমিয়ে ২৫০ পিক্সেল বা তার কম করা হয়েছে */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-top: 40px;
}

/* ৩. ভিআইপি কার্ড ডিজাইন */
.vip-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #eee;
    text-align: center;
    position: relative;
}

.vip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(25, 135, 84, 0.15);
    border-color: #198754;
}

/* ৪. কার্ডের উপরের টাইটেল (যেমন: মাননীয় প্রধানমন্ত্রী) */
.vip-title {
    background: #198754; /* আপনার গভ: গ্রিন কালার */
    color: #fff;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

/* ৫. কার্ড বডি ও ইমেজ */
.vip-body {
    padding: 30px 20px;
}

.vip-body img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.4s;
}

.vip-card:hover .vip-body img {
    border-color: #198754;
    transform: scale(1.05);
}

/* ৬. টেক্সট টাইপোগ্রাফি */
.vip-body h5 {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.vip-body .designation {
    color: #198754;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.vip-body small {
    color: #718096;
    display: block;
    font-size: 0.85rem;
    line-height: 1.4;
}

@media (min-width: 1200px) {
    .vip-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* মাঝারি স্ক্রিনের জন্য (Tablet) */
@media (max-width: 1199px) and (min-width: 768px) {
    .vip-grid {
        grid-template-columns: repeat(2, 1fr); /* ট্যাবে ২টা করে দেখালে সুন্দর লাগবে */
    }
}

/* ছোট স্ক্রিনের জন্য (Mobile) */
@media (max-width: 767px) {
    .vip-grid {
        grid-template-columns: repeat(1, 1fr); /* মোবাইলে ১টা করে */
    }
}

 .designation {
     color: #198754;
     font-weight: 600;
 }

 .helpline-section {
     padding: 20px 0;
 }

 .helpline-card {
     display: flex;
     align-items: center;
     justify-content: space-between;

     background: #fff;
     padding: 12px 15px;
     border-radius: 14px;
     text-decoration: none;

     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
     transition: 0.3s;
     border-left: 4px solid #198754;
 }

 .helpline-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
 }

 .helpline-left img {
     width: 40px;
     height: 40px;
     object-fit: contain;
 }

 .helpline-center {
     flex: 1;
     padding-left: 10px;
 }

 .helpline-center h6 {
     margin: 0;
     font-weight: 700;
     color: #212529;
     font-size: 15px;
 }

 .helpline-center small {
     color: #6c757d;
 }

 .helpline-right span {
     background: linear-gradient(135deg, #dc3545, #ff6b6b);
     color: #fff;
     padding: 6px 12px;
     border-radius: 50px;
     font-weight: bold;
     font-size: 14px;
 }

 @media (max-width: 480px) {
    .categories {
        grid-template-columns: repeat(2, 1fr); /* ছোট ফোনেও ২ কলাম সুন্দর লাগে */
        gap: 10px;
    }
}