.bg-primary {
  background-color: var(--color-primary) !important;
}

.bg-secondary {
  background-color: var(--color-secondary) !important;
}

.bg-color-success {
  background-color: var(--success) !important;
}

.bg-color-gray {
  background-color: var(--gray) !important;
}

.text-primary {
  color: var(--color-primary) !important;
}

.text-secondary {
  color: var(--color-secondary) !important;
}

.text-success {
  color: var(--success) !important;
}
.container {
  max-width: 1380px;
}
.slide-container {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
}

.FooterContact i {
  width: 14px;
  margin-top: 10px;
}

.page-banner h1 {
  color: #fff;
  background-color: #00000030;
  display: inline-block;
  padding: 0 15px;
}

.slide-container p {
  color: #fff;
  font-weight: 500;
  text-align: justify;
}

.banner-text {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  text-align: center;
  color: #fff;
}

.banner-text p {
  text-transform: uppercase;
}
.page-banner {
  position: relative;
}
.page-banner .container {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    text-align: center;
    color: #fff;
    z-index: 99;
}
.btn.btn-primary,
.btn.btn-secondary {
  position: relative;
}

.btn.btn-primary::after,
.btn.btn-secondary::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s, color 0.3s;
}

.btn.btn-primary:hover::after,
.btn.btn-secondary:hover::after {
  right: 15px;
}
.slide-text {
  max-width: 800px;
  padding: 15px;
  background-color: #00000062;
  color: #fff;
}

.slide-container .slide-text h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 600;
}

.list-circle ul {
  list-style: circle;
  padding-left: 20px;
  margin: auto;
}

footer.footer {
  /* background-image: url('../img/footer-bg.png'); */
  /* background-repeat: no-repeat; */
  /* background-size: cover; */
  /* background-position: center; */
  background-color: #303030;
}

.section-projects {
  background-image: url("../img/bg-img1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.footer-main #NewsletterFormSample input {
  color: #000;
  border: 1px solid #ddd;
  line-height: 40px;
  border-radius: 0;
}

.footer-main #NewsletterFormSample input::placeholder {
  color: #707070;
  opacity: 1;
}

.btn.btn-primary.bg-light::after,
.btn.btn-primary.bg-light {
  color: #000;
}

.text-justify {
  text-align: justify;
}

