/********** Template CSS **********/
:root {
    --primary: #0a94b6;
    --secondary: #0DD3F1;
    --light: #F6F7FC;
    --dark: #15233C;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** 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 {
  z-index: 9999;
  transition: opacity 0.4s ease;
}

/* Topbar */
.topbar {
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.topbar a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.topbar a:hover {
  color: #ffffff !important;
}

.topbar i {
  opacity: 0.8;
}

/* Social Icons */
.topbar .social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

.topbar .social a:hover {
  backdrop-filter: blur(20px);
  color: #000 !important;
  transform: translateY(-4px);
}

/* Navbar */
.navbar {
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.03);
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 12px 18px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0d6efd;
}

.navbar-nav .dropdown-menu {
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  animation: fadeUp 0.25s ease;
}

.dropdown-item {
  padding: 10px 20px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: #f2f6ff;
}

/* Support Button */
.support-btn {
  background: linear-gradient(135deg, #0d6efd, #084298);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(13,110,253,0.35);
  transition: all 0.3s ease;
}

.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13,110,253,0.45);
  color: #fff;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LIGHT MODE */
.light-mode {
  background-color: #ffffff;
  color: #212529;
}

.light-mode .card,
.light-mode .branch-card {
  background-color: #ffffff;
  color: #212529;
}

/* DARK MODE */
.dark-mode {
  background-color: #0f172a;
  color: #e5e7eb;
}

.dark-mode .card,
.dark-mode .branch-card {
  background-color: #020617;
  color: #e5e7eb;
}

.dark-mode a {
  color: #93c5fd;
}

.dark-mode .text-muted {
  color: #9ca3af !important;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

/*.navbar .navbar-brand img {
    max-height: 60px;
}*/

.navbar {
    max-height: 100px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    /*padding: 10px 0;*/
    color: #696E77;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    /*.navbar .navbar-brand img {
        max-height: 45px;
    }*/

    /*.navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }*/

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;/*
        right: 0;*/
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
  .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
  }

  .carousel-caption-text {
    backdrop-filter: blur(2px); 
    background:rgba(255,255,255,0.01); 
    max-width:700px;
  }

  .carousel-caption-text h1 {
    color: #15233C !important;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.4);
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 15%;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 50px;
  }

  @media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
  }

/* Custom carousel controls */
 .custom-control {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
  }

  .custom-control span {
    color: #fff;
    font-size: 1.8rem;
  }

  .custom-control:hover {
    background: #0a94b6;
    box-shadow: 0 0 15px rgba(37,150,190,0.6);
  }

  .custom-carousel-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: #0a94b6;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
    transition: all 0.3s ease;
  }

  .custom-carousel-btn:hover {
    background: #087e9a;
    opacity: 1;
    transform: scale(1.08);
  }

  .custom-carousel-btn i {
    font-size: 22px;
    color: #fff;
  }

  .custom-carousel-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(10, 148, 182, 0.3);
  }

  /* Positioning */
  .carousel-control-prev {
    left: 25px;
  }
  .carousel-control-next {
    right: 25px;
  }


/*page header*/
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #696E77;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


/*** Facts ***/
@media (min-width: 992px) {
    .container.facts {
        max-width: 100% !important;
    }

    .container.facts .facts-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.facts .facts-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.facts .facts-counter  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.facts .facts-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.facts .facts-counter  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.facts .facts-text {
    background: linear-gradient(rgba(1, 95, 201, .9), rgba(1, 95, 201, .9)) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-counter {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-text .h-100,
.container.facts .facts-counter .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

.service-item a.btn {
    color: var(--primary);
}

.service-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    bottom: 0;
    opacity: 1;
}

.team-item a.btn {
    color: var(--primary);
}

.team-item a.btn:hover {
    color: #FFFFFF;
    border-color: var(--primary);
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px dashed var(--primary);
    border-radius: 10px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 10px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 0 0 30px 0;
  font-size: 14px;
  background: #f1f6fe;
}

#footer .footer-newsletter {
  padding: 50px 0;
  background: #f1f6fe;
  text-align: center;
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.06);
  text-align: left;
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #204083;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type=submit]:hover {
  background: #0d58ba;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 24px;
  margin: 0 0 15px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact h3 span {
  color: #204083;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
  color: #777777;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #204083;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #777777;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #204083;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #204083;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  backdrop-filter: blur(20px);
  transform: translateY(-4px);
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  text-align: center;
  float: left;
}

#footer .credits {
  float: right;
  text-align: center;
  font-size: 13px;
  color: #444444;
}

