/* Hero Section */
        .hero {
            margin-top: 60px;
            padding: 80px 40px;
            background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: "";
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle,
                    rgba(45, 91, 255, 0.1) 0%,
                    transparent 70%);
            top: -200px;
            right: -200px;
            border-radius: 50%;
        }

        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-text h1 {
            font-size: 56px;
            font-weight: 800;
            color: #1e3a8a;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .hero-text .highlight {
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-text p {
            font-size: 18px;
            color: #64748b;
            line-height: 1.8;
            margin-bottom: 35px;
        }

        .hero-buttons {
            display: flex;
            gap: 15px;
        }

        .btn-primary {
            padding: 16px 32px;
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-family: "Poppins", sans-serif;
            box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
        }

        .btn-secondary {
            padding: 16px 32px;
            background: white;
            color: #2d5bff;
            border: 2px solid #2d5bff;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-family: "Poppins", sans-serif;
        }

        .btn-secondary:hover {
            background: #2d5bff;
            color: white;
            transform: translateY(-3px);
        }

        .hero-image {
            position: relative;
        }

        .hero-image-main {
            width: 100%;
            height: 500px;
            /* background: linear-gradient(135deg, #2d5bff 0%, #1e3a8a 100%); */
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 120px;
            box-shadow: 0 20px 50px rgba(45, 91, 255, 0.3);
            position: relative;
            overflow: hidden;
        }

        .hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* atau 'contain' tergantung kebutuhan */
    border-radius: 24px;
}

        .hero-image-main::before {
            content: "";
            position: absolute;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            top: -50px;
            right: -50px;
        }

        .floating-card {
            position: absolute;
            background: white;
            padding: 20px;
            border-radius: 16px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            animation: float 3s ease-in-out infinite;

            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .floating-card-1 {
            top: 50px;
            left: -30px;
            animation-delay: 0s;
        }

        .floating-card-2 {
            bottom: 80px;
            right: -30px;
            animation-delay: 1s;
        }

        .floating-card-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin-bottom: 10px;
        }

        .floating-card h4 {
            font-size: 16px;
            color: #1e3a8a;
            margin-bottom: 5px;
        }

        .floating-card p {
            font-size: 13px;
            color: #64748b;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-20px);
            }
        }

        /* Section Base */
        .section {
            padding: 100px 40px;
        }

        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 60px;
        }

        .section-badge {
            display: inline-block;
            padding: 8px 20px;
            background: rgba(45, 91, 255, 0.1);
            color: #2d5bff;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .section-title {
            font-size: 42px;
            font-weight: 700;
            color: #1e3a8a;
            margin-bottom: 15px;
        }

        .section-description {
            font-size: 16px;
            color: #64748b;
            line-height: 1.7;
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
        }

        /* TOEIC Announcement Section */
      .toeic-announcement {
        background: white;
      }

      /* .toeic-table-wrapper {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      } */

      .toeic-table-wrapper {
        background: white;
        border-radius: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }


      /* .toeic-table {
        width: 100%;
        border-collapse: collapse;
      } */

      .toeic-table {
        width: 100%;
        min-width: 900px; 
        border-collapse: collapse;
    }


      .toeic-table thead {
        background: linear-gradient(135deg, #2d5bff 0%, #1e3a8a 100%);
      }

      .toeic-table thead th {
        color: white;
        padding: 20px 24px;
        text-align: left;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .toeic-table tbody tr {
        border-bottom: 1px solid #f1f5f9;
        transition: all 0.3s;
      }

      .toeic-table tbody tr:hover {
        background: #f8fafc;
      }

      .toeic-table tbody tr:last-child {
        border-bottom: none;
      }

      .toeic-table tbody td {
        padding: 24px;
        color: #64748b;
        font-size: 15px;
      }

      .batch-badge {
        display: inline-block;
        padding: 6px 16px;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        color: white;
        border-radius: 20px;
        font-weight: 600;
        font-size: 14px;
      }

      .quota-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
      }

      .quota-number {
        font-weight: 600;
        color: #1e3a8a;
        font-size: 16px;
      }

      .quota-remaining {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: #64748b;
      }

      .quota-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #22c55e;
      }

      .quota-dot.limited {
        background: #f59e0b;
      }

      .quota-dot.full {
        background: #ef4444;
      }

      .status-badge {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 600;
      }

      .status-open {
        background: rgba(34, 197, 94, 0.1);
        color: #22c55e;
      }

      .status-limited {
        background: rgba(245, 158, 11, 0.1);
        color: #f59e0b;
      }

      .status-upcoming {
    background: rgba(59, 130, 246, 0.1); /* Biru lembut */
    color: #3b82f6;
}

