/* ==========================================
   1. ROOT VARIABLES & PALETTE
   ========================================== */
:root {
    --brand-blue: #0091ec;
    --brand-orange: #ff8401;
    --brand-dark: #002b5b;
    --brand-light: #F8FAFC;
    --transition-speed: 0.3s;
    --navbar-height: 15px;
    /* Mobile default height */
}

@media (min-width: 992px) {
    :root {
        --navbar-height: 100px;
        /* Desktop height */
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

/* ==========================================
   2. TOP UTILITY BAR & HEADER
   ========================================== */
.top-bar {
    background-color: var(--brand-blue);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 6px 0;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: opacity var(--transition-speed) ease;
}

.top-bar a:hover {
    opacity: 0.7;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--brand-orange);
}

.navbar-brand img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* ==========================================
   3. DESKTOP NAVIGATION LINKS
   ========================================== */
.custom-navbar .nav-link {
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color var(--transition-speed) ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active,
.custom-navbar .show>.nav-link {
    color: var(--brand-blue) !important;
}

/* Dropdown styling */
.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 145, 236, 0.12);
}

.dropdown-item {
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all var(--transition-speed) ease;
}

.dropdown-item:hover {
    background-color: var(--brand-light);
    color: var(--brand-blue);
    padding-left: 1.8rem;
}

/* ==========================================
   4. CALL TO ACTION BUTTON
   ========================================== */
.btn-cta {
    background-color: var(--brand-orange);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        background-color var(--transition-speed) ease;
}

.btn-cta:hover {
    background-color: #e07200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 132, 1, 0.3);
}

/* ==========================================
   5. MOBILE MENU (BOTTOM SHEET - 80% HEIGHT)
   ========================================== */
