  @media (min-width: 2000px) {
  .container {
    max-width: 1900px;
  }
.program-card {
	padding: 33px 53px;
	height: 100%;
}
 .ed_part p {
	padding: 77px 20px 78px 20px;
}
  .approach_inner p {
	padding: 0px 10px 101px 10px;
}  
}
 
 @media (min-width: 1900px)and (max-width: 1999px) {
  .container {
    max-width: 1800px;
  }
.program-card {
	padding: 33px 43px;
	height: 100%;
}
 .ed_part p {
	padding: 77px 20px 78px 20px;
}
  .approach_inner p {
	padding: 0px 10px 78px 10px;
}
 
  
}
 @media (min-width: 1800px)and (max-width: 1899px)  {
      .container {
        max-width: 1700px;
       
      }
      .program-card {
	padding: 33px 36px;
	height: 100%;
}
 .ed_part p {
	padding: 77px 20px 78px 20px;
}
  .approach_inner p {
	padding: 0px 10px 78px 10px;
}
 
    }
 @media (min-width: 1700px)and (max-width: 1799px) {
      .container {
        max-width: 1600px;
       
      }
      .programs_part {
	padding: 30px 10px 31px 10px;
	
}
   .ed_part p {
	padding: 64px 20px 64px 20px;
}
      .approach_inner p {
    padding: 0px 10px 52px 10px;
  }
    }
 @media (min-width: 1600px)and (max-width: 1699px) {
      .container {
        max-width: 1500px;
       
      }
      .ed_part p {
    padding: 53px 20px 52px 20px;
  }
      .approach_inner p {
    padding: 0px 10px 51px 10px;
  }
    }
 @media (min-width: 1500px)and (max-width: 1599px){
      .container {
        max-width: 1400px;
       
      }
       .ed_part p {
      padding: 38px 20px 38px 20px;     
    }
    .approach_inner p {
    padding: 0px 10px 27px 10px;
  }
    }
/* @media (min-width: 1399px) {
  .custom-container {
    max-width: 1800px;
  }
  .container {
        padding-left: 50px;
        padding-right: 50px;
      }
} */

/* @media (min-width: 1800px) {
   .container {
    max-width: 90%; 
  }
} */

@media (min-width: 1400px) {
    .container {
    max-width: 90%; 
  }

 
}
@media (min-width: 1200px) {}

@media (min-width: 992px) and (max-width: 1199px) {
  /* ======= Menu part start ======= */
   .main_menu {
    height: 55px;
    padding: 0 15px;
  }

  .main_menu .navbar-brand img {
    height: 45px;
    width: 160px;
}
  .navbar-nav .nav-item .nav-link {
    font-size: 14px;       /* Reduce font size */
    padding: 0 10px !important;       /* Reduce horizontal spacing */
    line-height: 55px;
  }

  .navbar-nav .nav-item {
    margin: 0 2px;         /* Less gap between menu items */
  }

  .nav-drop {
    min-width: 180px;      /* Slightly smaller dropdown */
  }

  .nav-drop li a {
    font-size: 14px;
    padding: 8px 15px;
  }

  .menu-button {
    font-size: 14px;
    padding: 6px 16px;     /* Adjust donate button size */
    margin-left: 10px;
  }

  /* Fix submenu overlap */
  .drop-item:hover > .nav-drop-down {
    left: 95%;
  }
/* ======= Menu part end ======= */
/* ======= Image & Vedio part start ======= */
/* Modal video responsive */
  .modal-body iframe,
  .modal-body video {
    width: 100%;
    height: 260px;          /* scale for this screen size */
  }

  .modal-body .col-md-6 {
    padding: 10px;
  }

  /* Pagination style tweak */
  .pagination .page-link {
    font-size: 14px;
    padding: 6px 12px;
  }
 /* ======= Image & Vedio part end ======= */

}

@media (min-width: 768px) and (max-width: 991px) {
   /* ======= Menu part start ======= */
.main_menu {
    position: absolute;   /* instead of relative */
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #161F6F;
    z-index: 2000; /* keep navbar above banner */
  }

 .main_menu .navbar-brand img {
	height: 60px;
	padding-top: 10px;
	padding-left: 10px;
	padding-bottom: 10px;
}
 .main_menu .navbar-brand h6 {
	color: #f1f1f1ff;
	font-weight: bold;
	padding-left: 2px;
	padding-top: 2px;
}
.navbar{
  padding-bottom: 10px !important;
}
  .nav {
    display: block;
    padding: 10px;
    background: #161F6F;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    padding-left: 0;
    margin: 0;
  }

  .navbar-nav .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
  }

  .navbar-nav .nav-item .nav-link {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 45px;
    text-align: left;
    padding: 0 15px;
  }

  /* Dropdown style mobile (overlapping) */
  .nav-drop,
  .nav-drop-down {
    position: absolute;   /* take out of flow */
    top: 100%;            /* start right below nav-link */
    left: 0;
    width: 100%;
    background: #1d3e91;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    z-index: 2000; /* dropdown above banner */
  }

  .nav-item.open > .nav-drop,
  .drop-item.open > .nav-drop-down {
    max-height: 500px; /* enough space */
    opacity: 1;
    transform: translateY(0);
  }
  .nav-drop li a,
  .nav-drop-down li a {
    padding: 10px 15px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* Mobile toggle button */
  .navbar-toggler {
    border: none;
    background: transparent;
    font-size: 22px;
    color: #fff;
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }

.navbar .search-form {
        flex-grow: 0;
        width: 100%;           /* full width on very small screens */
        margin-left: 0;
        margin-top: 10px;
    }

    .navbar .search-form .form-control {
        height: 40px;
        font-size: 14px;
    }

    .navbar .search-form .input-group .btn {
        height: 40px;
        padding: 0 15px;
    }
/* ======= Menu part end ======= */
/* ======= Banner part start ======= */

 /* ======= Banner part End ======= */
 /* ======= Home About part start ======= */
  #home_about_part {
	padding-top: 20px;
  padding-bottom: 10px;
	background-color: #f9f9f9;
	font-family: 'Segoe UI', sans-serif;
	color: #333;
}
.event-item img {
	object-fit: cover;
	border-radius: 12px;
	width: 326px;
	height: 160px;
}
    /* Container adjustments */
    #home_about_part .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Columns stack vertically with spacing */
    #home_about_part .row {
        flex-direction: column;
    }

    /* About text adjustments */
    #home_about_part .about_text {
        margin-bottom: 20px;
    }

    #home_about_part .about_text p {
        font-size: 0.95rem; /* slightly smaller text */
        line-height: 1.5;
    }

    #home_about_part .read-more-link {
        display: inline-block;
        margin-top: 10px;
        font-size: 0.85rem;
    }

    /* Event box adjustments */
    #home_about_part .event-box {
        padding: 15px;
    }

    #home_about_part .event-box h3 {
        font-size: 1.2rem;
    }

   

    #home_about_part .event-text h6 {
        font-size: 0.95rem;
    }

    #home_about_part .event-text small {
        font-size: 0.8rem;
    }

    #home_about_part .btn {
        font-size: 0.85rem;
        padding: 0.35rem 0.75rem;
    }
 /* ======= Home About part end ======= */

 /* ======= notice_event part start ======= */
  /* Tabs inline with minimal gap */
  #notice_event .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    border-bottom: none;
    gap: 3px; /* reduced gap */
  }

  #notice_event .nav-tabs .nav-item {
   
    text-align: center;
  }

 #notice_event .nav-tabs .nav-link {
	font-size: 14px;
	padding: 6px 8px;
	white-space: nowrap;
	color: #fff;
	font-weight: 600;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
	color: #222 !important;
	background-color: #fff;
	border-color: #dee2e6 #dee2e6 #fff;
}

 /* ======= notice_event part end ======= */

 /* ======= Image & Vedio part start ======= */
