:root {
      --blue: #1f4ea8;
      --green: #2e7d32;
      --yellow: #d4af37;
      --red: #c62828;
      --orange: #ef6c00;
      --white: #ffffff;
      --light: #f4f7fb;
      --gray: #5f6368;
      --dark: #1e293b;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--light);
      color: var(--dark);
      line-height: 1.6;
    }

    header {
      background: linear-gradient(90deg, var(--blue), var(--green));
      color: var(--white);
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    }

    .container {
      width: 90%;
      max-width: 1400px;
      margin: auto;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 0;
      gap: 20px;
    }

    .nav-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: auto;
    }

    .logo-area {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .logo-area img {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: #fff;
      padding: 3px;
      object-fit: cover;
    }

    .logo-area h1 {
      font-size: 22px;
      line-height: 1.2;
    }

    .logo-area span {
      display: block;
      font-size: 12px;
      font-weight: normal;
      opacity: 0.9;
      white-space: nowrap;
    }

    .menu-toggle {
      display: none;
      background: transparent;
      border: none;
      color: var(--white);
      font-size: 30px;
      cursor: pointer;
      line-height: 1;
      padding: 6px 10px;
    }

    .menu-toggle:focus {
      outline: none;
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: 14px;
      flex-wrap: nowrap;
      white-space: nowrap;
      margin-left: auto;
      align-items: center;
    }

    nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 20px;
}

.nav-top {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-left: auto;
  align-items: center;
}

nav ul li {
  flex: 0 0 auto;
}

nav ul li a {
  text-decoration: none;
  color: var(--white);
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s;
}

nav ul li a:hover {
  color: var(--yellow);
}

.portal-link {
  background: var(--white);
  color: var(--blue) !important;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
}

