html{
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fb;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.navbar {
    background: #f3f4f6;
    padding: 10px 0; /* padding atas-bawah saja, kiri-kanan diatur di nav-container */
    border-bottom: 1px solid #e5e7eb;
    
    /* Tambahan agar navbar selalu menempel di atas */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Memastikan navbar tidak tertimpa gambar/elemen lain */
    transition: all 0.3s ease; /* Agar efek blur dari JS nanti terlihat smooth */
}
  
.nav-container {
    max-width: 100%; /* Memanjang penuh */
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px; /* Ditarik lebih ke pojok kiri, sama dengan halaman_ppdb.css */
}
  
.logo-icon {
    background: #2563eb; /* Biru solid */
    color: #ffffff;      /* Topi toga putih */
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}
  
.logo-text h3 {
    margin: 0;
    font-size: 18px;
    color: #111827;
}
  
.logo-text span {
    font-size: 12px;
    color: #6b7280;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px; /* Ditarik lebih ke pojok kanan, sama dengan halaman_ppdb.css */
}
  
/* default link */
.nav-link {
    text-decoration: none;
    color: #1e293b;
    padding: 8px 14px;
    border-radius: 8px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* hover biasa */
.nav-link:hover {
    background: #e2e8f0;
}

/* LOGIN (biru solid) */
.nav-link.login {
    background: #2563eb;
    color: white;
}

/* hover login */
.nav-link.login:hover {
    background: #1d4ed8;
}

/* DAFTAR (outline) */
.nav-link.daftar {
    border: 1px solid #2563eb;
    color: #2563eb;
}

/* hover daftar */
.nav-link.daftar:hover {
    background: #2563eb;
    color: white;
}

.nav-link i {
    font-size: 14px;
}

.btn:active,
button:active {
    transform: scale(0.96);
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #2563eb;
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.hero {
    text-align: center;
    padding: 120px 20px;
    color: white;
    background: linear-gradient(to right, #466be5, #0004ff);
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    max-width: 600px;
    margin: auto;
    margin-bottom: 25px;
    font-size: 20px;
}

.btn-light {
    background: white;
    color: #4670e5;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    margin: 5px;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 12px 22px;
    border-radius: 8px;
    margin: 5px;
}

section {
    padding: 70px 0;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
}

.jalur {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fb 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.jalur h2 {
    font-size: 36px;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
}

.jalur-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.jalur-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.jalur-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.jalur-card[data-jalur-type="prestasi"]::before {
    background: linear-gradient(90deg, #3b82f6, #1e40af);
}

.jalur-card[data-jalur-type="zonasi"]::before {
    background: linear-gradient(90deg, #22c55e, #15803d);
}

.jalur-card[data-jalur-type="umum"]::before {
    background: linear-gradient(90deg, #8b5cf6, #6d28d9);
}

.jalur-card:hover::before {
    transform: scaleX(1);
}

.jalur-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #e5e7eb;
}

.jalur-card-header {
    position: relative;
    padding: 30px 25px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.jalur-icon {
    font-size: 50px;
    animation: bounce 2s ease-in-out infinite;
}

.jalur-card[data-jalur-type="prestasi"] .jalur-icon {
    animation-delay: 0s;
}

.jalur-card[data-jalur-type="zonasi"] .jalur-icon {
    animation-delay: 0.1s;
}

.jalur-card[data-jalur-type="umum"] .jalur-icon {
    animation-delay: 0.2s;
}

.jalur-number {
    font-size: 24px;
    font-weight: 700;
    color: #e5e7eb;
    transition: all 0.3s ease;
}

.jalur-card:hover .jalur-number {
    transform: scale(1.2);
    color: #2563eb;
}

.jalur-content {
    padding: 25px;
    flex-grow: 1;
}

.jalur-content h3 {
    font-size: 20px;
    color: #111827;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.jalur-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 20px;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

.jalur-card[data-jalur-type="zonasi"] .jalur-date {
    border-left-color: #22c55e;
}

.jalur-card[data-jalur-type="umum"] .jalur-date {
    border-left-color: #8b5cf6;
}

.jalur-date i {
    color: #2563eb;
    font-size: 14px;
}

.jalur-card[data-jalur-type="zonasi"] .jalur-date i {
    color: #22c55e;
}

.jalur-card[data-jalur-type="umum"] .jalur-date i {
    color: #8b5cf6;
}

.jalur-requirements h4 {
    font-size: 13px;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    font-weight: 600;
}

.jalur-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jalur-requirements li {
    color: #4b5563;
    font-size: 13px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.jalur-requirements li i {
    color: #2563eb;
    font-size: 12px;
    min-width: 16px;
}

.jalur-card[data-jalur-type="zonasi"] .jalur-requirements li i {
    color: #22c55e;
}

.jalur-card[data-jalur-type="umum"] .jalur-requirements li i {
    color: #8b5cf6;
}

.jalur-card:hover .jalur-requirements li {
    transform: translateX(5px);
    color: #111827;
}

.jalur-footer {
    padding: 20px 25px;
    border-top: 1px solid #f0f0f0;
}

.jalur-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.jalur-card[data-jalur-type="zonasi"] .jalur-btn {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.jalur-card[data-jalur-type="umum"] .jalur-btn {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.jalur-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.jalur-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.jalur-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .jalur h2 {
        font-size: 28px;
    }
    
    .jalur-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .jalur-card-header {
        padding: 20px;
    }
    
    .jalur-content {
        padding: 15px;
    }
}

.cta {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background: #f3f4f6;
  }
  
  .cta-container {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    text-align: center;
    padding: 60px 40px;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  .cta-container h2 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .cta-container p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #e5e7eb;
  }
  
  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .btn {
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
  }
  
  .btn.primary {
    background: white;
    color: #2563eb;
  }
  
  .btn.primary:hover {
    background: #e5e7eb;
  }
  
  .btn.outline {
    border: 1px solid white;
    color: white;
  }
  
  .btn.outline:hover {
    background: white;
    color: #2563eb;
  }

.prestasi-icon {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #7c3aed;
}

.footer {
    background: linear-gradient(to right, #0b1a2b, #0d2238);
    color: #d1d5db;
    padding: 50px 20px 20px;
    font-family: Arial, sans-serif;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .footer-col {
    flex: 1;
    min-width: 250px;
  }
  
  .footer-col h3,
  .footer-col h4 {
    color: #ffffff;
    margin-bottom: 15px;
  }
  
  .brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .footer-col p {
    line-height: 1.6;
    font-size: 14px;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 10px;
  }
  
  .footer-col ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .footer-col ul li a:hover {
    color: #3b82f6;
  }
  
  .contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }
  
  .footer-bottom {
    text-align: center;
    border-top: 1px solid #1f2937;
    margin-top: 40px;
    padding-top: 15px;
    font-size: 14px;
    color: #9ca3af;
  }

.footer-col.brand {
    margin-left: 50px; 
  }
  
  .footer-col:nth-child(2) {
    margin-left: 50px;
  }

  /* nav-menu sudah dipindahkan ke atas berdekatan dengan nav-logo */

.btn:hover,
button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.keunggulan-modern {
    background: linear-gradient(135deg, #f5f7fb 0%, #ffffff 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.keunggulan-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.keunggulan-modern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.keunggulan-modern .container {
    position: relative;
    z-index: 1;
}

.keunggulan-modern h2 {
    font-size: 36px;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.modern-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.modern-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 48px rgba(37, 99, 235, 0.15);
    border-color: #e5e7eb;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 30px 25px 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.card-icon {
    font-size: 40px;
    min-width: 50px;
    animation: bounce 2s ease-in-out infinite;
}

.modern-card[data-card-type="kurikulum"] .card-icon {
    animation-delay: 0s;
}

.modern-card[data-card-type="guru"] .card-icon {
    animation-delay: 0.1s;
}

.modern-card[data-card-type="fasilitas"] .card-icon {
    animation-delay: 0.2s;
}

.card-header-text h3 {
    font-size: 20px;
    color: #111827;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.card-badge {
    font-size: 12px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin: 0;
}

.card-content {
    padding: 0 25px 20px;
    flex-grow: 1;
}

.card-content > p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    color: #4b5563;
    font-size: 13px;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-features i {
    color: #2563eb;
    font-size: 12px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .keunggulan-modern h2 {
        font-size: 28px;
    }
    
    .modern-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .keunggulan-modern::before,
    .keunggulan-modern::after {
        width: 300px;
        height: 300px;
    }
}

.hero h1 {
    animation: fadeDown 1s ease;
}

.hero p {
    animation: fadeUp 1.2s ease;
}

.hero-btn {
    animation: zoomIn 1.4s ease;
}

.btn-info-melengkung {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2563eb; /* Biru modern */
    color: #ffffff;
    text-decoration: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px; /* Ujung melengkung 8px */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-info-melengkung:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.clicked {
    transform: scale(0.95);
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.stats{
    padding: 80px 10%;
    background: #f8fafc;
}

.stats-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
}

.stat-card{
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.stat-card:hover{
    transform: translateY(-10px);
}

.stat-card h2{
    font-size: 40px;
    color: #2563eb;
    margin-bottom: 10px;
}

.stat-card p{
    color: #64748b;
}

.jurusan{
    padding: 80px 10%;
    background: white;
}

.jurusan-container{
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 25px;
}

.jurusan-card{
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.jurusan-card:hover{
    transform: translateY(-10px);
}

.jurusan-card h3{
    font-size: 28px;
    margin-bottom: 10px;
    color: #1e293b;
}

.jurusan-card p{
    color: #64748b;
}

.kuota-text{
    margin-top: 20px;
    font-weight: bold;
}

.progress{
    width: 100%;
    height: 10px;
    background: #cbd5e1;
    border-radius: 20px;
    margin-top: 10px;
}

.progress-bar{
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(to right,#2563eb,#7c3aed);
}

.alur{
    padding: 80px 10%;
    background: #f8fafc;
    text-align: center;
}

.alur-container{
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
}

.alur-card{
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.alur-card:hover{
    transform: translateY(-10px);
}

.alur-card span{
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    font-size: 24px;
    margin-bottom: 20px;
}
.nav-link.logout-btn:hover {
    background-color: #ef4444 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}