    /* RESET + BASE */

    html {
      visibility: hidden;
    }
    
    @media (max-width: 1043px) {
      html {
        visibility: visible;
      }
    }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fafafa;
  color: #1a1a1a;
}

/* HEADER / NAVBAR */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
}
.logo img {
  height: 40px;
}

/* desktop nav */
nav.navbar {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}
nav.navbar a:hover {
  color: #087e8b;
}
nav.navbar a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #087e8b;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}
nav.navbar a:hover::after {
  width: 100%;
}

/* dropdown on desktop */
.dropdown {
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-top: 2px solid #009688;
  z-index: 10;
}
.dropdown-content a {
  display: block;
  padding: 10px 20px;
  font-weight: lighter;
  color: #333;
  white-space: nowrap;
  border-bottom: 1px solid #eee;
  text-align: center;
}
.dropdown-content a:hover {
  background: #f5f5f5;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* MAIN SECTION (desktop) */
.main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 80px;
}
.left {
  max-width: 50%;
}
.left h1 {
  font-size: 44px;
  line-height: 1.3;
  margin-bottom: 20px;
}
.underline {
  width: 60px;
  height: 4px;
  background-color: #087e8b;
  margin-bottom: 20px;
}
.left p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}
.search-bar {
  margin-top: 30px;
  display: flex;
  max-width: 550px;
}
.search-bar input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
}
.search-bar button {
  padding: 12px 20px;
  background: #087e8b;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 16px;
}
.right {
  display: flex;
  align-items: center;
}
.right img {
  width: 250px;
  border-radius: 8px;
  margin-right: 30px;
}
.stats {
  background: #2f2f1e;
  color: #fff;
  padding: 25px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: center;
}
.stat-block h2 {
  font-size: 24px;
  margin-bottom: 5px;
}
.stat-block p {
  font-size: 14px;
  color: #dcdcdc;
}

/* MOBILE STYLES */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 1043px) {
  

  /* show hamburger */
  .menu-toggle {
    display: block;
  }

  /* hide desktop nav, show vertical when active */
  nav.navbar {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    padding: 15px 20px;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
  }
  nav.navbar.active {
    display: flex;
  }

  /* dropdowns become accordion */
  .dropdown-content {
    display: none !important;
    position: static;
    box-shadow: none;
    border: none;
    width: 100%;
    padding-left: 15px;
  }
  .dropdown-content.show {
    display: block !important;
  }

  /* stack main sections */
  .main {
    flex-direction: column;
    padding: 40px 20px;
  }
  .left, .right {
    max-width: 100%;
    width: 100%;
  }
  .right {
    margin-top: 30px;
    flex-direction: column;
    align-items: flex-start;
  }
  .right img {
    width: 100%;
    margin-bottom: 20px;
    margin-right: 0;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
}




    /* NAVBAR */

    header {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  padding: 20px;
  background: #fff;
}


.logo img {
  height: 50px;
}



.navbar {
  display: flex;
  align-items: center;  
  gap: 30px;
  position: relative;
}

.navbar a {
  text-decoration: none;
  color: black;
  padding: 15px 0; 
  font-weight: bold; 
  display: inline-block;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;                      /* center align horizontally */
  transform: translateX(-50%);    /* adjust for exact centering */
  min-width: 180px;
  background-color: white;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  border-top: 2px solid #009688;
}

.dropdown-content a {
  padding: 10px 20px;
  font-weight: lighter;  
    text-align: center;     /* ✅ center-aligns text */

  display: block;
  color: black;
  white-space: nowrap;
  border-bottom: 1px solid #eee;
  text-align: center;  
  line-height: 1.4;     
}

.dropdown-content a:hover {
  background-color: #f5f5f5;
}

.dropdown:hover .dropdown-content {
  display: block;
}


    /* corousel */

    .carousel-container {
      position: relative;
      width: 100%;
      overflow: hidden;
    }
  
    .carousel-track {
      display: flex;
      gap: 40px;
      animation: scrollLeft 10s linear infinite;
    }
  
    .carousel-track img {
      height: 100px;
      width: 100px;
      border-radius: 16px;
      background: white;
      padding: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
      flex-shrink: 0;
    }
  
    .carousel-track img:hover {
      transform: scale(1.05);
    }
  
    @keyframes scrollLeft {
      0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-50%);
      }
    }
  
    @media (max-width: 1043px) {
      .carousel-track {
        gap: 20px;
      }
  
      .carousel-track img {
        height: 80px;
        width: 80px;
        padding: 6px;
      }
    }
  
    @media (max-width: 1043px) {
      .carousel-track img {
        height: 65px;
        width: 65px;
      }
    
    }



    /* COURSES top css */

    .course-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }
  
    .course-card {
      background: #f7f9f5;
      border-radius: 14px;
      padding: 20px;
      text-align: left;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: transform 0.3s, box-shadow 0.3s;
      border: 2px solid transparent;
    }
  
    .course-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.1);
      border-color: #087e8b;
    }
  
    .course-card h3 {
      margin: 10px 0 8px;
      font-size: 18px;
    }
  
    .course-card p {
      font-size: 14px;
      color: #333;
    }
  
    .course-card .icon {
      display: inline-block;
      background-color: #000;
      border-radius: 10px;
      padding: 8px;
      width: 36px;
      height: 36px;
      text-align: center;
    }
  
    .course-card .icon.teal {
      background-color: #3c8f8b;
    }
  
    .course-card .icon span {
      color: white;
      font-size: 18px;
      line-height: 20px;
      display: inline-block;
    }
  
    .course-card.active {
      border: 2px solid #000;
    }
  
    @media (max-width: 1043px) {
      .course-card {
        padding: 16px;
      }
  
      .course-card h3 {
        font-size: 16px;
      }
  
      .course-card p {
        font-size: 13px;
      }
    }

