@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body {
  font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    background-color: #FBF2EC;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-x:  hidden !important;
}

header.hero-section {
  position: relative;
  min-height: 90vh;
  background-image: url('img/image 1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-hero-section{
    background-image: url('img/image 2.png') !important;
}

header .hero-content {
  width: 90%;
  max-width: 90%;
  padding: 20px;
  z-index: 2;
}

header h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: bold;
  -webkit-text-fill-color: #F4E3D7;
  font-family: Roboto, sans-serif;
  line-height: 1.3;
  word-wrap: break-word;
}

header p {
  font-size: clamp(18px, 3.5vw, 28px);
  font-weight: normal;
  -webkit-text-fill-color: #F4E3D7;
  font-family: Roboto, sans-serif;
  line-height: 1.6;
}

.text-shadow {
  margin-top: 3em;
  font-size: clamp(16px, 3vw, 24px);
}

header.overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.home_btn{
  gap: 2em;
}

.hapiapps_link{
  text-decoration: none;
  color: white;
  font-weight: bold;
}


/* Navbar Container */

.custom-navbar-bg{
    background-color: #FBF2EC;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}
.custom-navbar-container{
    width: 100vw;
    display: flex;
    justify-content: center;
}
.custom-gap .nav-item {
    margin-right: 2em;
    white-space: nowrap;
}
.custom-gap .nav-item:hover{
    font-weight: bold;
}

.nav-link.active {
    color: #FFD166;
    font-weight: bold;
    /* border-bottom: 2px solid #FFD166; */
}

.support_btn{
    background-color: #FFD166;
    padding: 0.5em;
    border: none;
    color: black;
    border-radius: 0.5em;
    font-weight: bold;
    margin-left: 20px;
    white-space: nowrap;
}
/* Header (Home) */
.home-container{
    height: fit-content;
}
.text-shadow{
    margin-top: 3em;
    font-size: 0.5em;
}



/* ---------------------- FACILITIES SECTION ---------------------- */

/* Wrapper */
.facilities-container {
  width: 100%;
  max-width: 1500px;
  margin: auto;
  padding: 40px 20px;
  box-sizing: border-box;
  position: relative;
}

.facilities-container .swiper{
  width: 100%;
}

.facilities-container h2 {
  padding: 1em;
}

/* Swiper Container */
.facilitiesSwiper {
  padding: 0 40px;
}

.facilitiesSwiper .swiper-wrapper {
  padding-left: 250px;
}

.facilities_swiper{
  display: flex;
}

.facilitiesSwiper .swiper-slide {
  height: 23em;
  margin: 0;
  padding-left: 20px;
  transition: transform 0.3s ease-in-out;
  text-align: center;
  background-color: white;
  border-radius: 1em;
}

.facilitiesSwiper .swiper-slide:nth-child(even) {
  background-color: #FFF8F0;
}

.facilitiesSwiper .swiper-slide img {
  width: 3em;
  height: 3em;
  justify-self: center;
}

.swiper-slide.card:hover{
  background-color: #FFF8F0;
  cursor: pointer;
}

/* Card inside slide */
.facilities-container .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 20px;
  height: 20em;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 320px;
  margin: auto;
}

.card .icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.2rem;
  margin: 10px 0;
}

/* Navigation Buttons */
.facilitiesSwiper .swiper-button-prev,
.facilitiesSwiper .swiper-button-next {
  font-size: 0.1em;
  background-color: #C9805F;
  padding: 4.5em;
  border-radius: 5em;
  color: #fff !important;
  top: 45%;
}

.facilitiesSwiper .swiper-button-prev {
  left: 10px;
}

.facilitiesSwiper .swiper-button-next {
  right: 10px;
}

/* ---------------------- TESTIMONIAL SECTION ---------------------- */

.testimonials-section {
  margin-bottom: 4em;
  width: 100%;
  display: flex;
  justify-content: center;
}

.testimonial-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.testimonialSwiper {
  width: 100%;
  overflow: hidden;
}

.testimonialSwiper .swiper-wrapper {
  padding: 0 !important;
  margin: 0 !important;
}

.testimonialSwiper .swiper-slide {
  width: 100% !important;
  flex-shrink: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0;
  margin: 0;
}

.testimonial-card {
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 500px;
  overflow-y: auto;
}

.testimonial-card::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge: hide scrollbar */
}



