body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

:root {
  --primary-color: #4CAF50;
  --secondary-color: #173630;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #EDFFF0;
  padding: 15px 30px;
}

.logo img {
  height: 70px;
  width: 120px;
  margin-left: 30px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--primary-color);
}

.nav-links li:last-child a {
  background-color: var(--secondary-color);
  color: white;
  padding: 8px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.nav-links li:last-child a:hover {
  background-color: var(--primary-color);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background-color: var(--primary-color);
  list-style: none;
  padding: 1px 0;
  min-width: 150px;
  border-radius: 5px;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  color: white;
}

.dropdown-menu li a:hover {
  background-color: var(--secondary-color);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* section 1 */
.section-1 {
  background-image: url('assets/hmebg.jpg');
  color: #ffffff;
  text-align: center;
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: overlay;
}

.section-1 h1 {
  margin: 0;
  line-height: 100px;
  font-size: 90px;
}

/* section-2 */
.section-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 100px;
  gap: 50px;
  background-color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
}

.sec-2-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 70px;
  text-align: center;
}

.sec-2-left-up h1 {
  font-size: 35px;
  font-weight: 700;
  color: #173630;
  margin: 0;
}

.sec-2-left-down h5 {
  color: #4CAF50;
  font-weight: 500;
  margin: 0;
}

.sec-2-left-down h2 {
  font-size: 40px;
  color: #021936;
  margin-bottom: 20px;
}

.sec-2-left-down p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* Right side */
.sec-2-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 30px;
}

.sec-2-right-up p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.sec-2-right-down img {
  width: 80%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.sec-2-right-down {
  text-align: center;
}

/* section-3 */
.section-3 {
  padding: 80px 100px;
  background-color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
  color: #021936;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  justify-content: flex-start;
}

.section-3 h5 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 30px;
  margin: 0;
}

.section-3 h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 0;
}

.section-3 p {
  width: 70%;
  text-align: center;
  line-height: 1.8;
  font-size: 18px;
  margin: 0 auto;
  color: #333;
}

.section-4 {
  background-image: url('assets/hmbg2.jpg');
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: overlay;
  margin: 10px 200px;
  border-radius: 10px;
}

.section-4 h1 {
  margin: 0;
  font-size: 100px;
  text-align: center;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f5f5f5;
}

/* section-5 */
.section-5 {
  position: relative;
  background-image: url('assets/hmebg3.jpeg');
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: overlay;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  text-align: center;
  color: #f5f5f5;
  margin-top: 90px;
}

.section-5 h5 {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 10px;
}

.section-5 h2 {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-5 p {
  margin: 0 auto;
  font-size: 20px;
  max-width: 1000px;
  line-height: 1.8;
}

/* section-6 */
.section-6 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  padding: 80px 100px;
  background-color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
  color: #021936;
}

.sec-6-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sec-6-left h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.sec-6-left p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.sec-6-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sec-6-right h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.sec-6-right p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.sec-6-right a {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 5px;
  margin-top: 10px;
  transition: background-color 0.3s;
  width: 80px;
}

.sec-6-right a:hover {
  background-color: var(--secondary-color);
}