.navbar-toggler {
    border: none;
    padding: 0.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon-custom {
    font-size: 2rem;
    color: var(--brand-blue);
    transition: color var(--transition-speed) ease;
}

.navbar-toggler:hover .navbar-toggler-icon-custom {
    color: var(--brand-orange);
}

/* Custom 80% height bottom sheet */
.offcanvas-bottom.custom-bottom-sheet {
    height: 80vh !important;
    max-height: 80vh !important;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-top: 4px solid var(--brand-orange);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    /* Smooth slide-up animation */
}

/* Visual drag-pill indicator at the top of the sheet */
.sheet-drag-pill {
    width: 45px;
    height: 5px;
    background-color: #CBD5E1;
    border-radius: 10px;
    margin: 0 auto 15px auto;
}

/* Mobile Link styling inside the drawer */
.custom-bottom-sheet .nav-link {
    font-size: 1.1rem;
    padding: 0.8rem 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==========================================
   6. HERO & ENQUIRY SECTION STYLES
   ========================================== */
.hero-section {
    /* Combines a 75% dark overlay and your background image */
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url('assets/img/sevastapool.png') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    /* Keeps background smooth on mobile devices */
    min-height: calc(100vh - 120px);
    position: relative;
    overflow: hidden;
}

/* Subtle abstract geometric glow decoration behind the layout */
.hero-section::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 132, 1, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    /* Beautiful scaling text sizes across devices */
    line-height: 1.2;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.text-highlight {
    color: var(--brand-orange) !important;
}

.text-dark-blue {
    color: var(--brand-blue);
}

.opacity-90 {
    opacity: 0.9;
}

.border-white-opacity {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* High Converting Form Styling */
.form-card {
    background-color: #ffffff;
    border-radius: 20px;
    border-top: 5px solid var(--brand-orange) !important;
}

.form-card .form-label {
    color: var(--brand-dark);
    font-size: 0.85rem;
}

.form-card .form-control,
.form-card .form-select {
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    color: var(--brand-dark);
    border: 1px solid #E2E8F0;
}

.form-card .input-group-text {
    border: 1px solid #E2E8F0;
    color: var(--brand-blue);
}

.text-brand-blue {
    color: var(--brand-blue);
}

/* Form Interactivity Focus Tweaks */
.form-card .form-control:focus,
.form-card .form-select:focus {
    background-color: #ffffff !important;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 145, 236, 0.15);
}

.form-card .form-control:focus+.input-group-text,
.form-card .input-group :focus~.input-group-text {
    border-color: var(--brand-blue);
}

/* Submit Action Tuning */
.btn-submit {
    background-color: var(--brand-orange);
    border: none;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: all var(--transition-speed) ease;
}

.btn-submit:hover {
    background-color: #e07200;
    box-shadow: 0 5px 15px rgba(255, 132, 1, 0.4);
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(1px);
}

/* ==========================================
   7. SEVASTOPOL STATE UNIVERSITY SECTION
   ========================================== */
.text-orange {
    color: var(--brand-orange);
}

.text-blue {
    color: var(--brand-blue);
}

.tracking-wider {
    letter-spacing: 1px;
}

.bg-light-blue {
    background-color: rgba(0, 145, 236, 0.08);
}

.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Quick Facts Grid Styling */
.stat-card {
    background-color: var(--brand-light);
    border: 1px solid #E2E8F0;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

/* Distinct accent color boundaries for the stat grid cards */
.border-start-orange {
    border-left: 4px solid var(--brand-orange) !important;
}

.border-start-blue {
    border-left: 4px solid var(--brand-blue) !important;
}

/* ==========================================
   8. ENHANCED HIGHLIGHT & POPUP MODAL STYLES
   ========================================== */
.py-6 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

.fw-extrabold {
    font-weight: 800;
}

.tracking-tight {
    letter-spacing: -0.5px;
}

/* Attractive Badge Pill */
.campus-badge {
    background-color: rgba(255, 132, 1, 0.08);
    border: 1px solid rgba(255, 132, 1, 0.15);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-orange);
    border-radius: 50%;
    display: inline-block;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

/* Feature Row Clean Ups */
.bg-light-orange {
    background-color: rgba(255, 132, 1, 0.08);
}

.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.feature-item {
    transition: background-color var(--transition-speed);
}

.feature-item:hover {
    background-color: var(--brand-light);
}

/* Re-styled Apply Now CTA Trigger Button */
.btn-apply-now {
    background-color: var(--brand-orange);
    border: none;
    border-radius: 50px;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-apply-now:hover {
    background-color: #e07200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 132, 1, 0.35) !important;
}

/* Premium Visual Custom Layout Grid */
.bg-light-section {
    background-color: #FAFBFD;
}

.metric-card {
    border: 1px solid #EEF2F6;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-card:hover {
    transform: translateY(-5px);
    background-color: #ffffff;
    box-shadow: 0 15px 30px rgba(11, 37, 69, 0.06) !important;
}

.metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bg-blue-subtle {
    background-color: rgba(0, 145, 236, 0.1);
}

.bg-orange-subtle {
    background-color: rgba(255, 132, 1, 0.1);
}

.border-top-orange {
    border-top: 4px solid var(--brand-orange) !important;
}

.border-top-blue {
    border-top: 4px solid var(--brand-blue) !important;
}

/* Modal Popup Core Custom Accents */
.modal-accent-bar {
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-orange) 100%);
}

.text-mini {
    font-size: 0.78rem;
}

/* ==========================================
   9. SEVASTOPOL STATE UNIVERSITY KEY HIGHLIGHTS
   ========================================== */
.bg-brand-light {
    background-color: #F1F5F9;
    /* Clean cool gray/slate backdrop for contrast */
}

.max-w-700 {
    max-width: 700px;
}

/* Highlight Card Custom Layouts */
.highlight-card {
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 0 solid transparent !important;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(11, 37, 69, 0.08) !important;
    border-bottom: 4px solid var(--brand-blue) !important;
}

/* Card Icons Roundels */
.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.bg-blue-light {
    background-color: rgba(0, 145, 236, 0.08);
}

.bg-orange-light {
    background-color: rgba(255, 132, 1, 0.08);
}

/* ==========================================
   11. OVERVIEW WITH IMAGE & BACKGROUND STYLES
   ========================================== */
.sevsu-overview {
    /* Rich professional dark blue background gradient */
    background: linear-gradient(180deg, var(--brand-dark) 0%, #0F172A 100%);
    overflow: hidden;
}

/* Add a beautiful abstract glowing structural circle behind the layout */
.sevsu-overview::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 145, 236, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.z-1 {
    z-index: 1;
}

.min-h-350 {
    min-height: 350px;
}

.col-100 {
    width: 100%;
}

.bg-orange {
    background-color: var(--brand-orange) !important;
}

/* Main Layout Card */
.overview-main-card {
    max-width: 1060px;
    margin: 0 auto;
}

/* Left Column Background Image Visual Configuration */
.card-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.5s ease;
}

.overview-main-card:hover .card-img-bg {
    transform: scale(1.04);
    /* Elegant subtle zoom effect on card interaction */
}

.card-img-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 1;
}

/* Data Row Layout Adjustments */
.gap-2\.5 {
    gap: 0.65rem !important;
}

.overview-item {
    background-color: #F8FAFC;
    border: 1px solid #EDF2F7;
    transition: all var(--transition-speed) ease;
}

.overview-item:hover {
    background-color: #ffffff;
    border-color: rgba(0, 145, 236, 0.25);
    box-shadow: 0 4px 12px rgba(0, 145, 236, 0.05);
    transform: translateX(3px);
}

/* Responsive Overrides for Mobile Layout consistency */
@media (max-width: 991.98px) {
    .min-h-350 {
        min-height: 260px;
    }
}

/* ==========================================
   12. WHY CHOOSE SEVSU SECTION STYLES
   ========================================== */
.why-choose-sevsu {
    background-color: #ffffff;
}

/* Benefit Cards Layout Aesthetics */
.benefit-card {
    background-color: #ffffff;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-blue) !important;
    box-shadow: 0 15px 35px rgba(0, 145, 236, 0.08) !important;
}

/* Distinct Rounded Box Wrappers for Icons */
.benefit-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon-wrapper {
    transform: scale(1.1) rotate(3deg);
    /* Dynamic subtle spin kick effect on icon when card is active */
}

/* ==========================================
   13. SEVSU ELIGIBILITY CRITERIA SECTION STYLES
   ========================================== */
.bg-eligibility-light {
    /* Subtle, ultra-clean premium slate texture shade */
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
}

/* Eligibility Rounded Dashboard Cards */
.eligibility-card {
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 4px solid transparent !important;
}

.eligibility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06) !important;
    border-top: 4px solid var(--brand-orange) !important;
}