/* Testimonial Content */
.testimonial-text {
  font-size: 18px;
  color: #555;
  font-style: italic;
  margin-bottom: 15px;
  padding: 1em;
  flex: 1;
}

.star-rating {
  font-size: 1.2rem;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 1em;
}

.testimonial-bottom-card {
  background: #F4F4F4;
  border-top: 2px solid #F4F4F4;
  border-radius: 0 0 12px 12px;
  padding: 1em;
  margin-top: 15px;
}

.testimonial-name {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.testimonial-role {
  font-size: 16px;
  color: #555;
}

/* Navigation Buttons */
.testimonialSwiper .swiper-button-next,
.testimonialSwiper .swiper-button-prev {
  font-size: 1em;
  background-color: #C9805F;
  padding: 1.5em;
  border-radius: 50%;
  color: #fff !important;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  position: absolute;
}

.testimonialSwiper .swiper-button-prev {
  left: 10px;
}

.testimonialSwiper .swiper-button-next {
  right: 10px;
}

.testimonial-container {
  --swiper-navigation-size: 25px;
}



/* ------------------------------------------------------------------------------------------- */

  /* Food Card */

  .circle-img {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff; /* Optional border for a clean look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .circle-img img {
    width: 50%;
    height: 50%;
    object-fit: cover;
  }

  .food_main_div{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin: 5em 0em;
  }
  .food_main_div h4{
    font-weight: bold;
  }
  .food_card1,.food_card2,.food_card3,.food_card4{
    width: 15em;
    height: 9em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
            0 1px 3px rgba(0, 0, 0, 0.08);
    display: grid;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 250px;
    padding: 60px 20px 20px;
    background: #fff;
    text-align: center;
    margin: 50px auto;
    overflow: visible;
  }
  .food_card1{
    background-color: #F4E3D7;
  }
  .food_card2{
    background-color: #A1D6A1;
  }
  .food_card3{
    background-color: #FFD166;
  }
  .food_card4{
    background-color: #AFEFFD;
  }

  .about-title {
    font-size: 4em;
    font-weight: bold;
    color: #333;
    font-family: Roboto;
    text-align: center;
    white-space: nowrap;
}

  .contact-section .about-title{
    text-align: center !important;
  }

  .contact-section .about-title span{
    color: #C9805F;
  }
  
/* Ensure text & buttons appears above the overlay */
.overlay .position-absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Button Styling */
.btn {
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
}

.btn:hover {
    opacity: 0.8;
}
.custom-know-more {
    background-color: #A1D6A1;
    color: black;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    padding: 1em;
    transition: 0.3s;
    margin: 1em;
}

.custom-know-more:hover {
    background-color: #8FCF8F;
    color: black;
}

.custom-donate-now {
    background-color: #FFD166;
    color: black;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
}

.custom-donate-now:hover {
    background-color: #FFC045;
    color: black;
}
.feature-container {
        margin-top: -70px; /* Header ku attach aagum */
        background-color: #FBF2EC;
        padding: 40px 20px;
        width: 100%;
}
.feature-card {
    background-color: white;
    padding: 30px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Icons */
.feature-card{
    display: grid;
    justify-content: center;
    padding-top: 4em;
}
.feature-card .icon img {
    width: 4em;
    height: 4em;
}
.icon {
    width: 100%;
    margin-bottom: 10px;
}

/* Headings */
.feature-card h3 {
    font-size: 25px;
    font-weight: bold;
    color: #232323;
    margin-top: 15px;
    font-family: Roboto;
}

/* Paragraphs */
.feature-card p {
    font-size: 16px;
    color: #666;
    font-family: Roboto;
    width: 20em;
}
/* About Us Section */
.about-section {
    background-color: #FBF2EC;
    
}

/* About Title */
.about-title {
    font-size: 4em;
    font-weight: bold;
    color: #333;
    font-family: Roboto;
    text-align: center;
}

.aboutUsTitle{
  text-align: left !important;
}

/* About Content Wrapper */
.about-content {
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    font-family: Roboto;
}

/* Image Box */
.about-image-box {
    width: 100%;
    position: relative;
    text-align: right;
    z-index: 1;
}

.about-image-box img {
    width: 100%;
    display: block;
}

/* Text Box */
.about-text-box {
    background-color: white;
    padding: 30px;
    width: 450%;
    height: 250px;
    position: relative;
    margin-top: 350px; /* ✅ Creates space below the image */
    left: 0;
    z-index: 2;
    font-size: 1.5em;
}
.view_more_style{
    text-decoration: none;
    color: #C9805F;
    font-weight: bold;
}

/* Moment Section */

.moments-section {
    padding: 50px 0;
  }
  
  .moments-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 2em 0em;
    flex-wrap: wrap;
  }
  
  .moments-left,
  .moments-right {
    flex: 1;
  }
  
  .moments-left img,
  .moments-row img {
    width: 100%;
    height: auto;
    display: block;
  }
  .moments-left img {
    width: 100%;
    height: 39em;
    object-fit: cover;
  }
  
  .moments-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .moments-row {
    display: flex;
    gap: 15px;
  }
  
  .moments-row img {
    width: 50%;
  }





/* Footer Section */

.footer_section{
    width: 100%;
    background-color: #3E2723;
    margin-top: auto;
}
.footer_container {
    width: 100%;
    display: grid;
    margin: 2em;
    gap: 2em;
    justify-content: center;
}
.about_section,.address_section{
    display: grid;
}
.address_section{
  width: fit-content !important;
  justify-self: center !important;
}
.about_section h2,.address_section h2{
    text-align: left;
    color: white;
}
.about_section p{
    color: white;
    width: 20em;
}
.mobileno_div,.phoneno_div,.email_div,.address_div{
    display: flex;
    gap: 2em;
}
.mobileno_div p,.phoneno_div p,.email_div p,.address_div p{
    color: white !important;
    text-decoration: none !important;
}
.phoneno p a {
  text-decoration: none !important;  /* Remove underline */
  color: white !important;           /* Change link color */
  cursor: pointer;        /* Show pointer cursor */
}

.phoneno a[href^="tel"] {
  color: white !important;
  text-decoration: none !important;
}

.phone-link {
  color: white !important;
  text-decoration: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent; /* optional */
  background-color: black !important;
  link-style: none !important;
}

.mobileno,.phoneno,.email,address{
    display: flex;
    gap: 1em;
}
.address_div p{
    width: 20em;
}
.copy_right_div{
    height : 2em;
    background-color: #5D4037;
    padding-left: 6em;
    display: flex;
    justify-content: left;
    align-items: center;
}
.copy_right_div p{
    color: white;
    font-size: 0.8em;
    margin: 1em;
}


/* About Page styles */

.story-container{
  width: 100%;
  margin: auto;
  display: grid;
  justify-content: center;
}

.story-container h1{
  text-align: center;
  font-weight: bold;
  padding: 1em;
}

.story_div{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  justify-content: center;
  gap: 6em;
  margin: 2em;
}
.story_text_section {
  width: 30em;
  margin: 0 auto;
}

.story_text_section p {
  text-align: justify;
  font-size: 1em;
  line-height: 1.6;
  hyphens: auto;
  word-spacing: 0.05em;
}
.collage-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px; /* base row height */
  grid-gap: 10px;
  width: 30em;
  margin: auto;
}

.collage-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Specific spans to make 2nd and 3rd images taller */
.item-1 { grid-row: span 1; }
.item-2 { grid-row: span 2; } /* taller image */
.item-3 { grid-row: span 2; } /* taller image */
.item-4 { grid-row: span 1; }

/* Mission section */

.mission-section {
  width: 100%;
  position: relative;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: white;
}

.mission-section::before {
  width: 100vw;
  content: '';
  background: url('img/mission_bg.png') no-repeat center center;
  background-size: cover;
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.mission-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.mission-row {
  display: flex;
  justify-content: flex-start;
  margin: 0.9em auto;
  width: 100%;
  max-width: 1000px;
  position: relative;
}

.mission-row.right {
  justify-content: flex-end;
}

.mission-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
}

.mission-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #c9805f;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.mission-card {
  background: #FBF2EC;
  padding: 23px 20px;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s;
  text-align: left;
}

