/* General */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fdf1dc;
  overflow-x: hidden;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

h1, h2, .section3-heading {
  font-size: 2rem;
}

.navbar,
.section1 .container,
.section2 .container,
.section3 .container {
  max-width: 80vw;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Navbar */
.custom-navbar-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1030;
  display: flex;
  justify-content: center;
  pointer-events: none;
  
}

.navbar {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  padding: 10px 20px;
  background-color:#FFFBF4;
}
.navbar-logo {
  height: 80px;
  width: auto;
}

.nav-link {
  color: #3b2f2f !important;
  font-family: 'Jost';
  font-weight: 500;
  margin-left: 1rem;
  font-size:1.3rem;
  margin: 0 1.5rem;
}

/* Section 1 */
.section1 {
  padding-top: 160px;
  padding-bottom: 60px;
  text-align: center;
  background: url('../assets/section1_bg.png') no-repeat center center;
  background-size: cover;
  position: relative;
  color: #fff;
}

.section1-text {
  text-align: center !important;
}

.section1-title {
  font-family: 'Spicy Rice';
  font-size: 4rem;
  color: #37281C;
  font-weight: 400;
}

.section1-subtitle {
  font-family: 'Jost';
  font-size: 1.5rem;
  margin-top: 1rem;
  color: #37281C;
  font-weight: 500;
}

.section1-btn {
  background-color: #504134;
  font-size:1.3rem;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  border: none;
  font-family: 'Jost';
  font-weight: 500;
  width:300px;
}

.section1-images {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  overflow: visible;
  padding-bottom: 120px;
}

.section1-img {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  object-fit: cover;
  max-width: 48%;
  height: auto;
  margin: 0; 
}


.section1-images img:first-child {
  transform: translateY(50px);
}

.section1-images img:last-child {
  transform: translateY(-50px);
}

/* Section 2 */
.section2 {
  padding: 100px 0;
  background-color: #fff;
  color: #3b2f2f;
}

.section2-heading {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.section2-description {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  max-width: 95%;
  margin: 0 auto;
}

.section2-slider {
  text-align: center;
}

.swiper {
	width: 50%;
	height: 50%;
  }

  .swiper-slide {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: bold;
	color: black;
	margin: auto;
	text-align: center;
    filter: drop-shadow(0px 3px 5px rgb(24, 24, 24));
  }

  .swiper-slide-next{
	transform: translate3d(calc(1.25% - auto), 0px, -20px) rotateZ(2deg) scale(1)!important; 
  }

  .swiper-slide-prev{
	transform: translate3d(calc(-7.25% + auto), 0px, -20px) rotateZ(-2deg) scale(1) !important; 
  }
  .swiper-slide img{
	width:50%;
	border-radius: 10px;
  }

  .swiper-slide-shadow{
	opacity: 0 !important;
  }

  .swiper-slide-next p{
	opacity: 0;
  }

  .swiper-slide-prev p{
	opacity: 0;
  }

  .swiper-slide:nth-child(1n) {
	background-color: transparent;
  }

  .swiper-slide:nth-child(2n) {
	background-color: transparent;
  }

.section2-text {
  position: relative;
  height: auto;
  overflow: hidden;
  max-width: 600px;
  font-family: 'Jost';
  font-size: 1.4rem;
  color: #37281C;
  font-weight: 500;
}

.text-slide {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.text-slide.active {
  opacity: 1;
  position: relative;
}

/* Section 3 */
.section3-heading {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

#section3-title {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 2.5rem;
  text-align: center;
}

#section3-desc {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 2rem;
  text-align: center;
}

.section3-subheading{
  padding: 20px 0px;
}

.section3 {
  padding: 100px 0;
  text-align: center;
  background: url('../assets/section1_bg.png') no-repeat center center;
  background-size: cover;
  position: relative;
  color: #37281C;
}


.section3-icons {
  justify-content: center !important;
  gap: 5rem;
}

.section3-icons > div {
  max-width: 180px;
  flex-grow: 1;
  text-align: center;
  padding: 0;
  margin: 0;
}

.section3-icons .icon-btn {
  align-items: center;
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin: 0;
  padding: 0;
}

.icon-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: contain;
  display: block;
  margin: 0 auto;

}

.icon-btn:hover .icon-img,
.icon-btn.active .icon-img {
  transform: translateY(-10px);
}


.icon-label {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 500;
  font-family: 'Jost', sans-serif;
  color: #37281C;
  font-size: 1.5rem;
  position: relative;
  white-space: nowrap;
}

.icon-label::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: #3b2f2f;
  transition: width 0.3s ease;
}

.icon-btn:hover .icon-label::after,
.icon-btn.active .icon-label::after {
  width: 100%;
}

.fade {
  animation: fadeIn 0.4s ease-in-out;
}


/* Section 4 */
.section4 {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
  color: #37281C;
  font-family: 'Jost', sans-serif;
}

.section4-heading {
  font-family: 'Jost';
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 40px;
}

.help-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: nowrap;
  max-width: 1200px; 
  margin: 0 auto 40px;
}

.help-card {
  background-color: #f9f0d9;
  border-radius: 10px;
  padding: 25px 20px;
  width: 350px;
  box-shadow: 
    inset 0px -2.67px 7.75px rgba(152, 100, 72, 0.4),  /* inner shadow */
    0px 4px 10px rgba(0, 0, 0, 0.1);    
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.help-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    inset 0px -2.67px 7.75px rgba(152, 100, 72, 0.4),  /* inner shadow */
    0px 4px 10px rgba(0, 0, 0, 0.1);    
}

