/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}
html {
    scroll-behavior: smooth;
}

/* Font Setup */
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* Global Styles */
body {
  font-family: 'Outfit', sans-serif;
  background: #f4f7f0;
  color: #5A6A3F;
  max-width: 1400px;
  margin: 0 auto; /* centers content horizontally */
}

/* --- Main Header Box --- */
.header {
  position: fixed;
  top: 20px; /* add a small gap from top for nice floating look */
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  background: #fffff0;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

/* --- Inner Navigation --- */
.headerNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
}

/* --- All ULs --- */
.headerNav ul {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --- Logo Section (Left) --- */
.logoContainer img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
}

/* --- Center Navigation Links --- */
.centerHeader a {
  text-decoration: none;
  color:  #5A6A3F;
  font-weight: 600;
  transition: color 0.3s ease;
    font-size: 19px;
}

.centerHeader a:hover {
  text-decoration: underline;
}

/* --- Right Header (Buttons/Links) --- */
.rightHeader a {
  text-decoration: none;
  background: #5A6A3F;
  color: white;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px; /* optional spacing between icon and text */
}

/* Only target the <i> element for before/after animation */
.rightHeader a{
  position: relative;
}

.rightHeader a::after,
.rightHeader a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #5A6A3F, #dae5c5);
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.rightHeader a::before {
  top: -5px;
  transform-origin: left;
}

.rightHeader a::after {
  bottom: -5px;
}

.rightHeader a:hover{
  background: none;
  color: #5A6A3F;
  font-size: 19px;
}
.rightHeader a:hover::after,
.rightHeader a:hover::before {
  transform: scaleX(1);
}



/* Hide mobile header by default */
.mobileHeader {
    display: none;
}

/* Hamburger styling */
.hamburger {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin: 20px;
    z-index: 1100;
}

.hamburger span {
    height: 4px;
    background: #5A6A3F;
    border-radius: 2px;
}

/* Sidebar styling */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* hidden by default */
    width: 250px;
    height: 100%;
    background: #f4f7f0;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
    transition: left 0.3s ease;
    z-index: 1200;
    padding: 50px 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 20px 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: #5A6A3F;
    font-weight: 600;
    font-size: 18px;
}

.closeBtn {
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}


