body {
    font-family: "Gabriela", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #f9f6f1;
}

p {
    font-family: "Cactus Classical Serif", serif;
    font-weight: 400;
    font-style: normal;
}

.navbar-nav li {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* center horizontally */
    padding: 0 60px;
    text-align: center;
}

.hero-text {
    width: 100%;
    max-width: 1000px; /* increase max width */
    text-align: center;
    color: #fff;
}

.hero-heading {
    font-size: 4.5rem; /* larger font */
    font-weight: 700;
    line-height: 1.2;
    /*font-family: 'Special Elite', cursive;*/
    color: #F5A623;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

.hero-subheading {
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    max-width: 100%;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Special Elite', cursive;
    color: #F5A623;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-text p.lead {
    font-size: 1.2rem;
    color: #fff;
    margin-top: 1rem;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
    }

    .carousel-item {
        height: 100vh;
        background-position: center;
        background-size: cover;
    }

    .hero-content {
        padding: 0 20px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        padding: 0 10px;
    }

    .hero-heading {
        font-size: 2rem;
        line-height: 1.3;
        font-family: "Gabriela", serif !important;
        word-break: break-word;
    }

    .hero-subheading {
        font-size: 1rem;
        margin-top: 0.5rem;
        line-height: 1.4;
    }

    .hero-text h1 {
        font-size: 2rem;
        /*font-family: 'Special Elite', cursive !important;*/
    }

    .hero-text p.lead {
        font-size: 1rem;
    }
}

.donation-box {
    background: #fff;
    color: #000;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 100%;
}

.donation-box h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.donation-box label {
    font-weight: 400;
    margin-bottom: 4px;
}

.donation-box .form-group {
    margin-bottom: 12px;
}

.donation-text {
    font-size: 30px;
}

.donation-default-price {
    background: #ffe3e0;
    color: #000;
    border: 1px solid #fca59c;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
}

.donation-btn {
    background-color: #f76c5e;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.donate-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.donate-value {
    background-color: #ffe3e0;
    color: black;
}

.about-section {
    padding: 60px 15px;
}

.about-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
}

.work-section {
    color: white;
    padding: 60px 15px 40px;
    background: url('../images/our-work-bg.png') no-repeat center center/cover;
}

.work-section h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.work-icon {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 2.5rem;
    color: #fff;
}

.icon-blue {
    background-color: #6464f8;
    color: white;
    border: 20px solid #D8D8FD;
}

.icon-green {
    background: #8dc43e;
    color: white;
    border: 20px solid #e2f0ce;
}

.icon-red {
    background-color: #f86464;
    border: 20px solid #fdd8d8;
    color: white;
}

.icon-yellow {
    background: #e8de56;
    color: white;
    border: 20px solid #f7f9e2;
}

.work-item h5 {
    margin-top: 10px;
    font-weight: bold;
}

.work-item p {
    margin: 0;
    font-size: 0.95rem;
}

.impact-stories-content {
    margin: 0 auto;
    padding: 50px 15px;
}

.impact-stories-content h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.impact-section {
    padding: 60px 0;
    overflow-x: hidden;
}

.impact-carousel-wrapper {
    position: relative;
}

.impact-carousel {
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    transition: transform 0.5s ease;
    gap: 1.4rem; /* optional: reduce or control spacing manually */
}


.story-card {
    margin: 20px 0; 
    width: 288px;
    height: 384px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #fff;
    flex: 0 0 auto;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
   
}

.story-card.featured {
    margin: 20px 0px 20px 0px;
    border-radius: 20px 0px 20px 0px;
    width: 795px;
    height: 450px;
    background: #e5c494;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.story-card {
    order: 3;
}

.story-card.featured {
    order: 1;
}
.story-card.hidden {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 55%;
    object-fit: fill;
    
}

.featured .story-image {
    width: 50%;
    height: 100%;
}

.story-body {
    padding: 20px;
    overflow: hidden;
    height: 45%;
}

.featured .story-body {
    height: 100%;
    width: 50%;
    padding: 30px;
}

.story-body h5 {
    font-weight: bold;
}

.story-nav {
    position: absolute;
    top: 25px;
    left: 68%;
    transform: translateX(-40%);
    z-index: 10;
    display: flex;
    gap: 20px;
    pointer-events: none;
}

.story-nav i {
    background: white;
    border: 2px solid #fba89d;
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    pointer-events: auto;
    transition: 0.3s;
}

.story-nav i:before {
   color:#fba89d;
}



.story-nav i:hover {
    background: #f76c5e;
    color: #fff;
}

.dot-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #f76c5e;
}

/* Make image take more space in non-featured cards */
.story-card:not(.featured) .story-image {
    height: 80%; /* Increased from 55% to 75% */
}

/* Reduce story body height in non-featured cards */
.story-card:not(.featured) .story-body {
    height: 20%;  /* Adjusted to match new layout */
    padding: 10px; /* Less padding for tighter layout */
}

