/* Global styles */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #EFF2F2;
    color: #333;
  
  }
  
/* Top Strip */
.top-strip {
  background-color: #E3A36D;
  position: relative;
  z-index: 2;
}
.fw-semibold{
  color: black;
  font-size: 20px;
}
.btn-donate {
  background: linear-gradient(to right, #316B72, #296273);
  color: rgb(255, 255, 255) !important;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}
.btn-donate:hover {
  background-color: #fff5e6;
  color: black;
}
@keyframes moveArrow {
  0% { left: 0; }
  100% { left: 8px; }
}

.wave svg {
  display: block;
  width: 100%;
  height: 100px;
  position: absolute;
  bottom: 3px;
  left: 0;
  z-index: -1;
  animation: waveMove 4s infinite ease-in-out alternate;
}
@keyframes waveMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(10px); }
}

/* Navbar */
.main-navbar {
  background: transparent;
  position: relative;
  z-index: 3;
}

.navbar .nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  text-decoration: none;
  color: black;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #316B72;
  transition: width 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #316B72;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

/*Hero Section*/


.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Optional: Limit height on smaller screens */
@media (max-width: 768px) {
  .hero-section img {
    height: 300px; /* adjust as needed */
    object-fit: cover;
  }

    .video-container {
    position: relative;
    width: 100%;
    max-width: 560px; /* Optional: Set a max width for the video */
    margin: auto; /* Centers horizontally */
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    display: flex; /* Enable flexbox */
    justify-content: center; /* Horizontally center content */
    align-items: center; /* Vertically center content */
  }
}


.carousel-item img {
 
  height: 100vh;
  width: 100%;
}
.success-image {
  height: 50vh !important;
  width: 100%;
}
.card-img-top{

  height: 80vh;
}
.img-fluid {
  height: 100vh;
}




.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);

} 

.text-orange {
  color: #E3A36D;
}

.hero-content p {
  font-size: 1.2rem;
  margin: 15px 0 30px;
}

.hero-buttons .btn {
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 30px;
  margin: 0 10px;
}

.btn-donate-now {
  background: linear-gradient(to right, #316B72, #296273);
  color: #fff;
  border: none;
}

.btn-donate-now:hover {
  background-color: #E3A36D;
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 30px !important;
  }

  .hero-buttons {
    flex-direction: column !important;
    align-items: center;
  }

  .hero-buttons a {
    width: 80%; /* optional: makes buttons look better stacked */
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 2rem 1rem; /* Top-bottom 2rem, left-right 1rem */
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.75rem; /* Smaller heading on mobile */
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons a {
    width: 100%;            /* Full width buttons */
    margin: 0.5rem 0;       /* Vertical spacing */
    padding: 0.75rem;       /* Larger tap area */
    font-size: 1rem;
  }

  #youtube-video {
    width: 100%;
    margin-top: 1rem;
  }

  #youtube-video iframe {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 1024px) {
  /* Navbar Fixes */
  .navbar {
    flex-direction: column !important;
    align-items: flex-start;
    padding: 1rem;
  }

  .navbar .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    width: 100%;
    text-align: left;
  }

  /* Hero Section Fixes */
  .hero-content {
    padding: 2rem 1rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: bold;
  }

  .hero-content .text-orange {
    display: inline-block;
    margin-top: 0.5rem;
    color: #e97d34; /* or your orange tone */
  }

  .hero-content p {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 90%;
    margin-bottom: 0.75rem;
    font-size: 1rem;
  }
}
@media (max-width: 576px) {
  .hero-content {
    position: absolute;
    top: 25% !important;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 1.25rem !important;
    line-height: 1.4;
    word-break: break-word;
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-top: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    font-size: 1rem;
  }
}



/* GEM Box Styling */
/* GEM Box: Remains same */
.gem-box {
  position: relative;
  margin-top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #316B72, #296273);
  width: 90%;
  max-width: 800px;
  z-index: 3;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  color: #fff;
}

/* Campaign Image */

.campaign-img img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

/* Campaign Content */
.campaign-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.campaign-content p {
  font-size: 0.95rem;
  color: #ddd;
}