/* Interactive Badge Circles for Requirements */
.eligibility-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: transform 0.35s ease;
}

.eligibility-card:hover .eligibility-icon {
    transform: scale(1.15);
}

/* Adjustments for rounded pill CTA button wrapper alignment */
@media (max-width: 575.98px) {
    .rounded-pill {
        border-radius: 16px !important;
    }
}

/* ==========================================
   14. SEVSU ADMISSION PROCESS FLOW STYLES
   ========================================== */
.process-workflow-container {
    position: relative;
}

/* Graphic Card Layout System */
.step-card {
    background-color: #F8FAFC;
    border-left: 4px solid transparent !important;
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.step-card:hover {
    background-color: #ffffff;
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 37, 69, 0.07) !important;
    border-left: 4px solid var(--brand-blue) !important;
}

/* Elegant Background Watermark Step Numbers */
.step-number {
    position: absolute;
    font-size: 5.5rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.03);
    right: 15px;
    top: -10px;
    line-height: 1;
    user-select: none;
    transition: color 0.3s ease;
}

.step-card:hover .step-number {
    color: rgba(0, 145, 236, 0.06);
    /* Accent subtle shifts on hover states */
}

/* Internal Vector Layouts */
.step-icon {
    font-size: 1.8rem;
    line-height: 1;
}

/* ==========================================
   15. SEVSU DOCUMENTS REQUIRED SECTION STYLES
   ========================================== */
.sevsu-documents {
    background-color: #0F172A;
    /* Deep dark slate fall-back base */
}

.z-2 {
    z-index: 2;
}

