/* Top deep green bar */
.top-bar {
  background-color: #cbefd5;
  /* deep green */
  height: 15vh;
  padding: 20px 20px 0 20px;
}

.navbar-custom {
  background: #cbefd5;
  /*linear-gradient(to right, #e7f5e6, #d6f0db);*/
  border-radius: 15px 15px 0 0;
  height: calc(15vh - 20px);

  padding: 0 0px;
}

.login-btn {
  /* background-color: white; */
  border: none;
  padding: 6px 16px;
  border-radius: 5px;
  font-weight: 500;
}

.custom-hover-success:hover {
  background-color: #198754;
  /* Bootstrap success green */
  color: #fff;
}

.no-hover-text-change:hover {
  color: #198754 !important;
  /* Bootstrap's success green */
}

.brand-logo {
  height: 90px;
  margin-right: 10px;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #248f2f;
}


.brand-tagline {
  font-size: 0.8rem;
  color: #248f2f;
  margin-top: -6px;
}

.yellow-bar {
  /* background-color: rgb(255, 206, 12); */
  background-color: #cbefd5;
  /* light yellow */
  height: 3vh;
  width: 100%;

}


/* Adjust logo and font for smaller screens like iPhone SE */
@media (max-width: 375px) {
  .navbar-brand .brand-name {
    font-size: 12px;
  }

  .navbar-brand .brand-tagline {
    font-size: 9px;
  }

  .navbar-nav .nav-link {
    font-size: 14px;
    padding: 6px 10px;
  }

  .login-btn {
    font-size: 14px;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }

  /* .brand-logo {
    width: 120px !important;
    height: 35px !important;
  } */
   .brand-logo {
  height: 60px;
  height: 35px;
  margin-right: 10px;
  }
}

/*!-- end  header */

body {
  background-color: #fffef7;
  font-family: 'Segoe UI', sans-serif;
}

/* HERO SECTION */
/* .hero {
  background: #fefde7;
  padding: 60px 20px;
} */

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #2e2e2e;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #444;
}

.hero-buttons .btn {
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 8px;
  margin-right: 15px;
}

.btn-donate {
  background-color: #4caf50;
  color: white;
}

/* @media (max-width: 991.98px) {
    .translate-middle {
        transform: translate(-50%, -70%) !important;
    }
} */


.btn-learn {
  background-color: #ffeb3b;
  color: #333;
}

.hero-img {
  max-width: 100%;
  height: auto;
}

.banner {
  background-color: rgb(229, 245, 229);
  /* Light greenish background */
  /* padding: 2rem; */
  border-radius: 10px;
}

/* .banner-text h1 {
      font-weight: bold;
    } */
.slider-text1 {
  font-weight: bold;
}

.banner-image img {
  max-width: 100%;
  height: 30vh;
}

.give-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1.2rem;
}

.give-btn:hover {
  background-color: #45a049;
}

/* Top search */

.dropdown-list {
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  position: absolute;
  background-color: white;
  width: fit-content;
  display: none;
  z-index: 1000;
  border-radius: 10px;
  padding: 2px;
}