@media (max-width: 768px) {

  #footer .copyright,
  #footer .credits {
    float: none;
    text-align: center;
    padding: 2px 0;
  }
}


/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Custom CSS to style the alert container */
#alertContainer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
}

.alert {
  font-size: 0.8rem; /* Adjust as needed */
}

.alert button {
  font-size: 0.7rem; /* Adjust as needed */
}

/* Partner logos bigger & consistent */
.partner-logo img {
  max-height: 400px !important;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.partner-logo img:hover {
  filter: grayscale(0%) drop-shadow(0px 4px 8px rgba(37,150,190,0.3));
  transform: scale(1.1);
}

/* Section background subtle */
#clients {
  background: #f9f9f9;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* Slider Container Spacing */
#weightRange {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(90deg, #0a94b6 0%, #80cfee 100%);
  outline: none;
  transition: background 0.3s;
  cursor: pointer;
}

/* Chrome, Safari, Edge - Track */
#weightRange::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(90deg, #0a94b6 0%, #80cfee 100%);
}

/* Chrome, Safari, Edge - Thumb */
#weightRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0a94b6;
  border: 3px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin-top: -8px; /* center thumb */
  transition: transform 0.2s, background 0.3s;
}

#weightRange::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #1e7a9a;
}

/* Firefox - Track */
#weightRange::-moz-range-track {
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(90deg, #0a94b6 0%, #80cfee 100%);
}

/* Firefox - Thumb */
#weightRange::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0a94b6;
  border: 3px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s, background 0.3s;
}

#weightRange::-moz-range-thumb:hover {
  transform: scale(1.2);
  background: #1e7a9a;
}

/* IE/Edge (older) */
#weightRange::-ms-track {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

#weightRange::-ms-fill-lower {
  background: #0a94b6;
  border-radius: 5px;
}

#weightRange::-ms-fill-upper {
  background: #80cfee;
  border-radius: 5px;
}

#weightRange::-ms-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0a94b6;
  border: 3px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s, background 0.3s;
}

#weightRange::-ms-thumb:hover {
  transform: scale(1.2);
  background: #1e7a9a;
}

 /*partner section*/

 .partner-card {
    transition: all 0.3s ease-in-out;
    border-radius: 12px;
    background: #fff;
  }
  .partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
  .grayscale-hover {
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
    max-height: 80px;
    object-fit: contain;
  }
  .partner-card:hover .grayscale-hover {
    filter: grayscale(0%);
  }

  /*blog section*/
  .blog-card {
    transition: all 0.35s ease;
  }

  .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  }

  .blog-img {
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .blog-card:hover .blog-img {
    transform: scale(1.05);
  }

  .blog-title {
    transition: color 0.3s ease;
  }

  .blog-title:hover {
    color: #0d6efd;
  }

/*project section*/

   .project-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
  }

  .project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  }

  .project-card .card-img img {
    height: 230px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
  }

  /* Elegant Date Badge */
  .project-date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0a94b6;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.2;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  .project-date-badge span.day {
    font-size: 20px;
    font-weight: 700;
    display: block;
  }

  .project-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 14px;
  }

  .section-title h2 {
    font-weight: 700;
  }

/*event section*/

  .event-link { display:block; }
  
  .event-card {
    border-radius: 10px;
    transition: all .3s ease;
  }

  .event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
  }

  .event-card img {
    height: 240px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .event-date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0a94b6;
    color: #fff;
    padding: 6px 10px;
    text-align: center;
    font-size: 13px;
    border-radius: 6px;
    line-height: 1.1;
    font-weight: 600;
    z-index: 2;
  }

  .event-date-badge .day {
    font-size: 20px;
    display: block;
    font-weight: 700;
  }

  .event-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(transparent, rgba(0,0,0,0.35));
    opacity: 0;
    transition: .3s;
  }

  .event-card:hover .event-overlay {
    opacity: 1;
  }

  .event-title {
    font-weight: 600;
    color: #333;
  }

  .project-card {
    transition: all 0.35s ease;
    border-radius: 12px;
    background: #fff;
  }

  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
  }

  .project-img img {
    height: 220px;
    object-fit: cover;
  }

  .underline {
    width: 60px;
    height: 4px;
    background: #0a94b6;
    margin-top: 8px;
    border-radius: 5px;
  }

  .thumb-img {
    transition: transform 0.3s ease;
  }

  .thumb-img:hover {
    transform: scale(1.1);
    border-color: #0a94b6 !important;
  }

  .support-btn {
    background: #0d6efd;        /* or your theme primary */
    color: #fff;
    border-radius: 30px;        /* softer pill shape */
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
  }

  .support-btn:hover {
    background: #0b5ed7;        /* slightly darker shade */
    color: #fff;
    box-shadow: 0 6px 14px rgba(13, 110, 253, 0.35);
    transform: translateY(-2px);
  }

  .support-btn:active {
    transform: scale(0.96);
  }

  /* General elegant card box */
  .elegant-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all .3s ease;
  }

  .elegant-box i {
    font-size: 36px;
    color: #0a94b6;  /* theme color */
    margin-bottom: 15px;
  }

  .elegant-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  }

  .elegant-box h3 {
    font-weight: 600;
    color: #222;
  }

  .elegant-box a {
    color: #0a94b6;
    font-weight: 500;
  }

  /* Improve section spacing */
  .contact .section-title p {
    font-size: 16px;
    color: #666;
  }

  /* Theme color */
