* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
       scroll-behavior: smooth ;
      
    }

    html,body {
      width: 100%;
      height: 100%;
      background: #f0f6fe;
      color: #0b1a2f;
    }

    /* ----- NAVBAR (blue / white / black) ----- */
    .navbar {
      background: #0b1a33; /* deep blue-black */
      padding: 0.7rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      box-shadow: 0 6px 18px rgba(0, 10, 30, 0.3);
      position: sticky;
      top: 0;
      z-index: 999;
      border-bottom: 3px solid white;
    }

    .logo {
      color: white;
      font-size: 1.9rem;
      font-weight: 700;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo i {
      color: #6ab0ff;
      animation: glow 2.8s infinite alternate;
    }
    .logo span {
      color: #8fcbff;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
      align-items: center;
    }
    .nav-links a {
      color: #e6edf5;
      text-decoration: none;
      font-weight: 500;
      font-size: 1rem;
      padding: 0.3rem 0.1rem;
      border-bottom: 2px solid transparent;
      transition: 0.25s ease;
    }
    .nav-links a:hover {
      color: white;
      border-bottom-color: #6ab0ff;
      transform: translateY(-2px);
      text-shadow: 0 0 8px #6ab0ff;
    }

    .hamburger {
      display: none;
      color: white;
      font-size: 1.9rem;
      cursor: pointer;
    }

    /* ----- HERO (blue/white) ----- */
    .hero {
      background: linear-gradient(135deg, #0b2a4a, #1a3e62);
      color: white;
      padding: 2.4rem 1.8rem;
      text-align: center;
      margin: 1.2rem 1.5rem 2rem;
      border-radius: 48px 48px 24px 24px;
      box-shadow: 0 16px 32px rgba(0, 20, 50, 0.3);
      animation: fadeSlide 0.9s ease;
    }
    .hero h1 {
      font-size: 2.6rem;
      font-weight: 700;
    }
    .hero h1 i {
      color: #8fcbff;
      margin-right: 10px;
    }
    .hero p {
      font-size: 1.2rem;
      opacity: 0.9;
      margin-top: 0.3rem;
    }

    /* SECTION TITLE */
    .section-title {
      font-size: 2rem;
      font-weight: 700;
      margin: 2.8rem 1.8rem 1.2rem 2rem;
      padding-left: 1rem;
      border-left: 12px solid #1f4b7a;
      color: #0b1a33;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .section-title i {
      color: white;
      background: #1f4b7a;
      padding: 8px 10px;
      border-radius: 40px;
      font-size: 1.4rem;
    }

    /* COURSE GRID */
    .course-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 2rem;
      padding: 0 2rem 1.5rem;
    }

    /* CARD */
    .course-card {
      background: white;
      border-radius: 32px;
      padding: 1.6rem 1rem 1.2rem;
      box-shadow: 0 12px 30px -8px rgba(0, 20, 40, 0.12);
      transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1);
      border: 1px solid rgba(30, 80, 150, 0.08);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      animation: fadeSlide 0.5s ease backwards;
      height: fit-content;
    }
    .course-card:nth-child(1) { animation-delay: 0.02s; }
    .course-card:nth-child(2) { animation-delay: 0.06s; }
    .course-card:nth-child(3) { animation-delay: 0.10s; }
    .course-card:nth-child(4) { animation-delay: 0.14s; }
    .course-card:nth-child(5) { animation-delay: 0.18s; }
    .course-card:nth-child(6) { animation-delay: 0.22s; }
    .course-card:nth-child(7) { animation-delay: 0.26s; }
    .course-card:nth-child(8) { animation-delay: 0.30s; }

    .course-card:hover {
      transform: translateY(-10px) scale(1.01);
      box-shadow: 0 28px 44px -12px #0b2a4a77;
      border-color: #6ab0ff;
      background: #fafdff;
    }

    .course-card i {
      font-size: 2.8rem;
      color: #145a9e;
      background: #e6f0fe;
      padding: 14px;
      border-radius: 40px;
      margin-bottom: 8px;
      transition: 0.3s;
      
    }
    .course-card:hover i {
      background: #0b2a4a;
      color: white;
      transform: scale(1.05) rotate(-3deg);
    }

    .course-card h4 {
      font-size: 1.3rem;
      font-weight: 700;
      color: #0b1a33;
      margin: 4px 0 2px;
    }
    .badge {
      background: #0b2a4a;
      color: white;
      padding: 0.2rem 1.2rem;
      border-radius: 40px;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      display: inline-block;
      margin: 4px 0 8px;
    }

    /* "MORE" button & hidden detail */
    .more-btn {
      background: transparent;
      border: 2px solid #1f4b7a;
      color: #1f4b7a;
      font-weight: 600;
      padding: 0.4rem 1.6rem;
      border-radius: 40px;
      cursor: pointer;
      transition: 0.2s;
      margin: 8px 0 4px;
      font-size: 0.9rem;
      width: fit-content;
    }
    .more-btn:hover {
      background: #1f4b7a;
      color: white;
      box-shadow: 0 4px 10px rgba(20, 70, 140, 0.3);
    }
    .more-btn i {
      background: transparent !important;
      color: inherit !important;
      font-size: 0.8rem !important;
      padding: 0 !important;
      margin: 0 0 0 5px !important;
    }

    .detail-box {
      background: #eef5fc;
      border-radius: 24px;
      padding: 0.8rem 1rem;
      margin: 10px 0 0;
      width: 100%;
      border-left: 4px solid #1f4b7a;
      display: none;
      animation: fadeSlide 0.3s ease;
      font-size: 0.9rem;
      color: #0b2a4a;
      box-shadow: inset 0 2px 6px rgba(0,0,0,0.02);
    }
    .detail-box.show {
      display: block;
    }
    .detail-box i {
      background: transparent !important;
      color: #1f4b7a !important;
      font-size: 1rem !important;
      padding: 0 !important;
      margin-right: 6px;
    }

    /* footer */
    .footer {
      background: #0b1a33;
      color: #b7cee6;
      text-align: center;
      padding: 2rem 1rem;
      margin-top: 3.5rem;
      border-top: 6px solid white;
    }
    .footer i {
      color: #6ab0ff;
      margin: 0 6px;
    }

    /* animations */
    @keyframes fadeSlide {
      0% { opacity: 0; transform: translateY(18px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    @keyframes glow {
      0% { text-shadow: 0 0 2px #6ab0ff; }
      100% { text-shadow: 0 0 18px #a0ceff, 0 0 30px #1f4b7a; }
    }

    /* responsive */
    @media (max-width: 768px) {
      .navbar { padding: 0.6rem 1.2rem; }
      .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: #0b1a33;
        padding: 1rem 0;
        border-radius: 24px;
        gap: 0.7rem;
        margin-top: 0.6rem;
      }
      .nav-links.active { display: flex; }
      .hamburger { display: block; }

      .hero h1 { font-size: 2rem; }
      .section-title {
        font-size: 1.6rem;
        margin: 2rem 1rem 1rem;
      }
      .course-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        padding: 0 1rem 1rem;
        gap: 1.2rem;
       
      }
    }

    @media (max-width: 480px) {
      .hero { margin: 0.5rem 0.8rem 1.5rem; padding: 1.6rem 1rem; }
      .course-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
      .course-card { padding: 1rem 0.6rem; }
      .course-card h4 { font-size: 1rem; }
    }
    /* extra small */
    @media (max-width: 400px) {
      .course-grid { grid-template-columns: 1fr; }
    }

    .btn{
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
       padding: 2px;
       /* border: 2px solid black; */
      }
      

      .more-bt{
          background: transparent;
      border: 2px solid #1f4b7a;
      color: #1f4b7a;
      font-weight: 600;
      padding: 0.4rem 1.6rem;
      border-radius: 40px;
      cursor: pointer;
      transition: 0.2s;
      margin: 8px 0 4px;
      font-size: 0.9rem;
      width: fit-content;
      }


       .more-bt:hover {
      background: #1f4b7a;
      color: white;
      box-shadow: 0 4px 10px rgba(20, 70, 140, 0.3);
    }
    .more-bt i {
      background: transparent !important;
      color: inherit !important;
      font-size: 0.8rem !important;
      padding: 0 !important;
      margin: 0 0 0 5px !important;
    } 