/* Background Image Layer */
.doc-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: blur(2px);
    /* Softens the image background for maximum visual depth */
}

/* Blackish Overlay Mask Layer */
.doc-dark-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(8, 13, 24, 0.96) 100%);
    z-index: 1;
}

/* Glassmorphic Minimalistic Document Cards */
.doc-card {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.doc-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 132, 1, 0.35) !important;
    /* Glow accents orange boundaries */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Subtle Adjustment to Icons within Glass Cards */
.doc-card .doc-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
}

/* ==========================================
   16. SEVSU FEE STRUCTURE STYLES
   ========================================== */
.bg-light-section {
    background-color: #F8FAFC;
}

/* Custom Table Overrides */
.fee-table-card {
    border-radius: 16px;
}

.custom-fee-table {
    background-color: #ffffff;
}

.custom-fee-table thead th {
    font-size: 0.82rem;
    font-weight: 700;
    border-bottom: none;
}

.bg-blue {
    background-color: var(--brand-blue) !important;
}

.custom-fee-table tbody tr {
    border-bottom: 1px solid #EEF2F6;
    transition: background-color var(--transition-speed);
}

.custom-fee-table tbody tr:last-child {
    border-bottom: none;
}

.custom-fee-table tbody td {
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
    font-size: 0.92rem;
}

.text-brand-blue {
    color: var(--brand-blue) !important;
}

/* Right-Side Dashboard Summary Panel */
.fee-summary-panel {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #0F172A 100%);
    border-radius: 16px;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.bg-white-5 {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Subtle background accent line within summary card */
.fee-summary-panel::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 132, 1, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================
   17. SEVSU RANKINGS & RECOGNITION STYLES
   ========================================== */
.rank-stat-card {
    border-radius: 16px;
    background-color: #ffffff;
    border-top: 4px solid #EEF2F6 !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rank-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06) !important;
    border-top-color: var(--brand-blue) !important;
}

/* Rounded Decorative Icon Circles */
.rank-badge-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1;
}

/* Tiny Typography Utilities */
.extra-small {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Accreditations Inner Wrap Alignment Fixes */
.sevsu-rankings .bg-light-section {
    background-color: #F8FAFC;
    border-radius: 20px;
}

/* ==========================================
   18. SEVSU STUDENT LIFE SECTION STYLES
   ========================================== */
.sevsu-student-life {
    background-color: #F8FAFC;
}

/* Lifestyle Interactive Cards Layout */
.life-card {
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 4px solid transparent !important;
}

.life-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(11, 37, 69, 0.06) !important;
    border-bottom: 4px solid var(--brand-orange) !important;
    /* Elegant orange hover striping accent */
}

/* Card Rounded Icon Configuration */
.life-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.life-card:hover .life-icon {
    transform: scale(1.1);
}

/* ==========================================
   19. SEVSU HOSTEL ACCOMMODATION STYLES
   ========================================== */
.bg-dark-panel {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #0F172A 100%);
}

/* Custom rounded circular design for smaller facility grid blocks */
.facility-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Hover behaviors for minor amenity layout blocks */
.asset-hover-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 3px solid transparent !important;
}

.asset-hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.05) !important;
    border-bottom: 3px solid var(--brand-blue) !important;
}

/* Custom visual layout adjustments for background striping alignment */
.bg-brand-light {
    background-color: #F8FAFC !important;
}

/* ==========================================
   20. SEVSU STUDENT REVIEWS STYLES
   ========================================== */
.sevsu-reviews {
    background-color: #0F172A;
    /* Deep dark slate fall-back base */
}

/* Background Image Layer */
.review-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: blur(2px);
}

/* Blackish Overlay Mask Layer */
.review-dark-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(8, 13, 24, 0.96) 100%);
    z-index: 1;
}

/* Glassmorphic Testimonial Cards */
.review-card {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-5px);
    border-color: rgba(255, 132, 1, 0.35) !important;
    /* Glow accents orange boundaries */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Custom Text Avatar Styling */
.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.bg-orange {
    background-color: var(--brand-orange) !important;
}