.mission-card:hover {
  transform: translateY(-5px);
}

.mission-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #4e3f3f;
  text-align: center;
}

.mission-text {
  font-size: 0.9em;
  line-height: 1.4;
  color: #5D4037;
}

/* founder-Section */

.founder-section {
  background-color: #fbf2ec;
  padding: 80px 20px;
}
.founder-section h2{
  font-size: 2.5em;
  text-align: center;
}

.founder-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.founder-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  flex: 1;
  min-width: 250px;
}

.founder-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.founder-images img:nth-child(1){
  margin-left: -3em;
}
.founder-images img:nth-child(2){
  margin-left: 4em;
}

.founder-content {
  flex: 2;
  min-width: 300px;
}

.founder-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #3e2b2b;
}

.founder-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #5e4a4a;
  text-align: justify;
}



/* Choose Us Card */

.choose-img {
  position: absolute;
  top: -40px; /* Half out */
  left: 30%;
  transform: translateX(-50%);
  width: 4em;
  height: 4em;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  background-color: #F4E3D7;
  display: flex;
  justify-content: center;
  align-items: center;
}

.choose-img img {
  width: 40%;
  height: 40%;
  object-fit: contain;
}

.choose_main_div{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1em;
  margin: 5em 0em;
}
.choose_card1,.choose_card2,.choose_card3,.choose_card4{
  width: 14em !important;
  height: 13em;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
          0 1px 3px rgba(0, 0, 0, 0.08);
  display: grid;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 250px;
  padding: 60px 20px 20px;
  background: #fff;
  text-align: center;
  margin: 50px auto;
  overflow: visible;
}

