/* Reset default styles and ensure proper scrolling */
html,
body {
  margin: 0;
  padding: 0;
  width: auto;
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}


.oe_login_form .btn-primary {
    background-color: #c6f340 !important;
    border-color: #c6f340 !important;
    color: #000 !important; 
}


/* Main content wrapper */
.o_main_content {
  height: auto !important;
  min-height: 100vh;
  overflow: visible !important;
}

/* Ensure oe_structure has proper height */
.oe_structure {
  min-height: 100%;
  height: auto !important;
  overflow: visible !important;
}

/* Fix for Odoo website container */
.o_website_container {
  min-height: 100vh;
  height: auto !important;
  overflow: visible !important;
}

* {
  padding: 0;
  margin: 0;
}


.header--3 {
  font-weight: 700;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0px;
}

.header--4 {
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0px;
}

.paragraph {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0px;
}

.button_flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.secondary_btn {
  background-color: #7474801a;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
}

.margin-top {
  margin-top: 10px;
}

/* Logo */
.logo_box {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  gap: 10px;
}

.logo_img {
  width: 60px;
  height: auto;
}

.logo_text {
  font-weight: 600;
  font-size: 22px;
  font-weight: 700;
    color: black;
}

.small_logo_text {
  display: none;
}

body {
  font-family: "Inter", sans-serif;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 10;
  position: fixed;
}

.login-btn {
  background-color: #C7EA46;
  border-radius: 12px;
  padding: 10px 20px;
}

.mobile-login-btn {
  background-color: #C7EA46;
  border-radius: 12px;
  padding: 10px 20px;
}
.header_content {
  padding: 0.4rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8fce8;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.o_footer {
  background-color: white !important;
  color: black !important;
}

.desktop_nav {
  padding: 5px 10px;
  display: flex;
}

.desktop_ul {
  display: flex;
  gap: 0px;
  text-decoration: none;
}

.header .desktop_nav ul li,
a {
  text-decoration: none;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: black;
  padding: 8px 10px;
}

.header .desktop_nav ul li a:hover {
  background-color: #c7ea46;
}

.active-link:active {
  background-color: #c7ea46;
}

/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 15;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background-color: black;
  border-radius: 2px;
}

/* Mobile nav menu */
.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: #f8fce8;
  padding: 1rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.mobile-nav ul li {
  padding: 10px 0;
}

.mobile-nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  background-image: linear-gradient(to left,
  rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.8)),
  url("../img/hero.jpg");
  padding-top: 4rem;
    margin-bottom: 80px !important;
  background-size: cover;
  height: 500px;
  transform: translateY(35px);
  color: white;
  margin: 0 1rem;
}

.hero-section__content {
  transform: translateY(35px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.4rem 1rem;
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-section div h2 {
  font-weight: 700;
  font-size: 64px;
  width: 80%;
}

.hero-section div h3 {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0px;
}

.btn_container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.donate_btn {
  background-color: #c7ea46;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
}

.donate_btn:hover {
  opacity: 0.8;
}

.learn_more-btn {
  background-color: transparent;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  border: 1px solid #c7ea46;
  color: white;
  transition: all 0.2s;
}

.learn_more-btn:hover {
  opacity: 0.8;
}

.partnership-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;

  flex-wrap: wrap;
}

.statements-section {
  background-color: #f8fce8;
  margin-top: 2rem;
}

.statements-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1rem;
  display: flex;
  gap: 4rem;
}

.statements-content_h2 {
  font-weight: 700;
  font-size: 35px;
}

.statements-content_p {
  font-weight: 400;
  font-size: 16px;
  color: #787880;
  line-height: 150%;
}

.statements-content_h3 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.statements-content_first {
  flex: 70%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: start;
}

.statements-content_second {
  flex: 30%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.track-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.track-section_img {
  max-width: 400px;
}

.text-section_second {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.track_row {
  display: flex;
  /* gap: 3rem; */
}

.track_h4 {
  font-weight: 700;
  font-size: 40px;
}

.track_h5 {
  font-weight: 400;
  font-size: 16px;
  margin-top: 0.4rem;
}

.track_border {
  border-right: 1px solid black;
  width: 180px;
}

.track_border-n {
  padding-left: 3rem;
}

/* Gallery */
.gallery-section {
  background-color: #f8fce8;
  padding: 1rem;
}

.gallery-section_content {
  display: flex;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-section img {
  min-width: 300px;
  height: 300px;
  flex: 1;
}

/* Programs Section */
.programs_section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.programs_card-container {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.programs_card {
  background-color: #f8fce8;
  padding: 0.76rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  max-width: 600px;
}

.programs_card img {
  width: 100%;
}

.programs_card div {
  display: flex;
  margin-top: auto;
}

.action_section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3rem auto;

  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.0001)),
    url("../img/action-bg.png");
  padding: 2rem 1rem;
}

.action_section-container {
  max-width: 500px;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.action_section-container h3 {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
}

/* Footer Section */
.footer {
  max-width: 1100px;
    width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
}

.footer_up {
  display: flex;
  width: 100%;
  gap: 2.5rem;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid #80808042;
}

.footer_up_container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;


  width: 50%;
}

.footer_right_container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-left: auto;
}