/* how we work */
.how-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      max-width: 1200px;
      margin: 0 auto;
    }
  
    .how-box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border: 1px dashed rgba(255, 255, 255, 0.4);
      border-radius: 10px;
      padding: 20px;
      background: transparent;
      transition: all 0.3s ease;
    }
  
    .how-box:hover {
      background-color: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.6);
    }
  
    .how-text {
      max-width: 80%;
    }
  
    .how-box h3 {
      margin: 0 0 8px;
      font-size: 17px;
      font-weight: 600;
      color: #ffffff;
    }
  
    .how-box p {
      font-size: 14px;
      color: #dddddd;
      margin: 0;
    }
  
    .how-icon {
      background-color: #d4e1ce;
      color: #3a2e06;
      font-size: 20px;
      width: 45px;
      height: 45px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
  
    @media (max-width: 1043px) {
      .how-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
  
      .how-text {
        max-width: 100%;
      }
  
      .how-icon {
        align-self: flex-end;
      }
    }


/* articles */

.articles-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }
  
    .article-card {
      background-color: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
  
    .article-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }
  
    .article-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }
  
    .article-content {
      padding: 16px;
    }
  
    .article-content h3 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
      color: #2d2d2d;
    }
  
    .article-content p {
      font-size: 14px;
      color: #444;
      margin: 0;
      line-height: 1.5;
    }
  
    @media (max-width: 1043px) {
      .article-card img {
        height: 150px;
      }
    }

    /* CHOOSE US */
   
    .why-choose-container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      max-width: 1200px;
      margin: 0 auto;
      gap: 40px;
    }
  
    .why-choose-image img {
      width: 100%;
      max-width: 500px;
      border-radius: 16px;
    }
  
    .why-choose-content {
      flex: 1;
      min-width: 300px;
      color: #fff;
    }
  
    .why-choose-content .pill {
      background: #d4e1ce;
      color: #3a2e06;
      border: none;
      border-radius: 20px;
      padding: 6px 18px;
      font-size: 14px;
      font-weight: 500;
      margin-bottom: 16px;
    }
  
    .why-choose-content h2 {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 30px;
    }
  
    .features-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(220px, 1fr));
      gap: 20px 40px;
    }
  
    .feature-box {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }
  
    .feature-box .icon {
      background-color: #d4e1ce;
      color: #3a2e06;
      font-size: 20px;
      width: 42px;
      height: 42px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
  
    .feature-box h4 {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 6px;
    }
  
    .feature-box p {
      font-size: 13.5px;
      color: #ddd;
      margin: 0;
      line-height: 1.5;
    }
  
    @media (max-width: 1043px) {
      .why-choose-container {
        flex-direction: column;
      }
  
      .features-grid {
        grid-template-columns: 1fr;
      }
    }

    
 