/* Whole section spacing */
    #images_vedios {
        padding: 15px 0;
    }

    /* Make row vertical */
    #images_vedios .row {
        flex-direction: column;
    }

    /* Left and right columns full width */
    #images_vedios .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 15px;
    }

    /* Left images grid (4 small images) */
    .left-images-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
        grid-gap: 10px;
    }

    /* Image container */
    .images_img {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
    }

    /* Image styles */
    .images_img img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    /* Overlay effect */
    .images_img .overly {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.3s ease-in-out;
    }

    .images_img:hover .overly {
        opacity: 1;
    }

    .images_img .overly a {
        color: #fff;
        font-size: 22px;
    }
 /* ======= Image & Vedio part end ======= */

 /* ======= about Part start ======= */
  #about_part {
    padding-top: 80px;
    padding-bottom: 30px;
    padding-left:15px;
    padding-right: 15px; /* Reduce padding for medium screens */
    }

    #about_part .about_head h2 {
        font-size: 28px; /* Slightly smaller title */
        margin-bottom: 20px;
    }

    #about_part .about_inner p {
        font-size: 16px; /* Reduce font size for readability */
        line-height: 1.6; /* Slightly looser line height */
        text-align: justify; /* Better text alignment for medium screens */
        margin-bottom: 20px;
    }

    #about_part .about_item {
        padding: 15px; /* Add inner spacing */
    }
 /* ======= about Part end ======= */
 /* ======= Video Part start ======= */
 /* Container adjustments */
    #video_part .container {
        padding: 20px 15px;
    }

   

    /* Modal iframe & video adjustments */
    .modal-dialog.modal-xl {
        max-width: 90%; /* make modal slightly smaller on tablets */
    }

    .modal-body iframe,
    .modal-body video {
        width: 100%; /* full width for medium screens */
        height: auto; /* keep aspect ratio */
        margin-bottom: 20px;
    }

    /* Pagination */
    #video_part .pagination .page-link {
        font-size: 14px;
        padding: 6px 12px;
    }
 /* ======= Video Part end ======= */

 /* ======= member directory part Start ======= */
  /* Container padding */
    .directory-container {
        padding: 40px 15px;
    }

    /* Section title */
    .directory-container .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .member_circle-layout {
	position: relative;
	width: 250px;
	height: 350px;
	margin: auto;
}
.member_circle1 {
	top: 0;
	left: 10px;
	width: 180px;
	height: 180px;
}
.member_circle2 {
	top: 170px;
	left: 83px;
	width: 150px;
	height: 150px;
}
.member_circle3 {
	top: 160px;
	right: 166px;
	width: 120px;
	height: 123px;
}

    /* Member cards */
    .member-card {
        margin-bottom: 20px;
    }

    .member-card img {
        height: 220px; /* slightly smaller than desktop */
    }

    .member-info {
        padding: 12px;
    }

    .member-name {
        font-size: 16px;
    }

    .member-role {
        font-size: 13px;
    }

    

   
 /* ======= member directory part End ======= */

 /* ======= contact Part start ======= */
  #contact .row.g-4 {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
        align-items: stretch; /* Make columns same height */
    }

    #contact .col-md-5,
    #contact .col-md-7 {
        display: flex;
        flex-direction: column;
        justify-content: stretch;
    }

    /* Map fills its column */
    #contact .col-md-5 .ratio {
        flex: 1; /* Makes map take full height */
        min-height: 350px; /* Optional minimum height */
    }

    /* Form fills its column */
    #contact .col-md-7 form {
        flex: 1; /* Form takes full height */
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Adjust spacing inside form */
    }

    /* Optional: Adjust padding for form elements */
    #contact .col-md-7 form .form-control,
    #contact .col-md-7 form button {
        margin-bottom: 10px;
    }

 /* ======= contact Part end ======= */

 /* ======= Donate Page Form Section Start ======= */
  .donation-section .donation-card {
        padding: 20px; /* Slightly smaller padding */
    }

    .donation-section .donation-card .section-title {
        font-size: 28px; /* Slightly smaller title */
    }

    .donation-section .donation-card img {
        max-width: 120px; /* Scale down decorative image */
        margin-bottom: 15px;
    }

    /* Name & Email/Phone inputs stacked on smaller screens */
    .donation-section .donation-card .row.mb-3 {
        flex-wrap: wrap;
    }

    .donation-section .donation-card .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

    /* Donation amount buttons wrap */
    .donation-section .donation-card .d-flex.flex-wrap.gap-2 {
        flex-direction: column;
        align-items: flex-start;
    }

    .donation-section .donation-card .d-flex.flex-wrap.gap-2 .amount-btn,
    .donation-section .donation-card #customAmount {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Action buttons stacked */
    .donation-section .donation-card .d-grid.d-md-flex.justify-content-md-end {
        flex-direction: column;
        gap: 10px;
    }

    .donation-section .donation-card .d-grid.d-md-flex.justify-content-md-end .btn {
        width: 100%;
    }
 
 /* ======= Donate Page Form Section End ======= */

}