.campaign-content .btn {
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 30px;
  background-color: #e29557;
}

/* Badge */
.badge {
  font-size: 0.8rem;
  padding: 0.4em 0.6em;
  border-radius: 0.5rem;
  background-color: #e29557;
}

/* Responsive */
@media (max-width: 768px) {
  .campaign-img img {
    width: 100%;
    height: auto;
  }

  .campaign-content {
    text-align: center;
  }

  .campaign-content h5 {
    font-size: 1rem;
  }

  .campaign-content p {
    font-size: 0.9rem;
  }
}

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

.card.h-100 {
  display: flex;
  flex-direction: column;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.progress-custom {
            height: 6px;
            border-radius: 3px;
            background-color: #f0f0f0;
            margin-bottom: 12px;
        }
        
.progress-bar-custom {
            background-color: #316B72; /* Bright red */
            border-radius: 3px;
        }
        
/* Styling for buttons */

.btn-custom-outline {
  border: 1.5px solid #316B72;
  color: #316B72;
  background-color: white;
  transition: all 0.3s ease;
  font-weight: 500;
  border-radius: 8px;
}

.btn-custom-outline:hover {
  background-color: #316B72;
  color: white;
}





/* Icons */
.fas, .far {
  color: #316B72;
}

.fas:hover, .far:hover {
  color: #fff;
}

/* For Show More Button */
.text-center.mt-4 button {
  background-color: #316B72;
  color: #fff;
  
}

.text-center.mt-4 button:hover {
 
  border: 1.5px solid #316B72;
  color: #316B72;
  background-color: #fff;
}

.info-text {
  font-size: 0.9rem;
  color: #6c757d;
}

.icon-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 768px) {
  .card-img-top {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .card-img-top {
    height: 180px;
  }
}

/*How It Works Section*/


/*Why Choose Us*/
/* Section background */
.why-choose-us {

  padding: 60px 0;
}

/* Heading Styling */
.why-choose-us h2 span {
  font-size: 1.3em;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

/* Icon box styling */
.feature-box {
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

/* Icon styling */
.feature-icon {
  color: #316B72;
  font-size: 2.5em;
  margin-bottom: 10px;
}

/* Line below icon */
.feature-line {
  width: 40px;
  height: 2px;
  background-color: #316B72;
  margin: 10px auto;
}

/* Paragraph text */
.feature-box p {
  font-size: 15px;
  color: #333;
  margin: 0;
}

/*Our Success Stories*/
/* Section Heading */
/* Style for the Heading with Text Shadow and Color Change */
.section-heading {

  letter-spacing: 1px;
}


/* Story Box Styling */
.story-box {
  background: linear-gradient(135deg, #316B72, #296273);
  color: #fff;
  max-width: 1000px;
}

/* Image Styling */
.story-img {
  width: 100%;
  height: 50%;
  object-fit: cover;
}

/* Story Title */
.story-title {
  font-size: 1.25rem;
  font-weight: bold;
}

/* Buttons */
.common-btn {
  background-color: #357376;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.common-btn:hover {
  background-color: #fff;
  color: #000;
  border: 1px solid #357376;
}



/*.bg-testimonial-wrapper {
  width: 100%;
  padding: 0;
  margin: 0;
}*/
.bg-testimonial {
  background: url('../Images/bg testimonals image.jpg') no-repeat center center;
  background-size: cover;
  width: 100%;
  padding: 0;
  margin: 0;
}

/*Stats Section*/
.stats-box {
  background: teal; /* or your desired color */
}

.divider {
  width: 2px;
  height: 60px;
  background:#e29557;
}

/* On small screens, stack vertically */
@media (max-width: 768px) {
  .stats-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .divider {
    display: none;
  }
  .stat-item {
    margin-bottom: 16px;
  }
}


/* Newsletter Section */
.newsletter-section {
  background-color: #000;
}

.newsletter-section input.newsletter-input {
  min-width: 260px;
  height: 45px;
  border: none;
}

.subscribe-btn {
  background-color: #2B6B70;
  color: white;
  height: 45px;
  transition: 0.3s ease;
}

.subscribe-btn:hover {
  background-color: #1f5d5d;
}

/* Footer Main */
.footer-main {
  background:linear-gradient(to bottom, #e8a874, #f8f6f4);
  color: #000;
}

.footer-main a {
  color: #000;
  text-decoration: none;
}

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

/* Social Icons */
.social-icons a i {
  color: #000;
  font-size: 1.5rem;
  transition: 0.3s ease;
}

.social-icons a i:hover {
  color: #1f5d5d;
}

/* Footer Bottom */
.footer-bottom {
  background-color: #2a6571;
}

/* Utility */
.text-teal {
  color: #000;
}

@media (max-width: 768px) {
  .newsletter-section {
    flex-direction: column;
    text-align: center;
  }

  .footer-main .row > div {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}
/* Newsletter Section */
.newsletter-section {
  background-color: #000;
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.newsletter-container {
  max-width: 800px;
  margin: auto;
}

.newsletter-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.newsletter-section p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #ccc;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.newsletter-form input[type="email"] {
  padding: 0.8rem 1rem;
  width: 80%;
  max-width: 500px;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
}

.newsletter-form button {
  background-color: #2b6b70;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #1f5d5d;
}

/* Responsive */
@media (min-width: 600px) {
  .newsletter-form {
    flex-direction: row;
  }

  .newsletter-form input[type="email"] {
    width: auto;
    flex: 1;
  }
}
/* SOCIAL ICON STYLING */
.social-icons {
  display: flex;
  gap: 10rem; /* Adds space between icons */
  margin-top: 1.5rem;
}

.social-icons a i {
  font-size: 2rem; /* Enlarges icons */
  color: #000;
  transition: 0.3s ease;
}

.social-icons a i:hover {
  color: #1f5d5d;
}

/* ABOUT TEXT SPACING */
.footer-main .small {
  line-height: 1.9; /* Improves readability */
}

/* LIST SPACING IN LEARN & DISCOVER */
.footer-main ul li {
  margin-bottom: 1rem;
}

/* CONTACT ICON SPACING */
.footer-main .fa-map-marker-alt,
.footer-main .fa-envelope,
.footer-main .fa-phone {
  font-size: 1.2rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.footer-main .col-md-3 p {
  margin-bottom: 1rem;
}

/*Patience story*/
.thumb:hover {
  border: 2px solid#2B6B70;
  cursor: pointer;
}

.active-thumb {
  border: 3px solid #2B6B70;
}


.custom-tab .nav-link {
  background-color: #1d6d6d;
  color: white;
  border-radius: 0.375rem;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.custom-tab .nav-link:hover {
  background-color: white;
  color: black;
  border: 2px solid #1d6d6d;
}

.custom-tab .nav-link.active {
  background-color: #1d6d6d;
  color: white;
  border: none;
}

/*FAQ section*/

.accordion-button {
    background: #2a6571;
    color: #ffffff;
    border-radius: 12px !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
  
}

.accordion-button:not(.collapsed) {
  background: #316B72;
  color: #fff;
}

.accordion-body {
  border: 1px solid #316B72;
  border-top: none;
  border-radius: 0 0 12px 12px;
}

.accordion-item {
  border: none;
  margin-bottom: 10px;
}



/*New Campaign */

:root {
  --main-color: #316B72;
}

/* Step circles */
.custom-step {
  background-color: var(--main-color);
  width: 40px;
  height: 40px;
  font-weight: bold;
}

/* Connecting lines */
.custom-line {
  border-top: 2px solid var(--main-color);
}

/* Custom button for options */
.custom-option {
  background-color: #316B72 ;
  color: white;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
}

/* Text for "Click Here" inside button */
.custom-option .click-here {
  color: white;
  text-decoration: underline;
}

/* Hover effect */
.custom-option:hover {
  background-color: white;
  color: #316B72;
  border: 2px solid #316B72;
}

.custom-option:hover .click-here {
  color: #316B72;
}

/* Image Slider */

.image-slider {
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  margin-top: 20px;
  position: relative;
}

.slider-track {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 60s linear infinite;
}

.slider-track img {
  height: 200px;
  margin-right: 10px;
  border-radius: 5px;
  vertical-align: middle;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}


/*Success Stories Page*/

.success-stories {
  position: relative;
  padding: 60px 0 20px;
}

.success-heading {
  background: white;
  color: black;
  padding: 12px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 2em;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.25);
  position: absolute;
  top: 0;
  left: 60px;
  z-index: 2;
  margin: 0;
  transform: translate(0, 0);
}

.success-description {
  background: teal;
  color: white;
  padding: 16px 24px;
  display: inline-block;
  border-radius: 8px;
  position: relative;
  margin-left: 60px;
  max-width: 90%;
}

/* 📱 Responsive for mobile */
@media (max-width: 600px) {
  .success-heading {
    font-size: 1.5em;
    padding: 10px 20px;
    left: 20px;
  }

  .success-description {
    margin-left: 20px;
    padding: 12px 16px;
    font-size: 0.95em;
  }
}


.read-more-content {
  max-height: 120px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.read-more-content.show {
  max-height: 2000px;
}

.read-more-btn {
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.read-more-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 40px;
  width: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0), white);
}

.read-more-content.show::after {
  display: none;
}

/* Responsive tweak (optional) */
@media (max-width: 576px) {
  .story-text {
    font-size: 15px;
  }
}

/*About Us*/

/*Our Mission*/

.mission-section {
  background-color: #316872;
  color: white;
  padding: 80px 20px;
}
.mission-icon {
  font-size: 50px;
  color: #E3A36D;
  margin-bottom: 20px;
}
.mission-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.mission-title span.highlight {
  color: #E3A36D;
}
.mission-text {
  font-size: 1.2rem;
  line-height: 1.8;
}
.mission-img {
  border-radius: 10px;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .mission-title {
    font-size: 2rem;
  }
  .mission-icon {
    font-size: 40px;
  }
  .mission-text {
    font-size: 1rem;
  }
}

/*Vision Section*/

.vision-section {
  background-color: transparent;
  color: black;
  padding: 80px 20px;
}

.vision-icon {
  font-size: 50px;
  color: #008080; /* teal */
  margin-bottom: 20px;
}

.vision-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: black;
}

.vision-our {
  color: black;
}

.vision-highlight {
  color: #008080; /* teal */
}

.vision-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: black;
}

.vision-img {
  border-radius: 10px;
  width: 100%;
  object-fit: cover;
}



@media (max-width: 767px) {
  .vision-title {
    font-size: 2rem;
  }
  .vision-icon {
    font-size: 40px;
  }
  .vision-text {
    font-size: 1rem;
  }
}


/*Our Directior message*/

.director-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.director-our {
  color: black;
}

.director-highlight {
  color: #008080; /* teal */
}

.director-name {
  color: #008080;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.director-text {
  color: black;
  font-size: 1rem;
  line-height: 1.6;

}

.card {
  border: none;
  border-radius: 17px; /* match your Figma corner radius */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/*Contact Us page*/

.contact-heading {
  color: #316B72;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-section, .info-section {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.info-card {
  background-color: #f8d7aa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.info-title {
  font-weight: 600;
  margin-bottom: 5px;
}
.btn-custom {
  background-color: #316B72;
  color: white;
}
.btn-custom:hover {
  background-color: #255358;
}



/*DONATE NOW*/
.amount-btn {
  margin: 5px 5px 5px 0;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid #316B72;
  color: #316B72;
  background-color: transparent;
  transition: all 0.3s ease;
}
.amount-btn:hover {
  background-color: #316B72;
  color: white;
}
.amount-btn.active {
  background-color: #316B72;
  color: white;
}
.donate-btn {
  background-color: #316B72;
  color: white;
  font-weight: bold;
  font-size: 18px;
  width: 100%;
  border: 1px solid #316B72;
  transition: all 0.3s ease;
}
.donate-btn:hover {
  background-color: #316B72;
  color: #ffffff;
  border: 1px solid #316B72;
}


.share-options {
  position: absolute;
  top: 50px;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.share-options img {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.d-none {
  display: none;
}



