/* =============================================
   UNIVERSITAS BANTEN - PMB STYLE
   ============================================= */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Root Variables (Brand UB) */
:root {
    --primary: #1a237e;
    --primary-dark: #0d1356;
    --primary-light: #3949ab;
    --secondary: #ff6f00;
    --accent: #ffab00;
    --dark: #1a1a2e;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --gradient-1: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5c6bc0 100%);
    --gradient-2: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    --shadow: 0 8px 32px rgba(26, 35, 126, 0.15);
    --shadow-lg: 0 16px 48px rgba(26, 35, 126, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f0f2f5;
    overflow-x: hidden;
    padding-top: 76px;
}

/* =============================================
   NAVBAR
   ============================================= */
.pmb-navbar {
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(26, 35, 126, 0.25);
    z-index: 1000;
    transition: all 0.3s ease;
}

.pmb-navbar .navbar-brand {
    font-size: 1rem;
    line-height: 1.2;
    color: #fff;
}

.pmb-navbar .navbar-brand small {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.pmb-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 14px !important;
    border-radius: 8px;
}

.pmb-navbar .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

.pmb-navbar .btn-warning {
    color: #1a237e !important;
}

.pmb-navbar.navbar-scrolled {
    background: rgba(13, 19, 86, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* =============================================
   HERO
   ============================================= */
.hero-section {
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(60px, 60px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-badge {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
}

.hero-content .display-3 {
    line-height: 1.15;
}

/* Glass card countdown */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown {
    min-width: 260px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 14px;
    min-width: 62px;
    text-align: center;
}

.countdown-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.countdown-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    display: block;
}

/* Hero image */
.hero-image-wrap {
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-glow {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 171, 0, 0.3), transparent);
    filter: blur(60px);
    animation: pulse 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.hero-img {
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    background: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.fcard-1 { top: 8%; right: -5%; animation-delay: 0s; }
.fcard-2 { bottom: 22%; left: -8%; animation-delay: 1s; }
.fcard-3 { bottom: 4%; right: 8%; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =============================================
   STATS
   ============================================= */
.stats-section {
    background: var(--gradient-2);
}

.stats-item {
    padding: 10px;
}

.stats-item h2 {
    font-size: 2.2rem;
}

/* =============================================
   SECTION TAGS
   ============================================= */
.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-tag {
    display: inline-block;
    background: rgba(26, 35, 126, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
}

/* Info boxes */
.info-box {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.info-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* =============================================
   PRODI
   ============================================= */
.prodi-card {
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.prodi-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.prodi-icon {
    width: 54px;
    height: 54px;
    background: var(--gradient-1);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prodi-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.prodi-list li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: #495057;
}

.prodi-list li i {
    font-size: 0.7rem;
}

/* =============================================
   JALUR
   ============================================= */
.jalur-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jalur-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.jalur-num {
    position: absolute;
    top: -10px;
    right: 8px;
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(26, 35, 126, 0.06);
    line-height: 1;
}

.bg-primary-soft {
    background: rgba(26, 35, 126, 0.1);
}

/* =============================================
   ALUR
   ============================================= */
.step-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.step-card:hover .step-circle {
    transform: scale(1.1) rotate(8deg);
}

/* =============================================
   BEASISWA
   ============================================= */
.beasiswa-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.beasiswa-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* =============================================
   ACCORDION
   ============================================= */
.accordion-button {
    padding: 18px 20px;
    font-size: 0.95rem;
    color: var(--primary);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-1) !important;
    color: #fff !important;
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* =============================================
   FORM DAFTAR SECTION
   ============================================= */
.daftar-section {
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.daftar-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 171, 0, 0.15), transparent);
    filter: blur(40px);
}

.daftar-card {
    background: #fff;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.daftar-card .form-control,
.daftar-card .form-select {
    padding: 11px 14px;
    border-radius: 10px;
    border: 2px solid var(--gray-200);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.daftar-card .form-control:focus,
.daftar-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
}

.daftar-card .form-label {
    font-size: 0.85rem;
    color: #495057;
}

/* =============================================
   KONTAK
   ============================================= */
.kontak-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.kontak-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.kontak-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

/* =============================================
   CTA
   ============================================= */
.cta-box {
    background: var(--gradient-2);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 171, 0, 0.2), transparent);
    filter: blur(30px);
}

/* =============================================
   FOOTER
   ============================================= */
.footer-section {
    background: var(--dark);
    color: #fff;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    background: var(--gradient-1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary);
    color: #fff;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .pmb-navbar .navbar-collapse {
        background: rgba(26, 35, 126, 0.98);
        padding: 15px;
        border-radius: 12px;
        margin-top: 10px;
    }

    .pmb-navbar .nav-link {
        text-align: center;
    }

    .hero-content {
        text-align: center;
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .hero-content .d-flex {
        justify-content: center;
    }

    .hero-content .display-3 {
        font-size: 2.4rem;
    }

    .glass-card {
        width: 100%;
    }

    .countdown {
        justify-content: center;
    }

    .stats-item h2 {
        font-size: 1.6rem;
    }

    .floating-card {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 68px;
    }

    .countdown-item {
        min-width: 55px;
        padding: 8px 10px;
    }

    .countdown-num {
        font-size: 1.3rem;
    }

    .hero-content .display-3 {
        font-size: 2rem;
    }
}

/* =============================================
   ANIMATION - REVEAL ON SCROLL
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   FORM PENDAFTARAN & PEMBAYARAN
   ============================================= */
.step-badge {
    width: 42px;
    height: 42px;
    background: var(--gradient-1);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.payment-info-box {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}

.payment-field {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 10px 14px;
}

.bank-info {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.06), rgba(26, 35, 126, 0.02));
    border: 2px dashed var(--primary-light);
    display: flex;
    align-items: center;
}

.daftar-card .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.daftar-card .form-check-input.is-invalid,
.daftar-card .form-check-input:invalid {
    border-color: #dc3545;
}

/* Status result */
#statusResult .alert {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}

/* Responsive tweaks for payment card */
@media (max-width: 576px) {
    .bank-info {
        flex-direction: column;
        text-align: center;
    }

    .bank-info i {
        margin-bottom: 8px;
        margin-right: 0 !important;
    }
}