@media (min-width: 576px) and (max-width: 767px) {
/* ======= Menu part start ======= */
.main_menu {
    position: absolute;   /* instead of relative */
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #161F6F;
    z-index: 2000; /* keep navbar above banner */
  }

 .main_menu .navbar-brand img {
	height: 60px;
	padding-top: 10px;
	padding-left: 10px;
	padding-bottom: 10px;
}
 .main_menu .navbar-brand h6 {
	color: #f1f1f1ff;
	font-weight: bold;
	padding-left: 2px;
	padding-top: 2px;
}
.navbar{
  padding-bottom: 10px !important;
}
  .nav {
    display: block;
    padding: 10px;
    background: #161F6F;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    padding-left: 0;
    margin: 0;
  }

  .navbar-nav .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
  }

  .navbar-nav .nav-item .nav-link {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 45px;
    text-align: left;
    padding: 0 15px;
  }

  /* Dropdown style mobile (overlapping) */
  .nav-drop,
  .nav-drop-down {
    position: absolute;   /* take out of flow */
    top: 100%;            /* start right below nav-link */
    left: 0;
    width: 100%;
    background: #1d3e91;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    z-index: 2000; /* dropdown above banner */
  }

  .nav-item.open > .nav-drop,
  .drop-item.open > .nav-drop-down {
    max-height: 500px; /* enough space */
    opacity: 1;
    transform: translateY(0);
  }
  .nav-drop li a,
  .nav-drop-down li a {
    padding: 10px 15px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* Mobile toggle button */
  .navbar-toggler {
    border: none;
    background: transparent;
    font-size: 22px;
    color: #fff;
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }
.navbar .search-form {
        flex-grow: 0;
        width: 100%;           /* full width on very small screens */
        margin-left: 0;
        margin-top: 10px;
    }

    .navbar .search-form .form-control {
        height: 40px;
        font-size: 14px;
    }

    .navbar .search-form .input-group .btn {
        height: 40px;
        padding: 0 15px;
    }

/* ======= Menu part end ======= */
/* ======= Banner part start ======= */

 /* ======= Banner part End ======= */
    

/* ======= Home About part Start ======= */
 

  #home_about_part {
	padding-top: 20px;
  padding-bottom: 10px;
	background-color: #f9f9f9;
	font-family: 'Segoe UI', sans-serif;
	color: #333;
}
.event-item img {
	object-fit: cover;
    border-radius: 12px;
    width: 280px;
    height: 150px;
}
    /* Container adjustments */
    #home_about_part .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Columns stack vertically with spacing */
    #home_about_part .row {
        flex-direction: column;
    }

    /* About text adjustments */
    #home_about_part .about_text {
        margin-bottom: 20px;
    }

    #home_about_part .about_text p {
        font-size: 0.95rem; /* slightly smaller text */
        line-height: 1.5;
    }

    #home_about_part .read-more-link {
        display: inline-block;
        margin-top: 10px;
        font-size: 0.85rem;
    }

    /* Event box adjustments */
    #home_about_part .event-box {
        padding: 15px;
    }

    #home_about_part .event-box h3 {
        font-size: 1.2rem;
    }

   

    #home_about_part .event-text h6 {
        font-size: 0.95rem;
    }

    #home_about_part .event-text small {
        font-size: 0.8rem;
    }

    #home_about_part .btn {
        font-size: 0.85rem;
        padding: 0.35rem 0.75rem;
    }
   /* ======= Home About part end ======= */

   /* ======= notice_event part Start ======= */
  /* Section padding */
  #notice_event {
    padding: 20px 0;
  }

  /* Notice box */
  #notice_event .notice-box {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
     background: #fff; 
    margin-bottom: 20px;
  }
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
	color: #495057;
	background-color: #28a745;
	border-color: #dee2e6 #dee2e6 #fff;
}
  /* Tabs menu */
  
    #notice_event .nav-tabs .nav-link {
	font-size: 13px;
	padding: 6px 10px;
	color: #fff;
	font-weight: bold;
}
 
 .nav-tabs {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-tabs .nav-item {
        margin-bottom: 5px;
    }

    .nav-tabs .nav-link {
        width: 100%;
        text-align: center;
        border-radius: 6px;
    }

    /* Optional: ছোট স্ক্রিনে টেবিল সুন্দরভাবে দেখা যায় */
    .table-responsive {
        overflow-x: auto;
    }

  /* Table adjustments */
  #notice_event table {
    font-size: 13px;
  }

  #notice_event table th,
  #notice_event table td {
    padding: 6px;
    vertical-align: middle;
  }

  #notice_event table td a.btn {
    font-size: 12px;
    padding: 4px 8px;
  }

  /* Buttons */
  #notice_event .btn {
    font-size: 13px;
    padding: 6px 12px;
    width: 100%; /* full width for better tap */
  }

  /* Images section */
  

/* ======= notice_event part end ======= */

/* ======= Image & Vedio part Start ======= */
  /* Whole section spacing */
    #images_vedios {
        padding: 15px 0;
    }

    /* Make row vertical */
    #images_vedios .row {
        flex-direction: column;
    }

    /* Left and right columns full width */
    #images_vedios .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 15px;
    }

    /* Left images grid (4 small images) */
    .left-images-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
        grid-gap: 10px;
    }

    /* Image container */
    .images_img {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
    }

    /* Image styles */
    .images_img img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    /* Overlay effect */
    .images_img .overly {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.3s ease-in-out;
    }

    .images_img:hover .overly {
        opacity: 1;
    }

    .images_img .overly a {
        color: #fff;
        font-size: 22px;
    }

/* ======= Image & Vedio part end ======= */