.portal-link:hover {
  background: var(--yellow);
  color: var(--dark) !important;
}

    .hero {
      background:
        linear-gradient(rgba(31, 78, 168, 0.85), rgba(46, 125, 50, 0.75)),
        url('../images/ggcast.jpg') center/cover no-repeat;
      color: var(--white);
      min-height: 90vh;
      display: flex;
      align-items: center;
      scroll-margin-top: 100px;
    }

    .hero-content {
      max-width: 700px;
      padding: 70px 0;
    }

    .hero h2 {
      font-size: 48px;
      margin-bottom: 18px;
      line-height: 1.2;
    }

    .hero p {
      font-size: 18px;
      margin-bottom: 28px;
    }

    .btn-group {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
    }

    .btn {
      display: inline-block;
      text-decoration: none;
      padding: 13px 26px;
      border-radius: 6px;
      font-weight: bold;
      transition: 0.3s;
    }

    .btn-primary {
      background: var(--yellow);
      color: var(--dark);
    }

    .btn-primary:hover {
      background: #e6c34a;
    }

    .btn-secondary {
      background: var(--red);
      color: var(--white);
    }

    .btn-secondary:hover {
      background: #a61f1f;
    }

    section {
      padding: 70px 0;
    }

    #home,
    #about,
    #mission-vision,
    #programs,
    #requirements,
    #stats,
    #contact {
      scroll-margin-top: 100px;
    }

    .section-title {
      text-align: center;
      font-size: 34px;
      color: var(--blue);
      margin-bottom: 12px;
      position: relative;
    }

    .section-subtitle {
      text-align: center;
      color: var(--gray);
      margin-bottom: 40px;
    }

    .section-title::after {
      content: "";
      display: block;
      width: 80px;
      height: 4px;
      background: var(--yellow);
      margin: 12px auto 0;
      border-radius: 3px;
    }

    .about-grid,
    .stats-grid,
    .contact-grid {
      display: grid;
      gap: 25px;
    }

    .about-grid {
      grid-template-columns: 1.2fr 1fr;
      align-items: stretch;
    }

    .about-card,
    .stat-card,
    .contact-card {
      background: var(--white);
      border-radius: 14px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.08);
      padding: 28px;
    }

    .about-card h3 {
      color: var(--green);
      margin-bottom: 18px;
      font-size: 26px;
    }

    .about-card p {
      margin-bottom: 18px;
      color: #444;
      line-height: 1.8;
    }

    .about-image {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      min-height: 320px;
      background:
        linear-gradient(rgba(31, 78, 168, 0.45), rgba(239, 108, 0, 0.45)),
        url('../images/about.jpg') center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .about-image-overlay {
      text-align: center;
      color: var(--white);
      padding: 30px;
      background: rgba(0, 0, 0, 0.20);
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .about-image-overlay h4 {
      font-size: 30px;
      margin-bottom: 12px;
    }

    .about-image-overlay p {
      font-size: 18px;
      line-height: 1.6;
    }

    .mv-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
    }

    .mv-card {
      background: var(--white);
      border-radius: 18px;
      padding: 30px;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
      position: relative;
      overflow: hidden;
    }

    .vision-card {
      border-top: 6px solid var(--blue);
    }

    .mission-card {
      border-top: 6px solid var(--green);
    }

    .mv-badge {
      display: inline-block;
      padding: 8px 16px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 16px;
      letter-spacing: 0.5px;
    }

    .vision-card .mv-badge {
      background: rgba(31, 78, 168, 0.12);
      color: var(--blue);
    }

    .mission-card .mv-badge {
      background: rgba(46, 125, 50, 0.12);
      color: var(--green);
    }

    .mv-card h3 {
      font-size: 28px;
      margin-bottom: 14px;
      color: var(--dark);
    }

    .mv-card p {
      margin: 0;
      color: #444;
      line-height: 1.9;
      text-align: justify;
    }

    .program-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
      gap: 28px;
    }

    .program-card {
      background: #fff;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .program-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    }

    .program-poster {
      position: relative;
      height: 320px;
      overflow: hidden;
    }

    .program-poster img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }

    .program-card:hover .program-poster img {
      transform: scale(1.05);
    }

    .program-overlay {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 22px 18px 18px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.15), transparent);
    }

    .program-overlay h3 {
      margin: 0;
      color: #fff;
      font-size: 22px;
      line-height: 1.3;
      font-weight: 700;
      text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    }

    .program-body {
      padding: 20px 22px 24px;
    }

    .program-body p {
      margin: 0;
      color: #444;
      line-height: 1.7;
      font-size: 15px;
    }

    .requirements-wrap {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
    }

    .requirement-card {
      background: var(--white);
      border-radius: 18px;
      padding: 30px;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
      border-top: 6px solid var(--blue);
    }

    .requirement-card.old-students {
      border-top-color: var(--green);
    }

    .requirement-badge {
      display: inline-block;
      padding: 8px 16px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 16px;
      letter-spacing: 0.5px;
      background: rgba(31, 78, 168, 0.12);
      color: var(--blue);
    }

    .old-students .requirement-badge {
      background: rgba(46, 125, 50, 0.12);
      color: var(--green);
    }

    .requirement-card h3 {
      font-size: 28px;
      margin-bottom: 18px;
      color: var(--dark);
    }

    .requirement-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .requirement-list li {
      position: relative;
      padding-left: 34px;
      margin-bottom: 14px;
      color: #444;
      line-height: 1.7;
    }

    .requirement-list li::before {
      content: "☑";
      position: absolute;
      left: 0;
      top: 0;
      color: var(--green);
      font-weight: bold;
      font-size: 18px;
    }

    .requirement-list li.optional::before {
      content: "☐";
      color: var(--orange);
    }

    .requirements-note {
      margin-top: 16px;
      padding: 14px 16px;
      background: rgba(212, 175, 55, 0.12);
      border-left: 4px solid var(--yellow);
      border-radius: 10px;
      color: #444;
      line-height: 1.7;
    }

    .stats {
      background: linear-gradient(90deg, var(--green), var(--blue));
      color: var(--white);
    }

    .stats .section-title,
    .stats .section-subtitle {
      color: var(--white);
    }

    .stats .section-title::after {
      background: var(--yellow);
    }

    .stats-grid {
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .stat-card {
      text-align: center;
      background: rgba(255,255,255,0.12);
      color: var(--white);
      border: 1px solid rgba(255,255,255,0.15);
      backdrop-filter: blur(4px);
      transition: transform 0.3s ease;
    }

    .stat-card.animate {
      transform: translateY(-4px);
    }

    .stat-card h3 {
      font-size: 36px;
      color: var(--yellow);
      margin-bottom: 8px;
      transition: transform 0.3s ease;
    }

    .contact-grid {
      grid-template-columns: 1fr 1fr;
    }

    .contact-card h3 {
      color: var(--blue);
      margin-bottom: 16px;
    }

    .contact-card p {
      margin-bottom: 10px;
      color: #444;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 12px 14px;
      margin-bottom: 14px;
      border: 1px solid #dcdcdc;
      border-radius: 8px;
      outline: none;
      font-size: 15px;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: var(--blue);
    }

    .contact-form button {
      border: none;
      cursor: pointer;
    }

    .alert {
      padding: 12px 16px;
      margin-bottom: 16px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
    }

    .alert-success {
      background: rgba(46, 125, 50, 0.12);
      color: var(--green);
      border: 1px solid rgba(46, 125, 50, 0.3);
    }

    .alert-error {
      background: rgba(198, 40, 40, 0.12);
      color: var(--red);
      border: 1px solid rgba(198, 40, 40, 0.3);
    }

    .alert-close {
      position: absolute;
      top: 50%;
      right: 8px;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.3);
      border: none;
      border-radius: 50%;
      width: 24px;
      height: 24px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      color: inherit;
      opacity: 0.8;
      transition: all 0.3s ease;
      padding: 0;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .alert-close:hover {
      opacity: 1;
      background: rgba(255, 255, 255, 0.5);
      transform: translateY(-50%) scale(1.1);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .alert-close:active {
      transform: translateY(-50%) scale(0.95);
    }

    .alert-success .alert-close {
      background: rgba(46, 125, 50, 0.2);
      color: var(--green);
    }

    .alert-success .alert-close:hover {
      background: rgba(46, 125, 50, 0.3);
    }

    .alert-error .alert-close {
      background: rgba(198, 40, 40, 0.2);
      color: var(--red);
    }

    .alert-error .alert-close:hover {
      background: rgba(198, 40, 40, 0.3);
    }

    .captcha-container {
      margin-bottom: 14px;
    }

    .captcha-container label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: var(--dark);
    }

    .captcha-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }

    .captcha-image {
      border: 1px solid #dcdcdc;
      border-radius: 6px;
      height: 40px;
      display: block;
    }

    .captcha-refresh {
      background: var(--blue);
      color: var(--white);
      border: none;
      border-radius: 6px;
      width: 40px;
      height: 40px;
      font-size: 18px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .captcha-refresh:hover {
      background: var(--green);
    }

    .captcha-refresh:focus {
      outline: 2px solid var(--yellow);
      outline-offset: 2px;
    }

    footer {
      background: var(--dark);
      color: var(--white);
      text-align: center;
      padding: 20px;
      font-size: 14px;
    }

    @media (max-width: 1100px) {
      nav ul {
        gap: 10px;
      }

      nav ul li a {
        font-size: 13px;
      }

      .logo-area h1 {
        font-size: 20px;
      }
    }

    @media (max-width: 900px) {
      .about-grid,
      .mv-grid,
      .requirements-wrap,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .hero h2 {
        font-size: 36px;
      }

      nav {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
      }

      .nav-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
      }

      .menu-toggle {
        display: block;
      }

      nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(255,255,255,0.08);
        padding: 8px 0;
        border-radius: 12px;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
        margin-left: 0;
      }

      nav ul.show {
        display: flex;
      }

      nav ul li {
        width: 100%;
        text-align: left;
      }

      nav ul li a {
        display: block;
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
      }

      nav ul li a:hover {
        background: rgba(255,255,255,0.08);
        color: var(--yellow);
      }

      .portal-link {
        display: block;
        width: calc(100% - 32px) !important;
        margin: 8px 16px 4px;
        text-align: center;
      }
    }

    @media (max-width: 600px) {
      .hero h2 {
        font-size: 28px;
      }

      .hero p {
        font-size: 16px;
      }

      .logo-area h1 {
        font-size: 18px;
      }

      .logo-area span {
        font-size: 11px;
        white-space: normal;
      }

      .program-poster {
        height: 260px;
      }

      .program-overlay h3 {
        font-size: 18px;
      }

      .mv-card h3,
      .requirement-card h3 {
        font-size: 23px;
      }
    }