.input_text {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 1px solid #80808042;
}

.footer_down {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
}

.footer_down a {
  color: #808080;
}

@media screen and (max-width: 800px) {
  .hamburger {
    display: flex;
  }

  .header nav {
    display: none;
  }

  .mobile-nav.show {
    display: flex;
  }

  .header {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-section div h2 {
    font-size: 30px;
  }

  .track-section {
    flex-direction: column;
    justify-content: center;
  }

  .gallery-section_content {
    flex-direction: column;
  }

  .statements-content {
    flex-direction: column;
  }

  .footer_up {
    flex-direction: column;
  }

  .footer_up_container {
    margin-left: 0;
    width: 100%;
  }

  .text-section_second {
    gap: 1rem;
  }

  .track-section_img {
    width: 100%;
  }

  .track_h4 {
    font-size: 25px;
  }

  .track_h5 {
    font-size: 14px;
  }

  .track_border {
    border-right: 1px solid black;
    width: 120px;
  }

  .track_border-n {
    padding-left: 1rem;
  }


  .gallery-section img {
    min-width: 100%;
    height: 300px;
    flex: 1;
  }

  .footer_down {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .action_section {
    padding: 2rem 1rem;
  }

  .action_section-container h3 {
    font-size: 25px;
  }

  .header--3 {
    font-size: 30px;
  }

  .hero-section {
    margin: 0rem;
  }

  .paragraph {
    font-size: 12px;
  }

  .programs_card {
    max-width: 100%;
  }

  .small_logo_text {
    display: inline;
  }

  .hide_on_mobile {
    display: none;
  }
}

/* Programs Page */
.news_section {
  display: flex;
  text-align: center;
  gap: 1rem;
  justify-content: center;
  flex-direction: column;
  padding: 4rem;
  max-width: 30rem;
  margin: 0 auto;
  background-color: #F8FCE8;
  border-radius: 100%;
  height: 30rem;
}

.program_section {
  margin-top: -10rem;
  background-color: #F2F2F7;
}

.program_section_container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 5rem;
  padding: 0 1rem;
  align-items: center;
}

.program_section_img {
  width: 100%;
  max-width: 300px;
  height: 100%;
}

.program_section_text {
  padding: 4rem 0rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

/* NewsLetter */

.newsletter_section {
  padding-top: 3rem;
}

.newsletter_section_container {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.newsletter_section_action {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.newsletter_section_social {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.newsletter_section_social a {
  padding: 2px 4px;
}

@media screen and (max-width: 500px) {
  .newsletter_section_container {
    flex-direction: column;
    gap: 2rem;

  }

  .footer_right_container {
    margin-left: 0;
  }
}

@media screen and (max-width: 800px) {
  .program_section_container {
    flex-direction: column;
  }
}


/* About US */
.about_section {
  display: flex;
  text-align: center;
  gap: 1rem;
  justify-content: center;
  flex-direction: column;
  padding: 2rem 1rem;
    max-width: 1100px;
  margin: 0 auto;
  margin-top: 120px;
}

.about_text {
  display: flex;
  gap: 3rem;
}

.about_left {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* gap: 3rem; */
  text-align: justify;
}

.about_right {
  flex: 1;
  text-align: justify;
}


/* Vision and Mission */
.vision_section {
  display: flex;
  text-align: lest;
  gap: 3rem;
  justify-content: center;
  padding: 2rem 1rem;
    max-width: 1100px;
  margin: 0 auto;
}

.inner {
  width: 62%;
}

.vision_text {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: 40%;
}

.vision_text h2 {
  font-weight: 700;
  font-size: 25px;
}

.vision_img {
  width: 60%;
}

.vision_img img {
  width: 100%;
  height: 100%;
}

.what_we_do_section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  gap: 5rem;
  align-items: center;
  /* flex-wrap: wrap; */
}

.what_we_do_text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.what_we_do_text h3 {
  margin-bottom: .8rem;
}

.corporate_section {
  background-color: #C7EA46;
}

.corporate_section_container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  }
  
  .corporate_section_container .paragraph {
    font-size: 24px;
}

.corporate_section_container .paragraph span {
  font-weight: 700;
}

.impact_section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.board_section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0rem 1rem 4rem 1rem;
  display: flex;
  gap: 2rem;
}

.board_left {
  text-align: justify;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #F8FCE8;
  padding: 2rem;
}

.board_right {
  text-align: justify;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #F8FCE8;
  padding: 2rem;
}

/* Board Members Section */
.board_members_section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.board_container {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  text-align: center;
}

.board_container>div {
  position: relative;

}

.board_container img {
  width: 6rem;
  height: 100%;
  border-radius: 500px;
}

.relative_container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}


.relative_top {
  margin-bottom: 10rem;
}

.service_section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service_text {
  display: flex;
  gap: 3rem;
}

.service_left,
.service_right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #F8FCE8;
  padding: 2rem;
}