/* ======= Provider Part Start ======= */
     /* Section spacing ছোট স্ক্রিনে কম হবে */
  #provider_slider {
	padding-bottom: 25px !important;
}

  /* Slider container full width */
  #provider_slider .provider-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  /* Each slide (mobile এ একটার নিচে একটা বা grid) */
  #provider_slider .provider-slider > div {
    flex: 0 0 100%;   /* Full width on mobile */
    max-width: 100%;
    text-align: center;
    padding: 15px 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }

  /* Image style */
  #provider_slider .provider-slider img {
    max-height: 80px;
    width: auto;
    margin: 0 auto 10px;
    display: block;
  }

  /* Heading small */
  #provider_slider .provider-slider h6 {
    font-size: 14px;
    margin-bottom: 5px;
  }

  /* Paragraph smaller */
  #provider_slider .provider-slider p {
    font-size: 12px;
    line-height: 1.4;
  }


/* ======= Provider Part End ======= */
/* ======= Footer Part Start ======= */

  .footer_main{
  padding: 25px 0;
}

   footer {
    text-align: center; /* সব content center aligned হবে */
    padding: 30px 15px;
  }

  footer .footer_brand img {
    margin: 0 auto 15px; /* logo center হবে */
    display: block;
  }

  footer .footer_brand p {
    font-size: 13px;
    line-height: 1.5;
  }

  footer .footer_social {
    margin: 10px 0;
  }

  footer .footer_social h6 {
    font-size: 15px;
    /* margin-bottom: 10px; */
    font-weight: bold;
  }

  footer .footer_social a {
    margin: 0 2px;
    font-size: 18px;
  }

 footer .footer_office_address h6 {
	font-size: 15px;
	margin-bottom: 8px;
	font-weight: bold;
}

  footer .footer_office_address p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
  }

  /* Column stacking */
  /* footer .col-md-4 {
    margin-bottom: 20px;
  } */

  /* Remove unnecessary bottom margin from last column */
  footer .col-md-4:last-child {
    margin-bottom: 0;
  }
/* ======= Footer Part End ======= */
/* ======= about Part start ======= */
/* Container adjustments */
    #about_part .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* About section heading */
    #about_part .about_head h2.section-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    /* About text paragraph */
    #about_part .about_inner p {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: justify;
    }

    /* Padding adjustments for about_item */
    #about_part .about_item {
        padding: 15px;
    }

    /* Center content if needed */
    #about_part .about_inner {
        margin: 0 auto;
    }
/* ======= about Part end ======= */

/* ======= Gallery Part start ======= */

   
/* ======= Gallery Part start ======= */
 /* ======= Video Part start ======= */
  #video_part {
    padding-top: 80px;
    padding-bottom: 30px;
    padding-left:10px;
    padding-right: 10px; /* Container padding ছোট করা */
  }
  .modal-content{
    margin-top: 60px;
  }
  /* Modal iFrame / Video */
  #video_part .modal-body iframe,
  #video_part .modal-body video {
    width: 100% !important;
   
    margin-bottom: 15px;
  }

  /* Pagination */
  #video_part .pagination .page-link {
    padding: 6px 10px;
    font-size: 13px;
  }
  /* ======= Video Part end ======= */

  /* ======= member directory part start ======= */
  /* Container Padding */
  .directory-container {
      padding: 30px 15px;
  }

  #member_search {
   
	padding-top: 120px;
	padding-bottom: 0px; 

      padding-left: 10px;
      padding-right: 10px;
  }
  .member_circle-layout {
    height: 360px;
  }
  .member_circle1 {
	top: 0;
	left: 29px;
	width: 180px;
	height: 180px;
}
  .member_circle2 {
	top: 170px;
	left: 105px;
	width: 150px;
	height: 150px;
}
.member_circle3 {
	top: 160px;
	right: 144px;
	width: 120px;
	height: 123px;
}
    /* Section Headings */
    #member_search .latest_member,
    .directory-container .section-title {
        text-align: center;
    }

    

    /* Search Form */
    #member_search form .input-group {
        flex-direction: column;
        gap: 10px;
    }

    #member_search form .dropdown-toggle,
    #member_search form .form-control,
    #member_search form .btn {
        width: 100%;
    }

    /* Member Cards */
    .member-card img {
        height: 200px;
    }

    .member-info {
        padding: 10px;
    }

    .member-name {
        font-size: 16px;
    }

    .member-role {
        font-size: 13px;
    }

    /* Pagination */
    .pagination {
        font-size: 14px;
    }

    /* Optional hover effect scaling adjustment */
    .member-card:hover {
        transform: translateY(-3px);
    }
  /* ======= member directory part End ======= */
  /* ======= Donate Page Part Start ======= */
   /* Make only the 3rd card full width */
   .donte_header{
    padding-left: 92px;
   }
  #donatepart_first .row .col:nth-child(3) {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Optional - adjust card spacing for better look */
  #donatepart_first .donate-card {
    margin-bottom: 15px;
  }

  #donatepart_first .donate-card .card-title {
    font-size: 1.1rem;
  }

  #donatepart_first .donate-card .card-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  /* ======= Donate Page Part End ======= */

/* ======= All Event Page Start ======= */
/* Container adjustments */
    #all-events .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Event cards stack with proper spacing */
    #all-events .row.g-4 {
        row-gap: 20px;
        column-gap: 15px;
    }

    /* Event card images responsive */
    #all-events .event-card img {
        width: 100%;
        height: auto;
        max-height: 180px;
        object-fit: cover;
    }

    /* Event card titles and description */
    #all-events .event-card .card-title {
        font-size: 1rem;
    }

    #all-events .event-card .event-desc {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    /* Event date adjustments */
    #all-events .event-card .event-date {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    /* Buttons smaller */
    #all-events .event-card .btn {
        font-size: 0.8rem;
        padding: 0.35rem 0.65rem;
    }

    /* Pagination adjustments */
    #all-events .pagination .page-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.7rem;
    }

    /* Notice container adjustments */
    #notice_view_part .notice-container {
        padding: 20px;
        border-width: 1px;
    }

    #notice_view_part .notice-container::before {
        font-size: 3rem; /* smaller watermark */
    }

    #notice_view_part .notice-header h2 {
        font-size: 1.5rem;
    }

    #notice_view_part .notice-title {
        font-size: 1.1rem;
    }

    #notice_view_part .notice-body {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    #notice_view_part .notice-footer {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Print button adjustments */
    .no-print button {
        font-size: 0.85rem;
        padding: 0.35rem 0.75rem;
    }
