
/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
}

.btn.btn-secondary {
    color: var(--bs-white);
    border: none;
   
}

.btn.btn-secondary:hover {
    background: var(--bs-primary);
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary);
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top {
    transition: 1s;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 5px;
    font-weight: 400;
    font-family: "Playfair Display", serif;
    font-size: 17px;
    transition: .5s;
    z-index: 99;
}

.navbar .navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 2px solid var(--bs-secondary);
    opacity: 0;
    transition: 0.5s;
    z-index: 2 !important;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
    border-bottom: 0;
    border-right: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
    border-top: 0;
    border-left: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 50%;
    height: 50%;
    opacity: 1;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

.navbar .navbar-toggler {
    padding: 2px 6px;
    color: var(--bs-dark);
    background: var(--bs-secondary);
}

.nav-bar .navbar-toggler { 
    color: var(--bs-dark);
    box-shadow: none !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

.navbar .nav-item .dropdown-menu {
    background: var(--bs-light);
    transition: 0.5s;
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    transition: 0.5s;
}

.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item.active {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        margin-top: 15% !important;
        transform: rotateX(-75deg);
        transform-origin: 0 0;
        border: 0;
        transition: .5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 991px) {
    .navbar .nav-item .dropdown-menu {
        position: relative;
        margin-top: 0;
        transition: 0.5s;
    }

    .navbar .navbar-nav .nav-item::after,
    .navbar .navbar-nav .nav-item::before {
        display: none;
    }

    .navbar .navbar-nav .nav-item:hover::after,
    .navbar .navbar-nav .nav-item:hover::before,
    .navbar .navbar-nav .nav-item.active::after,
    .navbar .navbar-nav .nav-item.active::before {
        display: none;

    }

    .navbar .navbar-nav .nav-link {
        padding: 12px 0;
    }

    .navbar .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar .navbar-nav .nav-item.nav-link {
        padding: 12px 0;
    }
}

/* ----- MOBILE NAVBAR COMPACT MODE ----- */
@media (max-width: 991px) {

    /* Navbar total height কমানো */
    .navbar {
        padding: 5px 10px !important;
        min-height: 50px !important;
    }

    /* Toggler button ছোট */
    .navbar-toggler {
        padding: 2px 118px !important;
        font-size: 16px !important;
    }

    /* Menu list height কম */
    .navbar .navbar-nav .nav-link {
        padding: 8px 0 !important;
        font-size: 15px !important;
    }

    /* Dropdown item ছোট */
    .navbar .dropdown-menu .dropdown-item {
        padding: 6px 10px !important;
        font-size: 14px !important;
    }

    /* Logo ছোট করতে চাইলে */
    .navbar-brand img {
        height: 32px !important;
    }
}




/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 18, 72, 0.7), rgba(0, 18, 72, 0.7)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/

