:root {
    --primary: #1ce7e9;
    --primary-dark: #058687;
    --secondary: #7c3aed;
    --accent: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
}

.hero-pattern {
    position: relative;
    background: linear-gradient(180deg, #1ce7e9 -46.22%, #058687 106.11%);
    overflow: hidden;
    min-height: 100vh;
}

.hero-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(50px) translateY(50px);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.program-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(180deg, #1ce7e9 -46.22%, #058687 106.11%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(28, 231, 233, 0.15);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(180deg, #1ce7e9 -46.22%, #058687 106.11%);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.program-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(180deg, #1ce7e9 -46.22%, #058687 106.11%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.program-card:hover .program-icon {
    transform: rotate(0deg) scale(1.1);
}

.step-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(28, 231, 233, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #1ce7e9 -46.22%, #058687 106.11%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-glow {
    background: linear-gradient(180deg, #1ce7e9 -46.22%, #058687 106.11%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(28, 231, 233, 0.3);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(28, 231, 233, 0.4);
    color: white;
}

.header-transparent {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header-transparent.scrolled {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid white;
    white-space: nowrap;
    margin: 0 auto;
    animation:
        typing 3.5s steps(40, end),
        blink-caret 0.75s step-end infinite;
    display: inline-block;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: white;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(180deg, #1ce7e9 -46.22%, #058687 106.11%);
    border-radius: 4px;
}

.program-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(28, 231, 233, 0.1);
    color: #058687;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li i {
    color: #1ce7e9;
    font-size: 0.9rem;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5);
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.bg-opacity-10 {
    --bs-bg-opacity: 0.1;
}

.bg-opacity-20 {
    --bs-bg-opacity: 0.2;
}

.brightness-0 {
    filter: brightness(0);
}

.invert {
    filter: invert(1);
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

[x-cloak] {
    display: none !important;
}

/* Pastikan hero section memiliki tinggi yang cukup */
.hero-pattern {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Pastikan slideshow container menutupi seluruh area */
.position-absolute.top-0.start-0.w-100.h-100 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Pastikan z-index benar */
[style*="z-index: 1"] {
    z-index: 1 !important;
}

[style*="z-index: 10"] {
    z-index: 10 !important;
}

[style*="z-index: 20"] {
    z-index: 20 !important;
}

/* Transisi untuk slider */
.transition-all {
    transition: all 0.5s ease;
}

/* Backdrop blur */
.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hover effects for navigation */
.btn-link.text-white:hover {
    color: var(--primary) !important;
    transform: scale(1.2);
}

/* Style untuk badge dan icon dengan warna baru */
.badge.bg-primary {
    background: linear-gradient(
        180deg,
        #1ce7e9 -46.22%,
        #058687 106.11%
    ) !important;
}

.btn-outline-primary {
    border-color: #1ce7e9 !important;
    color: #1ce7e9 !important;
}

.btn-outline-primary:hover {
    background: linear-gradient(
        180deg,
        #1ce7e9 -46.22%,
        #058687 106.11%
    ) !important;
    color: white !important;
}

.text-primary {
    color: #1ce7e9 !important;
}

.bg-primary {
    background: linear-gradient(
        180deg,
        #1ce7e9 -46.22%,
        #058687 106.11%
    ) !important;
}

/* Progress bar */
.progress-bar {
    background: linear-gradient(
        180deg,
        #1ce7e9 -46.22%,
        #058687 106.11%
    ) !important;
}

/* Alert custom */
.alert-primary {
    background: rgba(28, 231, 233, 0.1) !important;
    border-color: #1ce7e9 !important;
    color: #058687 !important;
}

/* ========== GLASS CARD HORIZONTAL (untuk Syarat Pendaftaran) ========== */
.glass-card-horizontal {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(28, 231, 233, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.glass-card-horizontal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #1ce7e9 -46.22%, #058687 106.11%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(28, 231, 233, 0.2);
}

.glass-card-horizontal:hover::before {
    opacity: 1;
}

/* Icon Circle untuk glass card */
.glass-card-horizontal .icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1ce7e9 -46.22%, #058687 106.11%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 20px rgba(28, 231, 233, 0.3);
}

/* Badge Gradient untuk glass card */
.glass-card-horizontal .badge-gradient {
    background: linear-gradient(180deg, #1ce7e9 -46.22%, #058687 106.11%);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

/* Tag Modern untuk glass card */
.glass-card-horizontal .tag-modern {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: white;
    border: 1px solid rgba(28, 231, 233, 0.3);
    color: #058687;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-right: 0.3rem;
    margin-bottom: 0.3rem;
    transition: all 0.2s ease;
}

.glass-card-horizontal .tag-modern:hover {
    background: linear-gradient(180deg, #1ce7e9 -46.22%, #058687 106.11%);
    color: white;
    border-color: transparent;
}

/* Info Card Mini */
.info-card-mini {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(28, 231, 233, 0.2);
    border-radius: 15px;
    padding: 1rem;
    transition: all 0.3s ease;
    height: 100%;
}

.info-card-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(28, 231, 233, 0.15);
}

.info-icon-mini {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1ce7e9 -46.22%, #058687 106.11%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* Utility untuk min-vh */
.min-vh-50 {
    min-height: 50vh;
}

/* ===== CSS BARU YANG DITAMBAHKAN UNTUK PROGRAM STUDI ===== */

/* Text color untuk primary-dark */
.text-primary-dark {
    color: var(--primary-dark) !important;
}

/* Border dengan warna primary light */
.border-primary-light {
    border-color: rgba(28, 231, 233, 0.2) !important;
}

/* Background white utility */
.bg-white {
    background-color: #ffffff !important;
}

/* Text dark utility */
.text-dark {
    color: #212529 !important;
}

/* Styling untuk icon-circle di program studi (sedikit berbeda ukuran) */
.program-section .icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1ce7e9 -46.22%, #058687 106.11%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 20px rgba(28, 231, 233, 0.3);
}

/* Styling untuk badge-gradient di program studi */
.program-section .badge-gradient {
    background: linear-gradient(180deg, #1ce7e9 -46.22%, #058687 106.11%);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* Styling untuk tag-modern di program studi */
.program-section .tag-modern {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: white;
    border: 1px solid rgba(28, 231, 233, 0.3);
    color: var(--primary-dark);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.program-section .tag-modern:hover {
    background: linear-gradient(180deg, #1ce7e9 -46.22%, #058687 106.11%);
    color: white;
    border-color: transparent;
}

/* Responsive adjustments untuk program studi */
@media (max-width: 768px) {
    .program-section .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .program-section .badge-gradient {
        padding: 0.25rem 0.8rem;
        font-size: 0.7rem;
    }

    .program-section .tag-modern {
        padding: 0.2rem 0.8rem;
        font-size: 0.7rem;
    }
}

/* Styling untuk button filter tabs */
.btn-outline-primary.bg-white {
    background-color: white !important;
    border: 1px solid var(--primary) !important;
    color: var(--primary-dark) !important;
}

.btn-outline-primary.bg-white:hover {
    background: linear-gradient(
        180deg,
        #1ce7e9 -46.22%,
        #058687 106.11%
    ) !important;
    color: white !important;
    border-color: transparent !important;
}

.btn-primary.text-white {
    background: linear-gradient(
        180deg,
        #1ce7e9 -46.22%,
        #058687 106.11%
    ) !important;
    color: white !important;
    border: none !important;
}

.btn-primary.text-white:hover {
    background: linear-gradient(180deg, #058687, #1ce7e9) !important;
    box-shadow: 0 5px 15px rgba(28, 231, 233, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-card-horizontal {
        padding: 1.2rem;
    }

    .glass-card-horizontal .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