/* ======= All Event Page End ======= */


  }

  @media (max-width: 575px) {
  /* ======= Menu part start ======= */
  
  .main_menu {
    position: absolute;   /* instead of relative */
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #161F6F;
    z-index: 2000; /* keep navbar above banner */
  }

 .main_menu .navbar-brand img {
	height: 50px;
	padding-top: 10px;
	padding-left: 10px;
}
 .main_menu .navbar-brand h6 {
	color: #f1f1f1ff;
	font-weight: bold;
	padding-left: 2px;
	padding-top: 6px;
}
.navbar{
  padding-bottom: 10px !important;
}
  .nav {
    display: block;
    padding: 10px;
    background: #161F6F;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    padding-left: 0;
    margin: 0;
  }

  .navbar-nav .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
  }

  .navbar-nav .nav-item .nav-link {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 45px;
    text-align: left;
    padding: 0 15px;
  }

  /* Dropdown style mobile (overlapping) */
  .nav-drop,
  .nav-drop-down {
    position: absolute;   /* take out of flow */
    top: 100%;            /* start right below nav-link */
    left: 0;
    width: 100%;
    background: #1d3e91;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    z-index: 2000; /* dropdown above banner */
  }

  .nav-item.open > .nav-drop,
  .drop-item.open > .nav-drop-down {
    max-height: 500px; /* enough space */
    opacity: 1;
    transform: translateY(0);
  }
  .nav-drop li a,
  .nav-drop-down li a {
    padding: 10px 15px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* Mobile toggle button */
  .navbar-toggler {
    border: none;
    background: transparent;
    font-size: 22px;
    color: #fff;
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }

.navbar .search-form {
        flex-grow: 0;
        width: 100%;           /* full width on very small screens */
        margin-left: 0;
        margin-top: 10px;
    }

    .navbar .search-form .form-control {
        height: 40px;
        font-size: 14px;
    }

    .navbar .search-form .input-group .btn {
        height: 40px;
        padding: 0 15px;
    }
  
/* ======= Menu part end ======= */

/* ======= Banner part start ======= */

  
 /* ======= Banner part End ======= */

 /* ======= Home About part Start ======= */

 #home_about_part {
    padding: 20px 0;
  }

  /* About text */
  #home_about_part .about_text {
    padding: 10px;
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
  }

  #home_about_part .about_text p {
    margin-bottom: 10px;
  }

  #home_about_part .about_text .read-more-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #198754; /* Bootstrap success color */
  }

  /* Event box */
  #home_about_part .event-box {
    margin-top: 20px; /* stack below about text */
    padding: 15px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #f9f9f9;
  }

  #home_about_part .event-box h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  /* Event item */
  #home_about_part .event-item {
    flex-direction: column;        /* stack img + text */
    align-items: flex-start;
  }

  #home_about_part .event-item img {
    width: 100%;                   /* full width */
    height: auto;
    max-height: 200px;             /* prevent too tall */
    object-fit: cover;
    margin-bottom: 10px;
  }

  #home_about_part .event-text {
    text-align: left;
    width: 100%;
  }

  #home_about_part .event-text h6 {
    font-size: 15px;
    font-weight: 600;
  }

  #home_about_part .event-text small {
    font-size: 13px;
    color: #666;
  }

  /* Button */
  #home_about_part .event-box .btn {
    margin-top: 10px;
    font-size: 13px;
    padding: 6px 12px;
    width: 100%;   /* full-width button on mobile */
  }

   /* ======= Home About part end ======= */

   /* ======= notice_event part Start ======= */
  /* Section padding */
  #notice_event {
    padding: 20px 0;
  }

  /* Notice box */
  #notice_event .notice-box {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
     background: #fff; 
    margin-bottom: 20px;
  }
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
	color: #495057;
	background-color: #28a745;
	border-color: #dee2e6 #dee2e6 #fff;
}
  /* Tabs menu */
  
    #notice_event .nav-tabs .nav-link {
	font-size: 13px;
	padding: 6px 10px;
	color: #fff;
	font-weight: bold;
}
 
 .nav-tabs {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-tabs .nav-item {
        margin-bottom: 5px;
    }

    .nav-tabs .nav-link {
        width: 100%;
        text-align: center;
        border-radius: 6px;
    }

    /* Optional: ছোট স্ক্রিনে টেবিল সুন্দরভাবে দেখা যায় */
    .table-responsive {
        overflow-x: auto;
    }

  /* Table adjustments */
  #notice_event table {
    font-size: 13px;
  }

  #notice_event table th,
  #notice_event table td {
    padding: 6px;
    vertical-align: middle;
  }

  #notice_event table td a.btn {
    font-size: 12px;
    padding: 4px 8px;
  }

  /* Buttons */
  #notice_event .btn {
    font-size: 13px;
    padding: 6px 12px;
    width: 100%; /* full width for better tap */
  }

  /* Images section */
  #notice_event .about_image {
    margin-bottom: 20px;
  }

  #notice_event .about_image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 20px;
}

  /* Important links box */
  #notice_event .advatige {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
    margin-bottom: 20px;
  }

  #notice_event .advatige h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  #notice_event .imp_link-list {
    padding-left: 15px;
  }

  #notice_event .imp_link-list li {
    font-size: 13px;
    margin-bottom: 2px;
  }

  #notice_event .imp_link-list li a {
    color: #333;
    text-decoration: none;
  }

  #notice_event .imp_link-list li a:hover {
    color: #198754; /* Bootstrap success */
  }

/* ======= notice_event part end ======= */

/* ======= Image & Vedio part Start ======= */
  /* Whole section spacing */
    #images_vedios {
        padding: 15px 0;
    }

    /* Make row vertical */
    #images_vedios .row {
        flex-direction: column;
    }

    /* Left and right columns full width */
    #images_vedios .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 15px;
    }

    /* Left images grid (4 small images) */
    .left-images-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
        grid-gap: 10px;
    }

    /* Image container */
    .images_img {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
    }

    /* Image styles */
    .images_img img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    /* Overlay effect */
    .images_img .overly {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.3s ease-in-out;
    }

    .images_img:hover .overly {
        opacity: 1;
    }

    .images_img .overly a {
        color: #fff;
        font-size: 22px;
    }

/* ======= Image & Vedio part end ======= */