/* Elegant Background Quote Icon Watermark */
.quote-watermark {
    position: absolute;
    font-size: 7rem;
    color: rgba(255, 255, 255, 0.02);
    right: 15px;
    bottom: -25px;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    transition: color 0.3s ease;
}

.review-card:hover .quote-watermark {
    color: rgba(255, 132, 1, 0.06);
}

.review-card p.italic {
    font-style: italic;
    line-height: 1.6;
}

/* ==========================================
   20. SEVSU STUDENT REVIEWS SLIDER STYLES
   ========================================== */
.sevsu-reviews {
    background-color: #0F172A;
    /* Deep dark slate fall-back base */
}

/* Background Image Layer */
.review-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: blur(2px);
}

/* Blackish Overlay Mask Layer */
.review-dark-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94) 0%, rgba(8, 13, 24, 0.97) 100%);
    z-index: 1;
}

/* Glassmorphic Testimonial Cards - Enhanced Brightness & Clarity */
.review-card {
    background: rgba(255, 255, 255, 0.11) !important;
    /* Brighter container background */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    /* Brighter high-contrast outline */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card:hover {
    background-color: rgba(255, 255, 255, 0.16) !important;
    /* Extra glow boost on hover */
    transform: translateY(-5px);
    border-color: rgba(255, 132, 1, 0.5) !important;
    /* Glowing orange borders */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Bright Typography Class Adjustments */
.text-light-bright {
    color: rgba(255, 255, 255, 0.88) !important;
    /* Highly readable near-white text */
}

.review-card p.italic {
    font-style: italic;
    line-height: 1.6;
}

/* Custom Text Avatar Styling */
.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.bg-orange {
    background-color: var(--brand-orange) !important;
}

/* Background Watermark Quotes */
.quote-watermark {
    position: absolute;
    font-size: 7rem;
    color: rgba(255, 255, 255, 0.04);
    right: 15px;
    bottom: -25px;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

/* Custom Sliders Arrow Buttons Styling */
.carousel-control-custom-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.25s ease;
}

.carousel-control-prev:hover .carousel-control-custom-icon,
.carousel-control-next:hover .carousel-control-custom-icon {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #ffffff;
}

.carousel-control-prev {
    left: -60px;
}

.carousel-control-next {
    right: -60px;
}

/* Constrain control visibility inside standard containers */
@media (max-width: 1400px) {
    .carousel-control-prev {
        left: -25px;
    }

    .carousel-control-next {
        right: -25px;
    }
}

/* ==========================================
   21. SEVSU PREMIUM FAQ ACCORDION STYLES
   ========================================== */
.offset-top-fixed {
    top: 100px;
}

/* Premium Helpline Card Panel Layout */
.helpline-card {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #0F172A 100%);
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.07);
}

.btn-light-action {
    background-color: #ffffff;
    color: #0F172A !important;
    border-radius: 12px;
    border: 0;
    transition: all 0.3s ease;
}

.btn-light-action:hover {
    background-color: var(--brand-orange);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Luxury Glow Card Decors */
.card-glow-element {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 132, 1, 0.15) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
}

/* Upgraded Accordion Item Panels */
.premium-faq-accordion .accordion-item {
    border: 1px solid #E2E8F0 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid transparent !important;
    /* Base slot for transition striping */
}

.premium-faq-accordion .accordion-item:hover {
    border-color: #CBD5E1 !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04) !important;
}

/* Active Accordion Dynamic Highlight States */
.premium-faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-left-color: var(--brand-blue) !important;
    /* Illuminates blue edge when opened */
    border-color: rgba(0, 145, 236, 0.2) !important;
    box-shadow: 0 15px 30px rgba(0, 145, 236, 0.04) !important;
}

/* Button Structural Overrides */
.premium-faq-accordion .accordion-button {
    background-color: #ffffff !important;
    color: var(--brand-dark) !important;
    box-shadow: none !important;
}

.premium-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--brand-blue) !important;
}

/* Micro-Typography Utility Elements */
.faq-number {
    font-family: monospace;
    font-size: 1.1rem;
}

