 * {
     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 */
 }

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

 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: 20px;
 }

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

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

 /* 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: 18px;
     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: 16px;
     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;
 }

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

 .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 */
.hero-slider {
    height: 75vh;
}

.swiper,
.swiper-wrapper,
.swiper-slide {
    height: 75vh;
}

/* SLIDE */
.slide {
    height: 75vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* OVERLAY */
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* OVERLAY (TEXT + SEARCH FIXED) */
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    z-index: 10;
    text-align: center;
    padding: 0 15px;
    color: white;
}

/* spacing between text & search */
.hero-content {
    margin-bottom: 20px;
}

/* TEXT */
.hero-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    opacity: .9;
    margin-bottom: 25px;
    font-size: 18px;
}

/* SEARCH BOX */
/* FIXED SEARCH BOX POSITION */
.search-box-wrapper {
    position: absolute;
    top: 65%; /* adjust as you like */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 10;
    padding: 0 15px;
}

.search-box {
    display: flex;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 600px;
    margin: 0 auto; /* important */
}

.search-box input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    background: transparent;
    color: white;
    font-size: 16px;
}

.search-box input::placeholder {
    color: #eee;
}

.search-box button {
    background: #198754;
    border: none;
    padding: 15px 30px;
    color: white;
    cursor: pointer;
    font-weight: 600;
}

 /* CATEGORIES */
 .categories {
     margin-top: -60px;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
     gap: 20px;
     position: relative;
     z-index: 10;
 }

 .card {
     background: white;
     padding: 30px 20px;
     border-radius: 20px;
     text-align: center;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
     transition: .4s;
     font-weight: 600;
     cursor: pointer;
 }

 .card:hover {
     transform: translateY(-10px);
     box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
     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 (max-width: 992px) {
     .menu-toggle {
         display: block;
     }

     .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 {
         grid-template-columns: repeat(2, 1fr);
         margin-top: -30px;
     }
 }


 /* STATISTICS SECTION */
 .statistics-section {
     margin: 50px 0;
 }

 .stat-card {
     background: white;
     border-radius: 15px;
     padding: 25px;
     transition: 0.3s;
     border-bottom: 4px solid #eee;
 }

 .stat-card:hover {
     transform: translateY(-5px);
     border-bottom-color: var(--gov-green);
 }

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

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

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

 /* SERVICE CARDS */
 .category-header {
     border-left: 5px solid var(--gov-blue);
     padding-left: 15px;
     margin: 40px 0 20px;
     font-size: 1.7rem;
 }

 .service-card {
     background: white;
     border-radius: 12px;
     padding: 20px;
     border: 1px solid #eee;
     transition: 0.3s;
     height: 100%;
     display: flex;
     flex-direction: column;
     align-items: center;
 }

 .service-card:hover {
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
     transform: translateY(-3px);
 }

  .service-icon ion-icon{
     font-size: 3rem;
     color: var(--gov-blue);
     margin-bottom: 10px;
 }

 .c-button {
     margin-top: auto;
     border: 1px solid var(--gov-blue);
     color: var(--gov-blue);
     padding: 6px 15px;
     border-radius: 20px;
     font-size: 13px;
     font-weight: 600;
     transition: 0.3s;
     width: 100%;
     display: block;
 }

 .c-button:hover {
     background: var(--gov-blue);
     color: white;
 }

 /* FEATURE CARDS (NOTICES) */
 .feature-card {
     background: white;
     padding: 25px;
     border-radius: 15px;
     border: 1px solid #eee;
 }

 .feature-list {
     margin-top: 15px;
     margin: 0 !important;
     padding-left: 0 !important;
     list-style: none !important;
 }

 .feature-list li {
     margin-bottom: 8px;
     border-bottom: 1px dashed #ddd;
     padding-bottom: 5px;
 }

 .feature-list li a {
     color: #555;
     font-size: 14px;
 }

 .feature-list li a:hover {
     color: var(--gov-green);
 }

 /* 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: linear-gradient(135deg, #0f5132, #198754);
     color: white;
     padding: 60px 0 20px;
     margin-top: 80px;
     position: relative;
     overflow: hidden;
 }

 /* subtle pattern */
 .gov-footer::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: url("https://www.transparenttextures.com/patterns/cubes.png");
     opacity: 0.05;
 }

 .footer-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
     gap: 30px;
     position: relative;
     z-index: 2;
 }

 .footer-logo {
     font-size: 26px;
     font-weight: 700;
     margin-bottom: 10px;
 }

 .footer-box p {
     font-size: 14px;
     opacity: 0.9;
     line-height: 1.6;
 }

 .footer-box h4 {
     margin-bottom: 15px;
     font-size: 16px;
     font-weight: 600;
 }

 .footer-box ul {
     list-style: none;
     padding: 0;
     margin: 0;
 }

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

 .footer-box ul li a {
     color: #e9f5ee;
     font-size: 14px;
     transition: 0.3s;
 }

 .footer-box ul li a:hover {
     color: #fff;
     padding-left: 5px;
 }

 .socials {
     margin-top: 15px;
     display: flex;
     gap: 10px;
 }

 .socials a {
     width: 35px;
     height: 35px;
     background: rgba(255, 255, 255, 0.15);
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     transition: 0.3s;
 }

 .socials a:hover {
     background: white;
     transform: translateY(-3px);
 }

 .footer-bottom {
     text-align: center;
     margin-top: 40px;
     padding-top: 15px;
     border-top: 1px solid rgba(255, 255, 255, 0.2);
     font-size: 13px;
     opacity: 0.8;
 }


 .family-banner {
     background: linear-gradient(135deg, #198754, #0f5132);
     color: white;
     padding: 60px 0;
     position: relative;
     overflow: hidden;
 }

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

 .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;
 }

 /* soft pattern */
 .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;
 }

 /* soft pattern */
 .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.3rem;
    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;
    }