/* ======= Provider Part Start ======= */
     /* Section spacing ছোট স্ক্রিনে কম হবে */
  #provider_slider {
	padding-bottom: 25px !important;
}

  /* Slider container full width */
  #provider_slider .provider-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  /* Each slide (mobile এ একটার নিচে একটা বা grid) */
  #provider_slider .provider-slider > div {
    flex: 0 0 100%;   /* Full width on mobile */
    max-width: 100%;
    text-align: center;
    padding: 15px 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }

  /* Image style */
  #provider_slider .provider-slider img {
    max-height: 80px;
    width: auto;
    margin: 0 auto 10px;
    display: block;
  }

  /* Heading small */
  #provider_slider .provider-slider h6 {
    font-size: 14px;
    margin-bottom: 5px;
  }

  /* Paragraph smaller */
  #provider_slider .provider-slider p {
    font-size: 12px;
    line-height: 1.4;
  }


/* ======= Provider Part End ======= */
/* ======= Footer Part Start ======= */

  .footer_main{
  padding: 25px 0;
}

   footer {
    text-align: center; /* সব content center aligned হবে */
    padding: 30px 15px;
  }

  footer .footer_brand img {
    margin: 0 auto 15px; /* logo center হবে */
    display: block;
  }

  footer .footer_brand p {
    font-size: 13px;
    line-height: 1.5;
  }

  footer .footer_social {
    margin: 10px 0;
  }

  footer .footer_social h6 {
    font-size: 15px;
    /* margin-bottom: 10px; */
    font-weight: bold;
  }

  footer .footer_social a {
    margin: 0 2px;
    font-size: 18px;
  }

 footer .footer_office_address h6 {
	font-size: 15px;
	margin-bottom: 8px;
	font-weight: bold;
}

  footer .footer_office_address p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
  }

  /* Column stacking */
  /* footer .col-md-4 {
    margin-bottom: 20px;
  } */

  /* Remove unnecessary bottom margin from last column */
  footer .col-md-4:last-child {
    margin-bottom: 0;
  }
/* ======= Footer Part End ======= */


/* ======= about Part start ======= */

#about_part {
  padding-top: 80px;
  padding-bottom: 30px;
    padding-left:15px;
    padding-right: 15px; /* ছোট screen এর জন্য padding কম */
  }

  #about_part .about_head h2 {
    font-size: 22px;  /* শিরোনাম ছোট হবে */
    line-height: 1.3;
  }

  #about_part .about_inner p {
    font-size: 14px;   /* paragraph এর font ছোট */
    line-height: 1.6;  /* পড়তে আরামদায়ক */
    text-align: justify; /* মোবাইলে text সুন্দরভাবে ভাঙবে */
  }

  #about_part .about_item {
    padding: 10px; 
  }
/* ======= about Part end ======= */
/* ======= aims & objectives Part start ======= */

 #aims-objectives {
    padding-top: 80px;
  padding-bottom: 30px;
    padding-left:10px;
    padding-right: 10px; /* সেকশনের padding কমানো */
  }

  #aims-objectives h2.section-title {
    font-size: 20px;   /* Title ছোট */
    line-height: 1.3;
  }

  #aims-objectives .card {
    margin-bottom: 15px; /* কার্ডগুলোর মধ্যে ফাঁকা */
  }

  #aims-objectives .card-body {
    padding: 15px; /* ভেতরের padding ছোট */
  }

  #aims-objectives .card-title {
    font-size: 16px;  /* Card title ছোট */
  }

  #aims-objectives .card-text,
  #aims-objectives ul li {
    font-size: 14px;  /* টেক্সট ছোট */
    line-height: 1.6; /* পড়তে সহজ */
  }

  #aims-objectives ul {
    padding-left: 20px; /* bullet গুলো সুন্দরভাবে align */
  }

  #aims-objectives ul li i {
    font-size: 14px; /* icon ছোট */
    margin-right: 6px;
  }