/* ==========================================
   DARK LANDING PAGE FOOTER STYLES
   ========================================== */
:root {
    --brand-orange: #FF8401;
    --brand-blue: #0091EC;
}

.sevsu-dark-footer {
    background: linear-gradient(180deg, #0F172A 0%, #080D18 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Local Landing Page Anchor Jump Settings */
.footer-landing-links a {
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-landing-links a:hover {
    color: var(--brand-orange) !important;
    transform: translateY(-2px);
}

/* Text Element Max Width Constraints */
.max-w-500 {
    max-width: 500px;
}

@media (max-width: 991.98px) {
    .max-w-500 {
        margin: 0 auto;
    }
}

/* Premium Attribution Link Dynamic Highlight (a-one box) */
.footer-brand-link {
    position: relative;
    transition: color 0.25s ease;
}

.footer-brand-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1.5px;
    bottom: -1px;
    left: 0;
    background-color: var(--brand-orange);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.footer-brand-link:hover {
    color: #ffffff !important;
}

.footer-brand-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* ==========================================
   24. AUTO-LOAD ENQUIRY FORM MODAL OVERRIDES
   ========================================== */
.btn-apply-now {
    background-color: var(--brand-orange, #FF8401);
    border: 0;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-apply-now:hover,
.btn-apply-now:focus {
    background-color: #E07300 !important;
    transform: translateY(-1px);
}

/* Form Input Control Adjustments */
.modal-body .form-control,
.modal-body .form-select {
    border: 1px solid #E2E8F0;
    color: #334155;
}

.modal-body .form-control::placeholder {
    color: #94A3B8;
}

/* Micro Typography Helper Utilities */
.extra-small {
    font-size: 0.75rem !important;
}

/* Input Group Icon Framework Alignments */
.modal-body .input-group-text {
    border: 1px solid #E2E8F0;
    color: #64748B;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

/* ==========================================
   25. UTILITY SCROLL-REVEAL ANIMATIONS
   ========================================== */

/* Base configuration for all reveal animations */
.reveal-fade-left,
.reveal-fade-right,
.reveal-fade-up,
.reveal-pop-in {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    /* Boosts mobile rendering rendering */
}

/* --- Initial States (Hidden) --- */
.reveal-fade-left {
    transform: translateX(-50px);
}

.reveal-fade-right {
    transform: translateX(50px);
}

.reveal-fade-up {
    transform: translateY(40px);
}

.reveal-pop-in {
    transform: scale(0.85);
    /* Premium spring-like elastic transition for the pop-in effect */
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Active States (Triggered on Scroll) --- */
.reveal-fade-left.is-visible,
.reveal-fade-right.is-visible,
.reveal-fade-up.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-pop-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Optional: Add a subtle delay utility class if you want to chain elements */
.delay-1 {
    transition-delay: 150ms;
}

.delay-2 {
    transition-delay: 300ms;
}

.delay-3 {
    transition-delay: 450ms;
}

/* ==========================================
   26. FLOATING ACTIONS (WHATSAPP & BACK TO TOP)
   ========================================== */

/* --- WhatsApp Widget Rules --- */
.whatsapp-floating {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background-color: #25D366;
    /* Official WhatsApp Green */
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 50px;
    z-index: 1040;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-floating i {
    font-size: 1.35rem;
    line-height: 1;
}

.whatsapp-floating:hover {
    background-color: #20ba5a;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45) !important;
}

/* --- Back To Top Rules --- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background-color: #0F172A;
    /* Sleek slate matching the footer */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1040;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top i {
    font-size: 1.8rem;
    line-height: 1;
}

.back-to-top:hover {
    background-color: var(--brand-orange, #FF8401);
    color: #ffffff;
    border-color: var(--brand-orange, #FF8401);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 132, 1, 0.3) !important;
}

/* Back to Top Visible State (managed by JS scroll trigger) */
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

/* --- Mobile Responsive Enhancements --- */
@media (max-width: 767.98px) {
    .whatsapp-floating {
        bottom: 16px;
        left: 16px;
        padding: 12px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        /* Collapses to pure circle on mobile layout */
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}