/*** Carousel Start ***/
.carousel .carousel-inner .carousel-item {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

@media (min-width: 992px) {
    .carousel .carousel-inner .carousel-item img {
        height: 100%;
        object-fit: cover;   
    }
}

@media (max-width: 991px) {
    .carousel .carousel-inner .carousel-item {
        height: 700px;
    }
    .carousel .carousel-inner .carousel-item img {
        height: 700px;
        object-fit: cover;    
    }
}

@media (max-width: 576px) {
    .carousel-item .carousel-caption h1 {
        font-size: 36px;
    }

    .carousel-item .carousel-caption p.fs-5 {
        font-size: 15px;
    }
}

.carousel .carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

.carousel .carousel-inner .carousel-item .carousel-caption {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.carousel .carousel-indicators {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 5;
}

.carousel .carousel-indicators li,
.carousel .carousel-indicators li,
.carousel .carousel-indicators li {
    margin-right: 30px !important;
    width: 10px;
    height: 10px;
    border: 6px solid var(--bs-secondary);
    background: var(--bs-white);
    transition: 0.5s;
}

.carousel .carousel-indicators li.active {
    border: 10px solid var(--bs-primary);
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    background: transparent;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
    position: absolute;
    left: 0;
    padding: 25px 30px;
    background: var(--bs-primary);

}

.carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    right: 0;
    padding: 25px 30px;
    background: var(--bs-primary);

}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** Carousel End ***/


/*** About Start ***/
.about .about-item-content-img {
    border: 4px solid;
    border-color: var(--bs-secondary) var(--bs-primary) var(--bs-primary) var(--bs-secondary);
}

.about .about-item-image {
    position: relative;
    background: var(--bs-light);
    background-image: url(../img/about-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.about .about-item-image .img-1 {
    margin-bottom: 250px; 
    margin-right: 0;
    border: 4px solid;
    border-color: var(--bs-secondary) var(--bs-light) var(--bs-light) var(--bs-secondary);
    z-index: 3;
}

.about .about-item-image .img-2 {
    margin-top: 250px; 
    margin-left: 0;
    border: 4px solid;
    border-color: var(--bs-light) var(--bs-secondary) var(--bs-secondary) var(--bs-light); 
    z-index: 3;
}

.about .about-item-image::before {
    width: 80%;
    height: 80%;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-style: dotted;
    border-color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 2;
}

.about .about-item-image .about-item-image-content {
    width: 55%;
    height: 55%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bs-secondary);
    border: 4px solid var(--bs-primary);
    opacity: 0.9;
    z-index: 4;
}

.about .about-item-image .about-item-image-effect {
    position: absolute;
    top: 0;
    right: 0;
}
/*** About End ***/

/*** Features Start ***/
.feature .feature-item {
    position: relative;
    transition: 0.5s;
}
.feature .feature-item:hover {
    background: var(--bs-white);
    border: 1px solid transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.feature .feature-item:hover a {
    transition: 0.5s;
}

.feature .feature-item:hover a:hover {
    color: var(--bs-secondary);
}

.feature .feature-item .feature-img img {
    border: transparent;
    transition: 0.5s;
} 

.feature .feature-item:hover .feature-img img {
    border: 1px solid var(--bs-secondary);
}  
/*** Features End ***/

/*** Services Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    z-index: 1;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover:after {
    height: 100%;
    background: rgba(0, 0, 0, .4);
}

.service .service-item .service-content {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%; 
    left: 0; 
    transform: translateY(-50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.service .service-item:hover .service-content {
    opacity: 1;
}

.service .service-item:hover .service-content a.fs-4 {
    color: var(--bs-white);
    transition: 0.5s;
}

.service .service-item:hover .service-content a.fs-4:hover {
    color: var(--bs-secondary);
}

.service .service-item .service-title {
    position: absolute;
    width: 100%;
    height: 80px; 
    bottom: 0; 
    right: 0;
    background: var(--bs-light);
    display: flex;
    transition: 0.5s;
    z-index: 3;
}

.service .service-item:hover .service-title {
    margin-right: -100%;
}
/*** Services End ***/

/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-content {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog .blog-item .blog-content a {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
    color: var(--bs-secondary);
}
/*** Blog End ***/

/*** Contact Start ***/
.contact .contact-map {
    position: relative;
    overflow: hidden;
    padding: 20px;
    z-index: 1;
}

.contact .contact-map::before {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--bs-primary);
    z-index: -1;
}

.contact .contact-map::after {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--bs-secondary);
    z-index: -1;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    /* Reduced vertical padding to make the footer shorter */
    padding-top: 50px; /* Adjust this value as needed */
    padding-bottom: 20px; /* Adjust this value as needed */
    
    background: linear-gradient(#309191e0, #3d4646e0), url(../img/back.PNG);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    /* Reduced line-height for shorter link spacing */
    line-height: 25px; /* Reduced from 35px */
    
    /* Changed the default color of the link text to a lighter color */
    color: #cccccc; /* Example: Light gray. Change to your desired color */
    
    transition: 0.5s;
}

.footer .footer-item p {
    /* Reduced line-height for shorter paragraph spacing */
    line-height: 15px; /* Reduced from 35px */
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    /* Keeping the hover color as secondary for consistency */
    color: var(--bs-secondary); 
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}
/*** copyright end ***/

/*** lif ***/

.notice-bar {
    width: 100%;
    background: rgba(43, 230, 255, 0.105);
    display: flex;
    align-items: center;
    padding: 3px 10px;
    overflow: hidden;
}

.notice-title {
    font-weight: bold;
    font-size: 13px;
    color: #005764;
    margin-right: 15px;
    white-space: nowrap;
}

.notice-scroll {
    overflow: hidden;
    flex: 1;
}

.notice-scroll p {
    margin: 0;
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    font-size: 15px;
    color: #000;
    animation: scrollText 53s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Mobile Responsive */
@media(max-width: 768px) {
    .notice-title {
        font-size: 16px;
    }
    .notice-scroll p {
        font-size: 15px;
        animation-duration: 15s;
    }
}
</style>
<style>
body {
    background-color: #fafcfc;
    font-family: 'Noto Sans Bengali', sans-serif;
    color: #000000;
}

.islamic-card {
    border: 2px solid #098787;
    background-image: linear-gradient(to right, #fafcfc, #ffffff);
    color: #000000;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    margin-top: 20px;
}

.text-golden {
    color: #098787;
    font-weight: bold;
}

.btn-golden {
    background-color: #fa7c43;
    color: #000000;
    font-weight: bold;
    border-radius: 8px;
    padding: 6px 15px;
}

.btn-golden:hover {
    background-color: #e0612c;
    color: #000000;
}
/* eta  */
.bg-islamic {
    background-color: #004848;
    color: #fafcfc;
}

.table th, .table td {
    vertical-align: middle !important;
    padding: 4px 8px !important;
    line-height: 1.2 !important;
}

.table img {
    border: 2px solid #fafcfc;
    padding: 2px;
    border-radius: 6px;
}

.dropdown-menu a {
    font-weight: 600;
    padding: 8px 15px;
    border-bottom: 1px solid #098787;
    color: #000000;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.btn-success.btn-sm {
    padding: 4px 8px;
    font-size: 14px;
}

.table thead th {
    text-align: center !important;
}

.card-header {
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #000000;
}
/* eta */
.table-bordered th, 
.table-bordered td {
    border-width: 1px !important;
    border-color: #bdbdbd !important;
}

/* DataTables pagination & search style */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background-color: #098787 !important;
    color: #000000 !important;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 2px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #066b5c !important;
    color: #fafcfc !important;
    font-weight: bold;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #0aa09a !important;
    color: #fafcfc !important;
}
.dataTables_wrapper .dataTables_info {
    color: #000000 !important;
    font-weight: bold;
}
.dataTables_wrapper .dataTables_filter {
    float: right;
    text-align: right;
    margin-bottom: 10px;
}
/* Hover Motion Effect */
#donorTable tbody tr {
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#donorTable tbody tr:hover {
    transform: translateY(-4px);
    background-color: #e8fdfa !important; /* হালকা সবুজ/সায়ান ব্যাকগ্রাউন্ড */
    cursor: pointer;
    transform: translateY(-5px) scale(1.01);
box-shadow: 0 6px 14px rgba(0,0,0,0.15);

}
/* ----- my my my ----- */


/* Sidebar Gradient Background (Madina Green tone) */
.left-sidebar {
    background: linear-gradient(180deg, #027B3F, #014A27); /* Madina green shades */
    background-size: cover;
    color: #ffffff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

/* Sidebar Brand/Title Styling */
.app-brand {
    background-color: rgba(255, 255, 255, 0.05);
    padding: .5px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-brand a {
    color: #FFD700; /* Gold */
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Sidebar Menu Items */
#sidebar-menu .nav-text {
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s ease;
}

/* Hover Effect on Menu Items */
#sidebar-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFD700 !important; /* Gold */
    border-radius: 5px;
}

/* Sidebar Icons */
#sidebar-menu i {
    color: #ffffff;
    font-size: 20px;
    margin-right: 10px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Icon Hover Effect */
#sidebar-menu li a:hover i {
    color: #FFD700; /* Gold */
    transform: scale(1.2);
}

/* Active Menu Item */
#sidebar-menu .active > a {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-left: 4px solid #FFD700; /* Gold */
}

/* Sidebar Footer */
.sidebar-footer {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 1px;
    text-align: center;
}

.sidebar-footer a i {
    color: #ffffff;
    font-size: 22px;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Footer Icon Hover */
.sidebar-footer a:hover i {
    color: #D4AF37; /* Slightly darker gold */
    transform: rotate(20deg);
}

  /* Madina-inspired background with soft green & desert tones */
  .sidebar-footer-content {
    background: linear-gradient(45deg, #000000, #027B3F, #e6b821, #000000);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
  }

  /* Animate the gradient */
  @keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  /* Icon styling */
  .sidebar-footer-content a i {
    color: #ffffff;
    font-size: 28px;
    margin: 0 10px;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  /* Icon hover effect */
  .sidebar-footer-content a:hover i {
    color: #FFD700; /* Gold on hover */
    transform: scale(1.3);
  }
/* Navbar Gradient Background */
  #navbar {
      background: linear-gradient(90deg, #027B3F, #15d843);
      box-shadow: 0 4px 10px rgba(247, 247, 247, 0.3);
      border-bottom: 2px solid #ffc446;
  }
  
  /* Navbar Links */
  #navbar .nav-link {
      color: #ffffff !important;
      font-weight: 600;
      margin-right: 20px;
      transition: color 0.3s ease, transform 0.3s ease;
  }
  
  /* Hover Effect on Navbar Links */
  #navbar .nav-link:hover {
      color: #ffeb3b !important;
      transform: scale(1.1);
  }
  
  /* Navbar Brand Logo/Text */
  #navbar .navbar-brand {
      color: #ffffff !important;
      font-size: 24px;
      font-weight: bold;
      text-transform: uppercase;
      letter-spacing: 1px;
  }
  
  /* Navbar Toggle Button (Mobile View) */
  #navbar .navbar-toggler {
      background-color: #ffffff;
      border-color: #ffffff;
  }
  
  /* Search Form */
  #navbar .search-form .input-group {
      background-color: rgba(255, 255, 255, 0.2);
      border-radius: 20px;
  }
  

  
  #navbar .search-form input::placeholder {
      color: #ffffff;
  }
  

  #navbar .search-form button:hover {
      background-color: #000000;
  }
  
  /* Navbar Icons */
  #navbar i {
      color: #ffffff;
      font-size: 20px;
      transition: transform 0.3s ease, color 0.3s ease;
  }
  
  /* Icon Hover Effect */
  #navbar i:hover {
      color: #ffeb3b;
      transform: scale(1.2);
  }