/* ======= aims & objectives Part end ======= */
/* ======= Opportunities for research start ======= */

  #research-publications {
    padding-top: 80px;
  padding-bottom: 30px;
    padding-left:15px;
    padding-right: 15px; /* সেকশনের padding ছোট করা */
  }

  #research-publications h3.section-title {
    font-size: 20px; /* Section title ছোট করা */
    line-height: 1.3;
  }

  #research-publications .card {
    margin-bottom: 15px; /* কার্ডগুলোর মধ্যে ফাঁকা */
  }

  #research-publications .card-body {
    padding: 15px; /* ভেতরের padding ছোট করা */
  }

  #research-publications .card-title {
    font-size: 16px; /* Card title ছোট করা */
  }

  #research-publications .card-text {
    font-size: 14px; /* Card text ছোট করা */
    line-height: 1.5;
  }

  #research-publications .card h6 {
    font-size: 13px; /* লেখক/Year ছোট করা */
    margin-bottom: 8px;
  }

  #research-publications .btn {
    font-size: 12px; /* Button text ছোট করা */
    padding: 4px 8px;
  }
  /* ======= Opportunities for research end ======= */
  /* ======= Learning & Capacity Building Part start ======= */
  
  #learning-capacity {
    padding-top: 80px;
    padding-bottom: 30px;
    padding-left:10px;
    padding-right: 10px; /* সেকশনের padding ছোট করা */
  }

  #learning-capacity h3.section-title {
    font-size: 20px; /* Section title ছোট করা */
    line-height: 1.3;
  }

  #learning-capacity .card {
    margin-bottom: 15px; /* কার্ডগুলোর মধ্যে ফাঁকা */
  }

  #learning-capacity .card-body {
    padding: 15px; /* ভেতরের padding ছোট করা */
  }

  #learning-capacity .card-title {
    font-size: 16px; /* Card title ছোট করা */
  }

  #learning-capacity .card-text {
    font-size: 14px; /* Card text ছোট করা */
    line-height: 1.5;
  }

  #learning-capacity .card h6 {
    font-size: 13px; /* Subtitle / Instructor text ছোট করা */
    margin-bottom: 8px;
  }

  #learning-capacity .btn {
    font-size: 12px; /* Button text ছোট করা */
    padding: 4px 8px;
  }

  #learning-capacity .text-center.mt-5 h5 {
    font-size: 16px; /* CTA text ছোট করা */
  }

  #learning-capacity .text-center.mt-5 .btn {
    font-size: 13px;
    padding: 6px 12px;
  }
  /* ======= Learning & Capacity Building Part end ======= */

  /* ======= Scientific Reports Part start ======= */
 
  #scientific-reports {
    padding-top: 80px;
    padding-bottom: 30px;
    padding-left:10px;
    padding-right: 10px; /* সেকশনের padding ছোট করা */
  }

  #scientific-reports h3.section-title {
    font-size: 20px; /* Section title ছোট করা */
    line-height: 1.3;
  }

  #scientific-reports .card {
    margin-bottom: 15px; /* কার্ডগুলোর মধ্যে ফাঁকা রাখা */
  }

  #scientific-reports .card-body {
    padding: 15px; /* ভেতরের padding ছোট করা */
  }

  #scientific-reports .card-title {
    font-size: 16px; /* Card title ছোট করা */
  }

  #scientific-reports .card-text {
    font-size: 14px; /* Card text ছোট করা */
    line-height: 1.5;
  }

  #scientific-reports .card h6 {
    font-size: 13px; /* Subtitle / Author text ছোট করা */
    margin-bottom: 8px;
  }

  #scientific-reports .btn {
    font-size: 12px; /* Button text ছোট করা */
    padding: 4px 8px;
  }

  #scientific-reports .text-center.mt-5 h5 {
    font-size: 16px; /* CTA text ছোট করা */
  }

  #scientific-reports .text-center.mt-5 .btn {
    font-size: 13px;
    padding: 6px 12px;
  }
  /* ======= Scientific Reports Part end ======= */
  /* ======= Scientific Publications Part start ======= */
  #scientific-publications {
    padding-top: 80px;
    padding-bottom: 30px;
    padding-left:10px;
    padding-right: 10px; /* সেকশন padding কমানো */
  }

  #scientific-publications h3.section-title {
    font-size: 20px; /* Section title ছোট করা */
    line-height: 1.3;
  }

  #scientific-publications .card {
    margin-bottom: 15px; /* কার্ডের মধ্যে ফাঁকা রাখা */
  }

  #scientific-publications .card-body {
    padding: 15px; /* ভেতরের padding ছোট করা */
  }

  #scientific-publications .card-title {
    font-size: 16px; /* Card title ছোট করা */
  }

  #scientific-publications .card-text {
    font-size: 14px; /* Card text ছোট করা */
    line-height: 1.5;
  }

  #scientific-publications .card h6 {
    font-size: 13px; /* Author / subtitle text ছোট করা */
    margin-bottom: 8px;
  }

  #scientific-publications .btn {
    font-size: 12px; /* Button text ছোট করা */
    padding: 4px 8px;
  }

  #scientific-publications .text-center.mt-5 h5 {
    font-size: 16px; /* CTA text ছোট করা */
  }

  #scientific-publications .text-center.mt-5 .btn {
    font-size: 13px;
    padding: 6px 12px;
  }
  /* ======= Scientific Publications Part end ======= */
  /* ======= Gallery Part Part start ======= */
  #gallery_part {
    padding-top: 80px;
    padding-bottom: 30px;
    padding-left:10px;
    padding-right: 10px; /* Container padding ছোট করা */
  }

  /* ======= Gallery Part end ======= */
  /* ======= Video Part start ======= */
  #video_part {
    padding-top: 80px;
    padding-bottom: 30px;
    padding-left:10px;
    padding-right: 10px; /* Container padding ছোট করা */
  }
  /* Modal iFrame / Video */
  #video_part .modal-body iframe,
  #video_part .modal-body video {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 15px;
  }

  /* Pagination */
  #video_part .pagination .page-link {
    padding: 6px 10px;
    font-size: 13px;
  }
  /* ======= Video Part end ======= */
  /* ======= member directory part start ======= */
  /* Container padding adjustment */
  #member_search .container,
  .directory-container {
    padding: 15px 10px;
  }

  /* Latest member circles stacked vertically */
  
.member_circle1 {
	top: -65px;
	left: 38px;
	width: 160px;
	height: 160px;
}
.member_circle2 {
	top: 90px;
	left: 92px;
	width: 140px;
	height: 140px;
}
.member_circle3 {
	top: 72px;
	right: 154px;
	width: 110px;
	height: 110px;
}
  /* .latest_member .member_circle_wrapper {
    width: 100px;
    height: 100px;
  }

  .latest_member .member_circle_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .latest_member .circle_text {
    font-size: 12px;
  } */

  /* Search Form */
  #member_search form .input-group {
    flex-direction: column;
    gap: 10px;
  }

  #member_search form .input-group input,
  #member_search form .input-group button,
  #member_search form .input-group .dropdown-toggle {
    width: 100%;
  }

  #member_search form .input-group .dropdown-menu {
    width: 100%;
  }

 
  

  /* Pagination */
  .pagination .page-link {
    padding: 5px 8px;
    font-size: 12px;
  }
  /* ======= member directory part end ======= */

  /* ======= Donate Page Part Start ======= */
  /* Section */
  #donatepart_first {
     padding-top: 80px;
    padding-bottom: 30px;
   
  }
.donte_header{
  padding-left: 85px;
}
  /* Header */
  .donte_header h2 {
    font-size: 1.3rem;
  }
  .donte_header img {
    max-width: 120px;
  }

  /* Card */
  .donate-card {
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
  }

  .donate-card .card-title {
    font-size: 1rem;
  }

  .donate-card .card-text {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  /* Bank & Address Details */
  .donate-card h6 {
    font-size: 0.95rem;
    margin-top: 10px;
  }
  .donate-card p {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  /* Button */
  .donate-card .btn {
    font-size: 0.9rem;
    padding: 8px 14px;
    width: 100%;
  }
  /* ======= Donate Page Part End ======= */

  /* ======= Donate Page Form Section Start ======= */
  /* Section padding */
  .donation-section {
    padding-top: 80px;
    padding-bottom: 30px;
    padding-left:10px;
    padding-right: 10px;
  }

  /* Card adjustments */
  .donation-card {
    padding: 20px !important;
    border-radius: 10px;
  }

  /* Title */
  .donation-card h2 {
    font-size: 1.4rem;
  }
  .donation-card img {
    max-width: 120px;
  }

  /* Input fields */
  .donation-card .form-control {
    font-size: 0.9rem;
    padding: 10px;
  }
  .donation-card label {
    font-size: 0.85rem;
  }

  /* Donation amount buttons */
  .donation-card .amount-btn {
    font-size: 0.85rem;
    padding: 6px 10px;
    flex: 1 1 calc(50% - 10px); /* make them wrap nicely */
    min-width: 100px;
  }

  /* Custom amount input */
  #customAmount {
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 10px;
  }

  /* Action buttons */
  .donate-btn {
    font-size: 0.9rem;
    padding: 10px 16px;
    flex: 1;
  }

  /* Align cancel & confirm stacked */
  .d-md-flex {
    flex-direction: column !important;
    gap: 10px !important;
  }
  /* ======= Donate Page Form Section End ======= */

  /* ======= All Event Page Start ======= */
  #all-events{
     padding-top: 80px;
    padding-bottom: 30px;
    padding-left:10px;
    padding-right: 10px;
  }