/*home page styles*/
.homeBannerContainer{
    height: 90vh;
    padding: 0 20px;
    display: flex;
    align-items: center;
}
.logoDisplayContainer{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logoDisplayContainer img{
  width: 150px;
}
.logoDisplayContainer h3{
  margin-top: 15px;
  font-size: 45px;
  font-weight: 700;
}
.logoDisplayContainer p{
  margin-top: 25px;
  font-size: 21px;
  width: 70%;
  text-align: center;
}
.logoDisplayContainer a{
  margin-top: 25px;
  padding: 10px;
  background: #5A6A3F;
  border-radius: 15px;
 color: #fff;
 font-weight: 600;
}




.homeAboutUsContainer{
  padding: 0 20px;
}
.homeAboutUsContainer .aboutUsWrapper{
  display: flex;
  justify-content: space-between;
}

.aboutUsWrapper .leftOfAboutUs{
  width: 45%;
  display: flex;
  justify-content: center;
}
.aboutUsWrapper .leftOfAboutUs img{
  width: 350px;
}

.aboutUsWrapper .rightOfAboutUs{
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.aboutUsWrapper .rightOfAboutUs img{
  width: 30px;
  margin-right: 50px;
}
.aboutUsWrapper .rightOfAboutUs p{
  font-size: 19px;
  margin-top: 35px;
}
.aboutUsWrapper .rightOfAboutUs h5{
  font-size: 25px;
  font-weight: 600;
  margin-top: 20px;
}

.homeAboutUsContainerSecond{
  padding: 0 20px;
  margin-top: 50px;
}
.homeAboutUsContainerSecond .aboutUsWrapperSecond{
  display: flex;
  justify-content: space-between;
}

.aboutUsWrapperSecond .leftOfAboutUsSecond{
  width: 45%;
  display: flex;
  justify-content: center;
}
.aboutUsWrapperSecond .leftOfAboutUsSecond img{
  width: 350px;
}

.aboutUsWrapperSecond .rightOfAboutUsSecond{
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.aboutUsWrapperSecond .rightOfAboutUsSecond img{
  width: 30px;
  margin-right: 50px;
}
.aboutUsWrapperSecond .rightOfAboutUsSecond p{
  font-size: 19px;
  margin-top: 35px;
}
.aboutUsWrapperSecond .rightOfAboutUsSecond  h5{
  font-size: 25px;
  font-weight: 600;
  margin-top: 20px;
}


/* Programs Section */
.homeProgramContainer {
  padding: 60px 20px;
  background: #fafafa;
  text-align: center;
}

.homeProgramContainer h4 {
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin-bottom: 40px;
}

/* Grid Wrapper */
.programWrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Program Box */
.programWrapper .box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.programWrapper .box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Image */
.programWrapper .imageWrapper {
  width: 100%;
  height: 180px;
   display: block;
  overflow: hidden;
  position: relative;
}


.programWrapper .imageWrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.viewDetailsBtn {
  position: absolute;
  top: 12px;
  left: 80%;
  transform: translateX(-50%);
  background: #5a6a3f;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: opacity .3s ease, transform .3s ease;
}

.imageWrapper:hover .viewDetailsBtn {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.box img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Details */
.programWrapper .detailWrapper {
  padding: 16px 18px 24px;
}

.programWrapper .detailWrapper p:first-child {
  font-weight: 600;
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
}

.programWrapper .detailWrapper p:last-child {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}



.homeFooterContainer{
  background: #5A6A3F;
  color: #f4f7f0;
  padding:20px;
  margin-top: 30px;
}
.homeFooterContainer .footerWrapper{
  display: flex;
  justify-content: space-between;
  padding: 30px;
}
.footerLeft span{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}
.footerLeft .footerLeftTop{
  gap: 10px;
}
.footerLeftTop .footerLogoContainer{
  background: #f4f7f0;
  border-radius: 50%;
  margin-top: 0;
}
.footerLeftTop img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.footerLeftCenter{
  display: flex;
  gap: 30px;
}
.smContainer {
  background: #f4f7f0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.smContainer img {
  width: 30px;
  height: 30px;
}

.smContainer .footerYoutube{
  height: auto;
}
.smContainer:hover {
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.contactUsForm{
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.contactUsForm h4{
  font-size: 31px;
}
.contactUsForm .form-control{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contactUsForm .form-control input{
  width: 70%;
  background: none;
  border:none;
  outline: none;
  color: #f4f7f0;
  border-bottom: 2px solid #f4f7f0;
}
.contactUsForm button{
  background: #f4f7f0;
  color: #5A6A3F;
  width: 100%;
  padding: 10px 0;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}
.contactUsForm button:hover{
   transform: scale(1.05); /* Slightly enlarge */
      box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Add shadow */
}

/* Floating button */
#howToJoinBtn {
  position: fixed;
  bottom: 22px;
  right: 22px;
padding: 10px;
color: #fff;
  background: #5a6a3f;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  z-index: 2000;
}

/* Modal */
#howToJoinModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.modalContent {
  width: 90%;
  max-width: 420px;
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
  position: relative;
}

#closeHowToJoin {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 26px;
  cursor: pointer;
}

.modalContent h3 {
  margin-bottom: 14px;
  font-size: 20px;
  color: #333;
}

.roadmap p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.5;
  color: #555;
}


@media (max-width: 1025px) {
  .homeBannerContainer{
    height: 50vh;
  }
}


@media (max-width: 900px) {
  .header {
        display: none;
    }

    .mobileHeader {
        display: block;
    }

    .homeBannerContainer{
      height: auto;
    }
  .logoDisplayContainer h3{
    font-size: 25px;
    text-align: center;
  }
  .logoDisplayContainer p{
    width: 100%;
  }
  .homeAboutUsContainer{
    margin-top: 50px;
  }
  .aboutUsWrapper .rightOfAboutUs h5{
    text-align: center;
  }
  .aboutUsWrapper .rightOfAboutUs p{
    text-align: center;
  }
  .aboutUsWrapper .leftOfAboutUs img {
    width: 250px;
  }
.aboutUsWrapper .rightOfAboutUs {
    width: 100%;
  }
  .homeAboutUsContainer .aboutUsWrapper{
    flex-direction: column;
    align-items: center;
  }
    .programWrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }
  .programWrapper .detailWrapper {
    padding: 8px 5px;
  }

  .homeProgramContainer h4 {
    font-size: 24px;
  }
  .homeFooterContainer .footerWrapper{
    flex-direction: column-reverse;
    padding: 10px;
  }
  .footerLeft{
    margin-top: 15px;
  }
  .contactUsForm{
    width: 100%;
  }
}