.help-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
}

.help-card p {
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.3;
  color: #37281C;
  white-space: pre-line;
}

.section4-footer-text {
  font-family: 'Spicy Rice', cursive;
  font-weight: 400;
  font-size: 2.5rem;
  color: #37281C;
}

/* Footer */
.footer {
  background-color: #fdf1dc;
  padding: 1.5rem 0;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: #3b2f2f;
}

.footer-container {
  max-width: auto;
  margin: 0 auto;
  width: 80vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-contact div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(30%);
}

.footer-copyright {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: #3b2f2f;
  font-family: 'Jost', sans-serif;
}



@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 1080px) {
  .section1-title {
    font-size:3rem;
  }
}

@media (max-width: 768px) {
  html { font-size: 18px; }
  h1, h2 { font-size: 2.5rem; }

  .section1-images {
    flex-direction: row !important;
  }


  .section1-title {
    font-size: 2rem;
  }

  .section1 .row {
    display: flex;
    flex-direction: column-reverse;
  }
  .section1-text {
    order: 2;
  }
  .section1-images {
    order: 1;
  }

  .section1 .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
  }



  .section2 .container {
    max-width: 95vw;
    padding: 0 1rem;
  }

  .section2-text {
    margin-top: 1.5rem;
    max-width: 100% !important;
    width: 100% !important;
    text-align: left;
  }

  .section2-description {
    margin-top: 1.5rem;
    max-width: 100%;
  }

  .section2 .container .row {
    display: flex;
    flex-direction: column;
  }

  .swiper-slide img {
    width: 100%;
  }

  .icon-img {
  width: 120px !important;
  height: 120px !important;
}

  .section3-subheading p {
    font-size: 0.95rem;
  }

  .section3-icons {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 2rem !important;
  margin: 0 auto !important;
  width: 100% !important;
  text-align: center !important;
}

.section3-icons > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
}

.section3-subheading,
.section3-heading {
  text-align: center !important;
}


  .help-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 90vw;
  }
  
  .help-card {
    width: 100%;
  }

  .footer-contact {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .custom-navbar-wrapper {
    position: fixed !important;
    top: 0 !important; /* No space at the top */
    left: 0 !important; /* No space at the left */
    right: 0 !important; /* No space at the right */
    z-index: 1030 !important;
    pointer-events: none !important;
    display: flex !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    margin-top: 0 !important; /* Remove any top margin */
    padding: 0 !important; /* Remove any padding */
  }

  .navbar {
    pointer-events: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 16px !important;
    background-color: #FFFBF4;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    box-sizing: border-box;
    border-radius: 0 !important; /* Remove border-radius */
  }

  .nav-link {
    font-size: 1rem !important;
    margin: 0 0.25rem !important;
    white-space: nowrap !important;
    flex-shrink: 1 !important;
  }

  .navbar-logo {
    max-height: 80px !important;
    width: auto !important;
    flex-shrink: 1 !important;
  }
}

@media (max-width: 550px) {
.custom-navbar-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    pointer-events: none !important;
    display: flex !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }

  .navbar {
    pointer-events: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 16px !important;
    background-color: #FFFBF4;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    box-sizing: border-box;
  }

  .nav-link {
    font-size: 1rem !important;
    margin: 0 0.25rem !important;
    white-space: nowrap !important;
    flex-shrink: 1 !important;
  }

  .navbar-logo {
    max-height: 80px !important;
    width: auto !important;
    flex-shrink: 1 !important;
  }

  .menu-button, .menu-toggle, .hamburger {
    font-size: 1.8rem !important;
    cursor: pointer !important;
  }

  .section2-text {
    font-size:1.2rem;
  }

  /* Make sure no element takes full width forcing stacking */
  header > *, nav > *, .navbar > * {
    flex-shrink: 0 !important;
  }
  

  .icon-label {
    white-space: normal !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    max-width: 100px !important;
    line-height: 1.2 !important;
  }

  .section3-icons {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 0 1rem !important;
    gap: 2rem !important;
  }

  .section3-icons > div {
    max-width: 100px !important;
  }

  .icon-img {
    width: 120px !important;
    height: 120px !important;
  }

  #section3-desc {
    font-size:1.3rem;
  }
  .swiper {
	width: 80%;
	height: 80%;
  }

  .section4-footer-text {
    font-size:1.5rem;
  }

}

@media (max-width: 425px) {
  .custom-navbar-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 !important;
    border-radius: 0px !important;
  }

  .navbar {
    pointer-events: auto !important;
    width: 100% !important;
    padding: 10px 16px !important;
  }

  .navbar-logo {
    max-height: 60px !important;
  }
}

@media (max-width: 375px) {
  .navbar-logo {
    max-height: 50px !important;
  }

  .navbar {
    padding: 6px 12px !important;
  }

  .nav-link {
    font-size: 1.1rem !important;
    margin: 0 0.5rem !important;
  }

  .icon-img {
    width: 90px !important;
    height: 90px !important;
  }
}

@media (max-width: 320px) {
  .navbar-logo {
    max-height: 40px !important;
  }

  .navbar {
    padding: 4px 10px !important;
  }
  
  .nav-link {
    font-size: 1rem !important;
    margin: 0 0.3rem !important;
  }

}

