/* General Styles */
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      font-size: 16px;
      transition: 0.3s;
    }

    body {
      font-family: Arial, sans-serif;
      background: #f7f7f7;
      color: #333;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      width: 100%;
      display: block;
    }

   .container {
     max-width: 1280px;
     margin: 0 auto;
     width: 100%;
    }

    /* =========================
       BACKGROUND PATTERN
    ========================== */

    .page-wrapper {
    background-image: url('images/indexbg.png'); /* Replace with your background pattern image */
    background-size: auto; /* Default size for repeating patterns */
    background-position: top left; /* Start the pattern at the top-left corner */
    background-repeat: repeat; /* Repeat the pattern */
    }

    /* =========================
       TOPBAR
    ========================== */

    .topbar {
      width: 100%;
      padding: 20px 40px;
      position: relative;
      z-index: 1000;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 30px; /* tighter spacing */
    }

    .topbar a,
    .topbar button {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 16px;
      font-weight: bold;
      color: #555555;
      font-family: inherit;
      transition: 0.3s;
    }

    .topbar a:hover,
    .topbar button:hover {
      color: #d8ec4b; 
    }

    /* =========================
       DROPDOWN
    ========================== */

    .dropdown {
      position: relative;
      display: flex;
      align-items: center;
     }

    /* ===== BUTTON ===== */
    .dropbtn {
     background: none;
     border: none;
     cursor: pointer;
     font-size: 1rem;
     padding: 8px 12px;
     border-radius: 999px;
     transition: 0.2s ease;
    }

    /* hover + active look for menu word */
    .dropbtn:hover,
    .dropdown.open .dropbtn {
      background: #0053B3;
      color: white;
    }

    /* ===== MENU BOX ===== */
    .dropdown-content {
      position: absolute;
      top: 45px;
      right: 0;
      min-width: 200px;
      background: #FCF9E9;
      border-radius: 14px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.15);
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: 0.2s ease;
      pointer-events: none;
    }

    /* show menu when open */
    .dropdown.open .dropdown-content {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
      width: 335px;
    }

    /* ===== ITEMS ===== */
    .dropdown-content a {
      display: block;
      padding: 12px 15px;
      transition: 0.2s ease;
      color: #555555;
    }

    /* hover effect */
    .dropdown-content a:hover {
      background: #0053B3;
      color: white;
    }

    /* =========================
       HERO SECTION
    ========================== */

    .hero-section {
      position: relative;
      padding: 20px 30px 40px;
      overflow: hidden;
    }

    .hero-section::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: calc(300px * 0.8 + 20px);
      background: #d8ec4b;
      border-radius: 24px;
      z-index: 0;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      position: relative;
      z-index: 1;
    }

    .hero-card {
      border-radius: 1.5rem;
      height: 300px;

      display: flex;
      align-items: center;
      justify-content: center;

      color: white;
      font-size: 24px;
      font-weight: bold;
    }

    /* =========================
       HIGHLIGHTS
    ========================== */

    .highlight-section {
      padding: 60px 30px;
    }

    .section-title {
      text-align: center;
      font-size: 1.875rem;
      font-weight: bold;
      margin-bottom: 50px;
      color: #37474f;
    }

    .highlight-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 25px;
    }

    .highlight-card {
      border-radius: 22px;
      padding: 18px;
      display: flex;
      align-items: center;
      gap: 18px;
      min-height: 170px;
      overflow: hidden;
    }

    .green {
      background: #00b332;
    }

    .blue {
      background: #0d57b7;
    }

    .orange {
      background: #f78d1b;
    }

    .highlight-image {
      width: 150px;
      height: 150px;
      border-radius: 16px;
      overflow: hidden;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
    }

    .highlight-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .highlight-content {
      color: white;
      flex: 1;
    }

    .highlight-content h3 {
      font-size: 1.125rem;
      margin-bottom: 15px;
    }

    .btn {
      display: inline-block;
      padding: 8px 18px;
      border-radius: 50px;
      background: #d8ec4b;
      color: #333;
      font-size: 0.75rem;
      font-weight: bold;
    }

    /* =========================
       FEATURE SECTION
    ========================== */

    .feature-section {
      padding: 0 30px 50px;
    }

    .feature-image {
      height: 490px;
      background-image: url('images/index05.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
    }


    /* =========================
       FOOTER
    ========================== */

    footer {
      padding: 30px;
      font-size: 0.75rem;
      background: #F2F2F2;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      color: #666;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }

    /* =========================
       MOBILE STYLE
    ========================== */

    @media (max-width: 895px) {

      .container {
        max-width: 768px;
        margin: 0 auto;
        width: 100%;
      }

      .topbar {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        padding: 20px;
      }

      .dropdown-content {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
      }

      .hero-section::after {
       height: calc(400px * 0.8 + 20px);
      }

      .hero-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .hero-card {
        height: 200px;
        font-size: 20px;
      }

      .hero-card img{
        max-width: 250px;
      }

      .section-title {
        font-size: 28px;
        margin-bottom: 30px;
      }

      .highlight-grid {
        grid-template-columns: 1fr;
      }

      .highlight-card {
        flex-direction: column;
        align-items: flex-start;
      }

      .highlight-image {
        width: 100%;
        height: 180px;
      }

      .highlight-content h3 {
        font-size: 22px;
      }

      .feature-image {
        height: 280px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

    }