:root {
  --theme: #0a94b6;
}

/* Badge */
.theme-badge {
  border: 2px solid var(--theme);
  color: var(--theme);
  border-radius: 30px;
  font-size: 0.9rem;
}

/* Theme text color */
.theme-text {
  color: var(--theme) !important;
}

/* Accordion */
.elegant-accordion {
  border: 1px solid #e8e8e8 !important;
  transition: 0.3s;
  background: #fff;
}

.elegant-accordion:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

/* Accordion Button */
.theme-accordion-btn {
  border-radius: 8px;
  padding: 15px 20px;
  background: #f8f9fa;
  color: #333;
  transition: all 0.3s ease;
}

.theme-accordion-btn:not(.collapsed) {
  background: rgba(10,148,182,0.15);
  color: var(--theme);
  box-shadow: none;
}

/* Icon color */
.theme-accordion-btn i {
  color: var(--theme);
}

/* Indicator override (carefully keeps Bootstrap logic) */
.theme-accordion-btn::after {
  background-image: none;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f067"; /* plus icon */
  color: var(--theme);
}

.theme-accordion-btn:not(.collapsed)::after {
  content: "\f068"; /* minus icon */
}
.branch-card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s ease;
  background: #fff;
}
.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.09);
}
.branch-img img {
  height: 240px;
  object-fit: cover;
  width: 100%;
  display: block;
}
.underline {
  width: 60px;
  height: 4px;
  background: #0a94b6;
  margin-top: 8px;
  border-radius: 5px;
}

/*branch section*/

.branch-card {
  border: 2px solid #0a94b6;   /* theme color border */
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #ffffff;
}

.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.branch-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid #0a94b6; /* clean divider */
}
.sermon-header-box {
  background: #ffffff;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.06);
}
.sermon-icon {
  font-size: 60px;
  color: #0a94b6;
  margin-bottom: 15px;
}
.underline {
  width: 70px; 
  height: 4px; 
  background: #0a94b6; 
  border-radius: 4px;
  margin: 10px auto 0;
}

/*sermon section*/

.preacher-box img {
  border-radius: 50%;
  height: 45px;
  width: 45px;
  object-fit: cover;
}
.sermon-card img {
  border-radius: 10px 10px 0 0;
  height: 230px;
  object-fit: cover;
}
.sermon-list-card img {
  height: 230px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.sermon-card {
    transition: all 0.35s ease;
  }

  .sermon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  }

  .sermon-img {
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .sermon-card:hover .sermon-img {
    transform: scale(1.05);
  }

  .sermon-title {
    transition: color 0.3s ease;
  }

  .sermon-card:hover .sermon-title {
    color: #0d6efd;
  }

  /* Branch Pastors Mini Cards */
  .pastor-mini-card {
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  .pastor-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 148, 182, 0.25);
  }


  /* =====================================================
   DARK MODE – GLOBAL OVERRIDES
   ===================================================== */

.dark-mode {
  background-color: #0f172a;
  color: #e5e7eb;
}

/* Text */
/*.dark-mode p,
.dark-mode span,
.dark-mode li,
.dark-mode small {
  color: #cbd5f5;
}*/

.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6 {
  color: #f1f5f9;
}

/* Links */
.dark-mode a {
  color: #93c5fd;
}
.dark-mode a:hover {
  color: #bfdbfe;
}

.dark-mode .text-dark {
  color: #cbd5f5 !important;
}

/* Muted text */
.dark-mode .text-muted {
  color: #9ca3af !important;
}

/* =====================================================
   NAVBAR & TOPBAR
   ===================================================== */

.dark-mode .topbar {
  background: #020617;
}

.dark-mode .navbar {
  background: #020617 !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.dark-mode .navbar .nav-link {
  color: #cbd5f5 !important;
}