/* General Body */
  body {
    margin: 10px;
    font-size: 14px;
  }

  /* Section title */
  .section-title {
    font-size: 1.3rem;
    line-height: 1.4;
  }

  /* Event Card */
  .event-card {
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .event-card img {
    height: auto;
    max-height: 150px;
    object-fit: cover;
  }

  .event-card .card-body {
    padding: 12px;
  }

  .event-card .card-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .event-card .event-date {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .event-card .event-desc {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .event-card .btn {
    font-size: 0.8rem;
    padding: 4px 10px;
  }

  /* Pagination */
  .pagination {
    flex-wrap: wrap;
    gap: 5px;
  }
  .pagination .page-link {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  /* Notice Container */
  .notice-container {
    padding: 20px;
    border-width: 1px;
  }

  .notice-container::before {
    font-size: 2.5rem;
  }

  .notice-header img {
    max-height: 50px;
  }

  .notice-header h2 {
    font-size: 1.2rem;
  }

  .notice-header p {
    font-size: 0.75rem;
  }

  .notice-title {
    font-size: 1rem;
    margin: 15px 0;
  }

  .notice-body {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .notice-footer {
    flex-direction: column;
    gap: 15px;
    font-size: 0.8rem;
  }

  .notice-footer .signature {
    text-align: left;
  }

  /* Print button */
  .no-print {
    margin-top: 20px;
  }
  /* ======= All Event Page Emd ======= */

  /* ======= Notice view Part start ======= */
  /* Section padding */
  #notice_view_part {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  /* Container */
  .notice-container {
    padding: 20px;
    margin: 0 10px;
    border-width: 1px;
  }

  /* Watermark */
  .notice-container::before {
    font-size: 2.5rem;
  }

  /* Header */
  .notice-header img {
    max-height: 50px;
    margin-bottom: 8px;
  }

  .notice-header h2 {
    font-size: 1.2rem;
  }

  .notice-header p {
    font-size: 0.75rem;
  }

  /* Title */
  .notice-title {
    font-size: 1rem;
    margin: 15px 0;
  }

  /* Body */
  .notice-body {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Footer */
  .notice-footer {
    flex-direction: column;
    gap: 15px;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 30px;
  }

  .notice-footer .signature {
    text-align: center;
  }

  /* Print Button */
  .no-print {
    margin-top: 20px;
  }

  .no-print .btn {
    font-size: 0.85rem;
    padding: 8px 14px;
    width: 100%; /* Full width button on mobile */
  }
  /* ======= Notice view Part end ======= */

  /* ======= News view Part start ======= */
  /* Section padding */
  #news_details_part {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  /* News Container */
  .news-container {
    padding: 15px;
    margin: 0 10px;
    border-radius: 6px;
  }

  /* Header */
  .news-header img {
    max-width: 100%;   /* Full width on small screens */
    border-radius: 6px;
    margin-bottom: 12px;
  }

  .news-title {
    font-size: 1.3rem;  /* Smaller title */
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .news-meta {
    font-size: 0.75rem;
    margin-bottom: 15px;
  }

  /* Content */
  .news-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  /* Footer */
  .news-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 25px;
  }

  .news-footer .btn {
    font-size: 0.85rem;
    padding: 8px 12px;
    width: 100%; /* Buttons full width on mobile */
    text-align: center;
  }
  /* ======= News view Part end ======= */
  /* ======= Announcement view Part start  ======= */
  /* Section padding */
  #announcement_view_part {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  /* Container */
  .announcement-container {
    padding: 20px;
    margin: 0 10px;
    border-width: 1px;
  }

  /* Watermark */
  .announcement-container::before {
    font-size: 2.5rem;
  }

  /* Header */
  .announcement-header img {
    max-height: 50px;
    margin-bottom: 8px;
  }

  .announcement-header h2 {
    font-size: 1.2rem;
  }

  .announcement-header p {
    font-size: 0.75rem;
  }

  /* Title */
  .announcement-title {
    font-size: 1rem;
    margin: 15px 0;
  }

  /* Body */
  .announcement-body {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Footer */
  .announcement-footer {
    flex-direction: column;
    gap: 15px;
    font-size: 0.8rem;
    text-align: center;
  }

  .announcement-footer .signature {
    text-align: center;
  }

  /* Print Button */
  .no-print {
    margin-top: 20px;
  }

  .no-print .btn {
    font-size: 0.85rem;
    padding: 8px 14px;
    width: 100%; /* Full width button on mobile */
  }
  /* ======= Announcement view Part end ======= */
}


/* ===== Responsive ===== */
/* @media(max-width: 1200px) {
  .circle-layout { gap: 15px; }
  .circle-wrapper { width: 80px; height: 80px; }
}
@media(max-width: 992px) {
  .circle-layout { flex-wrap: wrap; justify-content: center; gap: 15px; }
  .circle-wrapper { width: 70px; height: 70px; }
}
@media(max-width: 768px) {
  .banner-overlay-text h2 { font-size: 1.5rem; }
  .banner-overlay-text h3 { font-size: 1.1rem; }
  .banner-overlay-text h4 { font-size: 1rem; }
  .imp_link-slider { height: 180px; }
}
@media(max-width: 576px) {
  .circle-wrapper { width: 60px; height: 60px; }
  .imp_link-list { height: 300px; }
  #provider_slider { padding: 20px 0; }
  
} */