.section-projects .portfolio-item .item-heading {
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

.section-projects .portfolio-item .item-heading:hover {
  color: var(--color-primary);
}

.portfolio-item .thumb {
  box-shadow: none !important;
}

.section-expertise .card {
  border: 0;
}

.section-projects .portfolio-item {
  position: relative;
}

.section-projects .portfolio-item .item-heading {
  display: block;
  margin: 10px 0;
  position: absolute;
  z-index: 99999;
  bottom: 10px;
  left: 35px;
}

.section-expertise .card:hover {
  background-color: #ececec;
}

.mentorship .row a img {
	height: 300px;
	object-fit: cover;
}

#portfolio,
.slide {
  height: fit-content;
}

/* Additional Styles */

.section-founder {
  background: url("../img/section-founder-bg.jpg");
  padding: 200px 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.section-Vision {
  background: url("../img/vision-bg.jpg");
  padding: 200px 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.section-contact .form-control {
  padding: 10px;
  font-size: 18px;
  background-color: #ececec;
  border-radius: 0;
}

.header .navbar-nav .dropdown-menu {
  top: 50px;
}

.header .navbar-nav .nav-item {
  display: block;
}

.team-card {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.team-card:hover .only-first {
  opacity: 0;
}

.team-image-wrapper .only-first {
  position: absolute;
  left: 30px;
  bottom: 30px;
  color: var(--color-primary);
  text-shadow: 3px 3px 5px rgb(0 0 0 / 73%);
  opacity: 1;
  transition: opacity 0.3s ease;
  border-radius: 8px;
  font-size: 30px;
}

.team-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.team-image {
  position: relative;
  width: 100%;
  transition: transform 0.3s ease;
  border-radius: 8px;
  max-width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.team-details {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  /* Dark overlay */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  padding: 20px;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.team-details h4 {
  margin-bottom: 10px;
  font-size: 30px;
  color: var(--color-primary);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.team-details h5 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #fff;
}

.team-details p {
  font-size: 0.9rem;
  margin-bottom: 15px;
  text-align: center;
}

.team-card:hover .team-image {
  transform: scale(1.1);
}

.team-card:hover .team-details {
  opacity: 1;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #0d6efd;
  /* Change this color as needed */
}

.bg-yellow h2,
.bg-yellow h4,
.bg-yellow p {
  color: #fff;
}

.border-cus {
  border-bottom: 5px solid var(--color-primary);
}

.donation .card-body {
  background-color: #f0f4ff;
}

.donate-btn {
  position: fixed;
  left: -47px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  background-color: var(--color-secondary);
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 0px 10px;
  border-radius: 10px 10px 0px 0px;
  letter-spacing: 1px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  z-index: 1000;
}

.donate-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
.slide img {
    min-height: 300px;
    object-fit: cover;
}
/* ----------------------- */
.section-expertise img {
  height: 300px;
  object-fit: cover;
  width: 100%;
}

.philosophy .row > div:nth-child(1) .card {
  background-color: #d4edda;
}

.philosophy .row > div:nth-child(2) .card {
  background-color: #e2e3e5;
}

.philosophy .row > div:nth-child(3) .card {
  background-color: #f8d7da;
}

.philosophy .row > div:nth-child(4) .card {
  background-color: #ffe5b4;
}

.section-how-we-work .row > div:nth-child(even) .card {
  background-color: #f1582a59;
}
.section-how-we-work .row > div:nth-child(odd) .card {
  background-color: #3ab5485b;
}
.section-we-do .container > div:nth-child(even) .card {
  background-color: #f1582a59;
}
.section-we-do .container > div:nth-child(odd) .card {
  background-color: #3ab5485b;
}

.page-banner img {
  height: 500px;
  object-fit: cover;
}
.page-banner-img {
  height: 500px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* contact us  */
.section-contact-custom {
  background: linear-gradient(135deg, #49b64b 0%, #e6592c 100%);
  color: #fff;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #fff;
}

.section-subtitle {
  color: #bbb;
  font-size: 1.1rem;
}

.contact-card {
  background-color: #1c1c1c;
  border: 1px solid #333;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
}

.contact-card-title {
  text-transform: uppercase;
  font-weight: 600;
  color: #00ffd5;
  margin-bottom: 1.5rem;
}

.icon-accent {
  color: #ffc107;
}

.contact-link {
  color: #0df;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-note {
  color: #aaa;
}
.page-banner-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000007a;
    opacity: 0.5;
    z-index: 1;
}
/* --------null */



@media screen and (min-width: 992px) {
  .slide-text {
    width: 800px;
    padding: 15px;
    /* background-color: #0000004f; */
  }
}

@media screen and (max-width: 1200px) {
  .right-img img {
    height: 500px;
    object-fit: cover;
  }

  .slide-container p {
    font-size: 16px;
  }
}

@media screen and (max-width: 991px) {
  /*.slide-container {*/
  /*  position: inherit;*/
  /*  width: 100%;*/
  /*  top: 0%;*/
  /*  left: 0%;*/
  /*  transform: translate(0%);*/
  /*  background-color: var(--color-secondary);*/
  /*  text-align: start;*/
  /*  padding: 15px;*/
  /*}*/

  /*.slide-container p {*/
  /*  text-align: center;*/
  /*}*/
}

@media screen and (max-width: 767px) {
  .page-banner-img {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
  }
  .slide-container .slide-text h1 {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
}
  .page-banner img {
    height: 300px;
    object-fit: cover;
    object-position: center;
  }
  h1 {
    font-size: 35px;
    font-weight: 600;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 25px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  .banner-text {
    position: inherit;
    width: 100%;
    left: 0%;
    transform: translate(0%) !important;
    text-align: center;
    color: #fff;
  }
}

@media screen and (max-width: 575px) {
  .logo {
    text-align: center;
  }

  .footer-main a {
    color: #ffffff;
    font-size: 14px;
  }
}

.bg-yellow {
  background-color: #dca755;
}
