@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --bsu-red: #cc0000;
    --bsu-red-dark: #990000;
    --bsu-red-light: #ffcccc;
    --accent: #fcd34d;
    --bg-color: #f4f6f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 30px -5px rgba(204, 0, 0, 0.15), 0 15px 15px -5px rgba(204, 0, 0, 0.05);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 1.2rem 1rem !important;
}
.navbar.navbar-scrolled {
    padding: 0.5rem 1rem !important;
    background: rgba(255, 255, 255, 0.98) !important;
}
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.nav-link {
    font-weight: 600;
    color: var(--text-muted) !important;
    position: relative;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--bsu-red) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: var(--bsu-red);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}
.btn-primary, .btn-danger {
    background: linear-gradient(135deg, var(--bsu-red), var(--bsu-red-dark));
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}
.btn-primary:hover, .btn-danger:hover {
    background: linear-gradient(135deg, #e60000, #b30000);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.4);
    color: white;
}
.btn-outline-danger {
    border: 2px solid var(--bsu-red);
    color: var(--bsu-red);
    background: transparent;
}
.btn-outline-danger:hover {
    background: var(--bsu-red);
    color: white;
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.3);
    transform: translateY(-3px);
}
.btn-secondary {
    background: white;
    color: var(--text-muted);
    border: 1px solid #e2e8f0;
}
.btn-secondary:hover {
    background: #f8fafc;
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-success:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}


/* Cards */
.card, .custom-card {
    border: none;
    border-radius: var(--border-radius);
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.card:hover, .custom-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    z-index: 2;
}
.card-img-top {
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid var(--bsu-red);
    transition: transform 0.5s ease;
}
.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Inputs */
.form-control, .form-select {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 14px 20px;
    font-size: 1rem;
    background-color: #f8fafc;
    transition: var(--transition);
    color: var(--text-main);
}
.form-control:focus, .form-select:focus {
    border-color: var(--bsu-red);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.1);
}

/* Step Progress */
.step-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 2rem auto 3rem;
    max-width: 800px;
}
.step-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #e2e8f0;
    z-index: 1;
    transform: translateY(-50%);
    border-radius: 4px;
}
.step-item {
    position: relative;
    z-index: 2;
    background: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: var(--text-muted);
    border: 4px solid #e2e8f0;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
}
/* Utility Fixes */
.text-danger { color: var(--bsu-red) !important; }
.bg-danger { background-color: var(--bsu-red) !important; filter: none; }
.bg-opacity-10 { --bs-bg-opacity: 0.1; }

.hover-scale {
    transition: var(--transition);
}
.hover-scale:hover {
    transform: scale(1.05);
}
.step-item.active {
    border-color: var(--bsu-red);
    background-color: var(--bsu-red);
    color: white;
    box-shadow: 0 0 0 6px rgba(204, 0, 0, 0.2);
    transform: scale(1.1);
}
.step-item.completed {
    border-color: var(--bsu-red);
    background-color: var(--bsu-red);
    color: white;
}

/* Utilities */
.hover-lift {
    transition: var(--transition);
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: white !important;
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    overflow: hidden;
}
.hero-bg {
    animation: gentle-zoom 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes gentle-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}
@keyframes fadeIn {
    to { opacity: 1; }
}
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

.float-slow {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Hero Enhancements */
.hero-particles .particle {
    position: absolute;
    border-radius: 50%;
    background: white;
    opacity: 0.1;
    animation: particle-float infinite linear;
}
.p1 { width: 100px; height: 100px; top: 10%; left: 10%; animation-duration: 20s !important; }
.p2 { width: 150px; height: 150px; bottom: 20%; right: 15%; animation-duration: 25s !important; }
.p3 { width: 80px; height: 80px; top: 40%; right: 40%; animation-duration: 18s !important; }

@keyframes particle-float {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-50px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

@keyframes blob-morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.shadow-2xl {
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.5);
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
}

.gradient-text {
    background: linear-gradient(135deg, var(--bsu-red), #ff4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tables */
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}
.table thead th {
    background-color: #f8fafc;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    padding: 16px;
}
.table tbody tr {
    transition: var(--transition);
    background-color: white;
}
.table tbody td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}
.table tbody tr:hover {
    background-color: #f8fafc;
    transform: scale(1.005);
    box-shadow: var(--shadow-sm);
    z-index: 10;
    position: relative;
    border-radius: 8px;
}

/* Badges */
.badge {
    padding: 0.5em 1em;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Loader */
.loader-overlay {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}
.spinner-border.text-danger {
    color: var(--bsu-red) !important;
}

/* Modals */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}



/* Features Slider */
.feature-slider-container {
    padding: 20px 0;
}
.swiper-slide {
    height: auto;
    display: flex;
}
.feature-card {
    transition: var(--transition);
    transform-origin: center;
    border: 1px solid rgba(0,0,0,0.05);
}
.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
.swiper-button-next, .swiper-button-prev {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--bsu-red);
    color: white !important;
}
.swiper-pagination-bullet-active {
    background: var(--bsu-red) !important;
    width: 25px;
    border-radius: 10px;
}

.icon-box {
    transition: var(--transition);
}
.feature-card:hover .icon-box {
    transform: rotate(10deg) scale(1.1);
}

.hover-scale {
    transition: var(--transition);
}
.hover-scale:hover {
    transform: scale(1.05);
}

.step-num {
    background: var(--bsu-red-light);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.italic { font-style: italic; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: var(--bsu-red);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--bsu-red-dark);
}

#btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bsu-red);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}
#btn-back-to-top:hover {
    transform: translateY(-5px);
    background: var(--bsu-red-dark);
}


