/* Custom CSS untuk Halaman PMB */

/* Hero Section - PMB */
.pmb-hero {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    padding: 80px 0;
}

.pmb-hero h1,
.pmb-hero p {
    color: #ffffff !important;
}

.pmb-hero .hero-subtitle {
    color: #bfdbfe !important;
}

/* Navigation Menu Styling */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    background-color: #3b82f6;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: #3b82f6;
    font-weight: 600;
}

nav a.active::after {
    width: 100%;
}

/* Hero Background - Ganti dengan gambar kampus Anda */
.hero-bg {
    background: linear-gradient(rgba(71, 85, 105, 0.7), rgba(71, 85, 105, 0.7)), 
                url('../images/campus-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Fallback jika gambar belum ada */
.hero-bg-fallback {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Tab Styling */
.tab-button {
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-button.active {
    background-color: #3b82f6;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.tab-button:not(.active):hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
}

/* WhatsApp Button Animation */
.whatsapp-float {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(34, 197, 94, 0);
    }
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Form Input Focus */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button Hover Effect */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message Animation */
.success-message {
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