.dropdown-list li {
  cursor: pointer;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-list li:hover {
  background-color: #f0f0f0;
}

/* CATEGORY SECTION */
.category-section {
  background-color: #fff;
  padding: 10px 10px;
}

.category-title {
  font-weight: bold;
  font-size: 1.3rem;
  text-align: left;
  border-bottom: 3px solid #4caf50;
  display: inline-block;
  margin-bottom: 30px;
}

.category-card {
  background-color: #e9f7e9;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  height: 120px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-icon {
  width: 5rem;
  margin: 0 auto 8px auto;
  /* auto left and right margins center it */
  padding: 10px;
  box-sizing: border-box;
}

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


.carousel-arrow {
  background-color: orange;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

.category-box {
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
}

.category-box h6 {
  font-weight: 600;
}

.subcategory {
  margin: 2px 2px;
}

.subcategory img {
  width: 100%;
  height: 90px;
  margin: 5px 5px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

/* iPhones and small devices */
@media (max-width: 375px) {
  .subcategory img {
    width: 20vw;
  }
}


.subcategory span {
  font-size: 14px;
  display: block;
  margin-top: 5px;
}

.icon-btn {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  background-color: #cbefd5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
}

.search-section {
  background-color: #fef6db;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.top-search-section {
  background-color: #fef6db;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 20px;
}

.view-more {
  text-align: center;
  margin-top: 20px;
  font-weight: 500;
}

.view-more i {
  color: orange;
}

.footer {
  background-color: #e9f7e9;
  padding: 40px 0 0;
}

.footer-bottom {
  background-color: #2d1c58;
  color: white;
  padding: 10px 0;
  font-size: 14px;
}

.subscribe-input {
  border: 1px solid #f90;
  border-radius: 5px;
  padding: 8px;
  width: 200px;
}

.subscribe-btn {
  background-color: #f90;
  border: none;
  border-radius: 5px;
  color: white;
  padding: 8px 16px;
  margin-left: 8px;
}

.footer-icon {
  font-size: 24px;
  margin-right: 10px;
  color: #000;
}

.footer a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.footer a:hover {
  text-decoration: underline;
}

.payment-icons img {
  height: 30px;
  margin-right: 8px;
}



.section-title {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.city-box {
  background: #e1f8d4;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  height: 30vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.city-box img {
  height: 5rem;
  /* Adjust this value as needed */
  width: 4rem;
  /* Maintain aspect ratio */
  object-fit: contain;
  /* Ensures image scales nicely without distortion */
}



.ngo-story-box {
  background: #e1f8d4;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

.compaign-box {
  background: #dbe6d5;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}

.city-icon {
  font-size: 40px;
}

.card-light {
  background-color: #64c340;
  border: none;
  border-radius: 10px;
  padding: 20px;
}

.card-green {
  background-color: #64c340;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 20px;
}

.donation-box {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
}

.donation-box button {
  background-color: #0a5d0a;
  color: #fff;
  border: none;
  padding: 8px 20px;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
  /* background-color: orange; */
  /* makes it visible */
  background-size: 100% 100%;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  /* filter: invert(13%) sepia(75%) saturate(566%) hue-rotate(78deg) brightness(95%) contrast(98%); */

}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230a5d0a' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230a5d0a' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.navbar-toggler {
  padding: 0px 0 0 0;
}

.navbar-brand {
  margin-right: 0px;
}

/* compaings--------------------------------------------------------------------------*/
.tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #4CAF50;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 5px;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.progress-bar-custom {
  background-color: #f15a24;
}

.org-badge {
  width: 30px;
  height: 30px;
  background-color: #eee;
  font-size: 0.75rem;
  font-weight: bold;
  color: #555;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
}


.search-bar {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px;
}

.filter-bar span {
  margin: 0 8px;
  font-weight: 500;
  cursor: pointer;
}

.campaign-card {
  border-radius: 16px;
  background-color: #e8f5ff;
  padding: 20px;
  margin-top: 20px;
}

.image-box {
  background-color: yellow;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  border-radius: 16px;
  width: 100%;
  height: 180px;
}

.tax-badge {
  background-color: orange;
  color: white;
  padding: 5px 10px;
  border-radius: 0 0 0 10px;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 0;
}

.btn-copy,
.btn-share {
  background-color: #28a745;
  color: white;
}

.btn-donate {
  background-color: orange;
  color: white;
}

/* donations details */


.donate-section {
  background-color: #ffffff;
  padding: 50px 20px;
}

.donate-box {
  background-color: #e6f7d9;
  padding: 30px;
  border-radius: 15px;
}

.donate-title {
  font-weight: 700;
  color: #305415;
}

.donate-text {
  color: #2f3e1b;
  margin-bottom: 20px;
}

.donate-input {
  background-color: #fcfcfc;
  height: 50px;
  border: none;
  border-radius: 4px;
  margin-bottom: 15px;
}

.donate-button {
  background-color: #d5f4b8;
  font-weight: 700;
  color: #305415;
  padding: 10px 30px;
  border: none;
  border-radius: 8px;
}

.highlight {
  color: #4caf0b;
}

/* aboout  */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
}

.bridge-section {
  padding: 50px 20px;
  background: #fff;
  position: relative;
}

.bridge-heading {
  color: #2e7d32;
  font-weight: bold;
}

.sub-heading {
  font-style: italic;
  color: #388e3c;
}

.rainbow-img {
  max-width: 100%;
  height: auto;
}

.bridge-img {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
}

.text-description {
  font-size: 0.95rem;
  color: #333;
}

.text-highlight {
  font-weight: bold;
}

@media (max-width: 576px) {
  .text-description {
    font-size: 0.9rem;
  }
}

.red-bar {
  background-color: #f44336;
  height: 5px;
  width: 100%;
}

.about_us-header {
  position: relative;
  padding: 20px;
}


/* .carousel-control-next, .carousel-control-prev {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: 0 0;
  border: 0;
  opacity: .5;
  transition: opacity .15s ease;
} */


/* ngo category */
.ngo-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.rating-badge {
  background-color: #4caf50;
  color: white;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 0.85rem;
}

.ngo-buttons .btn {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  font-weight: 600;
}

.btn-contact {
  background-color: #8bd339;
  color: #2e7d32;
}

.btn-ratings {
  background-color: #fff500;
  color: #33691e;
}

.btn-about {
  background-color: #ffa500;
  color: white;
}

.ngo-info i {
  color: red;
}

@media (max-width: 576px) {
  .ngo-buttons {
    margin-top: 15px;
  }
}


/* campaign-details */
.donut {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: conic-gradient(green 0% 20%,
      /* 20% green slice */
      red 20% 100%
      /* remaining 80% red slice */
    );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.donut::after {
  content: "";
  width: 3rem;
  /* inner hole size */
  height: 3rem;
  background: white;
  border-radius: 50%;
  position: absolute;
}

/* campaign-details */


/* Ratings Related css start*/
.rating-box {
  background-color: #ffa500;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 12px;
  display: inline-block;
  margin-right: 10px;
}

.star-rating .star {
  font-size: 1.5rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s;
}

.star-rating .star.selected,
.star-rating .star:hover,
.star-rating .star.hovered {
  color: #ffa500;
}

/* Ratings Related css end*/

/* Spinning Globe */
.earth {
  background: url(/img/slider/atlas.png);
  width: 186px;
  /*img height is 432px*/
  height: 186px;
  /*img height*/
  border-radius: 50%;
  animation: earth 6s infinite linear forwards;
  box-shadow: 1px 1px 10px rgb(255, 255, 255);
  margin: 0 auto;

  position: absolute;

  transform: translate(586%, -117%);
  z-index: 100;
}

@keyframes earth {
  0% {
    background-position: left top;
  }

  100% {
    background-position: 768px top;
    /*img width is 768px*/
  }
}

/* mobile earth */

.earth_mobile {
  background: url(/img/slider/atlas.png);
  width: 90px;
  /*img height is 432px*/
  height: 90px;
  /*img height*/
  border-radius: 50%;
  animation: earth 6s infinite linear forwards;
  box-shadow: 1px 1px 10px rgb(255, 255, 255);
  margin: 0 auto;

  position: absolute;

  transform: translate(272%, -150%);
  z-index: 100;
}

@keyframes earth {
  0% {
    background-position: left top;
  }

  100% {
    background-position: 768px top;
    /*img width is 768px*/
  }
}