.status-closed {
    background: rgba(107, 114, 128, 0.1); /* Abu-abu lembut */
    color: #6b7280;
}


      .btn-register {
        padding: 10px 24px;
        background: linear-gradient(135deg, #2d5bff 0%, #1e3a8a 100%);
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        font-family: "Poppins", sans-serif;
        white-space: nowrap;
      }
      .btn-register-closed {
    padding: 10px 24px;
    background: #bfbfbf;
    color: #6a6a6a;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
    transition: none;
    font-family: "Poppins", sans-serif;
    white-space: nowrap;
    opacity: 0.7;
    pointer-events: none;
}



      .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(45, 91, 255, 0.4);
      }

      .btn-register:disabled {
        background: #e2e8f0;
        color: #94a3b8;
        cursor: not-allowed;
        transform: none;
      }

      .btn-register:disabled:hover {
        box-shadow: none;
      }

          /* News Section */
      .news-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
      }

      .news-card {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s;
        cursor: pointer;
        position: relative;
        border: 2px solid transparent;
      }

      .news-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
        transform: scaleX(0);
        transition: transform 0.3s;
      }

      .news-card:hover::before {
        transform: scaleX(1);
      }

      .news-card:hover {
        /* transform: translateY(-8px); */
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        border-color: rgba(255, 107, 53, 0.2);
      }

      .news-content {
        padding: 35px;
      }

      .news-meta {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 18px;
        font-size: 13px;
        color: #94a3b8;
      }

      .news-category {
        padding: 6px 14px;
        background: rgba(255, 107, 53, 0.1);
        color: #ff6b35;
        border-radius: 12px;
        font-weight: 600;
        font-size: 12px;
      }

      .news-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
        margin-bottom: 20px;
      }

      .news-title {
        font-size: 20px;
        font-weight: 700;
        color: #1e3a8a;
        margin-bottom: 12px;
        line-height: 1.4;
      }

      .news-excerpt {
        font-size: 15px;
        color: #64748b;
        line-height: 1.7;
        margin-bottom: 20px;
      }

      .news-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #ff6b35;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
        transition: all 0.3s;
      }

      .news-link:hover {
        gap: 12px;
        color: #f7931e;
      }

        /* Programs Section */
         .programs {
        background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
      }
        .programs-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

        .program-card {
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            position: relative;
            overflow: hidden;

            display: flex;
            flex-direction: column; /* 🔹 Susun isi card dari atas ke bawah */
        }

        .program-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #2d5bff 0%, #1e3a8a 100%);
            transform: scaleX(0);
            transition: transform 0.3s;
        }

        .program-card:hover::before {
            transform: scaleX(1);
        }

        .program-card:hover {
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        }

        .program-icon {
            width: 70px;
            height: 70px;

            border-radius: 50%;
            overflow: hidden;

            display: flex;
            align-items: center;
            justify-content: center;

            background: #ffffff;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);

            margin-bottom: 20px;
        }

        /* khusus flag-icons */
        .program-icon .fi {
            width: 100%;
            height: 100%;
            background-size: cover;
            border-radius: 50%;
        }

        .program-title {
            font-size: 24px;
            font-weight: 700;
            color: #1e3a8a;
            margin-bottom: 12px;
        }

        .program-description {
            font-size: 15px;
            color: #64748b;
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .program-features {
            list-style: none;
            margin-bottom: 25px;
        }

        .program-features li {
            padding: 5px 0;
            color: #64748b;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .program-features li::before {
            content: "✓";
            color: #22c55e;
            font-weight: 700;
            font-size: 18px;
        }

        .program-footer {
            margin-top: auto; /* 🔹 Dorong ke bagian paling bawah */
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
            border-top: 2px solid #f1f5f9;
        }

        .program-price {
            font-size: 14px;
            color: #64748b;
        }

        .program-price strong {
            display: block;
            font-size: 28px;
            color: #2d5bff;
            margin-top: 3px;
        }

        .btn-program {
            padding: 12px 28px;
            background: linear-gradient(135deg, #2d5bff 0%, #1e3a8a 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-program:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(45, 91, 255, 0.4);
        }

        /* Gallery Section */
        .gallery {
            background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
        }

        .gallery-container {
            position: relative;
        }

        .gallery-wrapper {
            overflow: hidden;
            padding: 0 60px;
            position: relative;
        }

        .gallery-slider {
            display: flex;
            gap: 30px;
            transition: transform 0.5s ease;
            will-change: transform;
        }

      .gallery-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
}


        .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}


        .gallery-item {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s;
            aspect-ratio: 1;
        }

        .gallery-item:hover {
            transform: scale(1.05);
            z-index: 10;
        }

        .gallery-item:first-child {
            grid-column: span 2;
            grid-row: span 2;
        }

        .gallery-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #2d5bff 0%, #1e3a8a 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 80px;
            position: relative;
        }

        .gallery-placeholder::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(45deg,
                    rgba(255, 107, 53, 0.2) 0%,
                    transparent 100%);
        }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg,
                    transparent 0%,
                    rgba(0, 0, 0, 0.7) 100%);
            display: flex;
            align-items: flex-end;
            padding: 20px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-caption {
            color: white;
            font-size: 14px;
            font-weight: 600;
        }

        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: white;
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s;
            z-index: 100;
        }

        .gallery-nav:hover {
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            color: white;
            transform: translateY(-50%) scale(1.1);
        }

        .gallery-nav.prev {
            left: 0;
        }

        .gallery-nav.next {
            right: 0;
        }

        .gallery-nav:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .gallery-nav:disabled:hover {
            background: white;
            color: initial;
            transform: translateY(-50%);
        }

        .gallery-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }

        .gallery-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #cbd5e1;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            padding: 0;
        }

        .gallery-dot.active {
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            width: 32px;
            border-radius: 6px;
        }

        /* Lightbox */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }

        .lightbox.active {
            display: flex;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

       .lightbox-content {
    max-width: 70%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

        @keyframes zoomIn {
            from {
                transform: scale(0.8);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .lightbox-image {
            width: 100%;
            max-height: 80vh;
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .lightbox-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(180deg,
                    transparent 0%,
                    rgba(0, 0, 0, 0.8) 100%);
            color: white;
            padding: 40px 20px 20px;
            font-size: 18px;
            font-weight: 600;
            text-align: center;
            border-radius: 0 0 16px 16px;
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: white;
            border: none;
            border-radius: 50%;
            font-size: 28px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .lightbox-close:hover {
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            color: white;
            transform: rotate(90deg);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 60px;
            height: 60px;
            background: white;
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .lightbox-nav:hover {
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            color: white;
            transform: translateY(-50%) scale(1.1);
        }

        .lightbox-nav.prev {
            left: 20px;
        }

        .lightbox-nav.next {
            right: 20px;
        }

        .lightbox-counter {
            position: absolute;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255, 255, 255, 0.9);
            padding: 10px 20px;
            border-radius: 20px;
            font-weight: 600;
            color: #1e3a8a;
        }

        .gallery-placeholder {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

       
        /* Responsive */
        @media (max-width: 1024px) {

  .gallery-grid {
          grid-template-columns: repeat(3, 1fr);
        }

        .gallery-item:first-child {
          grid-column: span 2;
          grid-row: span 2;
        }

        .gallery-wrapper {
          padding: 0 50px;
        }
            .hero-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .hero-text h1 {
                font-size: 42px;
            }

            .news-grid,
            .programs-grid {
                grid-template-columns: 1fr;
            }

        

        }

        @media (max-width: 768px) {

              .gallery-grid {
          grid-template-columns: repeat(2, 1fr);
        }

        .gallery-item:first-child {
          grid-column: span 2;
          grid-row: span 1;
        }

        .gallery-wrapper {
          padding: 0 40px;
        }

        .gallery-nav {
          width: 40px;
          height: 40px;
          font-size: 20px;
        }

        .lightbox-nav {
          width: 50px;
          height: 50px;
          font-size: 24px;
        }

        .lightbox-nav.prev {
          left: 10px;
        }

        .lightbox-nav.next {
          right: 10px;
        }

        .lightbox-close {
          top: 10px;
          right: 10px;
          width: 40px;
          height: 40px;
          font-size: 24px;
        }

            .floating-card {
                display: none;
            }



            .hero {
                padding: 60px 20px;
            }

            .hero-text h1 {
                font-size: 32px;
            }

            .hero-buttons {
                flex-direction: column;
            }

            .section {
                padding: 60px 20px;
            }

            .section-title {
                font-size: 32px;
            }
                .gallery-placeholder img {
        object-fit: contain;
        background: #000; /* opsional, biar rapi */
    }

      


        }

       .dropdown-item.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}