.dark-mode .navbar .nav-link:hover,
.dark-mode .navbar .nav-link.active{
  color: #38bdf8;
}

.dark-mode .navbar .navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

.dark-mode .dropdown-menu {
  background: #020617 !important;
  border: 1px solid #1e293b;
}

.dark-mode .dropdown-item {
  color: #e5e7eb;
}

.dark-mode .dropdown-item:hover {
  background: #1e293b;
}

/* =====================================================
   CARDS – GLOBAL
   ===================================================== */

.dark-mode .card,
.dark-mode .branch-card,
.dark-mode .blog-card,
.dark-mode .project-card,
.dark-mode .event-card,
.dark-mode .sermon-card,
.dark-mode .sermon-list-card,
.dark-mode .pastor-mini-card,
.dark-mode .elegant-box,
.dark-mode .sermon-header-box,
.dark-mode .partner-card {
  background: #020617;
  color: #e5e7eb;
  border-color: #1e293b;
  box-shadow: 0 8px 25px rgba(0,0,0,0.55);
}

/* Hover elevation toned down */
.dark-mode .card:hover,
.dark-mode .branch-card:hover,
.dark-mode .blog-card:hover,
.dark-mode .project-card:hover,
.dark-mode .event-card:hover,
.dark-mode .sermon-card:hover {
  box-shadow: 0 14px 35px rgba(0,0,0,0.75);
}

/* =====================================================
   SECTIONS WITH LIGHT BACKGROUNDS
   ===================================================== */

.dark-mode #clients,
.dark-mode #footer,
.dark-mode #footer .footer-newsletter,
.dark-mode .appointment,
.dark-mode .container.facts .facts-counter {
  background: #020617 !important;
}

.dark-mode .container.facts .facts-text {
  background: linear-gradient(
    rgba(2,6,23,0.95),
    rgba(2,6,23,0.95)
  ) center right no-repeat;
}

/* =====================================================
   FOOTER
   ===================================================== */

.dark-mode #footer {
  color: #cbd5f5;
}

.dark-mode #footer .footer-top h4,
.dark-mode #footer .footer-contact h3 {
  color: #f1f5f9;
}

.dark-mode #footer .footer-top p,
.dark-mode #footer .footer-links ul a {
  color: #9ca3af;
}

.dark-mode #footer .footer-links ul a:hover {
  color: #38bdf8;
}

.dark-mode #footer .social-links a {
  background: #1e293b;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.dark-mode .btn-primary {
  background: #0a94b6;
  border-color: #0a94b6;
}

.dark-mode .btn-primary:hover {
  background: #0891b2;
  border-color: #0891b2;
}

.dark-mode .btn-outline-primary {
  color: #38bdf8;
  border-color: #38bdf8;
}

.dark-mode .btn-outline-primary:hover {
  background: #38bdf8;
  color: #020617;
}

/* =====================================================
   BADGES, UNDERLINES, ICONS
   ===================================================== */

.dark-mode .underline {
  background: #38bdf8;
}

.dark-mode .theme-badge {
  border-color: #38bdf8;
  color: #38bdf8;
}

.dark-mode .theme-text,
.dark-mode i {
  color: #38bdf8;
}

.dark-mode .navbar-toggler {
  background-color: #38bdf8 !important;
}

/* =====================================================
   ACCORDION
   ===================================================== */

.dark-mode .elegant-accordion {
  background: #020617;
  border-color: #1e293b;
}

.dark-mode .theme-accordion-btn {
  background: #020617;
  color: #e5e7eb;
}

.dark-mode .theme-accordion-btn:not(.collapsed) {
  background: rgba(56,189,248,0.15);
  color: #38bdf8;
}

/* =====================================================
   FORMS & INPUTS
   ===================================================== */

.dark-mode input,
.dark-mode textarea,
.dark-mode select {
  background: #020617;
  color: #e5e7eb;
  border-color: #1e293b;
}

.dark-mode input::placeholder,
.dark-mode textarea::placeholder {
  color: #6b7280;
}

/* =====================================================
   SWITCH (DARK MODE POLISH)
   ===================================================== */

.dark-mode .slider {
  background-color: #334155;
}

.dark-mode input:checked + .slider {
  background-color: #38bdf8;
}
#themeNavbar {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* DONATE */
.mpesa-box {
  background: rgba(13, 110, 253, 0.08);
}

body.dark-mode .mpesa-box {
  background: rgba(13, 110, 253, 0.15);
}

.theme-badge {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  border-radius: 50px;
}

body.dark-mode .theme-badge {
  background: rgba(13, 110, 253, 0.2);
  color: #9ec5fe;
}