/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===== GRADIENT BACKGROUNDS ===== */
.gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-secondary {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    background: rgba(102, 126, 234, 0.95) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 5px;
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 8px 16px !important;
}

.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* ===== HERO SECTION MODERN ===== */
.hero-section-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #dda0dd);
    background-size: 400% 400%;
    opacity: 0.3;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 12px 24px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    }

/* Removed pulse animation for performance */
}

.hero-title-modern {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #ffffff, #f8f9fa, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    }

/* Removed textShine animations for performance */

.hero-subtitle-modern {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.btn-floating {
    }

/* Removed float animation for performance */

.hero-stats {
    margin-top: 4rem;
    position: relative;
    z-index: 10;
    margin-bottom: 6rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Removed slideInUp animation for performance */

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.stat-label {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 255, 255, 0.2);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* ===== GRADIENT BUTTONS ===== */
.btn-gradient-primary {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-gradient-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-gradient-primary:hover::before {
    left: 100%;
}

.btn-gradient-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
    color: white;
    text-decoration: none;
}

.btn-gradient-secondary {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 13px 33px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-gradient-secondary:hover {
    transform: translateY(-3px);
    background: linear-gradient(45deg, #fed6e3, #a8edea);
    color: #333;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(168, 237, 234, 0.4);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(45deg, #764ba2, #667eea);
}

.btn-custom {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(45deg, #764ba2, #667eea);
    color: white;
    text-decoration: none;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
    transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 25px;
    font-weight: 600;
}

.card-body {
    padding: 30px;
}

/* ===== FORM STYLES ===== */
.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

/* ===== ALERTS ===== */
.alert {
    border: none;
    border-radius: 15px;
    padding: 20px;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

/* ===== TABLES ===== */
.table {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.table thead th {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    color: #495057;
    padding: 20px 15px;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

.table tbody td {
    padding: 15px;
    border-color: #f1f3f4;
}

/* ===== BADGES ===== */
.badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
}

.status-pending {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.status-lulus {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.status-ditolak {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.status-aktif {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.status-nonaktif {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.status-selesai {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

/* ===== MODALS ===== */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px 20px 0 0;
    border: none;
    padding: 25px;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border: none;
    padding: 20px 30px;
}

/* ===== SIDEBAR STYLES ===== */
.sidebar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 15px 20px;
    margin: 5px 0;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: translateX(5px);
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

/* ===== MODERN SECTIONS ===== */
.section-badge {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.section-badge-dark {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #ff6b6b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine3D 4s ease-in-out infinite;
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 0 rgba(255, 255, 255, 0.6),
        0 3px 0 rgba(255, 255, 255, 0.4),
        0 4px 0 rgba(255, 255, 255, 0.2),
        0 5px 10px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2);
    transform: perspective(500px) rotateX(15deg);
    position: relative;
    display: inline-block;
}

.section-subtitle-modern {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== INFO SECTION MODERN ===== */
.info-section-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.info-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23667eea" opacity="0.1"/></svg>');
    background-size: 50px 50px;
}

/* Removed backgroundMove animation for performance */

.info-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.info-card-blue {
    border-top: 5px solid #4ecdc4;
}

.info-card-green {
    border-top: 5px solid #96ceb4;
}

.info-card-orange {
    border-top: 5px solid #ffeaa7;
}

.info-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.info-card-blue .info-card-icon {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
}

.info-card-green .info-card-icon {
    background: linear-gradient(45deg, #96ceb4, #8fbc8f);
}

.info-card-orange .info-card-icon {
    background: linear-gradient(45deg, #ffeaa7, #fab1a0);
}

.info-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.info-card-text {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-card-badge {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: white;
}

.feature-icon-purple {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
}

.feature-icon-pink {
    background: linear-gradient(45deg, #ffecd2, #fcb69f);
}

.feature-icon-cyan {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
}

.feature-icon-yellow {
    background: linear-gradient(45deg, #ffeaa7, #fab1a0);
}

.feature-item h6 {
    color: white;
    font-weight: 600;
    margin: 0;
}

/* ===== PROCESS SECTION MODERN ===== */
.process-section-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.process-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    /* Removed gradientShift animation for performance */
    opacity: 0.1;
}

.timeline-container {
    position: relative;
    margin: 50px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #96ceb4, #ffeaa7, #fab1a0);
    border-radius: 2px;
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
}

.timeline-item-1 { animation-delay: 0.1s; }
.timeline-item-2 { animation-delay: 0.2s; }
.timeline-item-3 { animation-delay: 0.3s; }
.timeline-item-4 { animation-delay: 0.4s; }

.timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.timeline-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.timeline-icon-blue {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
}

.timeline-icon-green {
    background: linear-gradient(45deg, #96ceb4, #8fbc8f);
}

.timeline-icon-orange {
    background: linear-gradient(45deg, #ffeaa7, #fab1a0);
}

.timeline-icon-purple {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.timeline-number {
    font-size: 1rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.timeline-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-duration {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* ===== CTA BOX ===== */
.cta-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    margin-top: 50px;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ===== INFO ITEMS & PROCESS STEPS (LEGACY) ===== */
.info-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.info-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.info-item h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-item p {
    color: #6c757d;
    margin: 0;
}

.process-step {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.process-step .step-number {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.process-step h5 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.process-step p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== ANIMATIONS - Removed for performance ===== */
/* All animations have been removed to improve page loading performance */

/* Removed fadeIn animations for performance */

.animate-fadeInUp {
    /* Animation removed for performance */
}

.animate-fadeInLeft {
    /* Animation removed for performance */
}

.animate-fadeInRight {
    /* Animation removed for performance */
}

.animate-fade-in {
    /* Animation removed for performance */
}

/* ===== BACK TO TOP BUTTON ===== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: none;
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(45deg, #764ba2, #667eea);
}

/* ===== UTILITIES ===== */
.text-gradient {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .table-responsive {
        border-radius: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* ===== LOGO STYLES ===== */
.navbar-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.form-logo {
    height: 80px;
    width: auto;
    max-width: 120px;
}

.page-logo {
    height: 100px;
    width: auto;
    max-width: 150px;
}

.sidebar-logo {
    height: 60px;
    width: auto;
    max-width: 80px;
}

.admin-logo {
    height: 80px;
    width: auto;
    max-width: 100px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
    
    .gradient-primary,
    .gradient-secondary {
        background: #f8f9fa !important;
        color: black !important;
    }
    
    .kartu-container {
        box-shadow: none;
        border: 2px solid #000;
    }
    
    .btn {
        display: none;
    }
}

/* ===== FORM SECTION STYLES ===== */
.form-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
    }

/* Removed float animation for performance */

.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.2),
        inset 0 1px 0 rgba(255,255,255,0.9);
    overflow: hidden;
    margin: 20px 0;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Removed slideInUp animation for performance */

.form-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.form-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    }

/* Removed shimmer animation for performance */

.form-header .form-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 15px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    }

/* Removed pulse animation for performance */

.form-header h2 {
    margin: 20px 0 10px 0;
    font-weight: 800;
    font-size: 2.2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
}

.form-header p {
    margin: 0;
    opacity: 0.95;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.form-body {
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,249,250,0.9));
}

/* ===== FORM SECTION HEADERS ===== */
.form-section-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 15px;
    padding: 20px 25px;
    margin-bottom: 30px;
    border-left: 5px solid #667eea;
    position: relative;
    overflow: hidden;
}

.form-section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.form-section-header:hover::before {
    transform: translateX(100%);
}

.form-section-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.3rem;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-header h5 i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* ===== ENHANCED FORM CONTROLS ===== */
.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    position: relative;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 
        0 0 0 0.2rem rgba(102, 126, 234, 0.15),
        0 8px 25px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    background: white;
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.required {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
    }

/* Removed pulse-red animation for performance */

/* ===== ENHANCED FILE UPLOAD ===== */
.file-upload-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.file-upload-label {
    display: block;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #6c757d;
    position: relative;
    overflow: hidden;
}

.file-upload-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.file-upload-label:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.file-upload-label:hover::before {
    left: 100%;
}

.file-upload-label.file-selected {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-color: #667eea;
    color: #667eea;
    border-style: solid;
}

.file-upload-label i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.7;
}

.file-upload-label .upload-text {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.file-upload-label .upload-hint {
    font-size: 0.9rem;
    opacity: 0.8;
}

.file-preview {
    margin-top: 15px;
    text-align: center;
    display: none;
    padding: 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.file-preview i {
    color: #28a745;
    margin-right: 8px;
}

/* ===== ENHANCED BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.4);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* ===== PROGRESS INDICATOR ===== */



}

.progress-step.completed::before {
    content: '✓';
    font-size: 16px;
    font-weight: bold;
}

/* ===== LOADING ANIMATION ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    }

/* Removed spin animation for performance */

/* ===== FORM VALIDATION STYLES ===== */
.form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #28a745;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* ===== NEWS SECTION STYLES ===== */
.news-section-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.news-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.news-card-header {
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.news-date i {
    color: #667eea;
}

.news-category {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.news-category-important {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.news-category-info {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
}

.news-category-update {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.news-card-content {
    padding: 20px;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.news-meta {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-author {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.news-author i {
    margin-right: 5px;
}

/* News Section Animation - Removed for performance */
.news-card {
    /* Animation removed for performance */
}

.news-card:nth-child(1) { /* Animation removed for performance */ }
.news-card:nth-child(2) { /* Animation removed for performance */ }
.news-card:nth-child(3) { /* Animation removed for performance */ }

/* Responsive News Section */
@media (max-width: 768px) {
    .news-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-category {
        align-self: flex-start;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .news-excerpt {
        font-size: 0.9rem;
    }
}