.choose_main_div h5{
  font-size: 1em;
}

/* Call Us Section */

.call-us-section{
  width: 100%;
  background-color: white;
  text-align: center;
  padding: 2em;
}
.call-us-section .container h1{
  padding: 1em;
  font-size: 3.5em;
}

.call-us-section .container h2{
  text-align: center;
  padding: 1em;
  font-size: 2.5em;
}

/*About Section*/
/* Container for About Section */
.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* align top */
  gap: 50px;
  max-width: 1200px;
  margin:1em auto;
  flex-wrap: wrap; /* allow stacking on smaller screens */
}

/* LEFT COLUMN: content */
.about-content {
  flex: 1 1 600px; /* take remaining space but max 600px */
  max-width: 550px;
  width: 100%;
}

/* Paragraphs */
.about-content p {
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: justify;
  font-size: 1rem;
}

/* Bullet points */
.about-content ul {
  margin: 15px 0 25px 20px; /* more spacing below bullets */
  padding-left: 20px;
  list-style-type: disc;
}

.about-content ul li {
  margin-bottom: 10px;
}

/* RIGHT COLUMN: images */
.about-images {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.image-grid img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.05);
}





/* Contact Section */
.contact-section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin: 30px 0em;
  color: #333;
  text-align: center !important;
}
.contact-section-title span {
  color: #C9805F;
}

.contact_container {
  display: flex;
  /* flex-direction: column; */
  gap: 2em;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 1em;
}

.contact_text_container {
  width: 100%;
  max-width: 800px;
}

.contact_text_container p {
  margin-top: 1em;
  font-size: 1.2em;
  text-align: justify;
}

.contact_form_container {
  width: 100%;
  max-width: 600px;
}


/* Form Section */
.form_style {
  margin: 0 auto;
  margin-bottom: 50px;
  margin-top: 30px;
  text-align: left;
}

.name_label,
.email_label,
.phone_label,
.message_label {
  display: block;
  color: #575757;
  font-size: 0.9em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.name_input,
.email_input,
.phone_input,
.message_input {
  padding: 1em;
  background-color: transparent;
  border: 1px solid black;
  width: 100%;
  margin-bottom: 1em;
  box-sizing: border-box;
}

.email_input,
.phone_input{
  width: 100%;
}

.mob_email_input {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.mob_email_input .form-group{
  width: 100%;
}

.submit_btn_div {
  text-align: right;
  margin-top: 1em;
}

.form_btnstyle {
  background-color: #C9805F;
  border: none;
  border-radius: 1em;
  padding: 1em 2em;
  font-family: 'Lato', sans-serif;
  font-size: 1em;
  margin-top: 20px;
  color: white;
  cursor: pointer;
}

.form_btnstyle:hover {
  background-color: #FFD166;
  color: black;
}

.error {
  color: var(--error-color, red);
  font-size: small;
}

.form-group.error input,
.form-group.success input {
  border-color: var(--error-color, red);
}

.alert_style {
  margin-top: 30px;
  opacity: 0;
  transition: opacity 1s ease-out;
}


/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


input:focus,
select:focus,
textarea:focus {
    border: 2px solid #FFD166 !important;
    outline: none;
    box-shadow: 0 0 3px #FFD166 !important;
}