/* Hide by default (desktop) */
.story-description,
.btn-outline-secondary {
    display: none;
}

/* Show on mobile only */
@media (max-width: 767px) {
    .story-description,
    .btn-outline-secondary {
        display: block !important;
    }

    .btn-outline-secondary {
        display: inline-block !important;
    }
}



.help-section {
    background-repeat: no-repeat !important;
    background-position: center;
    background-size: contain;
    position: relative;
    padding: 40px 20px;
    overflow: hidden;
}

.help-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 182, 182, 0.45);
    z-index: 1;
}

.help-content {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
}

.help-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
}

.help-content p {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 30px;
}

.our-mission-btn {
     font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    padding: 8px 20px;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    background: white;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
}

.our-mission-btn:hover {
    color: white;
    background-color: #ff6b6b;
}


.faq-section {
    margin-bottom: 50px;
}

.faq-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 40px 0 20px;
    text-align: left;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.accordion {
    max-width: 950px;
    margin: 0 auto;
    background: transparent;
    border: none;
}

.accordion-item {
    background: white;
    border: none;
    border-radius: 50px !important;
    margin-bottom: 5px;
}

.accordion-header {
    border-radius: 50px !important;
}

.accordion-button {
    border-radius: 50px !important;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    background: white;
    color: #333;
    box-shadow: none;
    padding: 12px 16px;
}

.accordion-button:not(.collapsed)::after {
    /* transform: rotate(180deg); */
    border-radius: 0px !important;
}

.accordion-button:not(.collapsed) {
    background-color: white;
    color: #000;
}

.accordion-button::after {
    display: none !important;
}

.accordion-button .icon {
    font-size: 18px;
    color: #f6be5a;
}

.accordion-button .icon::after {
    content: '+';
    font-size: 1.3rem;
    margin-right: 10px;
    display: inline-block;
    width: 1rem;
    transition: transform 0.3s;
}

.accordion-button:not(.collapsed) .icon::after {
    content: '-';
}

.accordion-body {
    background-color: white;
}

.see-more-btn {
  background-color: #04AA6D; /* Green */
  border: none;
  color: white;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;

}

.see-more-btn:hover {
  background: linear-gradient(50deg, #00833b, #029c28);

}



@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .donation-text {
        font-size: 22px;
    }

    .donation-default-price {
        font-size: 14px;
        padding: 8px 14px;
        flex: 1 1 100%;
        margin-bottom: 8px;
    }

    .d-flex.flex-wrap.justify-content-between.gap-2 {
        flex-direction: column;
        gap: 8px;
    }

    .donation-box input {
        font-size: 14px;
    }
}

@media(max-width: 767.98px) {
    .navbar-brand span {
        font-size: 14px;
    }

    .about-text {
        text-align: center;
    }

    .about-text h2 {
        font-size: 1.6rem;
    }

    .about-img {
        margin-top: 20px;
    }

    .work-item {
        margin-bottom: 30px;
    }

    .work-section h3 {
        text-align: center;
    }

    .work-section p {
        text-align: center;
    }

    .impact-stories-content h3 {
        text-align: center;
    }


    .impact-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .impact-carousel::-webkit-scrollbar {
        display: none;
    }

    .story-card {
        width: 100% !important;
        height: 520px !important;
        flex-direction: column;
        scroll-snap-align: center;
        flex: 0 0 100%;
        display: block !important;
    }

    .story-card.featured {
        display: flex !important;
        flex-direction: column;
    }

    .featured .story-image,
    .featured .story-body {
        width: 100% !important;
        height: auto !important;
    }

    .story-card .story-image {
        height: 260px !important;
        object-fit: cover;
    }

    .story-card .story-body {
        height: 260px !important;
        overflow-y: auto;
    }

    .story-nav {
        display: none;
    }

    .help-content {
        text-align: center;
    }

    .help-content h2 {
        font-size: 1.5rem;
    }

    .help-content p {
        font-size: 1rem;
    }

    .help-section {
        background-size: cover;
    }

    .faq-hero h2,
    .faq-hero p,
    .faq-title {
        text-align: center;
    }

}

@media(max-width: 992px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text {
        /*flex: 0 0 100%;*/
        margin-bottom: 30px;
        justify-content: center;
    }

    .hero-text h1 {
        font-family: "Gabriela", serif;
        font-size: 2.6rem;
    }

    .donation-box {
        max-width: 100%;
    }

    .donation-default-price {
        flex: 1 1 48%;
        text-align: center;
    }
}

/* 
    .story-nav {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transform: translateY(-50%);
      padding: 0 10px;
      z-index: 10;
      pointer-events: none;
    }

    .story-nav i {
      background: white;
      border: 1px solid #ccc;
      padding: 10px 14px;
      border-radius: 50%;
      font-size: 20px;
      cursor: pointer;
      pointer-events: auto;
      transition: 0.3s;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .story-nav i:hover {
      background: #f76c5e;
      color: #fff;
    } */