/* footer */
.footer {
  background-color: var(--secondary-color);
  /* dark green */
  color: #ffffff;
  padding: 60px 30px 30px 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-section {
  flex: 1;
  min-width: 220px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-section p {
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--primary-color)
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 0.9rem;
  display: flex;
  text-decoration: none;
  justify-content: center;
}
.betterworld {
  font-size: 90px;
  line-height: 100px;
  color: #f5f5f5;
  text-align: center;
  font-weight: 700;
  margin-top: 100px;
  padding-top: 120px;
  
}

.h1-size {
      font-size: 90px;
      line-height: 100px;
    }

    .h2-size {
      font-size: 60px;
      line-height: 1.2;
    }

    .h3-size {
      font-size: 40px;
    }

    .h4-size {
      font-size: 30px;
    }

    .h5-size {
      font-size: 22px;
    }

    .h6-size {
      font-size: 18px;
    }
/* ========== MEDIA QUERIES ========== */

/* Tablets and small laptops (1024px and below) */
@media (max-width: 1024px) {
  /* Section 1 */
  .section-1 {
    min-height: 60vh;
    background-size: cover;
    background-position: center center;
    width: 100%;
  }
  .section-1 h1 {
    font-size: 60px;
    line-height: 1.2;
    padding: 0 20px;
  }

  /* Section 4 */
  .section-4 {
    min-height: 60vh;
    margin: 20px 100px;
    background-size: cover;
    background-position: center center;
    width: calc(100% - 200px);
    border-radius: 10px;
  }
  .section-4 h1 {
    font-size: 60px;
  }

  /* Section 5 */
  .section-5 {
    min-height: 60vh;
    background-size: cover;
    background-position: center center;
    width: 100%;
    margin-top: 60px;
    padding: 50px 0;
  }
  .section-5 h2 {
    font-size: 40px;
  }
  .section-5 p {
    font-size: 18px;
    max-width: 90%;
    margin: 0 auto;
  }
}

/* Mobile devices (768px and below) */
@media (max-width: 768px) {
  /* Navbar adjustments */
  .navbar {
    flex-direction: row;
    align-items: flex-start;
    padding: 15px 20px 15px 0;
    position: relative;
  }
  .navbar .logo{
    width: 20px;
    height: auto;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
    display: none;
    width: 100%;
    background-color: #EDFFF0;
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    box-sizing: border-box;
  }
  .nav-links.show {
    display: flex;
  }
  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 24px;
    background: none;
    border: none;
    margin-left: auto;
    color: var(--secondary-color);
  }

  /* Section 1 */
  .section-1 {
    min-height: 50vh;
    background-size: cover;
    background-position: center center;
    width: 100%;
  }
  .section-1 h1 {
    font-size: 40px;
    line-height: 1.1;
    padding: 0 15px;
  }

  /* Section 2 */
  .section-2 {
    flex-direction: column;
    padding: 50px 30px;
    gap: 40px;
  }
  .sec-2-left h1 {
    font-size: 28px;
  }
  .sec-2-left-down h2 {
    font-size: 30px;
  }
  .sec-2-left-down p,
  .sec-2-right-up p {
    font-size: 16px;
  }
  .sec-2-right-down img {
    width: 100%;
    height: auto;
  }

  /* Section 3 */
  .section-3 {
    padding: 50px 30px;
  }
  .section-3 h1 {
    font-size: 30px;
  }
  .section-3 h5 {
    font-size: 22px;
  }
  .section-3 p {
    width: 90%;
    font-size: 16px;
  }

  /* Section 4 */
  .section-4 {
    min-height: 50vh;
    margin: 20px 30px;
    width: calc(100% - 60px);
    background-size: cover;
    background-position: center center;
  }
  .section-4 h1 {
    font-size: 40px;
    padding: 0 15px;
  }

  /* Section 5 */
  .section-5 {
    min-height: 50vh;
    padding: 40px 0;
    margin-top: 50px;
    width: 100%;
    background-size: cover;
    background-position: center center;
  }
  .section-5 h2 {
    font-size: 30px;
  }
  .section-5 p {
    font-size: 16px;
    max-width: 90%;
  }

  /* Section 6 */
  .section-6 {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }
  .sec-6-left h1 {
    font-size: 24px;
  }
  .sec-6-right h1 {
    font-size: 22px;
  }
  .sec-6-left p,
  .sec-6-right p {
    font-size: 16px;
  }
  .sec-6-right a {
    
    text-align: center;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Very small screens (480px and below) */
@media (max-width: 480px) {
  /* Section 1 */
  .section-1 {
    min-height: 45vh;
  }
  .section-1 h1 {
    font-size: 28px;
    line-height: 1.1;
  }

  /* Section 4 */
  .section-4 {
    min-height: 40vh;
    margin: 15px 15px;
    width: calc(100% - 30px);
  }
  .section-4 h1 {
    font-size: 28px;
  }

  /* Section 5 */
  .section-5 {
    min-height: 40vh;
    padding: 30px 0;
    margin-top: 40px;
  }
  .section-5 h2 {
    font-size: 26px;
  }
  .section-5 p {
    font-size: 14px;
  }

  /* Section 6 */
  .sec-6-left h1,
  .sec-6-right h1 {
    font-size: 20px;
  }
  .sec-6-left p,
  .sec-6-right p {
    font-size: 14px;
  }

  /* Footer bottom */
  .footer-bottom {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    margin-left: auto;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    display: none; /* Hide by default */
    width: 100%;
    background-color: #EDFFF0;
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    box-sizing: border-box;
    z-index: 1000;
  }

  .nav-links.show {
    display: flex;
  }
}