.service_text_last {
  background-color: #F8FCE8;
  padding: 2rem;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  margin-top: 1rem;
}

@media screen and (max-width: 800px) {
  .about_text {
    flex-direction: column;
  }

  .vision_section {
    flex-direction: column;
    margin-top: 0;
    padding: 2rem 1rem;
  }

  .vision_text {
    width: 100%;
  }

  .vision_img {
    width: 100%;
  }

  .what_we_do_section {
    gap: .5rem;
  }

  .what_we_do_img {
    display: none;
  }

  .board_members_section {
    padding: 2rem 1rem;
    padding-bottom: 0;
  }

  .relative_container {
    margin-bottom: 2rem;
  }

  .board_section {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .service_text {
    flex-direction: column;
  }

  .service_text_last {
    padding: 2rem 1rem;
  }

  .about_section {
    height: auto;
    border-radius: 0;
    padding: 2rem 1rem;
  }

  .corporate_section_container {
    padding: 2rem 1rem;
  }

  .impact_section {
    padding: 2rem 1rem;
  }

  .board_left,
  .board_right {
    padding: 2rem 1rem;
  }

  .service_section {
    padding: 0 1rem;
  }
}

/* Programs Details */
.outer {
  margin: 0 auto;
  display: flex;
  margin-top: 5rem;
  max-width: 1100px;
  padding: 0 1rem;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 120px !important;
}

.member_image {
  float: left;
  margin-right: 10px;
}

.member_title {
  font-size: 20px;
    text-transform: capitalize;
}

.inner {
  padding: 0 1rem;
}

.first {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.second {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.last {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.coverimage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 2rem;

}

.para {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: justify;
}

.sidebar {
  width: 30%;
  margin-left: auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;

}

.same {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.multiple {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .outer {
    flex-direction: column;
    margin-top: 2rem;
    width: 100vw;
    justify-content: center;
    /* padding: 0rem 1rem; */
  }

  .inner {
    width: 100%;
    padding: 0;
  }

  .sidebar {
    width: 100%;
    margin-left: 0;
  }

  .same {
    gap: 1rem;
  }

  .first,
  .second {
    flex-direction: column;
    align-items: flex-start;
  }

  .last {
    margin-top: 1rem;

  }

  .program_title {
    margin-bottom: 1rem;
  }


}

.paragraph {
  font-size: 18px;
  text-align: justify;
}

.member_title {
  margin-bottom: 20px;
}


.same_member {
  display: flex;
  gap: 1rem;
  padding: 0rem;
}

.same_member img {
  width: 150px;
  height: 150px;
}

.sidebar {
  padding: 0rem;
  width: 35%;
}

.big_role {
  font-size: 20px;
  font-weight: 700;
  color: #403e3e;
}

.other_role {
  font-size: 14px;
  font-weight: 400;
  color: #403e3e;
}

.other_member_info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.same_member .social_links {
  margin-top: auto;
}

.same_member .social_links img {
  width: 30px;
  height: 30px;
}

.social_links a {
  padding: 2px 4px;
}

.program_title {
  font-size: 24px;
  font-weight: 600;
  color: #403e3e;
}

.recent_title {
  font-size: 14px;
  font-weight: 500;
  color: #403e3e;
}


.contact_us_container {
  max-width: 1100px;
  margin-top: 7rem !important;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Contact Us Section */
.contact_us_content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: stretch;
}

.contact_form_box {
  flex: 1 1 0;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.cdf_contact_form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cdf_contact_form input,
.cdf_contact_form textarea {
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.cdf_contact_form textarea {
  resize: none;
  min-height: 120px;
}

.contact_image_box {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.contact_image_box img {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 400px;
}

.side_bar_title {
  font-size: 24px;
}
.cdf_contact_form .cdf_name_row {
  display: flex;
  gap: 1rem;
}

@media screen and (max-width: 900px) {
  .contact_us_content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact_form_box,
  .contact_image_box {
    width: 100%;
  }

  .contact_image_box img {
    max-height: none;
    border-radius: 0;
    margin-top: 1rem;
  }

  .contact_form_box {
    padding: 0;
  }

  .cdf_contact_form .cdf_name_row {
    flex-direction: column;
    gap: 1rem;
  }
}

.cdf-media {
  display: flex !important;
  align-items: center;
  padding: 50px;
  position: relative;
  z-index: 2;
  gap: 40px;
}

.cdf-media .media-content {
  flex: 1;
  color: #2d3748;
}

.cdf-media .media-img {
  flex: 0 0 300px;
}

.cdf-media .media-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .cdf-media {
    flex-direction: column !important;
    padding: 24px !important;
    gap: 20px !important;
    align-items: stretch !important;
  }

  /* Ensure image is displayed first on mobile */
  .cdf-media .media-img {
    order: -1 !important;
    width: 100% !important;
    flex: 0 0 auto !important;
  }

  .cdf-media .media-img img {
    height: auto !important;
    max-height: 360px !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  .cdf-media .media-content {
    width: 100% !important;
  }

  /* Collapse programs grid to single column on small screens */
  .programs-grid {
    grid-template-columns: 1fr !important;
  }
}