/* Copyright © 2025 SCS Computer Education. All Rights Reserved. Do not copy. */

html,body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


.bg-myblue {
    background-color: #1E3A5F;
}

.bg-myyellow {
    background-color: #fbc505;
}

a {

  text-decoration: none;
}

/* Input Fields */
.form-control {
    border: 2px solid #ced4da;
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s ease-in-out;
}

/* Input Focus Effect */
.form-control:focus {
    border-color: #1E3A5F !important;
    box-shadow: 0px 0px 8px rgba(0, 86, 179, 0.3) !important;
    outline: none !important;
}

/* Select Focus - Remove Bootstrap Default */
.form-select {
    border: 2px solid #ced4da;
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s ease-in-out;
    appearance: none; /* Remove default dropdown styling */
}

/* Select Focus Effect */
.form-select:focus {
    border-color: #1E3A5F !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Label Styling */
.form-label {
    font-weight: 600;
    color: #333;
}

.btn-primary {
    background: linear-gradient(45deg, #4A90E2, #1E3A5F) !important;
    border: none !important;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #1E3A5F, #1E3A5F) !important;
}

/* Optional: Glassmorphism for modal */
.modal-glass {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Smooth and slow modal fade-in */
.modal.fade .modal-dialog {
  transition: transform 0.6s ease-out, opacity 0.6s ease-out !important;
  transform: translateY(-20px);
  opacity: 0;
}

.modal.fade.show .modal-dialog {
  transform: translateY(0);
  opacity: 1;
}



/* ================= Top Header ================= */
.top-header {
    background: #1E3A5F; /* Brand Color */
    color: #fff !important;
    padding: 10px 10px;
    font-size: 14px;
    font-weight: 500;
}


/* Welcome Text */
.welcome-text {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

/* Social Icons & Links */
.top-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
    margin-right: 10px;
}

.social-icons a:hover {
    color: #fbc505;
    transform: scale(1.1);
}

/* Divider Line */
.divider {
    width: 2px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 15px;
}

/* Links */
.top-links a {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    margin-right: 15px;
}

.top-links a:hover {
    color: #fbc505;
}

.apply-link {
     color: #fbc505 !important;
}


/* Mobile View - Top Header */
@media (max-width: 768px) {
   .top-header {
        padding: 10px 0;
        text-align: center;
    }

    .row.d-flex {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .top-social {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .social-icons {
        display: flex;
        gap: 10px;
    }

    .social-icons a {
        font-size: 16px;
        margin-right: 5px;
    }

    .divider {
        display: none;
    }

    .top-links {
        display: flex;
        flex-direction: row; /* Keep elements side by side */
        align-items: center;
        gap: 5px;
    }

    .top-links a {
        margin-right: 0;
        font-size: 13px;
    }
}

/* ================= Navigation Bar ================= */
.navbar-top {
    background-color: white;
    padding: 10px 0;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar Links */
.navbar-nav .nav-item .nav-link {
    color: #1E3A5F;
    font-weight: bold;
    padding: 10px 15px;
    transition: color 0.3s ease-in-out;
    white-space: nowrap; /* Prevent icon and text wrapping */
}

.navbar-nav .nav-item .nav-link:hover {
    color: #fbc505;
}

/* Responsiveness fix for medium-to-large desktops (e.g. 1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .navbar-nav .nav-item .nav-link {
        padding: 10px 11px !important;
        font-size: 14px !important;
    }
    .navbar-brand img {
        width: 180px !important;
    }
    .navbar-top .btn-primary {
        padding: 8px 14px !important;
        font-size: 14px !important;
    }
}

/* ================= Dropdown Styling ================= */
/* Dropdown Menu */
.navbar-nav .dropdown-menu {
    background: #2c3e50;
    border-radius: 5px;
    border: none;
    padding: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: visibility 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* Hover Effect */
.navbar-nav .dropdown-menu .dropdown-item {
    color: #fff;
    padding: 10px 15px;
    transition: background 0.3s ease-in-out;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background: #2980b9;
    color: #fff;
}

/* Dropdown Hover - Desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Icon Animation */
.dropdown-icon {
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease-in-out;
}

.navbar-nav .dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

/* ================= Mobile Dropdown Fix ================= */
@media (max-width: 1199px) {
    .navbar-nav .dropdown-menu {
        position: absolute !important; /* Fix positioning */
        top: 100% !important;
        left: 0;
        z-index: 1000;
        background: #2c3e50 !important;
        border-radius: 5px;
        border: none;
        width: auto;
        min-width: 200px; /* Ensures proper width */
        visibility: hidden;  /* Hide initially */
        opacity: 0;
        transform: translateY(10px);
        transition: visibility 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    }

    /* When dropdown is active */
    .navbar-nav .dropdown.show .dropdown-menu {
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        color: white !important;
        padding: 10px 15px;
    }

}

/* Enable multi-level dropdown */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}



/* ================= Navbar Button ================= */
.nav-button {
    background-color: #fbc505;
    color: #1E3A5F;
    font-weight: bold;
}

/* ================= NEWS TICKER BANNER ================= */
.ticker-wrap {
    display: flex;
    align-items: center;
    background: #0f172a; /* Dark navy slate theme */
    border-bottom: 2px solid #4A90E2;
    overflow: hidden;
    height: 44px;
    position: relative;
    z-index: 10;
}

.ticker-title {
    background: #4A90E2;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    position: relative;
    z-index: 12;
    box-shadow: 8px 0 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.ticker-title:hover {
    background: #1e40af;
    color: #fffd06;
    text-decoration: none;
}

.ticker-content-box {
    flex-grow: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.ticker-items {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 50px;
    animation: ticker-animation 30s linear infinite;
}

.ticker-items:hover {
    animation-play-state: paused; /* Pause ticker on hover */
    cursor: pointer;
}

.ticker-item {
    font-size: 14px;
    color: #F8FBFF;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ticker-item:hover {
    color: #4A90E2 !important;
    transform: scale(1.02);
    animation: marqueeGlowPulse 1.5s infinite ease-in-out;
}

.ticker-item i {
    color: #1E3A5F; /* Gold Star icon color */
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.ticker-item:hover i {
    transform: rotate(360deg) scale(1.3);
    color: #ffffff;
}

@keyframes ticker-animation {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0); /* Perfect continuous loops */
    }
}

@keyframes marqueeGlowPulse {
    0%, 100% { text-shadow: 0 0 6px rgba(255, 211, 61, 0.4); }
    50% { text-shadow: 0 0 14px rgba(255, 211, 61, 0.8), 0 0 22px rgba(255, 211, 61, 0.4); }
}

/* Responsive adjustment for news ticker banner */
@media (max-width: 768px) {
    .ticker-wrap {
        height: 38px;
    }
    
    .ticker-title {
        font-size: 12px;
        padding: 0 12px;
        gap: 5px;
    }
    
    .ticker-item {
        font-size: 12.5px;
    }
}

.slider-area {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/static-1.webp') no-repeat center center/cover;
    height: 450px;
}
.slider-height {
    height: 450px;
}

.spec_btn {
    border-radius: 30px;
    padding: 8px 20px;
    margin-top: -15px;
    z-index: 10;
}

.about-img-box img {
    border: 5px solid #fff;
    transition: 0.3s;
}
.about-img-box:hover img {
    transform: scale(1.02);
}

.feature-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}
.feature-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.course-card {
    transition: 0.3s;
    border-radius: 8px;
    border: none;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.course-icon {
    color: #1E3A5F;
}
.course-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.course-info {
    font-size: 14px;
    color: #777;
}

.counter-box {
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: 0.3s;
}
.counter-box .icon-box {
    color: #1E3A5F;
}

.instructor-box {
    background: linear-gradient(45deg, #1E3A5F, #1E3A5F);
    color: #white;
}
.instructor-btn {
    background-color: #fbc505;
    color: #1E3A5F;
    font-weight: bold;
    border-radius: 30px;
    padding: 12px 30px;
    transition: 0.3s;
}
.instructor-btn:hover {
    background-color: #fff;
    color: #1E3A5F;
}

.student-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}
.student-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1E3A5F;
}

.student-cta {
    background: #fbc505;
    padding: 40px 0;
}
.cta-box {
    border-radius: 15px;
}
.student-cta-btn {
    background: #1E3A5F;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}
.student-cta-btn:hover {
    background: #002654;
    color: white;
}

/* Premium Footer Styling */
footer {
    background: #1E3A5F; /* Rich deep brand-themed dark background */
    color: #a0aec0;
    border-top: 4px solid #fbc505; /* Solid brand yellow accent header border */
}

footer a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #fbc505 !important;
}

footer h4.footer-heading {
    color: white;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 8px;
}

footer h4.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: #fbc505;
    border-radius: 2px;
}

/* Footer Link Hover Animations */
footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

footer ul li a i {
    font-size: 11px;
    margin-right: 6px;
    transition: all 0.3s ease;
}

footer ul li a:hover {
    transform: translateX(6px);
}

footer ul li a:hover i {
    color: #fbc505;
}

/* Contact Items Styling */
.footer-contact-list .contact-item {
    transition: transform 0.3s ease;
}

.footer-contact-list .contact-item:hover {
    transform: translateX(4px);
}

.contact-icon {
    background: rgba(251, 197, 5, 0.12) !important;
    border: 1px solid rgba(251, 197, 5, 0.25);
    color: #fbc505 !important;
    transition: all 0.3s ease;
}

.footer-contact-list .contact-item:hover .contact-icon {
    background: #fbc505 !important;
    color: #1E3A5F !important;
    box-shadow: 0 0 12px rgba(251, 197, 5, 0.45);
}

.contact-details .hover-yellow {
    transition: color 0.2s ease;
}

.contact-details .hover-yellow:hover {
    color: #fbc505 !important;
}

/* Payment Icons Styling */
.payment-icons img {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px;
    background: rgba(255, 255, 255, 0.04);
}

.payment-icons img:hover {
    transform: translateY(-4px) scale(1.06);
    border-color: rgba(251, 197, 5, 0.4);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
}

/* Bottom Footer & Social Icons */
.buttom-footer {
    background: #1E3A5F !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.buttom-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a0aec0 !important;
    transition: all 0.3s ease;
    text-align: center;
}

.buttom-social a i {
    font-size: 14px;
    line-height: 1;
}

.buttom-social a:hover {
    background: #fbc505;
    color: #1E3A5F !important;
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(251, 197, 5, 0.35);
}

.floating-wpp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 55px;
    height: 55px;
    cursor: pointer;
}
#back-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.scrollup {
    background: #1E3A5F;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.scrollup a {
    color: white;
}

.doc-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}
.doc-card:hover {
    transform: translateY(-5px);
}
.doc-card i {
    font-size: 40px;
    color: #1E3A5F;
    margin-bottom: 15px;
}
.btn-view {
    background: #1E3A5F;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    text-align: center;
}
.btn-view:hover {
    background: #fbc505;
    color: #1E3A5F;
}

.mission-card {
    background: #1E3A5F;
    color: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: 0.3s;
}
.mission-card:hover {
    transform: translateY(-5px);
}
.mission-icon {
    font-size: 45px;
    color: #fbc505;
    margin-bottom: 15px;
    display: inline-block;
}

.notice-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    color: #856404;
}

.marquee-container {
    height: 350px;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fcfcfc;
}
.marquee-track {
    display: flex;
    flex-direction: column;
    animation: scroll-vertical 25s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused;
}
@keyframes scroll-vertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Premium Course Cards Styling */
.course-premium-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px !important;
}

.course-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(9, 57, 121, 0.15) !important;
}

.premium-card-top-bar {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.course-card-tags {
    height: 32px;
    overflow: hidden;
    margin-bottom: 12px;
}

.course-card-title {
    color: #0f172a !important;
    font-size: 1.15rem !important;
    line-height: 1.4;
    height: 52px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
    font-weight: 700;
}

.course-card-desc {
    height: 72px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 16px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
}

.progress-bar-container {
    margin-bottom: 16px;
}

/* Gradients for Top Bars matching the screenshot */
.bg-green-bar {
    background: linear-gradient(90deg, #15803d, #16a34a) !important;
}

.bg-blue-bar {
    background: linear-gradient(90deg, #1e3a8a, #2563eb) !important;
}

.bg-purple-bar {
    background: linear-gradient(90deg, #6d28d9, #1E3A5F) !important;
}

/* Explore Buttons matching the screenshot */
.btn-blue-theme {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-blue-theme:hover {
    background-color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}

.btn-orange-theme {
    background-color: #1E3A5F !important;
    border-color: #1E3A5F !important;
    color: white !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-orange-theme:hover {
    background-color: #d97706 !important;
    border-color: #d97706 !important;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.badge-outline-theme {
    background-color: rgba(9, 57, 121, 0.05) !important;
    color: #1E3A5F !important;
    border: 1px solid rgba(9, 57, 121, 0.15) !important;
    font-weight: 600;
    font-size: 11px;
}

/* Premium Bottom Program Banner */
.premium-program-banner {
    background-color: #1E3A5F !important;
    border-left: 5px solid #fbc505 !important;
}

/* Media query for narrow cards (min-width: 576px and max-width: 991px) */
@media (min-width: 576px) and (max-width: 991px) {
    .course-premium-card .card-body {
        padding: 1.25rem !important;
    }
    .course-premium-card .course-card-title {
        font-size: 1.05rem !important;
        height: 48px;
    }
    .course-premium-card .course-card-desc {
        font-size: 13px !important;
        height: 60px;
    }
    .course-premium-card .premium-card-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center;
        gap: 12px;
    }
    .course-premium-card .duration-block {
        text-align: center;
        margin-bottom: 8px;
    }
    .course-premium-card .premium-explore-btn {
        width: 100%;
        text-align: center;
    }
}


/* ==========================================================
   SCS Professional Identity 2.0
   A unified visual system shared by every public page.
   ========================================================== */
:root {
    --scs-navy: #0b1f33;
    --scs-navy-2: #12324f;
    --scs-teal: #087f78;
    --scs-teal-dark: #05645f;
    --scs-amber: #f2aa3b;
    --scs-ink: #172235;
    --scs-muted: #65758b;
    --scs-surface: #f5f8fb;
    --scs-line: #dde6ee;
    --scs-white: #ffffff;
    --scs-shadow: 0 16px 45px rgba(11, 31, 51, .09);
    --scs-radius: 18px;
}

html { scroll-behavior: smooth; }
html, body {
    font-family: 'Manrope', sans-serif;
    color: var(--scs-ink);
    background: var(--scs-white);
    line-height: 1.7;
}
body { font-size: 15px; }
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -.025em;
    line-height: 1.25;
}
::selection { background: rgba(8, 127, 120, .18); color: var(--scs-navy); }
a { color: var(--scs-teal); }
a:hover { color: var(--scs-teal-dark); }
.text-primary { color: var(--scs-teal) !important; }
.text-warning, .text-myyellow { color: var(--scs-amber) !important; }
.bg-primary, .bg-myblue { background: var(--scs-navy) !important; }
.bg-myyellow { background: var(--scs-amber) !important; }
.bg-light { background-color: var(--scs-surface) !important; }

/* Controls */
.btn {
    min-height: 44px;
    border-radius: 10px !important;
    padding: 10px 20px;
    font-weight: 700;
    letter-spacing: .01em;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--scs-teal) !important;
    border: 1px solid var(--scs-teal) !important;
    box-shadow: 0 9px 22px rgba(8, 127, 120, .2);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--scs-teal-dark) !important;
    border-color: var(--scs-teal-dark) !important;
    box-shadow: 0 12px 26px rgba(8, 127, 120, .25) !important;
}
.btn-warning {
    background: var(--scs-amber) !important;
    border-color: var(--scs-amber) !important;
    color: var(--scs-navy) !important;
}
.btn-outline-light:hover { color: var(--scs-navy) !important; }
.form-control, .form-select {
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #cfdbe5;
    border-radius: 10px;
    background-color: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--scs-teal) !important;
    box-shadow: 0 0 0 4px rgba(8, 127, 120, .11) !important;
}
.form-label { color: var(--scs-ink); font-size: .9rem; }
.card, .modal-content { border-radius: var(--scs-radius); }

/* Header and navigation */
.top-header {
    background: var(--scs-navy);
    padding: 8px 0;
    font-size: 14px;
    letter-spacing: .025em;
    border-bottom: 1px solid rgba(255,255,255,.09);
}
.welcome-text { font-size: 14px; font-weight: 600; color: #dce7ef; }
.top-social { gap: 8px; }
.social-icons { display: flex; gap: 4px; }
.social-icons a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 50%;
    color: #dce7ef;
    font-size: 13px;
    background: rgba(255,255,255,.07);
}
.social-icons a:hover { background: var(--scs-teal); color: #fff; transform: translateY(-1px); }
.divider { width: 1px; background: rgba(255,255,255,.18); }
.top-links a { font-size: 11px; margin: 0; letter-spacing: .06em; }
.top-links a:hover, .apply-link { color: #ffd17e !important; }
.navbar-top {
    padding: 7px 0;
    box-shadow: 0 8px 30px rgba(11, 31, 51, .08);
    border-bottom: 1px solid rgba(11, 31, 51, .06);
    position: relative;
    z-index: 1020;
}
.navbar-brand img { width: 184px !important; max-height: 66px; object-fit: contain; }
.navbar-nav .nav-item .nav-link {
    color: #26384c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .025em;
    padding: 12px 9px;
    border-radius: 8px;
}
.navbar-nav .nav-item .nav-link i { color: var(--scs-teal); }
.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:focus { color: var(--scs-teal); background: rgba(8,127,120,.07); }
.navbar-toggler { border: 1px solid var(--scs-line); color: var(--scs-navy); border-radius: 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(8,127,120,.12); }
.navbar-nav .dropdown-menu {
    min-width: 240px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--scs-line);
    border-radius: 13px;
    box-shadow: 0 20px 42px rgba(11,31,51,.15);
}
.navbar-nav .dropdown-menu .dropdown-item {
    color: #34465a;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
}
.navbar-nav .dropdown-menu .dropdown-item i { color: var(--scs-teal); }
.navbar-nav .dropdown-menu .dropdown-item:hover { background: #eef8f6; color: var(--scs-teal-dark); }
.navbar-top .btn-primary { white-space: nowrap; font-size: 12px; padding: 10px 15px; }

/* Updates and hero */
/* .notification-top { height: 42px; line-height: 42px; background: #102c46 !important; } */
/* .notify-back { height: 42px; background: var(--scs-amber) !important; font-size: 13px; } */
.slider-area {
    height: 520px;
    background: linear-gradient(90deg, rgba(8,25,42,.96) 0%, rgba(8,25,42,.84) 43%, rgba(8,25,42,.22) 100%), url('../img/static-1.webp') no-repeat center center/cover;
}
.slider-height { height: 520px; }
.slider__caption { max-width: 730px; }
.slider__caption h2 { font-size: clamp(1rem, 2vw, 1.3rem); text-transform: uppercase; letter-spacing: .09em; }
.slider__caption h1 { font-size: clamp(2.35rem, 5vw, 4.25rem); margin: 15px 0 18px; text-shadow: none; }
.slider__caption p { max-width: 590px; font-size: 1.05rem; }
.slider__btn .btn { min-width: 140px; }
.section-topbuttom { margin-bottom: 0 !important; }
.main_2 { margin-top: -52px; position: relative; z-index: 3; }
.main_2 .row { border-radius: var(--scs-radius) !important; box-shadow: var(--scs-shadow) !important; }
.main_2 .col-md-4 { padding: 30px !important; background: #fff !important; color: var(--scs-ink) !important; border-right: 1px solid var(--scs-line); }
.main_2 .col-md-4:last-child { border-right: 0; }
.main_2 .col-md-4 img { width: 50px; height: 50px; padding: 10px; border-radius: 13px; background: #eaf6f4; }
.main_2 .text-white-50 { color: var(--scs-muted) !important; }

/* Shared section language */
section { position: relative; }
section.py-5 { padding-top: 78px !important; padding-bottom: 78px !important; }
section h2.fw-bold, .section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
section .text-muted { color: var(--scs-muted) !important; }
.about-us img { border-radius: 22px !important; box-shadow: var(--scs-shadow) !important; }
.about-us h4 { color: var(--scs-teal) !important; font-size: .82rem; letter-spacing: .14em !important; }
.about-us .col-md-6:last-child { padding-left: clamp(24px, 5vw, 65px); }
.why-choose-us {
    background: linear-gradient(115deg, rgba(7,25,42,.97), rgba(8,76,76,.91)), url('../img/static-1.webp') no-repeat center/cover !important;
}
.feature-box {
    height: 100%;
    padding: 30px !important;
    text-align: left !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
}
.feature-box:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); }
.feature-box .icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 13px; background: rgba(242,170,59,.14); }
.feature-box .icon i { font-size: 1.55rem !important; color: var(--scs-amber); }
.course-card {
    border: 1px solid var(--scs-line) !important;
    border-radius: 16px;
    box-shadow: 0 9px 28px rgba(11,31,51,.055) !important;
}
.course-card:hover { transform: translateY(-7px); border-color: rgba(8,127,120,.38) !important; box-shadow: var(--scs-shadow) !important; }
.course-card i { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px; background: #e8f6f4; color: var(--scs-teal) !important; font-size: 1.7rem !important; }
.course-info { color: var(--scs-muted); }
.counter-box {
    background: #fff !important;
    color: var(--scs-ink) !important;
    border: 1px solid var(--scs-line);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(11,31,51,.055) !important;
}
.counter-box:hover { transform: translateY(-5px); border-color: rgba(8,127,120,.35); }
.counter-box .icon-box { color: var(--scs-teal) !important; }
.counter-box .count-number { color: var(--scs-navy); }
.become-instructor { background: #fff !important; }
.become-instructor .container > .row {
    background: linear-gradient(120deg, var(--scs-navy), #124c59) !important;
    border-radius: 22px !important;
    box-shadow: var(--scs-shadow);
    overflow: hidden;
}
.instructor-btn { background: var(--scs-amber); color: var(--scs-navy); border-radius: 10px; }
.instructor-btn:hover { background: #fff; color: var(--scs-navy); }
.student-card {
    border: 1px solid var(--scs-line) !important;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(11,31,51,.06) !important;
}
.student-img { border: 3px solid #d9efec; }
#testimonials-faq { background: linear-gradient(125deg, var(--scs-navy), #104656) !important; }
#testimonials-faq .bg-white { border-radius: 18px !important; box-shadow: 0 18px 46px rgba(0,0,0,.15) !important; }
.accordion-item { border: 1px solid var(--scs-line); overflow: hidden; }
.accordion-button:not(.collapsed) { color: var(--scs-teal-dark); background: #eef8f6; box-shadow: none; }

/* Inner page hero and content components */
.page-title-area, .breadcrumb-area, .page-header, .inner-banner {
    background-color: var(--scs-navy) !important;
    background-image: linear-gradient(105deg, rgba(11,31,51,.97), rgba(8,127,120,.7)), url('../img/pagetitle-back2.png') !important;
    background-size: cover !important;
}
.doc-card, .mission-card, .course-premium-card {
    border: 1px solid var(--scs-line);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(11,31,51,.06);
}
.doc-card:hover, .mission-card:hover, .course-premium-card:hover { transform: translateY(-6px); border-color: rgba(8,127,120,.34); box-shadow: var(--scs-shadow); }
.doc-card i, .mission-icon { color: var(--scs-teal); }
.premium-card-top-bar { height: 5px; }
.bg-green-bar, .bg-blue-bar, .bg-purple-bar { background: linear-gradient(90deg, var(--scs-teal), var(--scs-navy-2)) !important; }
.btn-blue-theme, .btn-orange-theme, .btn-view { background: var(--scs-teal) !important; border-color: var(--scs-teal) !important; color: #fff !important; border-radius: 9px; }
.badge-outline-theme { color: var(--scs-teal) !important; border-color: rgba(8,127,120,.3) !important; background: #eef8f6 !important; }
.table { --bs-table-striped-bg: #f5f9fb; }
.table thead th { background: var(--scs-navy); color: #fff; border-color: rgba(255,255,255,.12); font-size: .82rem; letter-spacing: .025em; }

/* CTA and footer */
.student-cta { padding: 48px 0; background: #eef6f5; }
.cta-box { padding: 34px 38px; background: #fff; border: 1px solid #d7e8e6; box-shadow: 0 14px 38px rgba(11,31,51,.07); }
.cta-content h2 { color: var(--scs-navy); font-size: clamp(1.45rem, 2.7vw, 2rem); }
.cta-content p { color: var(--scs-muted); }
.student-cta-btn { background: var(--scs-teal); border-radius: 10px; padding: 13px 24px; box-shadow: 0 9px 22px rgba(8,127,120,.2); }
.student-cta-btn:hover { background: var(--scs-teal-dark); transform: translateY(-2px); }
footer { background: #081a2b; color: #aebdcc; border-top: 0; }
.footer-top { padding-top: 68px !important; padding-bottom: 58px !important; border-top: 1px solid rgba(255,255,255,.06) !important; }
.footer-logo { filter: brightness(0) invert(1); opacity: .96; max-height: 74px; object-fit: contain; }
footer h4.footer-heading { font-size: 16px; letter-spacing: .01em; }
footer h4.footer-heading::after { background: var(--scs-teal); width: 30px; }
footer a:hover { color: #72d0c8 !important; }
footer ul li a:hover i { color: var(--scs-teal) !important; }
.contact-icon { background: rgba(8,127,120,.16) !important; border-color: rgba(72,190,181,.25); color: #72d0c8 !important; }
.footer-contact-list .contact-item:hover .contact-icon { background: var(--scs-teal) !important; color: #fff !important; box-shadow: none; }
.buttom-footer { background: #05131f !important; }
.buttom-social a:hover { background: var(--scs-teal); color: #fff !important; box-shadow: none; }
.scrollup { background: var(--scs-teal); width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 9px 22px rgba(8,127,120,.25); }

@media (max-width: 1199px) {
    .navbar-collapse { margin-top: 12px; padding: 14px; background: #fff; border: 1px solid var(--scs-line); border-radius: 14px; box-shadow: var(--scs-shadow); }
    .navbar-nav .dropdown-menu { position: static !important; width: 100%; box-shadow: none; background: #f5f9fb !important; }
    .navbar-nav .dropdown-menu .dropdown-item { color: #34465a !important; }
    .navbar-top .btn-primary { margin-top: 10px; width: 100%; }
}
@media (max-width: 767px) {
    body { font-size: 14px; }
    .top-header { padding: 6px 0; }
    .top-social { justify-content: space-between; width: 100%; }
    .social-icons a { width: 26px; height: 26px; }
    .top-links a { font-size: 10px; }
    .navbar-brand img { width: 155px !important; }
    .slider-area, .slider-height { height: 500px; }
    .slider-area { background-position: 62% center; }
    .slider__caption { text-align: left; }
    .slider__caption h1 { font-size: 2.35rem; }
    .slider__caption p { font-size: .95rem; }
    .slider__btn { flex-wrap: wrap; gap: 10px; }
    .slider__btn .btn { margin-left: 0 !important; }
    section.py-5 { padding-top: 56px !important; padding-bottom: 56px !important; }
    .about-us .col-md-6:last-child { padding-left: 12px; }
    .feature-box { padding: 24px !important; }
    .cta-box { padding: 26px 22px; }
    .student-cta-btn { margin-top: 20px; }
    .footer-top { padding-top: 50px !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================
   Responsive Layout System 2.1
   Page-level UX refinements without removing page content.
   ========================================================== */
:root {
    --scs-container: 1180px;
    --scs-section-space: clamp(3.5rem, 7vw, 6rem);
}

.container { max-width: var(--scs-container); }
img, svg { max-width: 100%; }
main { overflow: clip; }
main.bg-light { padding-bottom: clamp(2rem, 5vw, 4.5rem); }
main.bg-light > .page-title { margin-bottom: 0 !important; }
main > .container:not(.py-5) { padding-top: clamp(2.75rem, 5vw, 4.5rem); }
p:last-child { margin-bottom: 0; }
.text-secondary { color: #5c6d80 !important; }
.text-justify { text-align: left !important; }
.lead { line-height: 1.65; }

/* Every inner page now uses the same clear, responsive banner. */
.page-title {
    min-height: clamp(180px, 23vw, 245px);
    height: auto !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    position: relative;
    isolation: isolate;
    background-image: linear-gradient(105deg, rgba(7,25,42,.96), rgba(8,91,88,.78)), url('../img/pagetitle-back2.png') !important;
    background-size: cover !important;
    background-position: center !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.page-title::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .18;
    background-image: radial-gradient(circle at 18% 20%, rgba(255,255,255,.4) 0 1px, transparent 1.5px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to right, #000, transparent 75%);
}
.page-title h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
    margin-bottom: .65rem !important;
    letter-spacing: -.035em;
}
.page-title .breadcrumb { gap: .2rem; font-size: .84rem; }
.page-title .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.page-title .breadcrumb a { color: rgba(255,255,255,.8) !important; }
.page-title .breadcrumb a:hover { color: #fff !important; }
.page-title .breadcrumb-item.active { color: #ffd17e !important; }

/* Reusable content surfaces */
main .card {
    border: 1px solid var(--scs-line) !important;
    box-shadow: 0 10px 32px rgba(11,31,51,.065) !important;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
main .card:hover { border-color: rgba(8,127,120,.26) !important; }
main .card-body { padding: clamp(1.35rem, 3vw, 2.2rem); }
main hr { border-color: var(--scs-line); opacity: 1; }
main .badge { font-weight: 700; letter-spacing: .01em; }
.alert { border: 1px solid transparent; border-radius: 12px; }
.alert-warning { color: #6b4c0c; background: #fff7e7; border-color: #f4dfae; }
.alert-info { color: #174c5c; background: #edf8fa; border-color: #c8e8ed; }
.list-group-item { padding: 14px 16px; border-color: var(--scs-line); }
.pagination { gap: 6px; flex-wrap: wrap; }
.page-link { border: 1px solid var(--scs-line); border-radius: 9px !important; color: var(--scs-teal); min-width: 42px; text-align: center; }
.page-item.active .page-link { background: var(--scs-teal); border-color: var(--scs-teal); }

/* About, objectives, leadership and recognition */
.page-about .about-us-page .row { gap: clamp(1rem, 2vw, 2rem) 0; }
.page-about .about-us-page img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 22px !important;
    box-shadow: var(--scs-shadow) !important;
}
.page-about .about-us-page .col-lg-6:last-child { padding-left: clamp(1rem, 4vw, 3.5rem); }
.page-about .about-us-page h4 { font-size: .78rem; letter-spacing: .15em !important; }
.mission-vision-area { background: #fff !important; }
.mission-card {
    min-height: 100%;
    background: linear-gradient(145deg, #102b45, #0b5154) !important;
    overflow: hidden;
}
.mission-card .card-body { padding: clamp(2rem, 4vw, 3rem); }
.mission-card .mission-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border-radius: 17px;
    background: rgba(255,255,255,.09);
    color: #76d1c9;
    font-size: 1.8rem;
}
.mission-card h3 { color: #ffd17e !important; }
.mission-card p { color: rgba(255,255,255,.72) !important; }
.page-aims-objective main > .container .card { padding: clamp(1.5rem, 3vw, 2.25rem) !important; }
.page-aims-objective main > .container .card:hover { transform: translateY(-6px); box-shadow: var(--scs-shadow) !important; }
.page-aims-objective main > .container .card .rounded-circle {
    width: 72px !important;
    height: 72px !important;
    border-radius: 18px !important;
    background: #e9f6f4 !important;
}
.page-aims-objective main > .container .card h4 { font-size: 1.08rem; }
.page-director-desk main section .col-lg-4 .card { padding: clamp(1.5rem, 3vw, 2.2rem) !important; position: sticky; top: 1.5rem; }
.page-director-desk main section .col-lg-4 img { border: 6px solid #e7f4f2; box-shadow: 0 10px 25px rgba(11,31,51,.12) !important; }
.page-director-desk main section .col-lg-8 {
    background: #fff;
    padding: clamp(1.75rem, 4vw, 3.2rem);
    border: 1px solid var(--scs-line);
    border-radius: var(--scs-radius);
    box-shadow: 0 10px 32px rgba(11,31,51,.055);
}
.page-director-desk main section .lead { color: var(--scs-navy) !important; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
.page-approval_recognition .doc-card { height: 100%; display: flex; flex-direction: column; padding: clamp(1.4rem, 3vw, 2rem) !important; }
.page-approval_recognition .doc-card > .d-flex:first-child i {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eaf6f4;
    font-size: 1.45rem !important;
}
.page-approval_recognition .doc-card .btn-view { margin-top: auto; text-align: center; padding: 11px 16px; }

/* Forms: admission, centre application, grievance and contact */
.page-admission main > .container,
.page-apply_centre main > .container,
.page-student_grievance main > .container,
.page-contact main > .container,
.page-verify_student main > .container,
.page-verify_certificate main > .container,
.page-bank_details main > .container { padding-top: clamp(3rem, 6vw, 5rem); }
.page-admission main > .container > .row,
.page-apply_centre main > .container > .row { align-items: stretch !important; }
.page-admission main > .container > .row > .col-lg-5,
.page-apply_centre main > .container > .row > .col-lg-5 {
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--scs-radius);
    background: linear-gradient(145deg, #eef8f6, #f8fbfd);
    border: 1px solid #dcebe9;
}
.page-admission main > .container > .row > .col-lg-5 > div,
.page-apply_centre main > .container > .row > .col-lg-5 > div { align-self: center; }
.page-admission main form .row,
.page-apply_centre main form .row,
.page-student_grievance main form .row,
.page-contact main form .row { --bs-gutter-y: 1.15rem; }
.page-admission main .card,
.page-apply_centre main .card,
.page-student_grievance main .card,
.page-contact main .card,
.page-verify_student main .card,
.page-verify_certificate main .card { overflow: hidden; }
.page-admission main .card h4,
.page-apply_centre main .card h4,
.page-student_grievance main .card h4,
.page-contact main .card h4 { color: var(--scs-navy) !important; }

html[data-theme='dark'] .page-apply_centre main > .container > .row > .col-lg-5 {
    color: var(--scs-text);
    background: linear-gradient(145deg, rgba(139, 92, 246, .12), rgba(16, 10, 38, .94));
    border-color: var(--scs-border);
}
html[data-theme='dark'] .page-apply_centre main .card h4 {
    color: #C4B5FD !important;
}
html[data-theme='dark'] .page-apply_centre main .form-label,
html[data-theme='dark'] .page-apply_centre main .form-control,
html[data-theme='dark'] .page-apply_centre main .form-select {
    color: var(--scs-text) !important;
}
textarea.form-control { min-height: 125px; resize: vertical; }
input[type='file'].form-control { padding: 9px 12px; }
.form-check-input:checked { background-color: var(--scs-teal); border-color: var(--scs-teal); }
.page-contact iframe { width: 100% !important; min-height: 360px; border-radius: var(--scs-radius); }
.page-contact .contact-info, .page-contact .contact-card { height: 100%; }
.page-contact main .bg-primary { background: linear-gradient(145deg, var(--scs-navy), #105255) !important; }

/* Courses and searchable data pages */
.page-courses main > .container > form,
.page-franchise-list main > .container > form {
    padding: clamp(1rem, 2vw, 1.4rem);
    background: #fff;
    border: 1px solid var(--scs-line);
    border-radius: 15px;
    box-shadow: 0 8px 26px rgba(11,31,51,.05);
}
.page-courses .course-premium-card { border-radius: 16px !important; }
.page-courses .course-premium-card:hover { transform: translateY(-6px); }
.page-courses .course-premium-card .position-relative[style*='height'] { height: 205px !important; }
.page-courses .course-premium-card img { transition: transform .45s ease; }
.page-courses .course-premium-card:hover img { transform: scale(1.035); }
.page-courses .premium-card-top-bar { min-height: 34px; height: auto; padding: 8px 12px !important; }
.page-courses .course-card-title { height: auto; min-height: 58px; }
.page-courses .course-card-desc { height: auto; min-height: 66px; }
.page-courses .premium-program-banner { background: linear-gradient(120deg, var(--scs-navy), #124f56) !important; border-left: 5px solid var(--scs-amber) !important; }
.table-responsive {
    border: 1px solid var(--scs-line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(11,31,51,.045);
}
.table { margin-bottom: 0; vertical-align: middle; }
.table th, .table td { padding: 13px 15px; white-space: normal; }
.table thead th { white-space: nowrap; }
.page-franchise-list .table-responsive { background: #fff; }
.page-franchise-list .table .btn { min-height: 38px; padding: 7px 12px; }

/* Verification, bank details and result feedback */
.page-verify_student main > .container > .row,
.page-verify_certificate main > .container > .row { justify-content: center; }
.page-verify_student main form,
.page-verify_certificate main form { max-width: 760px; margin-inline: auto; }
.page-verify_student .result-card,
.page-verify_certificate .result-card { border-left: 4px solid var(--scs-teal) !important; }
.page-bank_details main .card { max-width: 680px !important; }
.page-bank_details main .card > .text-white {
    background: linear-gradient(120deg, var(--scs-navy), #105257) !important;
    padding: 2rem !important;
}
.page-bank_details main .card .border-end { border-color: var(--scs-line) !important; }
.page-bank_details main .card .uppercase { text-transform: uppercase; letter-spacing: .08em; font-size: .68rem !important; }
.page-thank-you main .card { max-width: 700px; margin-inline: auto; }

/* Footer remains comfortable on narrow viewports. */
.footer-contact-list .contact-details { min-width: 0; overflow-wrap: anywhere; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-icons img { margin: 0 !important; }

@media (min-width: 992px) and (max-width: 1199px) {
    :root { --scs-container: 960px; }
    .navbar-nav .nav-item .nav-link { padding: 10px 12px; }
    .page-courses .row > .col-sm-4 { width: 50%; }
}

@media (min-width: 768px) and (max-width: 991px) {
    :root { --scs-container: 720px; }
    .page-courses .row > .col-sm-4 { width: 50%; }
    .page-courses .course-premium-card .premium-card-footer { flex-direction: row !important; align-items: center !important; text-align: left; }
    .page-courses .course-premium-card .premium-explore-btn { width: auto; }
    .page-contact iframe { min-height: 320px; }
    .page-title { min-height: 205px; }
}

@media (max-width: 991px) {
    .page-about .about-us-page .col-lg-6:last-child { padding-left: 12px; }
    .page-director-desk main section .col-lg-4 .card { position: static; max-width: 480px; margin-inline: auto; }
    .page-admission main > .container > .row,
    .page-apply_centre main > .container > .row { --bs-gutter-y: 2rem; }
    .page-approval_recognition .doc-card { min-height: 100%; }
}

@media (max-width: 767px) {
    :root { --scs-section-space: 3.5rem; }
    .container { width: min(100% - 28px, var(--scs-container)); padding-left: 0; padding-right: 0; }
    main > .container:not(.py-5) { padding-top: 2.5rem; }
    main.bg-light { padding-bottom: 2.5rem; }
    .page-title { min-height: 175px; padding: 34px 0; }
    .page-title h1 { font-size: 1.75rem !important; }
    .page-title .breadcrumb { justify-content: center; line-height: 1.55; }
    .page-title .breadcrumb-item { font-size: .76rem; }
    main .card-body { padding: 1.35rem; }
    .page-about .about-us-page img { max-height: 360px; }
    .mission-card .card-body { padding: 1.75rem; }
    .page-aims-objective main > .container .row { --bs-gutter-y: 1rem; }
    .page-aims-objective main > .container .col-md-4 { margin-bottom: 0 !important; }
    .page-director-desk main section .col-lg-8 { padding: 1.45rem; }
    .page-director-desk main section .col-lg-4 img { width: 150px !important; height: 150px !important; }
    .page-admission main > .container,
    .page-apply_centre main > .container,
    .page-student_grievance main > .container,
    .page-contact main > .container,
    .page-verify_student main > .container,
    .page-verify_certificate main > .container,
    .page-bank_details main > .container { padding-top: 2.5rem; }
    .page-admission main .card-body,
    .page-apply_centre main .card-body { padding: 1.25rem !important; }
    .form-control, .form-select { font-size: 16px; }
    .btn { width: 100%; }
    .slider__btn .btn,
    .navbar .btn,
    footer .btn,
    .pagination .page-link,
    .table .btn { width: auto; }
    .page-courses main > .container > form .btn,
    .page-franchise-list main > .container > form .btn { width: 100%; }
    .page-courses .row > .col-sm-4 { width: 100%; }
    .page-courses .course-premium-card .position-relative[style*='height'] { height: 190px !important; }
    .page-courses .course-card-title,
    .page-courses .course-card-desc { min-height: 0; }
    .page-courses .premium-program-banner { text-align: center; }
    .page-courses .premium-program-banner > .d-flex { flex-direction: column; margin-right: 0; }
    .page-courses .premium-program-banner .bg-warning { margin: 0 0 12px !important; }
    .page-courses .premium-program-banner .btn { width: 100%; justify-content: center; margin-top: 14px; }
    .table-responsive { border-radius: 12px; }
    .table { min-width: 680px; }
    .table th, .table td { padding: 11px 12px; font-size: .82rem; }
    .page-bank_details main .card .border-end { border-right: 0 !important; border-bottom: 1px solid var(--scs-line); padding-bottom: 1rem; margin-bottom: .25rem; }
    .page-bank_details main .card .ps-sm-4 { padding-top: .75rem; }
    .cta-box { text-align: center !important; }
    .footer-top .row > div { margin-bottom: 2rem !important; }
    .footer-top .row > div:last-child { margin-bottom: 0 !important; }
}

@media (max-width: 420px) {
    .container { width: min(100% - 22px, var(--scs-container)); }
    .top-links { gap: 7px !important; }
    .top-links a { font-size: 9px; letter-spacing: .025em; }
    .social-icons { gap: 2px; }
    .social-icons a { width: 24px; height: 24px; font-size: 11px; }
    .navbar-brand img { width: 142px !important; }
    .page-title { min-height: 160px; }
    .page-title h1 { font-size: 1.55rem !important; }
    .page-title .breadcrumb { margin-inline: 8px; }
    .slider__caption h1 { font-size: 2rem; }
    .slider__btn { display: grid !important; grid-template-columns: 1fr; }
    .slider__btn .btn { width: 100%; }
    .student-card { margin-inline: 4px; padding: 12px; gap: 11px; }
    .student-img { width: 58px; height: 58px; }
    .student-card h5 { font-size: .88rem; }
    .floating-wpp { left: 12px; bottom: 14px; transform: scale(.88); transform-origin: bottom left; }
    #back-top { right: 12px; bottom: 14px; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .slider-area, .slider-height { height: 420px; }
    .slider__caption h1 { font-size: 2.15rem; margin-block: 8px 10px; }
    .page-title { min-height: 145px; }
}

@media print {
    .top-header, .navbar-top, .student-cta, footer, .floating-wpp, #back-top { display: none !important; }
    main { overflow: visible; }
    .page-title { min-height: auto; padding: 20px; background: #fff !important; color: #000 !important; }
    .page-title * { color: #000 !important; }
    main .card { box-shadow: none !important; break-inside: avoid; }
}

/* Contact Page 2.2 */
.page-contact main {
    background:
        radial-gradient(circle at 8% 18%, rgba(8,127,120,.07), transparent 28rem),
        var(--scs-surface) !important;
}
.page-contact .contact-page-intro { max-width: 720px; }
.page-contact .contact-page-intro h2 {
    color: var(--scs-navy);
    font-size: clamp(1.75rem, 3.2vw, 2.55rem);
}
.page-contact .contact-page-intro p { font-size: 1rem; }
.page-contact .contact-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #cce7e3;
    border-radius: 999px;
    background: #eaf7f5;
    color: var(--scs-teal-dark);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.page-contact .contact-layout > [class*='col-'] { display: flex; flex-direction: column; }
.page-contact .contact-form-card {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(8,127,120,.14) !important;
    border-radius: 22px;
    box-shadow: 0 20px 55px rgba(11,31,51,.09) !important;
    overflow: hidden;
}
.page-contact .contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--scs-teal), #35aaa1, var(--scs-amber));
}
.page-contact .contact-form-card > h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--scs-navy) !important;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}
.page-contact .contact-form-card > h4 i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e8f6f4;
    color: var(--scs-teal);
    font-size: 1.1rem;
}
.page-contact .contact-form-card form { margin-top: 1.3rem !important; }
.page-contact .contact-form-card .form-label {
    color: #34465a;
    margin-bottom: 7px;
    font-size: .78rem !important;
    letter-spacing: .015em;
}
.page-contact .contact-form-card .form-control {
    min-height: 52px;
    border-color: #d8e3ea;
    background: #fbfdfe;
}
.page-contact .contact-form-card textarea.form-control { min-height: 145px; }
.page-contact .contact-form-card .btn-primary {
    min-width: 190px;
    border-radius: 11px !important;
    padding: 13px 25px !important;
}
.page-contact .contact-info {
    padding: clamp(1.35rem, 2.5vw, 1.8rem);
    border: 1px solid var(--scs-line);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(11,31,51,.07);
}
.page-contact .contact-panel-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 1.15rem;
    margin-bottom: .45rem;
    border-bottom: 1px solid var(--scs-line);
}
.page-contact .contact-panel-heading h4 { color: var(--scs-navy) !important; font-size: 1.18rem; }
.page-contact .contact-panel-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--scs-navy);
    color: #fff;
}
.page-contact .contact-info-list { display: grid; gap: 5px; }
.page-contact .contact-info-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 10px;
    border-radius: 12px;
    transition: background .2s ease, transform .2s ease;
}
.page-contact .contact-info-item:hover { background: #f0f8f7; transform: translateX(3px); }
.page-contact .contact-item-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #e9f6f4;
    color: var(--scs-teal);
}
.page-contact .contact-info-item small {
    display: block;
    margin-bottom: 1px;
    color: var(--scs-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.page-contact .contact-info-item strong {
    display: block;
    color: #26384c;
    font-size: .83rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.page-contact .contact-info-item a { color: var(--scs-teal-dark); }
.page-contact .contact-map-card {
    padding: 12px;
    border: 1px solid var(--scs-line);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(11,31,51,.07);
    overflow: hidden;
}
.page-contact .contact-map-card iframe {
    min-height: 265px;
    margin-bottom: 10px !important;
    border-radius: 13px !important;
    filter: saturate(.84) contrast(1.04);
}
.page-contact .contact-directions-btn {
    border: 1px solid #c8e3e0;
    border-radius: 11px !important;
    background: #eef8f7;
    color: var(--scs-teal-dark);
}
.page-contact .contact-directions-btn:hover {
    border-color: var(--scs-teal);
    background: var(--scs-teal);
    color: #fff;
}
.page-contact .alert { max-width: 900px; margin-inline: auto; }

@media (max-width: 991px) {
    .page-contact .contact-layout > [class*='col-'] { width: 100%; }
    .page-contact .contact-info { margin-top: .5rem; }
    .page-contact .contact-map-card iframe { min-height: 330px; }
}
@media (max-width: 575px) {
    .page-contact .contact-page-intro { margin-bottom: 2rem !important; }
    .page-contact .contact-page-intro p { font-size: .9rem; }
    .page-contact .contact-form-card { padding: 1.3rem; border-radius: 17px; }
    .page-contact .contact-form-card .btn-primary { width: 100%; }
    .page-contact .contact-info { padding: 1.05rem; border-radius: 17px; }
    .page-contact .contact-info-item { grid-template-columns: 38px minmax(0, 1fr); padding-inline: 4px; }
    .page-contact .contact-item-icon { width: 38px; height: 38px; }
    .page-contact .contact-map-card { border-radius: 17px; }
    .page-contact .contact-map-card iframe { min-height: 250px; }
}

/* Contact layout alignment 2.2.1 */
@media (min-width: 992px) {
    .page-contact .contact-layout { align-items: stretch !important; }
    .page-contact .contact-layout > .col-lg-7,
    .page-contact .contact-layout > .col-lg-5 { display: flex; }
    .page-contact .contact-form-card,
    .page-contact .contact-info { width: 100%; height: 100% !important; flex: 1 1 auto; }
    .page-contact .contact-info { display: flex; flex-direction: column; }
    .page-contact .contact-info-list { flex: 1; align-content: space-evenly; }
}
.page-contact .contact-location-section {
    width: 100%;
    padding-top: clamp(.5rem, 1vw, 1rem);
}
.page-contact .contact-location-heading h3 {
    color: var(--scs-navy);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}
.page-contact .contact-location-label {
    display: inline-flex;
    align-items: center;
    color: var(--scs-teal-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.page-contact .contact-map-card-full {
    width: 100%;
    padding: 12px;
}
.page-contact .contact-map-card-full iframe {
    display: block;
    width: 100% !important;
    min-height: 390px;
    margin: 0 0 12px !important;
    border-radius: 13px !important;
}
@media (max-width: 991px) {
    .page-contact .contact-location-section { margin-top: 2.5rem !important; }
    .page-contact .contact-map-card-full iframe { min-height: 340px; }
}
@media (max-width: 575px) {
    .page-contact .contact-location-heading { text-align: center; }
    .page-contact .contact-map-card-full { padding: 8px; }
    .page-contact .contact-map-card-full iframe { min-height: 280px; border-radius: 11px !important; }
}

/* Shared Professional Admission CTA 2.3 */
.student-cta {
    padding: clamp(3.25rem, 6vw, 5.25rem) 0;
    background: linear-gradient(180deg, #f5f8fb 0%, #edf5f4 100%);
}
.student-cta .cta-box {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.4rem, 3vw, 2.5rem);
    padding: clamp(2rem, 4vw, 3.25rem);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 24px;
    background: linear-gradient(120deg, #0b1f33 0%, #10384a 55%, #0b655f 100%);
    box-shadow: 0 24px 58px rgba(11,31,51,.18);
}
.student-cta .cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .22;
    background-image:
        radial-gradient(circle at 85% 18%, rgba(255,255,255,.28) 0 2px, transparent 2.5px),
        linear-gradient(135deg, transparent 65%, rgba(255,255,255,.08));
    background-size: 32px 32px, 100% 100%;
    mask-image: linear-gradient(to left, #000 0%, transparent 70%);
}
.student-cta .cta-box::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    right: -100px;
    bottom: -155px;
    z-index: -1;
    border: 45px solid rgba(242,170,59,.12);
    border-radius: 50%;
}
.student-cta .cta-visual {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 22px;
    background: rgba(255,255,255,.09);
    color: #ffd17e;
    font-size: 2.3rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.student-cta .cta-content { max-width: 720px; }
.student-cta .cta-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: .8rem;
    color: #9ce1db;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.student-cta .cta-content h2 {
    margin: 0 0 .75rem;
    color: #fff;
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    line-height: 1.22;
}
.student-cta .cta-content > p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: .96rem;
    line-height: 1.7;
}
.student-cta .cta-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.15rem;
    margin-top: 1.15rem;
}
.student-cta .cta-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.88);
    font-size: .76rem;
    font-weight: 700;
}
.student-cta .cta-benefits i { color: #69ccc3; }
.student-cta .cta-action {
    min-width: 205px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}
.student-cta .student-cta-btn {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 20px;
    border: 1px solid #f2aa3b;
    border-radius: 12px;
    background: #f2aa3b;
    color: #10263b;
    font-size: .86rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.student-cta .student-cta-btn i { transition: transform .22s ease; }
.student-cta .student-cta-btn:hover {
    background: #fff;
    border-color: #fff;
    color: #0b1f33;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0,0,0,.2);
}
.student-cta .student-cta-btn:hover i { transform: translateX(4px); }
.student-cta .cta-action small {
    color: rgba(255,255,255,.57);
    font-size: .68rem;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .student-cta .cta-box {
        grid-template-columns: 72px minmax(0, 1fr);
    }
    .student-cta .cta-visual { width: 72px; height: 72px; border-radius: 18px; font-size: 1.9rem; }
    .student-cta .cta-action {
        grid-column: 2;
        width: min(100%, 280px);
        align-items: flex-start;
    }
}
@media (max-width: 767px) {
    .student-cta { padding: 3rem 0; }
    .student-cta .cta-box {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.75rem;
        border-radius: 20px;
        text-align: left !important;
    }
    .student-cta .cta-visual { width: 58px; height: 58px; border-radius: 15px; font-size: 1.55rem; }
    .student-cta .cta-action { grid-column: 1; width: 100%; align-items: center; }
    .student-cta .student-cta-btn { margin-top: 0; }
}
@media (max-width: 420px) {
    .student-cta .cta-box { padding: 1.4rem; border-radius: 17px; }
    .student-cta .cta-content h2 { font-size: 1.42rem; }
    .student-cta .cta-benefits { display: grid; grid-template-columns: 1fr; gap: .5rem; }
}

/* Animated Home Hero Visual 2.4 */
.page-index .slider-area {
    height: 560px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 46%, rgba(15,177,168,.2), transparent 27rem),
        linear-gradient(90deg, rgba(8,25,42,.98) 0%, rgba(8,25,42,.94) 44%, rgba(8,48,58,.82) 100%),
        url('../img/static-1.webp') no-repeat center center/cover;
}
.page-index .slider-height { height: 560px; }
.page-index .slider__caption { position: relative; z-index: 3; }
.page-index .slider__caption h1 { font-size: clamp(2.2rem, 4vw, 3.65rem); }
.page-index .hero-visual {
    position: relative;
    z-index: 2;
    width: min(112%, 650px);
    margin-left: -3%;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}
.page-index .hero-visual-glow {
    position: absolute;
    width: 76%;
    aspect-ratio: 1;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31,207,195,.24) 0%, rgba(13,139,132,.1) 42%, transparent 70%);
    filter: blur(7px);
    animation: heroGlowPulse 4.5s ease-in-out infinite;
}
.page-index .hero-learning-image {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 25px 30px rgba(0,0,0,.26));
    transform-origin: center bottom;
    animation: heroImageFloat 5s ease-in-out infinite;
    will-change: transform;
}
.page-index .hero-tech-badge {
    position: absolute;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 14px;
    background: rgba(8,31,47,.74);
    backdrop-filter: blur(8px);
    color: #84eee5;
    box-shadow: 0 12px 28px rgba(0,0,0,.2);
    font-size: 1.25rem;
}
.page-index .hero-tech-badge-code {
    top: 15%;
    left: 4%;
    animation: heroBadgeDrift 4.2s ease-in-out infinite .4s;
}
.page-index .hero-tech-badge-cpu {
    right: 2%;
    bottom: 19%;
    color: #ffd17e;
    animation: heroBadgeDrift 4.8s ease-in-out infinite 1s;
}
@keyframes heroImageFloat {
    0%, 100% { transform: translateY(0) rotate(.01deg); }
    50% { transform: translateY(-14px) rotate(.01deg); }
}
@keyframes heroGlowPulse {
    0%, 100% { transform: scale(.92); opacity: .7; }
    50% { transform: scale(1.08); opacity: 1; }
}
@keyframes heroBadgeDrift {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
    50% { transform: translate3d(0, -10px, 0) rotate(4deg); }
}

@media (max-width: 1199px) {
    .page-index .hero-visual { width: 112%; margin-left: -8%; }
    .page-index .hero-learning-image { max-height: 420px; }
    .page-index .hero-tech-badge { width: 42px; height: 42px; font-size: 1.05rem; }
}
@media (max-width: 991px) {
    .page-index .slider-area, .page-index .slider-height { height: 540px; }
    .page-index .hero-visual { width: 118%; margin-left: -12%; }
    .page-index .hero-learning-image { max-height: 365px; }
    .page-index .slider__caption h1 { font-size: clamp(2rem, 4.7vw, 2.85rem); }
}
@media (max-width: 767px) {
    .page-index .slider-area {
        height: auto;
        min-height: 760px;
        padding: 55px 0 70px;
        background:
            radial-gradient(circle at 50% 80%, rgba(15,177,168,.2), transparent 22rem),
            linear-gradient(155deg, rgba(8,25,42,.98), rgba(8,48,58,.94)),
            url('../img/static-1.webp') no-repeat center/cover;
    }
    .page-index .slider-height { height: auto; min-height: 635px; }
    .page-index .slider__caption { text-align: center; }
    .page-index .slider__caption p { margin-inline: auto; }
    .page-index .slider__btn { justify-content: center; }
    .page-index .hero-visual {
        width: min(100%, 430px);
        margin: 18px auto 0;
    }
    .page-index .hero-learning-image { max-height: 340px; }
    .page-index .hero-tech-badge-code { left: 3%; }
    .page-index .hero-tech-badge-cpu { right: 3%; }
}
@media (max-width: 420px) {
    .page-index .slider-area { min-height: 735px; padding-top: 45px; }
    .page-index .slider-height { min-height: 620px; }
    .page-index .hero-visual { width: 100%; margin-top: 20px; }
    .page-index .hero-learning-image { max-height: 285px; }
    .page-index .hero-tech-badge { width: 36px; height: 36px; border-radius: 10px; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
    .page-index .hero-learning-image,
    .page-index .hero-visual-glow,
    .page-index .hero-tech-badge { animation: none !important; }
}

/* Professional Footer Layout 2.5 */
footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 15%, rgba(8,127,120,.16), transparent 28rem),
        linear-gradient(145deg, #081a2b 0%, #071725 58%, #092432 100%);
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--scs-teal), #42b8ae 55%, var(--scs-amber));
}
footer::after {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    right: -190px;
    top: -190px;
    border: 55px solid rgba(255,255,255,.025);
    border-radius: 50%;
    pointer-events: none;
}
footer .footer-top {
    position: relative;
    z-index: 1;
    padding-top: clamp(3.8rem, 7vw, 5.25rem) !important;
    padding-bottom: clamp(3.25rem, 6vw, 4.5rem) !important;
}
footer .footer-top > .container > .row { row-gap: 1.5rem; }
footer .footer-brand-column { padding-right: clamp(1.5rem, 3vw, 3.2rem); }
footer .footer-brand-column::after {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    right: 16px;
    width: 1px;
    background: linear-gradient(transparent, rgba(255,255,255,.13), transparent);
}
footer .footer-brand-column { position: relative; }
footer .footer-logo {
    width: min(230px, 88%) !important;
    max-height: 82px;
    margin-bottom: 1.25rem !important;
}
footer .footer-brand-column p {
    max-width: 390px;
    color: #aebdcc;
    font-size: .82rem !important;
    line-height: 1.85 !important;
}
footer h4.footer-heading {
    margin-bottom: 1.35rem !important;
    padding-bottom: .8rem;
    color: #fff;
    font-size: .95rem;
    letter-spacing: .025em;
}
footer h4.footer-heading::after {
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #53c7bd, var(--scs-teal));
}
footer .footer-links-column ul { margin: 0; }
footer .footer-links-column ul li { margin-bottom: .7rem; }
footer .footer-links-column ul li a {
    gap: 5px;
    color: #aebdcc;
    font-size: .79rem;
    line-height: 1.45;
}
footer .footer-links-column ul li a i {
    color: #5fc9bf;
    font-size: .62rem;
}
footer .footer-links-column ul li a:hover {
    color: #fff !important;
    transform: translateX(5px);
}
footer .footer-contact-column { padding-left: clamp(1rem, 2vw, 2rem); }
footer .footer-contact-list {
    padding: 1.15rem 1.15rem .2rem;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
}
footer .footer-contact-list .contact-item { margin-bottom: 1rem !important; }
footer .footer-contact-list .contact-details strong {
    margin-bottom: 2px;
    color: #7f93a7 !important;
    font-size: .66rem !important;
    letter-spacing: .055em;
    text-transform: uppercase;
}
footer .footer-contact-list .contact-details span,
footer .footer-contact-list .contact-details a {
    font-size: .77rem !important;
    line-height: 1.55 !important;
}
footer .contact-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 10px !important;
}
footer .payment-icons {
    margin-top: 1.15rem !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.07);
}
footer .payment-icons img {
    width: 38px !important;
    height: 27px;
    object-fit: contain;
    border-radius: 6px !important;
    background: rgba(255,255,255,.92);
}
footer .buttom-footer {
    position: relative;
    z-index: 1;
    padding-top: .9rem !important;
    padding-bottom: .9rem !important;
    border-top: 1px solid rgba(255,255,255,.07);
    background: rgba(3,13,22,.72) !important;
    backdrop-filter: blur(8px);
}
footer .buttom-footer .text-white-50 { color: rgba(255,255,255,.5) !important; font-size: .73rem; }

@media (max-width: 1199px) {
    footer .footer-brand-column { padding-right: 1.5rem; }
    footer .footer-contact-column { padding-left: .75rem; }
    footer .footer-contact-list { padding-inline: .9rem; }
}
@media (max-width: 991px) {
    footer .footer-brand-column::after { display: none; }
    footer .footer-brand-column,
    footer .footer-contact-column { padding-left: calc(var(--bs-gutter-x) * .5); padding-right: calc(var(--bs-gutter-x) * .5); }
    footer .footer-brand-column p { max-width: 500px; }
    footer .footer-contact-list { max-width: 520px; }
}
@media (max-width: 767px) {
    footer .footer-top { padding-top: 3.4rem !important; padding-bottom: 2.5rem !important; }
    footer .footer-top .row > div { margin-bottom: .75rem !important; }
    footer .footer-brand-column { text-align: center; }
    footer .footer-brand-column p { margin-inline: auto; }
    footer h4.footer-heading { margin-top: .5rem; }
    footer .footer-contact-list { max-width: none; }
    footer .buttom-footer { text-align: center; }
}

/* Hero proportion refinement 2.5.1 */
@media (min-width: 992px) {
    .page-index .slider__caption h1 {
        max-width: none;
        white-space: nowrap;
        font-size: clamp(1.9rem, 2.45vw, 2.55rem);
        letter-spacing: -.045em;
    }
    .page-index .hero-visual {
        width: min(96%, 520px);
        margin: 0 auto;
    }
    .page-index .hero-learning-image { max-height: 400px; }
    .page-index .hero-tech-badge-code { left: 1%; }
    .page-index .hero-tech-badge-cpu { right: 0; }
}
@media (min-width: 1200px) {
    .page-index .hero-visual { width: min(100%, 540px); }
    .page-index .hero-learning-image { max-height: 410px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .page-index .hero-visual { width: 102%; margin-left: -3%; }
    .page-index .hero-learning-image { max-height: 315px; }
    .page-index .slider__caption h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
}

/* Restore hero text and action scale 2.5.2 */
@media (min-width: 992px) {
    .page-index .slider__caption h2 {
        font-size: 1.25rem;
        line-height: 1.5;
    }
    .page-index .slider__caption h1 {
        font-size: clamp(2.45rem, 3.25vw, 3.35rem);
        line-height: 1.18;
        letter-spacing: -.045em;
    }
    .page-index .slider__caption p {
        font-size: 1.08rem;
    }
    .page-index .slider__btn .btn {
        min-width: 150px;
        min-height: 49px;
        padding: 11px 24px !important;
        font-size: .96rem;
    }
    .page-index .hero-visual {
        width: min(96%, 440px);
    }
    .page-index .hero-learning-image { max-height: 360px; }
}
@media (min-width: 1200px) {
    .page-index .hero-visual { width: min(100%, 460px); }
    .page-index .hero-learning-image { max-height: 375px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .page-index .slider__btn .btn {
        min-height: 47px;
        padding: 10px 20px !important;
        font-size: .9rem;
    }
}

/* Hero spacing and illustration scale 2.5.3 */
@media (min-width: 992px) {
    .page-index .slider-area,
    .page-index .slider-height { height: 540px; }
    .page-index .single-slider > .container { transform: translateY(-20px); }
    .page-index .hero-visual {
        width: min(128%, 560px);
        margin-left: -18%;
    }
    .page-index .hero-learning-image { max-height: 450px; }
}
@media (min-width: 1200px) {
    .page-index .hero-visual {
        width: min(132%, 585px);
        margin-left: -20%;
    }
    .page-index .hero-learning-image { max-height: 470px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .page-index .single-slider > .container { transform: translateY(-12px); }
    .page-index .hero-visual { width: 112%; margin-left: -8%; }
    .page-index .hero-learning-image { max-height: 350px; }
}
@media (max-width: 767px) {
    .page-index .slider-area { padding-top: 38px; }
    .page-index .hero-learning-image { max-height: 365px; }
}
@media (max-width: 420px) {
    .page-index .slider-area { padding-top: 30px; }
    .page-index .hero-learning-image { max-height: 315px; }
}

/* Immediate one-time hero button reveal 2.5.4 */
.page-index .hero-btn-animate {
    animation: heroButtonReveal .55s cubic-bezier(.22,.75,.3,1) both;
}
.page-index .hero-btn-apply { animation-delay: .08s; }
@keyframes heroButtonReveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .page-index .hero-btn-animate { animation: none !important; }
}

/* Hindi hero title typography 2.5.5 */
.page-index .hero-hindi-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Fast original-direction hero button motion 2.5.6 */
.page-index .hero-btn-learn {
    animation: heroButtonFromLeft .48s cubic-bezier(.22,.75,.3,1) backwards;
}
.page-index .hero-btn-apply {
    animation: heroButtonFromRight .48s cubic-bezier(.22,.75,.3,1) .06s backwards;
}
@keyframes heroButtonFromLeft {
    from { opacity: 0; transform: translateX(-28px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes heroButtonFromRight {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .page-index .hero-btn-learn,
    .page-index .hero-btn-apply { animation: none !important; }
}

/* Footer description alignment 2.5.7 */
footer .footer-brand-column p.text-justify {
    text-align: justify !important;
    text-align-last: left;
    hyphens: auto;
}

/* Shared logo edge alignment 2.5.8 */
.navbar-top .navbar-brand {
    margin-left: -8px;
}
footer .footer-brand-column .footer-logo {
    margin-left: -20px;
}
@media (max-width: 767px) {
    .navbar-top .navbar-brand { margin-left: -4px; }
    footer .footer-brand-column .footer-logo { margin-left: -4px; }
}

/* Header logo fine alignment 2.5.9 */
.navbar-top .navbar-brand { margin-left: -18px; }
@media (max-width: 767px) {
    .navbar-top .navbar-brand { margin-left: -10px; }
}

/* ==========================================================
   SCS Computer Institute Management Software Theme 3.0
   Visual-only design system. Existing layout remains intact.
   ========================================================== */
:root {
    --scs-bg: #090514;
    --scs-surface: #100A26;
    --scs-card: rgba(255,255,255,0.03);
    --scs-card-hover: rgba(255,255,255,0.06);
    --scs-purple: #4A90E2;
    --scs-purple-hover: #1E3A5F;
    --scs-gold: #4A90E2;
    --scs-gold-hover: #1E3A5F;
    --scs-text: #F3EFFF;
    --scs-muted: #9C92B3;
    --scs-border: rgba(255,255,255,0.08);
    --scs-success: #10B981;
    --scs-error: #EF4444;
    --scs-info: #3B82F6;
    --scs-radius: 8px;
    --scs-shadow: 0 8px 24px rgba(0,0,0,.22);

    /* Compatibility aliases used by the existing website. */
    --scs-navy: #090514;
    --scs-navy-2: #100A26;
    --scs-teal: #4A90E2;
    --scs-teal-dark: #1E3A5F;
    --scs-amber: #4A90E2;
    --scs-ink: #F3EFFF;
    --scs-line: rgba(255,255,255,0.08);
    --scs-white: #F3EFFF;
}

html, body {
    color-scheme: dark;
    background: var(--scs-bg) !important;
}
body,
button,
input,
select,
textarea,
.tooltip,
.popover {
    font-family: 'Inter', sans-serif !important;
    letter-spacing: 0 !important;
}
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4,
.navbar-brand {
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: 0 !important;
}
body { color: var(--scs-text); }
p, li, label, small, span { letter-spacing: 0; }
::selection { color: var(--scs-text); background: rgba(74,144,226,.35); }
a { color: #4A90E2; }
a:hover { color: #4A90E2; }

/* Exact utility color mapping */
.bg-light { background-color: var(--scs-bg) !important; }
.bg-white { background-color: var(--scs-card) !important; }
.bg-dark, .bg-myblue { background-color: var(--scs-surface) !important; }
.bg-primary { background-color: var(--scs-purple) !important; }
.bg-warning, .bg-myyellow { background-color: var(--scs-gold) !important; }
.text-dark, .text-body, .text-black { color: var(--scs-text) !important; }
.text-secondary, .text-muted { color: var(--scs-muted) !important; }
.text-primary, .text-myblue { color: var(--scs-purple) !important; }
.text-warning, .text-myyellow { color: var(--scs-gold) !important; }
.text-success { color: var(--scs-success) !important; }
.text-danger { color: var(--scs-error) !important; }
.text-info { color: var(--scs-info) !important; }
.text-white-50 { color: var(--scs-muted) !important; }
.border, .border-top, .border-bottom, .border-start, .border-end { border-color: var(--scs-border) !important; }
.shadow, .shadow-sm, .shadow-lg { box-shadow: var(--scs-shadow) !important; }
.rounded, .rounded-3, .rounded-4 { border-radius: var(--scs-radius) !important; }
.rounded-pill { border-radius: 8px !important; }

/* Buttons */
.btn {
    border-radius: 8px !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
}
.btn-primary,
.btn-blue-theme,
.btn-orange-theme,
.btn-view {
    color: #fff !important;
    background: var(--scs-purple) !important;
    border-color: var(--scs-purple) !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-blue-theme:hover,
.btn-orange-theme:hover,
.btn-view:hover {
    color: #fff !important;
    background: var(--scs-purple-hover) !important;
    border-color: var(--scs-purple-hover) !important;
    box-shadow: none !important;
}
.btn-warning {
    color: #211330 !important;
    background: var(--scs-gold) !important;
    border-color: var(--scs-gold) !important;
}
.btn-warning:hover, .btn-warning:focus {
    color: #211330 !important;
    background: var(--scs-gold-hover) !important;
    border-color: var(--scs-gold-hover) !important;
}
.btn-outline-primary {
    color: #4A90E2 !important;
    background: transparent !important;
    border-color: var(--scs-purple) !important;
}
.btn-outline-primary:hover {
    color: #fff !important;
    background: var(--scs-purple) !important;
}
.btn-outline-light { color: var(--scs-text) !important; border-color: rgba(255,255,255,.35) !important; }
.btn-outline-light:hover { color: var(--scs-bg) !important; background: var(--scs-text) !important; }

/* Forms and feedback */
.form-label { color: var(--scs-text) !important; }
.form-control,
.form-select {
    color: var(--scs-text) !important;
    background-color: rgba(255,255,255,.035) !important;
    border: 1px solid var(--scs-border) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}
.form-control::placeholder { color: #736A89 !important; opacity: 1; }
.form-control:focus,
.form-select:focus {
    color: var(--scs-text) !important;
    background-color: rgba(255,255,255,.055) !important;
    border-color: var(--scs-purple) !important;
    box-shadow: 0 0 0 3px rgba(74,144,226,.16) !important;
}
.form-select option { color: var(--scs-text); background: var(--scs-surface); }
.form-check-input { background-color: rgba(255,255,255,.04); border-color: var(--scs-border); }
.form-check-input:checked { background-color: var(--scs-purple); border-color: var(--scs-purple); }
.alert { border-radius: 8px; box-shadow: none !important; }
.alert-success { color: #6EE7B7; background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.3); }
.alert-danger { color: #FCA5A5; background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); }
.alert-warning { color: #FCD34D; background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.3); }
.alert-info { color: #93C5FD; background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.3); }

/* Shared cards and surfaces */
main { background: var(--scs-bg) !important; }
main.bg-light { background: var(--scs-bg) !important; }
main .card,
.modal-content,
.doc-card,
.mission-card,
.course-card,
.course-premium-card,
.counter-box,
.student-card,
.feature-box,
.contact-info,
.contact-map-card,
.table-responsive {
    color: var(--scs-text) !important;
    background: var(--scs-card) !important;
    border: 1px solid var(--scs-border) !important;
    border-radius: var(--scs-radius) !important;
    box-shadow: var(--scs-shadow) !important;
}
main .card:hover,
.doc-card:hover,
.mission-card:hover,
.course-card:hover,
.course-premium-card:hover,
.counter-box:hover,
.student-card:hover,
.feature-box:hover {
    background: var(--scs-card-hover) !important;
    border-color: rgba(74,144,226,.35) !important;
    box-shadow: var(--scs-shadow) !important;
}
main .card-body { color: var(--scs-text); }
.list-group-item,
.accordion-item,
.accordion-button {
    color: var(--scs-text);
    background: var(--scs-card) !important;
    border-color: var(--scs-border) !important;
}
.accordion-button:not(.collapsed) { color: #4A90E2; background: rgba(74,144,226,.12) !important; }
.accordion-button::after { filter: invert(1) grayscale(1); }

/* Header and navigation */
.top-header {
    color: var(--scs-muted) !important;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.01) 0px, rgba(255,255,255,0.01) 1px, transparent 1px, transparent 8px), 
                repeating-linear-gradient(-45deg, rgba(255,255,255,0.01) 0px, rgba(255,255,255,0.01) 1px, transparent 1px, transparent 8px), 
                linear-gradient(135deg, #051838 0%, #020914 100%) !important;
    border-bottom: 1px solid var(--scs-border);
    padding: 5px 0 !important;
}
.welcome-text { color: var(--scs-muted) !important; }
.social-icons a {
    color: var(--scs-muted) !important;
    background: var(--scs-card) !important;
    border: 1px solid var(--scs-border);
    border-radius: 8px;
}
.social-icons a:hover { color: #fff !important; background: var(--scs-purple) !important; }
.top-links a { color: var(--scs-muted) !important; }
.top-links a:hover, .top-links .apply-link { color: var(--scs-gold) !important; }
.divider { background: var(--scs-border); }
.navbar-top {
    background: var(--scs-surface) !important;
    border-bottom: 1px solid var(--scs-border);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.navbar-nav .nav-item .nav-link { color: var(--scs-muted) !important; border-radius: 8px; }
.navbar-nav .nav-item .nav-link i { color: #4A90E2 !important; }
.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:focus {
    color: var(--scs-text) !important;
    background: rgba(74,144,226,.12) !important;
}
.navbar-toggler { color: var(--scs-text); background: var(--scs-card); border-color: var(--scs-border); border-radius: 8px; }
.navbar-nav .dropdown-menu {
    background: var(--scs-surface) !important;
    border: 1px solid var(--scs-border) !important;
    border-radius: 8px;
    box-shadow: var(--scs-shadow);
}
.navbar-nav .dropdown-menu .dropdown-item { color: var(--scs-muted) !important; border-radius: 6px; }
.navbar-nav .dropdown-menu .dropdown-item i { color: #4A90E2 !important; }
.navbar-nav .dropdown-menu .dropdown-item:hover { color: var(--scs-text) !important; background: rgba(74,144,226,.13) !important; }
@media (max-width: 1199px) {
    .navbar-collapse { background: var(--scs-surface); border-color: var(--scs-border); border-radius: 8px; box-shadow: var(--scs-shadow); }
    .navbar-nav .dropdown-menu { background: rgba(255,255,255,.025) !important; }
    .navbar-nav .dropdown-menu .dropdown-item { color: var(--scs-muted) !important; }
}

/* Home notice and hero */
/* .notification-top { color: var(--scs-muted); background: var(--scs-surface) !important; border-bottom: 1px solid var(--scs-border); } */
/* .notify-back { color: #211330 !important; background: var(--scs-gold) !important; } */
.page-index .slider-area {
    background: var(--scs-bg) !important;
    border-bottom: 1px solid var(--scs-border);
}
.page-index .hero-visual-glow { display: none; }
.page-index .hero-tech-badge {
    color: #4A90E2;
    background: rgba(16,10,38,.88);
    border: 1px solid var(--scs-border);
    border-radius: 8px;
    box-shadow: var(--scs-shadow);
    backdrop-filter: none;
}
.page-index .hero-tech-badge-cpu { color: var(--scs-gold); }
.page-index .hero-learning-image { filter: drop-shadow(0 18px 22px rgba(0,0,0,.3)); }
.page-index .hero-hindi-title { font-family: 'Outfit', sans-serif !important; }
.page-index .main_2 .row { border-radius: 8px !important; box-shadow: var(--scs-shadow) !important; }
.page-index .main_2 .col-md-4 {
    color: var(--scs-text) !important;
    background: var(--scs-surface) !important;
    border-color: var(--scs-border);
}
.page-index .main_2 .col-md-4 img { background: rgba(74,144,226,.12); border-radius: 8px; }
.page-index .main_2 .text-white-50 { color: var(--scs-muted) !important; }

/* Home content sections */
section,
.about-us,
.our-student,
.mission-vision-area,
.become-instructor,
.buttomcounter { background-color: var(--scs-bg) !important; }
.why-choose-us,
#testimonials-faq {
    background-color: var(--scs-surface) !important;
    background-image: none !important;
}
.about-us img { border-radius: 8px !important; box-shadow: var(--scs-shadow) !important; }
.about-us h4 { color: #4A90E2 !important; letter-spacing: 0 !important; }
.feature-box { backdrop-filter: none; }
.feature-box .icon,
.course-card i,
.counter-box .icon-box,
.page-aims-objective main > .container .card .rounded-circle {
    color: #4A90E2 !important;
    background: rgba(74,144,226,.12) !important;
    border-radius: 8px !important;
}
.feature-box .icon i { color: var(--scs-gold) !important; }
.counter-box .count-number { color: var(--scs-text); }
.become-instructor .container > .row,
.page-index .become-instructor .container > .row {
    background: var(--scs-surface) !important;
    border: 1px solid var(--scs-border);
    border-radius: 8px !important;
    box-shadow: var(--scs-shadow);
}
.instructor-btn { color: #211330; background: var(--scs-gold); border-radius: 8px; }
.instructor-btn:hover { color: #211330; background: var(--scs-gold-hover); }
.student-img { border-color: var(--scs-purple); }
.marquee-container { background: var(--scs-surface); border-color: var(--scs-border); border-radius: 8px; }
#testimonials-faq .bg-white { background: var(--scs-card) !important; border: 1px solid var(--scs-border); border-radius: 8px !important; box-shadow: var(--scs-shadow) !important; }

/* Inner page title and page-specific surfaces */
.page-title {
    color: var(--scs-text);
    background-color: var(--scs-surface) !important;
    background-image: none !important;
    border-bottom: 1px solid var(--scs-border);
}
.page-title::before { display: none; }
.page-title h1 { color: var(--scs-text); }
.page-title .breadcrumb a { color: var(--scs-muted) !important; }
.page-title .breadcrumb-item.active { color: var(--scs-gold) !important; }
.mission-card { background: var(--scs-card) !important; }
.mission-card .mission-icon { color: #4A90E2; background: rgba(74,144,226,.12); border-radius: 8px; }
.mission-card h3 { color: var(--scs-gold) !important; }
.mission-card p { color: var(--scs-muted) !important; }
.page-director-desk main section .col-lg-8 {
    color: var(--scs-text);
    background: var(--scs-card);
    border-color: var(--scs-border);
    border-radius: 8px;
    box-shadow: var(--scs-shadow);
}
.page-director-desk main section .lead { color: var(--scs-text) !important; }
.page-approval_recognition .doc-card > .d-flex:first-child i { color: #4A90E2; background: rgba(74,144,226,.12); border-radius: 8px; }
.page-admission main > .container > .row > .col-lg-5,
.page-apply_centre main > .container > .row > .col-lg-5 {
    background: var(--scs-surface);
    border-color: var(--scs-border);
    border-radius: 8px;
}
.page-bank_details main .card > .text-white {
    color: var(--scs-text) !important;
    background: var(--scs-purple) !important;
}
.page-bank_details main .card .border-primary-subtle { background: rgba(74,144,226,.08) !important; border-color: rgba(74,144,226,.25) !important; }

/* Courses, tables and pagination */
.page-courses main > .container > form,
.page-franchise-list main > .container > form {
    background: var(--scs-card);
    border-color: var(--scs-border);
    border-radius: 8px;
    box-shadow: var(--scs-shadow);
}
.premium-card-top-bar,
.bg-green-bar,
.bg-blue-bar,
.bg-purple-bar { color: #fff; background: var(--scs-purple) !important; }
.badge-outline-theme {
    color: #4A90E2 !important;
    background: rgba(74,144,226,.1) !important;
    border-color: rgba(74,144,226,.25) !important;
}
.course-card-title { color: var(--scs-text) !important; }
.course-card-desc { color: var(--scs-muted); }
.progress { background-color: rgba(255,255,255,.08) !important; }
.progress-bar { background-color: var(--scs-purple) !important; }
.premium-program-banner,
.page-courses .premium-program-banner {
    background: var(--scs-surface) !important;
    border: 1px solid var(--scs-border) !important;
    border-left: 3px solid var(--scs-gold) !important;
    border-radius: 8px !important;
}
.table-responsive { background: var(--scs-card) !important; }
.table {
    --bs-table-color: var(--scs-text);
    --bs-table-bg: transparent;
    --bs-table-striped-color: var(--scs-text);
    --bs-table-striped-bg: rgba(255,255,255,.025);
    --bs-table-hover-color: var(--scs-text);
    --bs-table-hover-bg: rgba(255,255,255,.05);
    color: var(--scs-text);
    border-color: var(--scs-border);
}
.table thead th { color: var(--scs-text); background: var(--scs-surface); border-color: var(--scs-border); }
.page-link { color: #4A90E2; background: var(--scs-card); border-color: var(--scs-border); border-radius: 6px !important; }
.page-link:hover { color: #fff; background: rgba(74,144,226,.16); border-color: rgba(74,144,226,.35); }
.page-item.active .page-link { color: #fff; background: var(--scs-purple); border-color: var(--scs-purple); }

/* Contact page */
.page-contact main { background: var(--scs-bg) !important; }
.page-contact .contact-eyebrow,
.page-contact .contact-location-label {
    color: #4A90E2;
    background: rgba(74,144,226,.1);
    border-color: rgba(74,144,226,.25);
    border-radius: 8px;
    letter-spacing: 0;
}
.page-contact .contact-page-intro h2,
.page-contact .contact-location-heading h3,
.page-contact .contact-panel-heading h4 { color: var(--scs-text) !important; }
.page-contact .contact-form-card::before { background: var(--scs-purple); }
.page-contact .contact-form-card > h4 i,
.page-contact .contact-item-icon {
    color: #4A90E2;
    background: rgba(74,144,226,.12);
    border-radius: 8px;
}
.page-contact .contact-panel-icon { color: #fff; background: var(--scs-purple); border-radius: 8px; }
.page-contact .contact-panel-heading { border-color: var(--scs-border); }
.page-contact .contact-info-item:hover { background: var(--scs-card-hover); }
.page-contact .contact-info-item strong { color: var(--scs-text); }
.page-contact .contact-info-item small { color: var(--scs-muted); letter-spacing: 0; }
.page-contact .contact-info-item a { color: #4A90E2; }
.page-contact .contact-directions-btn {
    color: #4A90E2;
    background: rgba(74,144,226,.1);
    border-color: rgba(74,144,226,.28);
    border-radius: 8px !important;
}
.page-contact .contact-directions-btn:hover { color: #fff; background: var(--scs-purple); border-color: var(--scs-purple); }
.page-contact .contact-map-card iframe { filter: saturate(.72) brightness(.82); border-radius: 6px !important; }

/* Shared admission CTA */
.student-cta { background: var(--scs-bg); }
.student-cta .cta-box {
    background: var(--scs-surface);
    border: 1px solid var(--scs-border);
    border-radius: 10px;
    box-shadow: var(--scs-shadow);
}
.student-cta .cta-box::before,
.student-cta .cta-box::after { display: none; }
.student-cta .cta-visual {
    color: var(--scs-gold);
    background: var(--scs-card);
    border-color: var(--scs-border);
    border-radius: 8px;
    box-shadow: none;
}
.student-cta .cta-eyebrow { color: #4A90E2; letter-spacing: 0; }
.student-cta .cta-content h2 { color: var(--scs-text); }
.student-cta .cta-content > p { color: var(--scs-muted); }
.student-cta .cta-benefits span { color: var(--scs-text); }
.student-cta .cta-benefits i { color: #4A90E2; }
.student-cta .student-cta-btn {
    color: #211330;
    background: var(--scs-gold);
    border-color: var(--scs-gold);
    border-radius: 8px;
    box-shadow: none;
}
.student-cta .student-cta-btn:hover { color: #211330; background: var(--scs-gold-hover); border-color: var(--scs-gold-hover); box-shadow: none; }
.student-cta .cta-action small { color: var(--scs-muted); }

/* Footer */
footer {
    color: var(--scs-muted);
    background: var(--scs-surface);
    border-top: 1px solid var(--scs-border);
}
footer::before { height: 2px; background: var(--scs-purple); }
footer::after { display: none; }
footer .footer-top { background: var(--scs-surface); }
footer .footer-brand-column::after { background: var(--scs-border); }
footer .footer-brand-column p { color: var(--scs-muted); }
footer h4.footer-heading { color: var(--scs-text); letter-spacing: 0; }
footer h4.footer-heading::after { background: var(--scs-purple); }
footer a,
footer .footer-links-column ul li a { color: var(--scs-muted); }
footer a:hover,
footer .footer-links-column ul li a:hover { color: var(--scs-text) !important; }
footer .footer-links-column ul li a i { color: #4A90E2; }
footer .footer-contact-list {
    background: var(--scs-card);
    border-color: var(--scs-border);
    border-radius: 8px;
}
footer .contact-icon {
    color: #4A90E2 !important;
    background: rgba(74,144,226,.12) !important;
    border-color: rgba(74,144,226,.22);
    border-radius: 8px !important;
}
footer .footer-contact-list .contact-item:hover .contact-icon { color: #fff !important; background: var(--scs-purple) !important; }
footer .footer-contact-list .contact-details strong { color: var(--scs-muted) !important; letter-spacing: 0; }
footer .buttom-footer { background: var(--scs-bg) !important; border-color: var(--scs-border); backdrop-filter: none; }
footer .buttom-social a { color: var(--scs-muted) !important; background: var(--scs-card); border-color: var(--scs-border); border-radius: 8px; }
footer .buttom-social a:hover { color: #fff !important; background: var(--scs-purple); }

/* Floating controls */
.scrollup { color: #fff; background: var(--scs-purple); border-radius: 8px; box-shadow: var(--scs-shadow); }
.scrollup:hover { background: var(--scs-purple-hover); }
.floating-wpp img { box-shadow: var(--scs-shadow); }

/* Keep the requested restrained radius at all viewport sizes. */
@media (max-width: 767px) {
    .student-cta .cta-box,
    .page-contact .contact-form-card,
    .page-contact .contact-info,
    .page-contact .contact-map-card,
    footer .footer-contact-list { border-radius: 8px; }
}

/* Theme 3.0.1 radius specificity lock */
body main .card,
body main .doc-card,
body main .mission-card,
body main .course-card,
body.page-courses main .course-premium-card,
body main .counter-box,
body main .student-card,
body main .feature-box,
body .student-cta .cta-box,
body footer .footer-contact-list {
    border-radius: 8px !important;
}

/* Reference-style topbar actions 3.0.2 */
.top-header { padding: 7px 0; }
.top-social { gap: 0; }
.top-header .social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-header .social-icons a {
    width: 30px;
    height: 30px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--scs-muted) !important;
    background: rgba(255,255,255,.05) !important;
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 50%;
    font-size: 12px;
}
.top-header .social-icons a:hover {
    color: #fff !important;
    background: rgba(74,144,226,.25) !important;
    border-color: rgba(74,144,226,.4);
    transform: translateY(-1px);
}
.topbar-divider {
    width: 1px;
    height: 28px;
    margin: 0 18px;
    background: var(--scs-border);
}
.top-support-menu { position: relative; }
.top-support-btn {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 13px;
    color: #211330;
    background: var(--scs-gold);
    border: 1px solid var(--scs-gold);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.top-support-btn:hover,
.top-support-btn:focus,
.top-support-btn.show {
    color: #211330;
    background: var(--scs-gold-hover);
    border-color: var(--scs-gold-hover);
    transform: translateY(-1px);
    outline: none;
}
.top-support-btn.dropdown-toggle::after {
    margin-left: 1px;
    vertical-align: middle;
    border-top-width: 4px;
    border-right-width: 4px;
    border-left-width: 4px;
}
.top-support-menu .dropdown-menu {
    min-width: 180px;
    margin-top: 8px !important;
    padding: 6px;
    color: var(--scs-text);
    background: var(--scs-surface);
    border: 1px solid var(--scs-border);
    border-radius: 8px;
    box-shadow: var(--scs-shadow);
}
.top-support-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    color: var(--scs-muted);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
.top-support-menu .dropdown-item i { color: #4A90E2; }
.top-support-menu .dropdown-item:hover,
.top-support-menu .dropdown-item:focus {
    color: var(--scs-text);
    background: rgba(74,144,226,.13);
}
@media (max-width: 767px) {
    .top-header { padding: 7px 0; }
    .top-header .top-social { justify-content: center !important; }
    .top-header .social-icons { gap: 6px; }
    .top-header .social-icons a { width: 28px; height: 28px; font-size: 11px; }
    .topbar-divider { height: 26px; margin: 0 12px; }
    .top-support-btn { min-height: 32px; padding: 6px 11px; font-size: 11px; }
}
@media (max-width: 380px) {
    .top-header .social-icons { gap: 4px; }
    .top-header .social-icons a { width: 26px; height: 26px; }
    .topbar-divider { margin-inline: 8px; }
}

/* Rounded Support dropdown refinement 3.0.3 */
.top-support-btn {
    padding: 7px 16px;
    border-radius: 999px;
}
.top-support-btn.dropdown-toggle::after {
    transition: transform .18s ease;
}
.top-support-btn.show.dropdown-toggle::after {
    transform: rotate(180deg);
}
.top-support-menu .dropdown-menu {
    min-width: 205px;
    margin-top: 10px !important;
    padding: 8px;
    border-radius: 12px;
    transform-origin: top right;
}
.top-support-menu .dropdown-menu.show {
    animation: supportMenuReveal .18s ease-out both;
}
.top-support-menu .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 23px;
    width: 10px;
    height: 10px;
    background: var(--scs-surface);
    border-top: 1px solid var(--scs-border);
    border-left: 1px solid var(--scs-border);
    transform: rotate(45deg);
}
.top-support-menu .dropdown-item {
    min-height: 40px;
    padding: 10px 11px;
    border-radius: 8px;
}
.top-support-menu .dropdown-item + .dropdown-item {
    margin-top: 3px;
}
@keyframes supportMenuReveal {
    from { opacity: 0; transform: translateY(-5px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 767px) {
    .top-support-btn { padding-inline: 14px; }
    .top-support-menu .dropdown-menu { min-width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
    .top-support-menu .dropdown-menu.show { animation: none !important; }
}

/* Support dropdown positioning fix 3.0.4 */
.top-header {
    position: relative;
    z-index: 1040;
    overflow: visible;
}
.top-support-menu,
.top-support-menu .dropdown-menu {
    z-index: 1060;
}
.top-support-menu .dropdown-menu.show {
    animation: supportMenuFade .16s ease-out both;
}
@keyframes supportMenuFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Support Desk content panel 3.0.5 */
.top-support-menu .support-desk-menu {
    width: 310px;
    min-width: 310px;
    padding: 9px;
}
.support-desk-header {
    padding: 10px 11px 12px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--scs-border);
}
.support-desk-header > strong {
    display: block;
    margin-bottom: 4px;
    color: var(--scs-text);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
}
.support-desk-header > span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--scs-muted);
    font-size: 10px;
    font-weight: 500;
}
.support-desk-header > span > i {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: var(--scs-success);
    box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}
.top-support-menu .support-desk-item {
    min-height: 58px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 15px;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
}
.top-support-menu .support-desk-menu li + li { margin-top: 3px; }
.support-desk-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74,144,226,.2);
    border-radius: 8px;
    color: #4A90E2;
    background: rgba(74,144,226,.1);
    font-size: 15px;
}
.support-desk-icon.support-whatsapp {
    color: #6EE7B7;
    background: rgba(16,185,129,.1);
    border-color: rgba(16,185,129,.2);
}
.support-desk-copy { min-width: 0; }
.support-desk-copy strong {
    display: block;
    margin-bottom: 2px;
    color: var(--scs-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}
.support-desk-copy small {
    display: block;
    overflow: hidden;
    color: var(--scs-muted);
    font-size: 9px;
    font-weight: 500;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.top-support-menu .support-desk-arrow {
    color: #6F6685;
    font-size: 10px;
    transition: color .18s ease, transform .18s ease;
}
.top-support-menu .support-desk-item:hover .support-desk-arrow {
    color: #4A90E2;
    transform: translate(2px,-2px);
}
@media (max-width: 575px) {
    .top-support-menu .support-desk-menu {
        width: min(310px, calc(100vw - 24px));
        min-width: min(310px, calc(100vw - 24px));
    }
}

/* Center topbar alternate marquee 3.0.6 */
.topbar-marquee-column { display: flex; align-items: center; }
.topbar-marquee {
    width: 100%;
    height: 34px;
    display: flex;
    align-items: center;
    padding: 3px 7px 3px 4px;
    overflow: hidden;
    background: rgba(59,130,246,.08);
    border: 1px solid rgba(74,144,226,.28);
    border-radius: 999px;
}
.topbar-marquee-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    color: #211330;
    background: var(--scs-gold);
    border-radius: 50%;
    font-size: 11px;
}
.topbar-marquee-window {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}
.topbar-marquee-track {
    width: max-content;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-inline: 18px;
    color: var(--scs-text);
    white-space: nowrap;
    animation: topbarMarqueeAlternate 4s ease-in-out infinite alternate;
}
.topbar-marquee-track strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}
.topbar-marquee-star {
    color: var(--scs-gold);
    font-size: 9px;
}
@keyframes topbarMarqueeAlternate {
    from { transform: translateX(-12px); }
    to { transform: translateX(12px); }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .welcome-text { font-size: 12px; white-space: nowrap; }
    .topbar-marquee-track strong { font-size: 12px; }
    .topbar-marquee-track { gap: 6px; padding-inline: 10px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .topbar-marquee-column { padding-right: 6px; }
    .topbar-actions-column { padding-left: 6px; }
    .topbar-divider { margin-inline: 9px; }
}
@media (max-width: 767px) {
    .top-header .row { row-gap: 7px; }
    .topbar-marquee-column,
    .topbar-actions-column { width: 100%; }
    .topbar-marquee { max-width: 520px; margin-inline: auto; }
    .topbar-actions-column .top-social { justify-content: center !important; }
}
@media (max-width: 420px) {
    .topbar-marquee-track { gap: 6px; padding-inline: 8px; }
    .topbar-marquee-track strong { font-size: 9px; }
    @keyframes topbarMarqueeAlternate {
        from { transform: translateX(-6px); }
        to { transform: translateX(6px); }
    }
}
@media (prefers-reduced-motion: reduce) {
    .topbar-marquee-track { animation: none !important; }
}

/* Topbar phone link */
.welcome-text a { color: var(--scs-text); font-weight: 600; }
.welcome-text a:hover { color: var(--scs-gold); }
.welcome-text > i { color: var(--scs-gold); }

/* Reference-style topbar phone */
.topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}
.topbar-phone i { color: var(--scs-gold); font-size: 14px; }
.topbar-phone a { color: var(--scs-text); font-weight: 600; }

/* ==========================================================
   Persistent Dark / Light Theme Toggle 3.1
   ========================================================== */
html[data-theme='light'] {
    color-scheme: light;
    --scs-bg: #F8FBFF;
    --scs-surface: #FFFFFF;
    --scs-card: #FFFFFF;
    --scs-card-hover: #F8FBFF;
    --scs-text: #1E3A5F;
    --scs-muted: #333333;
    --scs-border: rgba(11, 44, 95, 0.12);
    --scs-shadow: 0 8px 24px rgba(11, 44, 95, 0.08);

    --scs-navy: #F8FBFF;
    --scs-navy-2: #FFFFFF;
    --scs-ink: #1E3A5F;
    --scs-line: rgba(11, 44, 95, 0.12);
    --scs-white: #1E3A5F;
    --scs-purple: #4A90E2;
    --scs-purple-hover: #1E3A5F;
    --scs-gold: #4A90E2;
    --scs-gold-hover: #1E3A5F;
}
body,
.top-header,
.navbar-top,
main,
section,
.card,
.form-control,
.form-select,
.dropdown-menu,
footer {
    transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}
.theme-toggle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 9px;
    padding: 0;
    color: var(--scs-gold);
    background: rgba(255,255,255,.05);
    border: 1px solid var(--scs-border);
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.theme-toggle:hover {
    color: #211330;
    background: var(--scs-gold);
    border-color: var(--scs-gold);
    transform: translateY(-1px);
}
.theme-toggle-moon { display: none; }
html[data-theme='light'] .theme-toggle-sun { display: none; }
html[data-theme='light'] .theme-toggle-moon { display: inline-block; }
html[data-theme='light'] .theme-toggle {
    color: var(--scs-gold);
    background: rgba(255, 211, 61, 0.1);
    border-color: rgba(255, 211, 61, 0.2);
}
html[data-theme='light'] .theme-toggle:hover {
    color: #211330;
    background: var(--scs-gold);
    border-color: var(--scs-gold);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(74,144,226,.35) !important;
    outline-offset: 2px;
}

/* Keep the compact utility bar dark in both modes. */
html[data-theme='light'] .top-header {
    color: #cbd5e1 !important;
    background: #1E3A5F !important;
    border-color: rgba(255,255,255,.08);
    padding: 5px 0 !important;
}
html[data-theme='light'] .topbar-phone a { color: #ffffff; }
html[data-theme='light'] .top-header .social-icons a {
    color: rgba(255, 255, 255, 0.85) !important;
    background: rgba(255,255,255,.05) !important;
    border-color: rgba(255,255,255,.06) !important;
}
html[data-theme='light'] .top-header .social-icons a:hover {
    color: #ffffff !important;
    background: rgba(255, 211, 61, 0.25) !important;
    border-color: rgba(255, 211, 61, 0.45) !important;
}
html[data-theme='light'] .theme-toggle {
    color: var(--scs-gold) !important;
    background: rgba(255,255,255,.05) !important;
    border-color: rgba(255,255,255,.06) !important;
}
html[data-theme='light'] .theme-toggle:hover {
    color: #211330 !important;
    background: var(--scs-gold) !important;
    border-color: var(--scs-gold) !important;
}
html[data-theme='light'] .topbar-marquee {
    background: rgba(59,130,246,.08);
    border-color: rgba(255,255,255,.12);
}
html[data-theme='light'] .topbar-marquee-track { color: #ffffff; }
html[data-theme='light'] .topbar-divider { background: rgba(255,255,255,.1); }

/* Light navigation and dropdowns */
html[data-theme='light'] .navbar-top {
    background: #FFFFFF !important;
    border-color: rgba(11, 44, 95, 0.1);
    box-shadow: 0 5px 18px rgba(11, 44, 95, 0.05);
}
html[data-theme='light'] .navbar-nav .nav-item .nav-link { color: #333333 !important; }
html[data-theme='light'] .navbar-nav .nav-item .nav-link:hover,
html[data-theme='light'] .navbar-nav .nav-item .nav-link:focus { color: #1E3A5F !important; }
html[data-theme='light'] .navbar-nav .dropdown-menu,
html[data-theme='light'] .top-support-menu .dropdown-menu {
    background: #FFFFFF !important;
    border-color: rgba(11, 44, 95, 0.12) !important;
}
html[data-theme='light'] .top-support-menu .dropdown-menu::before {
    background: #FFFFFF;
    border-color: rgba(11, 44, 95, 0.12);
}
html[data-theme='light'] .top-support-menu .dropdown-item,
html[data-theme='light'] .navbar-nav .dropdown-menu .dropdown-item { color: #333333 !important; }
html[data-theme='light'] .support-desk-header > strong,
html[data-theme='light'] .support-desk-copy strong { color: #1E3A5F; }
html[data-theme='light'] .support-desk-header > span,
html[data-theme='light'] .support-desk-copy small { color: #333333; }

/* Light page surfaces */
html[data-theme='light'] .form-control,
html[data-theme='light'] .form-select {
    color: #1E3A5F !important;
    background: #FFFFFF !important;
    border-color: rgba(11, 44, 95, 0.14) !important;
}
html[data-theme='light'] .form-control::placeholder { color: #64748b !important; }
html[data-theme='light'] .form-control:focus,
html[data-theme='light'] .form-select:focus { background: #FFFFFF !important; }
html[data-theme='light'] .form-select option { color: #1E3A5F; background: #FFFFFF; }
html[data-theme='light'] .hero-tech-badge {
    color: var(--scs-purple);
    background: rgba(255,255,255,.92);
    border-color: rgba(11, 44, 95, 0.12);
}
html[data-theme='light'] .page-index .slider__caption,
html[data-theme='light'] .page-index .slider__caption .text-light { color: #1E3A5F !important; }
html[data-theme='light'] .page-index .slider-area { background: #F8FBFF !important; }
html[data-theme='light'] .page-index .slider__btn .btn-outline-light {
    color: #1E3A5F !important;
    border-color: rgba(11, 44, 95, 0.35) !important;
}
html[data-theme='light'] .page-index .slider__btn .btn-outline-light:hover { color: #fff !important; background: var(--scs-purple) !important; border-color: var(--scs-purple) !important; }
html[data-theme='light'] .page-title { background: #FFFFFF !important; }
html[data-theme='light'] .table {
    --bs-table-color: #1E3A5F;
    --bs-table-striped-color: #1E3A5F;
    --bs-table-striped-bg: rgba(11, 61, 145, 0.035);
    --bs-table-hover-color: #1E3A5F;
    --bs-table-hover-bg: rgba(11, 61, 145, 0.07);
}
html[data-theme='light'] .table thead th { color: #1E3A5F; background: #e2e8f0; }
html[data-theme='light'] .accordion-button::after { filter: none; }
html[data-theme='light'] .contact-map-card iframe { filter: none; }

/* Restrained dark feature bands remain dark for contrast in light mode. */
html[data-theme='light'] .why-choose-us,
html[data-theme='light'] #testimonials-faq,
html[data-theme='light'] .become-instructor .container > .row,
html[data-theme='light'] .mission-card,
html[data-theme='light'] .premium-program-banner,
html[data-theme='light'] .student-cta .cta-box,
html[data-theme='light'] footer {
    --scs-text: #F8FBFF;
    --scs-muted: #94a3b8;
    --scs-border: rgba(255,255,255,.08);
    --scs-card: rgba(255,255,255,.03);
    color: #F8FBFF !important;
    background: #1E3A5F !important;
    border-color: rgba(255,255,255,.08) !important;
}
html[data-theme='light'] .why-choose-us .text-muted,
html[data-theme='light'] #testimonials-faq .text-muted,
html[data-theme='light'] .student-cta .cta-content > p,
html[data-theme='light'] footer p,
html[data-theme='light'] footer a { color: #94a3b8 !important; }
html[data-theme='light'] footer .footer-top,
html[data-theme='light'] footer .buttom-footer { background: #1E3A5F !important; }
html[data-theme='light'] footer .footer-logo { filter: brightness(0) invert(1); }

@media (max-width: 767px) {
    .theme-toggle { width: 28px; height: 28px; min-width: 28px; margin-left: 6px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    body, .top-header, .navbar-top, main, section, .card, .form-control, .form-select, .dropdown-menu, footer { transition: none !important; }
}

/* Reference-inspired Certificate Verification 3.2 */
.page-verify_certificate main {
    min-height: 70vh;
    background: var(--scs-bg) !important;
}
.page-verify_certificate .certificate-verification-hero {
    min-height: 330px;
    padding: 52px 0 64px;
    background: var(--scs-bg) !important;
    border-bottom: 1px solid var(--scs-border);
}
.page-verify_certificate .certificate-verification-hero .container {
    max-width: 920px;
}
.certificate-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 8px 16px;
    color: #4A90E2;
    background: rgba(74,144,226,.08);
    border: 1px solid rgba(74,144,226,.32);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.page-verify_certificate .certificate-verification-hero h1 {
    max-width: 820px;
    margin: 0 auto 18px;
    color: var(--scs-text);
    font-size: clamp(2.15rem, 4.8vw, 3.65rem) !important;
    line-height: 1.05;
}
.page-verify_certificate .certificate-verification-hero h1 span { color: #4A90E2; }
.page-verify_certificate .certificate-verification-hero > .container > p {
    max-width: 680px;
    margin: 0 auto 22px;
    color: var(--scs-muted);
    font-size: 1rem;
}
.page-verify_certificate .certificate-verification-hero .breadcrumb { font-size: 11px; }
.page-verify_certificate .certificate-verification-container {
    max-width: 690px;
    padding-top: 6px;
}
body.page-verify_certificate main .certificate-verification-card {
    width: 100%;
    overflow: hidden;
    background: var(--scs-card) !important;
    border: 1px solid var(--scs-border) !important;
    border-radius: 10px !important;
    box-shadow: 0 14px 38px rgba(0,0,0,.2) !important;
}
.certificate-panel-heading {
    padding: 36px 36px 0;
    color: var(--scs-text);
    background: transparent;
    text-align: center;
}
.certificate-panel-heading h5 { font-size: 1.05rem; }
.certificate-panel-heading i { color: var(--scs-purple); font-size: 1.35rem; }
.page-verify_certificate .certificate-verification-card > .card-body {
    padding: 28px 40px 40px !important;
}
.certificate-verification-form .row { --bs-gutter-y: 1rem; }
.certificate-verification-form .form-control {
    min-height: 52px;
    padding-inline: 15px;
    background: rgba(9,5,20,.55) !important;
    border-color: var(--scs-border) !important;
}
.certificate-verification-form .form-text { padding-left: 2px; }
.certificate-search-btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--scs-purple) !important;
    border-color: var(--scs-purple) !important;
    font-size: .82rem;
    font-weight: 700;
}
.certificate-search-btn:hover { background: var(--scs-purple-hover) !important; border-color: var(--scs-purple-hover) !important; }
.certificate-result-card {
    background: rgba(255,255,255,.025) !important;
    border-color: var(--scs-border) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}
html[data-theme='light'] .certificate-verification-form .form-control { background: #FFFFFF !important; }
html[data-theme='light'] .page-verify_certificate .certificate-verification-hero h1 span { color: var(--scs-purple); }
html[data-theme='light'] .certificate-trust-badge { color: var(--scs-purple); }
html[data-theme='light'] .certificate-result-card { background: #F8FBFF !important; }
@media (max-width: 767px) {
    .page-verify_certificate .certificate-verification-hero { min-height: 300px; padding: 42px 0 52px; }
    .page-verify_certificate .certificate-verification-hero h1 { font-size: clamp(2rem, 10vw, 2.75rem) !important; }
    .page-verify_certificate .certificate-verification-hero > .container > p { font-size: .9rem; }
    .page-verify_certificate .certificate-verification-container { padding-top: 0; }
    .certificate-panel-heading { padding: 28px 20px 0; }
    .page-verify_certificate .certificate-verification-card > .card-body { padding: 22px 20px 28px !important; }
}
@media (max-width: 420px) {
    .certificate-trust-badge { padding: 7px 11px; font-size: 9px; }
    .page-verify_certificate .certificate-verification-hero h1 { font-size: 2rem !important; }
    .certificate-panel-heading h5 { font-size: .95rem; }
}

/* Verification placeholder casing */
.certificate-verification-form .form-control::placeholder {
    text-transform: none;
}

/* Home latest updates placement 3.2.1 */
.page-index .section-topbuttom { margin-bottom: 0 !important; }
.page-index .main_2 { margin-top: 30px; }
/* .page-index .notification-top {
    position: relative;
    z-index: 4;
    border-top: 1px solid var(--scs-border);
    border-bottom: 1px solid var(--scs-border);
}
@media (max-width: 991px) {
    .page-index .notification-top .row { flex-wrap: nowrap; }
    .page-index .notification-top .notify-back {
        width: auto;
        min-width: 145px;
        flex: 0 0 auto;
        padding-inline: 10px;
        font-size: 11px;
    }
    .page-index .notification-top .row > div:last-child {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
    }
}
@media (max-width: 575px) {
    .page-index .notification-top .container { width: 100%; }
    .page-index .notification-top .notify-back { min-width: 120px; font-size: 10px; }
    .page-index .notification-top .row > div:last-child { padding-inline: 8px !important; }
    .page-index .marquee-child { font-size: 11px; }
} */

/* Keep Latest Updates inside the first viewport 3.2.2 */
.page-index .slider-area,
.page-index .slider-height {
    height: var(--home-hero-height, calc(100svh - 198px)) !important;
    min-height: 0 !important;
    box-sizing: border-box;
}
.page-index .single-slider > .container { transform: none; }
.page-index .hero-learning-image { max-height: min(470px, 58vh); }
@media (max-width: 991px) {
    .page-index .slider-area,
    .page-index .slider-height { height: var(--home-hero-height, calc(100svh - 186px)) !important; }
    .page-index .hero-learning-image { max-height: min(350px, 42vh); }
}
@media (max-width: 767px) {
    .page-index .slider-area {
        min-height: 0 !important;
        padding: 18px 0 20px;
    }
    .page-index .slider-height { min-height: 0 !important; }
    .page-index .slider__caption h2 { margin-bottom: 5px; font-size: clamp(.82rem, 3.4vw, 1rem); }
    .page-index .slider__caption h1 { margin: 5px 0 8px; font-size: clamp(1.65rem, 8vw, 2.2rem) !important; }
    .page-index .slider__caption p { margin-bottom: 0; font-size: .86rem; }
    .page-index .slider__btn { margin-top: 12px !important; }
    .page-index .hero-visual { margin-top: 8px; }
    .page-index .hero-learning-image { max-height: min(300px, 31vh); }
}
@media (max-height: 700px) {
    .page-index .slider__caption h2 { font-size: .82rem; line-height: 1.3; }
    .page-index .slider__caption h1 { margin-block: 4px 6px; font-size: clamp(1.55rem, 6vw, 2.2rem) !important; }
    .page-index .slider__caption p { font-size: .8rem; line-height: 1.45; }
    .page-index .slider__btn { margin-top: 10px !important; }
    .page-index .slider__btn .btn { min-height: 42px; padding: 8px 16px !important; font-size: .82rem; }
    .page-index .hero-learning-image { max-height: min(280px, 30vh); }
}
@media (max-height: 520px) and (orientation: landscape) {
    .page-index .hero-visual { max-width: 300px; }
    .page-index .hero-learning-image { max-height: 44vh; }
    .page-index .slider__caption h1 { white-space: normal; }
}

/* Compact primary navbar 3.2.3 */
.navbar-top { padding-top: 0; padding-bottom: 0; }
.navbar-top .navbar { padding-top: 4px; padding-bottom: 4px; }
.navbar-top .navbar-brand img {
    max-height: 54px;
}
.navbar-top .navbar-nav .nav-link { padding-top: 9px; padding-bottom: 9px; }
@media (max-width: 1199px) {
    .navbar-top .navbar-brand img { max-height: 50px; }
    .navbar-top .navbar { padding-top: 3px; padding-bottom: 3px; }
}

/* Hero content scale and spacing correction 3.2.4 */
@media (min-width: 768px) {
    .page-index .slider__caption { padding-right: clamp(18px, 3vw, 42px); }
    .page-index .slider__caption h2 {
        margin-bottom: 8px;
        font-size: clamp(1rem, 1.7vw, 1.25rem);
        line-height: 1.45;
    }
    .page-index .slider__caption h1 {
        margin: 8px 0 14px;
        font-size: clamp(2.45rem, 3.25vw, 3.35rem) !important;
        line-height: 1.16;
    }
    .page-index .slider__caption p {
        font-size: 1rem;
        line-height: 1.6;
    }
    .page-index .slider__btn { margin-top: 20px !important; }
    .page-index .hero-learning-image { max-height: min(450px, 58vh); }
}
@media (min-width: 768px) and (max-height: 700px) {
    .page-index .slider__caption h2 { font-size: 1rem; line-height: 1.35; }
    .page-index .slider__caption h1 {
        margin-block: 7px 10px;
        font-size: clamp(2.35rem, 3.4vw, 2.9rem) !important;
    }
    .page-index .slider__caption p { font-size: .9rem; line-height: 1.5; }
    .page-index .slider__btn { margin-top: 14px !important; }
    .page-index .slider__btn .btn {
        min-height: 46px;
        padding: 9px 20px !important;
        font-size: .9rem;
    }
    .page-index .hero-learning-image { max-height: min(380px, 56vh); }
}
@media (max-width: 767px) {
    .page-index .slider__caption h2 { margin-bottom: 7px; line-height: 1.4; }
    .page-index .slider__caption h1 {
        margin: 7px 0 11px;
        font-size: clamp(1.9rem, 8.5vw, 2.35rem) !important;
        line-height: 1.15;
    }
    .page-index .slider__caption p { font-size: .88rem; line-height: 1.5; }
    .page-index .slider__btn { margin-top: 14px !important; }
    .page-index .hero-visual { width: min(108%, 450px); margin-top: 4px; }
    .page-index .hero-learning-image { max-height: min(340px, 36vh); }
}
@media (max-width: 767px) and (max-height: 700px) {
    .page-index .slider__caption h2 { font-size: .84rem; }
    .page-index .slider__caption h1 {
        margin-block: 5px 8px;
        font-size: clamp(1.75rem, 8vw, 2rem) !important;
    }
    .page-index .slider__caption p { font-size: .8rem; }
    .page-index .slider__btn { margin-top: 10px !important; }
    .page-index .slider__btn .btn { min-height: 42px; padding: 8px 15px !important; font-size: .8rem; }
    .page-index .single-slider .row { --bs-gutter-y: .5rem; }
    .page-index .hero-visual { margin-top: -10px; }
    .page-index .hero-learning-image { max-height: min(220px, 34vh); }
}

/* Hero section typography and spacing adjustments - Compact Layout */
.page-index .slider-area,
.page-index .slider-height {
    height: 480px !important;
    min-height: 480px !important;
}

.page-index .hero-english-title {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important;
    line-height: 1.35 !important;
    letter-spacing: .02em !important;
    text-transform: none !important;
    white-space: normal !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.page-index .hero-hindi-title {
    font-size: clamp(2.45rem, 3.4vw, 3.65rem) !important;
    line-height: 1.18 !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    font-weight: 800 !important;
    margin-bottom: 16px !important;
}

.page-index .slider__caption p {
    margin-bottom: 18px !important;
}

.page-index .slider__btn {
    margin-top: 22px !important;
}

/* Tablet & Mobile responsive overrides */
@media (max-width: 991px) {
    .page-index .slider-area,
    .page-index .slider-height {
        height: 430px !important;
        min-height: 430px !important;
    }
    .page-index .hero-english-title {
        font-size: clamp(1.2rem, 2.5vw, 1.4rem) !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }
    .page-index .hero-hindi-title {
        font-size: clamp(1.9rem, 6vw, 2.35rem) !important;
        line-height: 1.15 !important;
        margin-bottom: 14px !important;
    }
}

@media (max-width: 767px) {
    .page-index .slider-area,
    .page-index .slider-height {
        height: auto !important;
        min-height: 0 !important;
        padding: 24px 0 28px !important;
    }
    .page-index .hero-english-title {
        font-size: clamp(1.05rem, 3.5vw, 1.25rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }
    .page-index .hero-hindi-title {
        font-size: clamp(1.65rem, 8vw, 2.1rem) !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
    }
    .page-index .slider__caption p {
        margin-bottom: 12px !important;
    }
    .page-index .slider__btn {
        margin-top: 16px !important;
    }
}

@media (max-width: 575px) {
    .page-index .hero-english-title {
        font-size: clamp(0.95rem, 4vw, 1.15rem) !important;
        line-height: 1.25 !important;
    }
    .page-index .hero-hindi-title {
        font-size: clamp(1.45rem, 7.5vw, 1.8rem) !important;
    }
}

/* Footer Disclaimer and bottom bar styles - matching pnsfoundation.in */
.km-disclaimer {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.6;
    text-align: center;
    margin: 25px auto 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 30px;
    border-radius: 30px;
    max-width: max-content;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
    display: block;
}

.disclaimer-item {
    display: inline-block;
}

.disclaimer-splitter {
    color: rgba(255, 255, 255, 0.15);
    margin: 0 12px;
}

.km-bottom-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    position: relative;
    z-index: 5;
}

.km-bottom-wrapper::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 211, 61, 0.14) 14%,
        rgba(255, 211, 61, 0.38) 30%,
        rgba(255, 238, 150, 0.58) 42%,
        rgba(255, 184, 0, 0.46) 52%,
        rgba(255, 211, 61, 0.34) 66%,
        rgba(255, 211, 61, 0.12) 82%,
        transparent 100%
    );
    background-size: 240% 100%;
    border-radius: 999px;
    box-shadow:
        0 0 4px rgba(255, 211, 61, 0.22),
        0 0 9px rgba(255, 184, 0, 0.1);
    opacity: 0.62;
}

.km-bottom-wrapper::after {
    content: '';
    position: absolute;
    top: -19px;
    left: 50%;
    width: 38px;
    height: 38px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255, 250, 210, 0.92) 0%,
        rgba(255, 211, 61, 0.78) 20%,
        rgba(255, 184, 0, 0.34) 46%,
        rgba(255, 184, 0, 0.08) 68%,
        transparent 76%
    );
    box-shadow:
        0 0 8px rgba(255, 231, 124, 0.34),
        0 0 20px rgba(255, 184, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    animation: footerCenterSunGlow 4.8s ease-in-out infinite;
}

.km-bottom::before,
.km-bottom::after {
    content: '';
    position: absolute;
    top: -1px;
    width: min(28vw, 360px);
    height: 1px;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

.km-bottom::before {
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 211, 61, 0.75), rgba(255, 246, 190, 0.9));
    animation: footerLineInLeft 4.8s ease-in-out infinite;
}

.km-bottom::after {
    right: 0;
    background: linear-gradient(270deg, transparent, rgba(255, 211, 61, 0.75), rgba(255, 246, 190, 0.9));
    animation: footerLineInRight 4.8s ease-in-out infinite;
}

.km-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #cbd5e1;
    position: relative;
}

.bottom-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Waving Indian Flag Style */
.indian-flag-wrapper {
    perspective: 1000px;
    display: inline-block;
}

.indian-flag {
    position: relative;
    width: 45px;
    height: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    border-radius: 2px;
    overflow: hidden;
    animation: flagWave 3.5s ease-in-out infinite;
    transform-origin: left center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.indian-flag::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 25%,
        rgba(0, 0, 0, 0.18) 50%,
        rgba(255, 255, 255, 0.25) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: waveShimmer 3.5s linear infinite;
    pointer-events: none;
}

.indian-flag .stripe {
    height: 33.33%;
    width: 100%;
    position: relative;
}

.indian-flag .saffron {
    background-color: #FF9933;
}

.indian-flag .white {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indian-flag .green {
    background-color: #138808;
}

.indian-flag .ashoka-chakra {
    width: 9px;
    height: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: chakraSpin 16s linear infinite;
}

.indian-flag .chakra-svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes flagWave {
    0% {
        transform: translateY(0) rotate(0deg) skewY(0deg);
    }
    25% {
        transform: translateY(-1.5px) rotate(1deg) skewY(1deg);
    }
    50% {
        transform: translateY(0) rotate(0deg) skewY(0deg);
    }
    75% {
        transform: translateY(1.5px) rotate(-1deg) skewY(-1deg);
    }
    100% {
        transform: translateY(0) rotate(0deg) skewY(0deg);
    }
}

@keyframes waveShimmer {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes chakraSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes footerGoldenLineBreath {
    0%, 100% {
        opacity: 0.42;
    }
    50% {
        opacity: 0.68;
    }
}

@keyframes footerLineInLeft {
    0%, 18%, 100% {
        opacity: 0;
        transform: translateX(-18%) scaleX(0.55);
    }
    48% {
        opacity: 0.82;
        transform: translateX(74%) scaleX(1);
    }
    68% {
        opacity: 0;
        transform: translateX(104%) scaleX(0.72);
    }
}

@keyframes footerLineInRight {
    0%, 18%, 100% {
        opacity: 0;
        transform: translateX(18%) scaleX(0.55);
    }
    48% {
        opacity: 0.82;
        transform: translateX(-74%) scaleX(1);
    }
    68% {
        opacity: 0;
        transform: translateX(-104%) scaleX(0.72);
    }
}

@keyframes footerCenterSunGlow {
    0%, 30%, 100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.42);
    }
    46% {
        opacity: 0.42;
        transform: translateX(-50%) scale(0.72);
    }
    54% {
        opacity: 0.9;
        transform: translateX(-50%) scale(1.22);
    }
    64% {
        opacity: 0.58;
        transform: translateX(-50%) scale(1.42);
    }
    76% {
        opacity: 0.24;
        transform: translateX(-50%) scale(1.72);
    }
    88% {
        opacity: 0.08;
        transform: translateX(-50%) scale(1.95);
    }
}

@media (prefers-reduced-motion: reduce) {
    .km-bottom-wrapper::before,
    .km-bottom-wrapper::after,
    .km-bottom::before,
    .km-bottom::after {
        animation: none;
    }
}

.km-bottom .bottom-left {
    text-align: left;
    flex: 1;
}

.km-bottom .bottom-right {
    text-align: right;
    flex: 1;
}

.bottom-right span {
    color: #fff;
}

/* Scroll to Top Button (Floating) - matching pnsfoundation.in styling */
.km-scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 42px;
    height: 42px;
    background: rgba(11, 44, 95, 0.85); /* Premium Deep Navy Glassmorphism */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.km-scroll-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff7a2f, #ffb347); /* Brand orange-gold gradient */
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.km-scroll-top:hover {
    color: #ffffff;
    transform: translateY(-5px) scale(1.05); /* Floating hover effect */
    box-shadow: 0 8px 24px rgba(255, 122, 47, 0.35);
}

.km-scroll-top:hover::before {
    opacity: 1;
}

.km-scroll-top i {
    transition: transform 0.3s ease;
    z-index: 1;
}

.km-scroll-top:hover i {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .km-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .km-bottom .bottom-left,
    .km-bottom .bottom-right {
        text-align: center;
        flex: none;
        width: 100%;
    }

    .bottom-center {
        display: none;
    }

    .km-disclaimer {
        padding: 15px 20px;
        border-radius: 16px;
        max-width: 90%;
        margin: 20px auto 0 auto;
    }

    .disclaimer-item {
        display: block;
        margin: 6px 0;
    }

    .disclaimer-splitter {
        display: none;
    }

    .km-scroll-top {
        position: fixed;
        right: 20px;
        bottom: 20px;
        width: 38px;
        height: 38px;
        font-size: 14px;
        transform: none;
        margin: 0;
    }

    .km-scroll-top:hover {
        transform: translateY(-3px) scale(1.05);
    }
}

/* Light mode hover adjustments for dark sections */
html[data-theme='light'] .why-choose-us .feature-box:hover,
html[data-theme='light'] .mission-card:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 211, 61, 0.4) !important; /* gold border */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme='light'] footer a:hover {
    color: var(--scs-gold) !important;
}

html[data-theme='light'] .accordion-button:not(.collapsed) {
    color: var(--scs-purple) !important;
    background: rgba(11, 61, 145, 0.08) !important;
}

html[data-theme='light'] #testimonials-faq .accordion-button:not(.collapsed) {
    color: var(--scs-gold) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Verified result seal */
.scs-verified-seal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, .32);
    color: #047857;
    font-weight: 800;
    font-size: .86rem;
    letter-spacing: .02em;
    box-shadow: 0 8px 20px rgba(4, 120, 87, .12);
}
.scs-verified-seal i {
    font-size: 1.2rem;
    color: #059669;
}
html[data-theme='dark'] .scs-verified-seal {
    background: rgba(16, 185, 129, .12);
    border-color: rgba(110, 231, 183, .35);
    color: #a7f3d0;
}
html[data-theme='dark'] .scs-verified-seal i { color: #6ee7b7; }

/* Student certificate verification report */
.page-verify_certificate .certificate-verification-container { max-width: 860px; }
.student-verification-report { padding: 36px; color: var(--scs-text); background: #100a22; border: 1px solid rgba(196,181,253,.14); border-radius: 8px; box-shadow: 0 18px 44px rgba(0,0,0,.24); }
.report-student-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(196,181,253,.12); }
.report-student-identity { display: flex; align-items: center; gap: 18px; min-width: 0; }
.report-student-photo { flex: 0 0 82px; width: 82px; height: 96px; object-fit: cover; border: 2px solid var(--scs-purple); border-radius: 8px; box-shadow: 0 0 18px rgba(74,144,226,.35); }
.report-photo-placeholder { display: grid; place-items: center; color: #4A90E2; font-size: 2.5rem; background: rgba(74,144,226,.1); }
.report-student-identity h2 { margin: 0 0 7px; color: #fff; font-size: 1.5rem; line-height: 1.2; }
.report-student-identity p { margin: 0; color: #4A90E2; font-size: .85rem; font-weight: 700; overflow-wrap: anywhere; }
.student-verification-report .scs-verified-seal { flex: 0 0 auto; border-style: dashed; border-radius: 7px; text-transform: uppercase; transform: rotate(5deg); }
.report-section { margin-top: 28px; }
.report-section h3 { margin: 0 0 16px; padding-left: 12px; color: #fff; border-left: 3px solid var(--scs-purple); font-size: 1rem; }
.report-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.report-field { min-height: 78px; padding: 16px; background: rgba(7,4,17,.38); border: 1px solid rgba(196,181,253,.12); border-radius: 8px; }
.report-field span { display: block; margin-bottom: 6px; color: #9c94ae; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.report-field strong { display: block; color: #F8FBFF; font-size: .86rem; overflow-wrap: anywhere; }
.report-scorecard { padding: 15px 18px; background: rgba(7,4,17,.42); border: 1px solid rgba(196,181,253,.12); border-radius: 8px; }
.report-score-row { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; color: #e5e7eb; border-bottom: 1px solid rgba(196,181,253,.09); font-size: .85rem; }
.report-score-row:last-child { border-bottom: 0; }
.report-score-row strong { flex: 0 0 auto; color: #fff; }
.report-score-row.report-total { margin-top: 5px; border-top: 1px dashed rgba(196,181,253,.18); font-weight: 800; }
.report-score-row.report-grade { font-weight: 800; text-transform: uppercase; }
.report-score-row.report-grade strong { color: #facc15; }
.report-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 32px; }
.report-print-actions { display: flex; gap: 9px; }
.report-actions .btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 14px; border-radius: 7px; color: #fff; font-size: .76rem; font-weight: 700; }
.report-back-btn, .report-print-btn { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.report-certificate-btn { background: var(--scs-purple); border: 1px solid var(--scs-purple); box-shadow: 0 8px 20px rgba(74,144,226,.25); }
html[data-theme='light'] .student-verification-report { color: #e5e7eb; }
@media (max-width: 767px) {
    .student-verification-report { padding: 22px 18px; }
    .report-student-header { flex-direction: column; }
    .student-verification-report .scs-verified-seal { transform: none; }
    .report-profile-grid { grid-template-columns: 1fr; }
    .report-actions { align-items: stretch; flex-direction: column; }
    .report-print-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
    .report-student-photo { flex-basis: 68px; width: 68px; height: 82px; }
    .report-student-identity { align-items: flex-start; gap: 12px; }
    .report-student-identity h2 { font-size: 1.15rem; }
    .report-print-actions { grid-template-columns: 1fr; }
    .report-score-row { font-size: .78rem; }
}

/* Center verification report */
.page-verify_center main > .container { max-width: 960px; }
.center-verification-report { max-width: 820px; margin-right: auto; margin-left: auto; }
.report-center-icon { flex: 0 0 82px; width: 82px; height: 82px; display: grid; place-items: center; color: #4A90E2; background: rgba(74,144,226,.12); border: 2px solid var(--scs-purple); border-radius: 8px; box-shadow: 0 0 18px rgba(74,144,226,.3); font-size: 2.35rem; }
.center-report-eyebrow { display: block; margin-bottom: 7px; color: #9c94ae; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.center-active-status { color: #6ee7b7 !important; }
.center-active-status i { margin-right: 5px; }
.report-address-box { display: flex; align-items: flex-start; gap: 13px; min-height: 78px; padding: 18px; color: #F8FBFF; background: rgba(7,4,17,.42); border: 1px solid rgba(196,181,253,.12); border-radius: 8px; line-height: 1.65; }
.report-address-box i { flex: 0 0 auto; margin-top: 2px; color: #4A90E2; font-size: 1.2rem; }
.center-auth-note { display: inline-flex; align-items: center; gap: 7px; color: #6ee7b7; font-size: .76rem; font-weight: 700; }
@media (max-width: 767px) {
    .center-report-header { align-items: flex-start; }
    .report-center-icon { flex-basis: 68px; width: 68px; height: 68px; font-size: 1.9rem; }
    .center-report-actions { align-items: stretch; }
    .center-auth-note { justify-content: center; padding: 8px 0; text-align: center; }
}

/* Structured certificate tracking fields */
.scs-tracking-field {
    height: 100%;
    min-height: 74px;
    padding: 14px 16px;
    background: rgba(74, 144, 226, .05);
    border: 1px solid var(--scs-border);
    border-radius: 8px;
}
.scs-tracking-field span {
    display: block;
    margin-bottom: 5px;
    color: var(--scs-muted);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
}
.scs-tracking-field strong {
    display: block;
    color: var(--scs-text);
    font-size: .88rem;
    overflow-wrap: anywhere;
}
html[data-theme='light'] .scs-tracking-field { background: #F8FBFF; }

/* Reference-aligned certificate verification landing layout */
.page-verify_certificate .verify-certificate-main {
    min-height: 760px;
    padding: 0 0 76px;
    background: var(--scs-bg);
}
.page-verify_certificate .certificate-verification-hero {
    min-height: 0;
    padding: 78px 20px 46px;
    background: transparent !important;
    border-bottom: 0;
}
.page-verify_certificate .certificate-verification-hero .container { max-width: 820px; }
.page-verify_certificate .certificate-trust-badge {
    margin-bottom: 25px;
    padding: 8px 16px;
    border-radius: 999px;
    color: #4A90E2;
    background: rgba(74, 144, 226, .09);
    border: 1px solid rgba(74, 144, 226, .27);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}
.page-verify_certificate .certificate-verification-hero h1 {
    max-width: none;
    margin: 0 auto 17px;
    color: var(--scs-text);
    font-size: 3rem !important;
    line-height: 1.08;
}
.page-verify_certificate .certificate-verification-hero > .container > p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--scs-muted);
    font-size: .98rem;
    line-height: 1.7;
}
.page-verify_certificate .certificate-verification-container {
    max-width: 1040px;
    padding-top: 0;
}
body.page-verify_certificate main .certificate-search-panel {
    width: min(100%, 510px);
    margin: 0 auto 104px;
    background: rgba(255,255,255,.025) !important;
    border: 1px solid var(--scs-border) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 48px rgba(0,0,0,.22) !important;
}
body.page-verify_certificate main .has-verification-result .certificate-search-panel { margin-bottom: 28px; }
.page-verify_certificate .certificate-panel-heading { padding: 34px 34px 14px; }
.page-verify_certificate .certificate-panel-heading h5 { color: var(--scs-text); font-size: 1rem; }
.page-verify_certificate .certificate-panel-heading i { color: var(--scs-purple); }
.page-verify_certificate .certificate-search-panel > .card-body { padding: 12px 34px 34px !important; }
.page-verify_certificate .certificate-verification-form { margin-bottom: 0 !important; }
.page-verify_certificate .certificate-verification-form .form-control {
    min-height: 48px;
    font-size: .78rem;
}
.page-verify_certificate .certificate-search-btn { min-height: 44px; }
.verification-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.verification-trust-card {
    min-height: 198px;
    padding: 27px 25px;
    background: rgba(255,255,255,.025);
    border: 1px solid var(--scs-border);
    border-radius: 8px;
}
.verification-trust-card > i { display: block; margin-bottom: 18px; color: var(--scs-purple); font-size: 1.8rem; }
.verification-trust-card h2 { margin: 0 0 10px; color: var(--scs-text); font-size: .98rem; line-height: 1.3; }
.verification-trust-card p { margin: 0; color: var(--scs-muted); font-size: .78rem; line-height: 1.65; }
.page-verify_certificate .student-verification-report,
.page-verify_certificate .certificate-result-card { max-width: 820px; margin-right: auto; margin-left: auto; }
html[data-theme='light'] body.page-verify_certificate main .certificate-search-panel,
html[data-theme='light'] .verification-trust-card { background: #fff !important; }
@media (max-width: 767px) {
    .page-verify_certificate .verify-certificate-main { padding-bottom: 48px; }
    .page-verify_certificate .certificate-verification-hero { padding: 54px 16px 34px; }
    .page-verify_certificate .certificate-verification-hero h1 { font-size: 2.1rem !important; }
    .page-verify_certificate .certificate-verification-hero > .container > p { font-size: .86rem; line-height: 1.6; }
    body.page-verify_certificate main .certificate-search-panel { margin-bottom: 52px; }
    .page-verify_certificate .certificate-panel-heading { padding: 27px 20px 12px; }
    .page-verify_certificate .certificate-search-panel > .card-body { padding: 10px 20px 25px !important; }
    .verification-trust-grid { grid-template-columns: 1fr; gap: 14px; }
    .verification-trust-card { min-height: 0; padding: 22px 20px; }
}

#verification-result { scroll-margin-top: 110px; }
@media (max-width: 767px) { #verification-result { scroll-margin-top: 82px; } }

.report-view-only-note { display: inline-flex; align-items: center; gap: 7px; color: #6ee7b7; font-size: .76rem; font-weight: 700; }
@media (max-width: 767px) { .report-only-actions .report-view-only-note { justify-content: center; padding: 8px 0; } }

/* Shared hero for every public inner page */
.inner-page-hero {
    min-height: 340px;
    display: flex;
    align-items: center;
    padding: 72px 20px 52px;
    background: var(--scs-bg);
    border-bottom: 1px solid var(--scs-border);
}
.inner-page-hero .container { max-width: 850px; }
.inner-page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 8px 16px;
    color: #4A90E2;
    background: rgba(74, 144, 226, .09);
    border: 1px solid rgba(74, 144, 226, .27);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: uppercase;
}
.inner-page-hero-badge i { color: var(--scs-purple); font-size: .82rem; }
.inner-page-hero h1 {
    max-width: 780px;
    margin: 0 auto 17px;
    color: var(--scs-text);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}
.inner-page-hero p {
    max-width: 690px;
    margin: 0 auto;
    color: var(--scs-muted);
    font-size: .98rem;
    line-height: 1.7;
}
body:not(.page-verify_certificate) .inner-page-hero { margin-bottom: 48px; }
html[data-theme='light'] .inner-page-hero { background: #F8FBFF; }
html[data-theme='light'] .inner-page-hero-badge { color: var(--scs-purple); }
@media (max-width: 767px) {
    .inner-page-hero { min-height: 270px; padding: 50px 16px 40px; }
    .inner-page-hero-badge { margin-bottom: 19px; padding: 7px 12px; font-size: .62rem; }
    .inner-page-hero h1 { font-size: 2.1rem; line-height: 1.12; }
    .inner-page-hero p { font-size: .86rem; line-height: 1.6; }
    body:not(.page-verify_certificate) .inner-page-hero { margin-bottom: 32px; }
}

#center-verification-result { scroll-margin-top: 110px; }
@media (max-width: 767px) { #center-verification-result { scroll-margin-top: 82px; } }

.page-verify_center #centerCode,
.page-verify_center .center-verify-submit { height: 48px; min-height: 48px; }
.page-verify_center .center-verify-submit { padding-top: 0; padding-bottom: 0; }

/* Softer verified report surfaces for certificate and center results */
.student-verification-report {
    background: var(--scs-card) !important;
    border-color: var(--scs-border) !important;
    box-shadow: var(--scs-shadow) !important;
}
.student-verification-report .report-field,
.student-verification-report .report-scorecard,
.student-verification-report .report-address-box {
    background: rgba(74, 144, 226, .055) !important;
    border-color: var(--scs-border) !important;
}
html[data-theme='light'] .student-verification-report { background: #fff !important; color: var(--scs-text); }
html[data-theme='light'] .student-verification-report .report-field,
html[data-theme='light'] .student-verification-report .report-scorecard,
html[data-theme='light'] .student-verification-report .report-address-box { background: #F8FBFF !important; }
html[data-theme='light'] .student-verification-report h2,
html[data-theme='light'] .student-verification-report h3,
html[data-theme='light'] .student-verification-report strong,
html[data-theme='light'] .student-verification-report .report-score-row { color: var(--scs-text); }

/* Transparent verification report surfaces */
.student-verification-report,
html[data-theme='light'] .student-verification-report {
    background: transparent !important;
    box-shadow: none !important;
}
.student-verification-report .report-field,
.student-verification-report .report-scorecard,
.student-verification-report .report-address-box,
html[data-theme='light'] .student-verification-report .report-field,
html[data-theme='light'] .student-verification-report .report-scorecard,
html[data-theme='light'] .student-verification-report .report-address-box {
    background: transparent !important;
}

/* Inner page hero action */
html { scroll-behavior: smooth; }
.inner-page-hero-action {
    min-width: 260px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    padding: 11px 24px;
    color: #fff;
    background: rgba(59, 130, 246, .16);
    border: 1px solid rgba(191, 219, 254, .42);
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.inner-page-hero-action i { font-size: 1rem; }
.inner-page-hero-action:hover,
.inner-page-hero-action:focus-visible {
    color: #fff;
    background: var(--scs-purple);
    border-color: var(--scs-purple);
    transform: translateY(-1px);
}
.inner-page-content-anchor { height: 0; scroll-margin-top: 110px; }
html[data-theme='light'] .inner-page-hero-action { color: var(--scs-purple); background: rgba(74, 144, 226, .07); border-color: rgba(74, 144, 226, .32); }
html[data-theme='light'] .inner-page-hero-action:hover,
html[data-theme='light'] .inner-page-hero-action:focus-visible { color: #fff; background: var(--scs-purple); }
@media (max-width: 767px) {
    .inner-page-hero-action { width: min(100%, 280px); min-width: 0; min-height: 48px; margin-top: 23px; font-size: .86rem; }
    .inner-page-content-anchor { scroll-margin-top: 82px; }
}

/* Compact inner page hero action */
.inner-page-hero-action {
    min-width: 220px;
    min-height: 46px;
    margin-top: 24px;
    padding: 9px 20px;
    gap: 8px;
    font-size: .84rem;
}
.inner-page-hero-action i { font-size: .9rem; }
@media (max-width: 767px) {
    .inner-page-hero-action {
        width: min(100%, 240px);
        min-height: 44px;
        margin-top: 20px;
        font-size: .8rem;
    }
}

/* Full-width admission form with guidance below */
.page-admission .admission-page-layout { max-width: 1140px; margin: 0 auto; }
.page-admission .admission-form-section .card { width: 100%; }
.page-admission .admission-guidance-section { margin-top: 18px; }
.page-admission .admission-guidance-inner {
    padding: 34px;
    background: var(--scs-card);
    border: 1px solid var(--scs-border);
    border-radius: 8px;
}
.page-admission .admission-guidance-inner > .d-flex:first-child { margin-bottom: 18px !important; }
.page-admission .admission-guidance-inner > .d-flex:first-child > div { width: 76px !important; height: 76px !important; border-radius: 8px !important; }
.page-admission .admission-guidance-inner > .d-flex:first-child i { font-size: 34px !important; }
.page-admission .admission-guidance-inner > p { max-width: 760px; margin-right: auto; margin-left: auto; }
.page-admission .admission-guidance-inner > .mt-5 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px !important;
}
.page-admission .admission-guidance-inner > .mt-5 > .d-flex {
    height: 100%;
    margin-bottom: 0 !important;
    padding: 18px;
    background: rgba(74, 144, 226, .055);
    border: 1px solid var(--scs-border);
    border-radius: 8px;
}
@media (max-width: 767px) {
    .page-admission .admission-guidance-inner { padding: 24px 18px; }
    .page-admission .admission-guidance-inner > .mt-5 { grid-template-columns: 1fr; }
}

/* Admission guidance order and cohesive form colors */
.page-admission .admission-guidance-section { margin-top: 0; margin-bottom: 10px; }
.page-admission .admission-form-section .card {
    background: rgba(255, 255, 255, .035) !important;
    border: 1px solid var(--scs-border) !important;
    box-shadow: var(--scs-shadow) !important;
}
.page-admission .admission-form-section .form-control,
.page-admission .admission-form-section .form-select {
    color: var(--scs-text) !important;
    background-color: rgba(74, 144, 226, .045) !important;
    border-color: var(--scs-border) !important;
}
.page-admission .admission-form-section .form-control:focus,
.page-admission .admission-form-section .form-select:focus {
    background-color: rgba(74, 144, 226, .075) !important;
    border-color: var(--scs-purple) !important;
}
.page-admission .admission-form-section .form-control[readonly],
.page-admission .admission-form-section .form-check {
    color: var(--scs-text) !important;
    background: rgba(74, 144, 226, .065) !important;
    border-color: var(--scs-border) !important;
}
.page-admission .admission-form-section .form-check-label { color: var(--scs-muted) !important; }
html[data-theme='light'] .page-admission .admission-form-section .card { background: #fff !important; }
html[data-theme='light'] .page-admission .admission-form-section .form-control,
html[data-theme='light'] .page-admission .admission-form-section .form-select,
html[data-theme='light'] .page-admission .admission-form-section .form-control[readonly],
html[data-theme='light'] .page-admission .admission-form-section .form-check { background: #F8FBFF !important; }
/* Admission form heading contrast */
html[data-theme='dark'] .page-admission .admission-form-section h4,
html:not([data-theme='light']) .page-admission .admission-form-section h4 {
    color: #4A90E2 !important;
}
html[data-theme='light'] .page-admission .admission-form-section h4 {
    color: var(--scs-purple) !important;
}

/* Header-only theme toggle: page content always remains light. */
html[data-header-theme='light'] .theme-toggle-sun { display: none; }
html[data-header-theme='light'] .theme-toggle-moon { display: inline-block; }
html[data-header-theme='dark'] .theme-toggle-sun { display: inline-block; }
html[data-header-theme='dark'] .theme-toggle-moon { display: none; }

html[data-theme='light'][data-header-theme='dark'] .navbar-top {
    background: #1E3A5F !important;
    border-color: rgba(255,255,255,.08) !important;
    box-shadow: 0 5px 18px rgba(2, 8, 23, .22);
}
html[data-theme='light'][data-header-theme='dark'] .navbar-nav .nav-item .nav-link {
    color: #dbeafe !important;
}
html[data-theme='light'][data-header-theme='dark'] .navbar-nav .nav-item .nav-link:hover,
html[data-theme='light'][data-header-theme='dark'] .navbar-nav .nav-item .nav-link:focus {
    color: #ffffff !important;
}
html[data-theme='light'][data-header-theme='dark'] .navbar-toggler {
    color: #ffffff;
    border-color: rgba(255,255,255,.18);
}
/* Home hero computer-lab background 3.3 */
html[data-theme='light'] .page-index .slider-area {
    background:
        linear-gradient(90deg, rgba(5, 20, 47, .96) 0%, rgba(7, 31, 68, .91) 46%, rgba(8, 46, 77, .72) 100%),
        url('../img/static-1.webp') center center / cover no-repeat !important;
    border-bottom-color: rgba(11, 44, 95, .18);
}
html[data-theme='light'] .page-index .slider__caption,
html[data-theme='light'] .page-index .slider__caption .text-light,
html[data-theme='light'] .page-index .slider__caption h1,
html[data-theme='light'] .page-index .slider__caption p {
    color: #ffffff !important;
}
html[data-theme='light'] .page-index .slider__caption h2 {
    color: #4A90E2 !important;
}
html[data-theme='light'] .page-index .slider__caption p {
    color: #dbeafe !important;
    opacity: 1 !important;
}
html[data-theme='light'] .page-index .slider__btn .btn-outline-light {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, .72) !important;
    background: rgba(5, 20, 47, .18);
}
html[data-theme='light'] .page-index .slider__btn .btn-outline-light:hover {
    color: #1E3A5F !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
}
html[data-theme='light'] .page-index .hero-tech-badge {
    color: #4A90E2;
    background: rgba(9, 21, 36, .86);
    border-color: rgba(255, 255, 255, .16);
}
@media (max-width: 767px) {
    html[data-theme='light'] .page-index .slider-area {
        background:
            linear-gradient(180deg, rgba(5, 20, 47, .96) 0%, rgba(7, 31, 68, .9) 54%, rgba(8, 46, 77, .78) 100%),
            url('../img/static-1.webp') 58% center / cover no-repeat !important;
    }
}
/* SCS unified blue palette 4.0 */
html[data-theme='light'] {
    --scs-bg: #F8FBFF;
    --scs-surface: #FFFFFF;
    --scs-card: #FFFFFF;
    --scs-card-hover: #F8FBFF;
    --scs-text: #333333;
    --scs-muted: #333333;
    --scs-border: rgba(30, 58, 95, .14);
    --scs-shadow: 0 8px 24px rgba(30, 58, 95, .09);
    --scs-navy: #1E3A5F;
    --scs-navy-2: #1E3A5F;
    --scs-ink: #333333;
    --scs-line: rgba(30, 58, 95, .14);
    --scs-white: #FFFFFF;
    --scs-purple: #4A90E2;
    --scs-purple-hover: #1E3A5F;
    --scs-teal: #4A90E2;
    --scs-teal-dark: #1E3A5F;
    --scs-gold: #4A90E2;
    --scs-gold-hover: #1E3A5F;
    --scs-info: #4A90E2;
}
html[data-theme='light'] body,
html[data-theme='light'] main,
html[data-theme='light'] main.bg-light {
    color: #333333;
    background-color: #F8FBFF !important;
}
html[data-theme='light'] h1,
html[data-theme='light'] h2,
html[data-theme='light'] h3,
html[data-theme='light'] h4,
html[data-theme='light'] h5,
html[data-theme='light'] h6 { color: #1E3A5F; }
html[data-theme='light'] a { color: #4A90E2; }
html[data-theme='light'] a:hover { color: #1E3A5F; }
html[data-theme='light'] .btn-primary,
html[data-theme='light'] .btn-warning,
html[data-theme='light'] .btn-blue-theme,
html[data-theme='light'] .btn-orange-theme,
html[data-theme='light'] .btn-view {
    color: #FFFFFF !important;
    background: #4A90E2 !important;
    border-color: #4A90E2 !important;
}
html[data-theme='light'] .btn-primary:hover,
html[data-theme='light'] .btn-warning:hover,
html[data-theme='light'] .btn-blue-theme:hover,
html[data-theme='light'] .btn-orange-theme:hover,
html[data-theme='light'] .btn-view:hover {
    color: #FFFFFF !important;
    background: #1E3A5F !important;
    border-color: #1E3A5F !important;
}
html[data-theme='light'] .top-header,
html[data-theme='light'][data-header-theme='dark'] .navbar-top { background: #1E3A5F !important; }
html[data-theme='light'] .navbar-top,
html[data-theme='light'] .navbar-nav .dropdown-menu,
html[data-theme='light'] .top-support-menu .dropdown-menu { background: #FFFFFF !important; }
html[data-theme='light'] .navbar-nav .nav-item .nav-link,
html[data-theme='light'] .navbar-nav .dropdown-menu .dropdown-item { color: #333333 !important; }
html[data-theme='light'] .navbar-nav .nav-item .nav-link i,
html[data-theme='light'] .navbar-nav .dropdown-menu .dropdown-item i { color: #4A90E2 !important; }
html[data-theme='light'][data-header-theme='dark'] .navbar-nav .nav-item .nav-link { color: #FFFFFF !important; }
html[data-theme='light'] .form-control,
html[data-theme='light'] .form-select {
    color: #333333 !important;
    background: #FFFFFF !important;
    border-color: rgba(30, 58, 95, .18) !important;
}
html[data-theme='light'] .form-control:focus,
html[data-theme='light'] .form-select:focus {
    border-color: #4A90E2 !important;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, .16) !important;
}
html[data-theme='light'] .inner-page-hero { background: #F8FBFF !important; }
html[data-theme='light'] .inner-page-hero-badge,
html[data-theme='light'] .inner-page-hero-action { color: #4A90E2; }
html[data-theme='light'] .inner-page-hero-action {
    background: rgba(74, 144, 226, .08);
    border-color: rgba(74, 144, 226, .36);
}
html[data-theme='light'] .inner-page-hero-action:hover { color: #FFFFFF; background: #4A90E2; }
html[data-theme='light'] .why-choose-us,
html[data-theme='light'] #testimonials-faq,
html[data-theme='light'] .become-instructor .container > .row,
html[data-theme='light'] .mission-card,
html[data-theme='light'] .premium-program-banner,
html[data-theme='light'] .student-cta .cta-box,
html[data-theme='light'] footer,
html[data-theme='light'] footer .footer-top,
html[data-theme='light'] footer .buttom-footer { background: #1E3A5F !important; }
html[data-theme='light'] footer h4,
html[data-theme='light'] footer strong { color: #FFFFFF !important; }
html[data-theme='light'] footer p,
html[data-theme='light'] footer a { color: rgba(255, 255, 255, .78) !important; }
html[data-theme='light'] footer a:hover { color: #FFFFFF !important; }
html[data-theme='light'] .page-index .slider-area {
    background:
        linear-gradient(90deg, rgba(30, 58, 95, .97) 0%, rgba(30, 58, 95, .91) 46%, rgba(74, 144, 226, .68) 100%),
        url('../img/static-1.webp') center center / cover no-repeat !important;
}
html[data-theme='light'] .page-index .slider__caption h2 { color: #FFFFFF !important; }
html[data-theme='light'] .page-index .slider__btn .btn-warning { color: #FFFFFF !important; background: #4A90E2 !important; }
html[data-theme='light'] .ticker-title,
html[data-theme='light'] .notify-back { background: #4A90E2 !important; }
@media (max-width: 767px) {
    html[data-theme='light'] .page-index .slider-area {
        background:
            linear-gradient(180deg, rgba(30, 58, 95, .97) 0%, rgba(30, 58, 95, .9) 54%, rgba(74, 144, 226, .7) 100%),
            url('../img/static-1.webp') 58% center / cover no-repeat !important;
    }
}

/* ==========================================================
   Light Mode Contrast & Specificity Safety Overrides
   ========================================================== */
html[data-theme='light'] .text-white h1,
html[data-theme='light'] .text-white h2,
html[data-theme='light'] .text-white h3,
html[data-theme='light'] .text-white h4,
html[data-theme='light'] .text-white h5,
html[data-theme='light'] .text-white h6,
html[data-theme='light'] .why-choose-us h2,
html[data-theme='light'] .why-choose-us h5,
html[data-theme='light'] .become-instructor h2,
html[data-theme='light'] .premium-program-banner h5,
html[data-theme='light'] .student-cta .cta-box h2 {
    color: #FFFFFF !important;
}

html[data-theme='light'] .text-white .text-white-50,
html[data-theme='light'] .why-choose-us .text-white-50,
html[data-theme='light'] .mission-card .text-white-50,
html[data-theme='light'] .become-instructor .text-white-50,
html[data-theme='light'] .premium-program-banner .text-white-50,
html[data-theme='light'] .student-cta .cta-box .text-white-50 {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* Mission & Vision cards in about.php */
html[data-theme='light'] .mission-card h3.text-warning {
    color: #ffd33d !important;
}

/* Student CTA box in footer.php */
html[data-theme='light'] .student-cta .cta-box .cta-eyebrow {
    color: #ffd33d !important;
}
html[data-theme='light'] .student-cta .cta-box .cta-benefits span {
    color: rgba(255, 255, 255, 0.9) !important;
}
html[data-theme='light'] .student-cta .cta-box .cta-benefits i {
    color: #ffd33d !important;
}
html[data-theme='light'] .student-cta .cta-box .cta-action small {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Restored full-site dark mode 4.1 */
html[data-theme='dark'] {
    color-scheme: dark;
    --scs-bg: #090514;
    --scs-surface: #100A26;
    --scs-card: rgba(255, 255, 255, .03);
    --scs-card-hover: rgba(255, 255, 255, .06);
    --scs-purple: #8B5CF6;
    --scs-purple-hover: #7C3AED;
    --scs-gold: #FBBF24;
    --scs-gold-hover: #F59E0B;
    --scs-text: #F3EFFF;
    --scs-muted: #9C92B3;
    --scs-border: rgba(255, 255, 255, .08);
    --scs-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    --scs-navy: #090514;
    --scs-navy-2: #100A26;
    --scs-teal: #8B5CF6;
    --scs-teal-dark: #7C3AED;
    --scs-amber: #FBBF24;
    --scs-ink: #F3EFFF;
    --scs-line: rgba(255, 255, 255, .08);
    --scs-white: #F3EFFF;
}
html[data-theme='dark'],
html[data-theme='dark'] body,
html[data-theme='dark'] main,
html[data-theme='dark'] main.bg-light,
html[data-theme='dark'] section {
    color: #F3EFFF;
    background-color: #090514 !important;
}
html[data-theme='dark'] h1,
html[data-theme='dark'] h2,
html[data-theme='dark'] h3,
html[data-theme='dark'] h4,
html[data-theme='dark'] h5,
html[data-theme='dark'] h6 { color: #F3EFFF; }
html[data-theme='dark'] a { color: #A78BFA; }
html[data-theme='dark'] a:hover { color: #C4B5FD; }
html[data-theme='dark'] .top-header {
    color: #9C92B3 !important;
    background: linear-gradient(135deg, #051838 0%, #020914 100%) !important;
    border-color: rgba(255, 255, 255, .08);
}
html[data-theme='dark'] .topbar-phone a,
html[data-theme='dark'] .topbar-marquee-track { color: #F3EFFF; }
html[data-theme='dark'] .navbar-top,
html[data-theme='dark'] .navbar-collapse,
html[data-theme='dark'] .navbar-nav .dropdown-menu,
html[data-theme='dark'] .top-support-menu .dropdown-menu {
    background: #100A26 !important;
    border-color: rgba(255, 255, 255, .08) !important;
}
html[data-theme='dark'] .navbar-nav .nav-item .nav-link,
html[data-theme='dark'] .navbar-nav .dropdown-menu .dropdown-item { color: #9C92B3 !important; }
html[data-theme='dark'] .navbar-nav .nav-item .nav-link:hover,
html[data-theme='dark'] .navbar-nav .nav-item .nav-link:focus,
html[data-theme='dark'] .navbar-nav .dropdown-menu .dropdown-item:hover { color: #F3EFFF !important; }
html[data-theme='dark'] .navbar-nav .nav-item .nav-link i,
html[data-theme='dark'] .navbar-nav .dropdown-menu .dropdown-item i { color: #A78BFA !important; }
html[data-theme='dark'] .btn-primary,
html[data-theme='dark'] .btn-blue-theme,
html[data-theme='dark'] .btn-orange-theme,
html[data-theme='dark'] .btn-view {
    color: #FFFFFF !important;
    background: #8B5CF6 !important;
    border-color: #8B5CF6 !important;
}
html[data-theme='dark'] .btn-primary:hover,
html[data-theme='dark'] .btn-blue-theme:hover,
html[data-theme='dark'] .btn-orange-theme:hover,
html[data-theme='dark'] .btn-view:hover {
    background: #7C3AED !important;
    border-color: #7C3AED !important;
}
html[data-theme='dark'] .btn-warning {
    color: #211330 !important;
    background: #FBBF24 !important;
    border-color: #FBBF24 !important;
}
html[data-theme='dark'] .btn-warning:hover {
    background: #F59E0B !important;
    border-color: #F59E0B !important;
}
html[data-theme='dark'] .form-control,
html[data-theme='dark'] .form-select,
html[data-theme='dark'] .form-check,
html[data-theme='dark'] .form-control[readonly] {
    color: #F3EFFF !important;
    background: rgba(255, 255, 255, .035) !important;
    border-color: rgba(255, 255, 255, .08) !important;
}
html[data-theme='dark'] .form-control::placeholder { color: #736A89 !important; }
html[data-theme='dark'] .form-control:focus,
html[data-theme='dark'] .form-select:focus {
    background: rgba(255, 255, 255, .055) !important;
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .16) !important;
}
html[data-theme='dark'] .form-select option { color: #F3EFFF; background: #100A26; }
html[data-theme='dark'] main .card,
html[data-theme='dark'] .modal-content,
html[data-theme='dark'] .doc-card,
html[data-theme='dark'] .mission-card,
html[data-theme='dark'] .course-card,
html[data-theme='dark'] .course-premium-card,
html[data-theme='dark'] .counter-box,
html[data-theme='dark'] .student-card,
html[data-theme='dark'] .feature-box,
html[data-theme='dark'] .contact-info,
html[data-theme='dark'] .contact-map-card,
html[data-theme='dark'] .table-responsive,
html[data-theme='dark'] .list-group-item,
html[data-theme='dark'] .accordion-item,
html[data-theme='dark'] .accordion-button {
    color: #F3EFFF !important;
    background: rgba(255, 255, 255, .03) !important;
    border-color: rgba(255, 255, 255, .08) !important;
}
html[data-theme='dark'] .inner-page-hero {
    color: #F3EFFF;
    background: #090514 !important;
    border-color: rgba(255, 255, 255, .08);
}
html[data-theme='dark'] .inner-page-hero-badge,
html[data-theme='dark'] .inner-page-hero-action { color: #C4B5FD; }
html[data-theme='dark'] .inner-page-hero-action {
    background: rgba(139, 92, 246, .1);
    border-color: rgba(167, 139, 250, .34);
}
html[data-theme='dark'] .inner-page-hero-action:hover { color: #FFFFFF; background: #8B5CF6; }
html[data-theme='dark'] .page-index .slider-area {
    background:
        linear-gradient(90deg, rgba(9, 5, 20, .98) 0%, rgba(9, 5, 20, .93) 48%, rgba(16, 10, 38, .78) 100%),
        url('../img/static-1.webp') center center / cover no-repeat !important;
}
html[data-theme='dark'] .page-index .slider__caption,
html[data-theme='dark'] .page-index .slider__caption .text-light,
html[data-theme='dark'] .page-index .slider__caption h1,
html[data-theme='dark'] .page-index .slider__caption p { color: #F3EFFF !important; }
html[data-theme='dark'] .page-index .slider__caption h2 { color: #FBBF24 !important; }
html[data-theme='dark'] .page-index .hero-tech-badge {
    color: #C4B5FD;
    background: rgba(16, 10, 38, .88);
    border-color: rgba(255, 255, 255, .08);
}
html[data-theme='dark'] .ticker-title { background: #8B5CF6 !important; }
html[data-theme='dark'] .student-cta,
html[data-theme='dark'] footer,
html[data-theme='dark'] footer .footer-top,
html[data-theme='dark'] footer .buttom-footer { background: #090514 !important; }
html[data-theme='dark'] footer h4,
html[data-theme='dark'] footer strong { color: #F3EFFF !important; }
html[data-theme='dark'] footer p,
html[data-theme='dark'] footer a { color: #9C92B3 !important; }
html[data-theme='dark'] footer a:hover { color: #C4B5FD !important; }
html[data-theme='dark'] .theme-toggle { color: #FBBF24 !important; }
@media (max-width: 767px) {
    html[data-theme='dark'] .page-index .slider-area {
        background:
            linear-gradient(180deg, rgba(9, 5, 20, .98) 0%, rgba(9, 5, 20, .94) 55%, rgba(16, 10, 38, .82) 100%),
            url('../img/static-1.webp') 58% center / cover no-repeat !important;
    }
}
/* Dark admission form surface priority fix 4.1.1 */
html[data-theme='dark'] .page-admission .admission-form-section .form-control,
html[data-theme='dark'] .page-admission .admission-form-section .form-select,
html[data-theme='dark'] .page-admission .admission-form-section .form-control[readonly],
html[data-theme='dark'] .page-admission .admission-form-section .form-check {
    color: #F3EFFF !important;
    background: rgba(255, 255, 255, .035) !important;
    border-color: rgba(255, 255, 255, .08) !important;
}
html[data-theme='dark'] .page-admission .admission-form-section .form-control:focus,
html[data-theme='dark'] .page-admission .admission-form-section .form-select:focus {
    background: rgba(255, 255, 255, .055) !important;
    border-color: #8B5CF6 !important;
}
/* About section paragraph alignment 4.2.1 */
.page-about .about-us-page p.text-justify {
    text-align: justify !important;
    text-justify: inter-word;
}
/* Course enrollment banner refinement 4.2.2 */
.course-enrollment-banner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: 24px 26px !important;
}
.course-enrollment-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}
.course-enrollment-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #211330;
    background: var(--scs-gold);
    border-radius: 50%;
}
.course-enrollment-copy h5 {
    margin: 0;
    color: #FFFFFF !important;
    font-size: 1.08rem;
    line-height: 1.3;
    font-weight: 700;
}
.course-enrollment-copy p {
    max-width: 700px;
    margin: 6px 0 0 !important;
    color: rgba(255, 255, 255, .72) !important;
    font-size: .82rem !important;
    line-height: 1.55;
}
.course-enrollment-action {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 10px 18px !important;
    border-radius: 7px !important;
    font-size: .82rem;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .course-enrollment-banner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 20px !important;
        text-align: center;
    }
    .course-enrollment-copy {
        flex-direction: column;
        gap: 12px;
    }
    .course-enrollment-copy p { margin-top: 7px !important; }
    .course-enrollment-action { width: 100%; }
}
/* Course verified label 4.2.3 */
.course-verified-label {
    display: inline-flex;
    align-items: center;
    color: #10B981;
    white-space: nowrap;
}
.course-verified-label i { font-size: .95rem; }

/* Premium Course Card Styles matching homepage design */
.premium-course-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Default Accent Color variables */
    --accent-color: #0ea5e9;
    --accent-color-rgb: 14, 165, 233;
}

/* Theme overrides */
.premium-course-card.theme-cyan {
    --accent-color: #00c8ff;
    --accent-color-rgb: 0, 200, 255;
}
.premium-course-card.theme-green {
    --accent-color: #10b981;
    --accent-color-rgb: 16, 185, 129;
}
.premium-course-card.theme-orange {
    --accent-color: #f59e0b;
    --accent-color-rgb: 245, 158, 11;
}
.premium-course-card.theme-purple {
    --accent-color: #a855f7;
    --accent-color-rgb: 168, 85, 247;
}

.premium-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(var(--accent-color-rgb), 0.15);
    border-color: rgba(var(--accent-color-rgb), 0.2);
}
.premium-course-card:hover .premium-course-badge {
    transform: rotate(0deg) scale(1.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
[data-theme="dark"] .premium-course-card {
    background: #1e1b29;
    border-color: rgba(255,255,255,0.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
[data-theme="dark"] .premium-course-card:hover {
    box-shadow: 0 15px 35px rgba(var(--accent-color-rgb), 0.25);
    border-color: rgba(var(--accent-color-rgb), 0.3);
}

/* Floating Logo Badge top-left */
.premium-course-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    padding: 0 10px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    z-index: 2;
    letter-spacing: 0.5px;
    transform: rotate(-10deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.badge-adca {
    background: #011326;
    border: 2px solid #00c8ff;
    color: #00c8ff;
}
.badge-dca {
    background: #011c12;
    border: 2px solid #00e676;
    color: #00e676;
}
.badge-tally {
    background: #1c0f01;
    border: 2px solid #ff9100;
    color: #ff9100;
}
.badge-web {
    background: #13012c;
    border: 2px solid #d500f9;
    color: #d500f9;
}

/* Left Content Section */
.premium-course-main {
    flex: 1;
    padding-right: 20px;
    padding-left: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

/* Slanted Level Ribbon */
.premium-course-level {
    display: inline-block;
    background: #a855f7;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    transform: rotate(-3deg);
    margin-left: 10px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(126, 34, 206, 0.1);
}
[data-theme="dark"] .premium-course-level {
    background: #581c87;
    color: #f3e8ff;
}

.premium-course-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
[data-theme="dark"] .premium-course-title {
    color: #f8fafc;
}

.premium-course-category {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 12px;
}
[data-theme="dark"] .premium-course-category {
    color: #94a3b8;
}

.scs-verified-mark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 4px;
    background: rgba(5, 150, 105, 0.05);
    border: 2px dashed #059669;
    color: #059669;
    font-weight: 850;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    vertical-align: middle;
    transform: rotate(-2deg);
    box-shadow: 0 0 0 2.5px rgba(5, 150, 105, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="dark"] .scs-verified-mark {
    background: rgba(52, 211, 153, 0.08);
    border-color: #34d399;
    color: #34d399;
    box-shadow: 0 0 0 2.5px rgba(52, 211, 153, 0.15);
}
.scs-verified-mark i {
    font-size: 0.9rem;
    color: #059669;
}
[data-theme="dark"] .scs-verified-mark i {
    color: #34d399;
}
.premium-course-card:hover .scs-verified-mark {
    transform: rotate(-1deg) scale(1.03);
}

.premium-course-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 16px;
}
[data-theme="dark"] .premium-course-meta {
    color: #cbd5e1;
}
.premium-course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}
[data-theme="dark"] .premium-course-meta span {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}
.premium-course-meta span i {
    color: var(--accent-color);
    font-size: 0.85rem;
}

/* Divider */
.premium-course-divider {
    width: 1px;
    background-color: #f1f5f9;
    margin: 0 20px;
}
[data-theme="dark"] .premium-course-divider {
    background-color: rgba(255,255,255,0.06);
}

/* Right Section */
.premium-course-side {
    width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding-left: 10px;
}

/* Price Blob with wavy bg */
.premium-price-container {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.premium-price-blob {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    transform: rotate(-15deg);
    animation: priceBlobTransform 8s ease-in-out infinite alternate;
    z-index: -1;
}
[data-theme="dark"] .premium-price-blob {
    background-color: rgba(var(--accent-color-rgb), 0.15);
}
.premium-price-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
[data-theme="dark"] .premium-price-text {
    color: var(--accent-color);
}

/* Buy button */
.premium-buy-btn {
    background-color: var(--accent-color);
    color: #ffffff !important;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.2);
    position: relative;
    z-index: 2;
}
.premium-course-card:hover .premium-buy-btn {
    background-color: #ffffff;
    color: var(--accent-color) !important;
    border-color: var(--accent-color);
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(var(--accent-color-rgb), 0.3);
}
[data-theme="dark"] .premium-course-card:hover .premium-buy-btn {
    background-color: #1e1b29;
    color: var(--accent-color) !important;
    border-color: var(--accent-color);
}

@media (max-width: 767px) {
    .premium-course-card {
        flex-direction: column;
        padding-top: 45px;
    }
    .premium-course-badge {
        top: -15px;
        left: 20px;
    }
    .premium-course-main {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 20px;
    }
    .premium-course-divider {
        width: 100%;
        height: 1px;
        margin: 15px 0;
    }
    .premium-course-side {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding-left: 0;
    }
    .premium-price-container {
        width: 70px;
        height: 70px;
    }
    .premium-price-text {
        font-size: 0.85rem;
    }
    .premium-buy-btn {
        width: auto;
        padding: 10px 24px;
    }
}

/* Premium Join Now Button */
.premium-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid var(--accent-color);
    color: var(--accent-color) !important;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(var(--accent-color-rgb), 0.1);
    transition: all 0.2s ease;
}
.premium-join-btn:hover {
    background: var(--accent-color);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.3);
    transform: translateY(-1px);
}
[data-theme="dark"] .premium-join-btn:hover {
    color: #0f172a !important;
}

/* Compact Hero specific to courses list pages so they fit on the first screen */
.page-courses .inner-page-hero,
.page-our-courses .inner-page-hero {
    position: relative;
    overflow: hidden;
    min-height: 200px !important;
    padding: 35px 20px 25px !important;
    margin-bottom: 24px !important;
    z-index: 2;
}

/* Floating background glow pulse */
@keyframes heroGlowPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.95;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
}

.page-courses .inner-page-hero::before,
.page-our-courses .inner-page-hero::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 140px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, rgba(59, 130, 246, 0.08) 60%, transparent 100%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
    animation: heroGlowPulse 6s ease-in-out infinite;
}

/* Dotted grid overlay */
.page-courses .inner-page-hero::after,
.page-our-courses .inner-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.22;
    background-image: radial-gradient(rgba(74, 144, 226, 0.15) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 100%);
    pointer-events: none;
}

html[data-theme='light'] .page-courses .inner-page-hero,
html[data-theme='light'] .page-our-courses .inner-page-hero {
    background: radial-gradient(circle at 10% 20%, rgba(90, 180, 255, 0.06) 0%, rgba(190, 160, 255, 0.03) 50%, rgba(255, 255, 255, 0) 100%), #f8faff !important;
    border-bottom: 1px solid rgba(74, 144, 226, 0.1) !important;
}

html[data-theme='dark'] .page-courses .inner-page-hero {
    background: radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.04) 50%, rgba(0, 0, 0, 0) 100%), #090514 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

html[data-theme='dark'] .page-courses .inner-page-hero::before,
html[data-theme='dark'] .page-our-courses .inner-page-hero::before {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, rgba(236, 72, 153, 0.08) 60%, transparent 100%);
}

html[data-theme='dark'] .page-courses .inner-page-hero::after,
html[data-theme='dark'] .page-our-courses .inner-page-hero::after {
    opacity: 0.12;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
}

.page-courses .inner-page-hero .container,
.page-our-courses .inner-page-hero .container {
    position: relative;
    z-index: 3;
}

/* Hero Badge Styling */
.page-courses .inner-page-hero-badge,
.page-our-courses .inner-page-hero-badge {
    margin-bottom: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    border-radius: 50px !important;
}

html[data-theme='light'] .page-courses .inner-page-hero-badge,
html[data-theme='light'] .page-our-courses .inner-page-hero-badge {
    background: rgba(13, 148, 136, 0.08) !important;
    border: 1.5px solid rgba(13, 148, 136, 0.2) !important;
    color: #0d9488 !important;
}

html[data-theme='light'] .page-courses .inner-page-hero-badge i,
html[data-theme='light'] .page-our-courses .inner-page-hero-badge i {
    color: #0d9488 !important;
}

html[data-theme='dark'] .page-courses .inner-page-hero-badge,
html[data-theme='dark'] .page-our-courses .inner-page-hero-badge {
    background: rgba(251, 191, 36, 0.1) !important;
    border: 1.5px solid rgba(251, 191, 36, 0.25) !important;
    color: #fbbf24 !important;
}

html[data-theme='dark'] .page-courses .inner-page-hero-badge i,
html[data-theme='dark'] .page-our-courses .inner-page-hero-badge i {
    color: #fbbf24 !important;
}

/* Title Gradient Typography */
.page-courses .inner-page-hero h1,
.page-our-courses .inner-page-hero h1 {
    font-size: 2.15rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 6px !important;
}

html[data-theme='light'] .page-courses .inner-page-hero h1,
html[data-theme='light'] .page-our-courses .inner-page-hero h1 {
    background: linear-gradient(135deg, #090514 0%, #1e293b 50%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme='dark'] .page-courses .inner-page-hero h1,
html[data-theme='dark'] .page-our-courses .inner-page-hero h1 {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 55%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-courses .inner-page-hero p,
.page-our-courses .inner-page-hero p {
    font-size: 0.88rem !important;
    margin-bottom: 0 !important;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

html[data-theme='light'] .page-courses .inner-page-hero p,
html[data-theme='light'] .page-our-courses .inner-page-hero p {
    color: #475569 !important;
}

html[data-theme='dark'] .page-courses .inner-page-hero p,
html[data-theme='dark'] .page-our-courses .inner-page-hero p {
    color: #94a3b8 !important;
}

@media (max-width: 767px) {
    .page-courses .inner-page-hero,
    .page-our-courses .inner-page-hero {
        min-height: 160px !important;
        padding: 25px 16px 15px !important;
        margin-bottom: 16px !important;
    }
    .page-courses .inner-page-hero h1,
    .page-our-courses .inner-page-hero h1 {
        font-size: 1.65rem !important;
    }
    .page-courses .inner-page-hero-badge,
    .page-our-courses .inner-page-hero-badge {
        margin-bottom: 8px !important;
    }
}

/* Filter Pills Container & Styling */
.filter-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}
.filter-pill {
    background-color: var(--bs-card-bg, #ffffff);
    color: var(--bs-body-color, #495057);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50px;
    padding: 8px 22px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.filter-pill:hover {
    background-color: #f8f9fa;
    border-color: rgba(9, 5, 20, 0.2);
    transform: translateY(-1px);
}
.filter-pill.active {
    background-color: #090514;
    color: #ffffff;
    border-color: #090514;
    box-shadow: 0 4px 10px rgba(9, 5, 20, 0.15);
}
[data-theme="dark"] .filter-pill {
    background-color: #1e1b29;
    color: #e2e8f0;
    border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .filter-pill:hover {
    background-color: #272338;
}
[data-theme="dark"] .filter-pill.active {
    background-color: #FBBF24;
    color: #090514;
    border-color: #FBBF24;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.25);
}

/* Scroll margin offset for course card grid to account for sticky nav header */
#courseCardsGrid {
    scroll-margin-top: 110px;
}
@media (max-width: 767px) {
    #courseCardsGrid {
        scroll-margin-top: 82px;
    }
}

/* Fix mobile dropdown menus: hide when closed to prevent empty spacing, show when active */
@media (max-width: 1199px) {
    .navbar-nav .dropdown-menu {
        display: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .navbar-nav .dropdown.show .dropdown-menu {
        display: block !important;
    }
}

/* ==========================================================
   Large Screen Sizing & Layout Scaling Overrides
   ========================================================== */
@media (min-width: 1400px) {
    :root {
        --scs-container: 1320px;
    }
    html {
        font-size: 17px;
    }
    .navbar-brand img {
        width: 202px !important;
        max-height: 72px !important;
    }
    .navbar-nav .nav-item .nav-link {
        font-size: 13px !important;
    }
    .page-index .hero-learning-image {
        max-height: min(530px, 58vh) !important;
    }
}

@media (min-width: 1600px) {
    :root {
        --scs-container: 1480px;
    }
    html {
        font-size: 18px;
    }
    .navbar-brand img {
        width: 216px !important;
        max-height: 78px !important;
    }
    .navbar-nav .nav-item .nav-link {
        font-size: 14px !important;
    }
    .page-index .hero-learning-image {
        max-height: min(600px, 58vh) !important;
    }
}

@media (min-width: 1920px) {
    :root {
        --scs-container: 1720px;
    }
    html {
        font-size: 20px;
    }
    .navbar-brand img {
        width: 236px !important;
        max-height: 86px !important;
    }
    .navbar-nav .nav-item .nav-link {
        font-size: 15px !important;
    }
    .page-index .hero-learning-image {
        max-height: min(700px, 58vh) !important;
    }
}

/* Custom Yellow Arrows for Student Testimonials Carousel */
#testimonialCarousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffd33d'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
#testimonialCarousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffd33d'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
#testimonialCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.12);
    transition: transform 0.2s ease;
}

/* ==========================================================
   Premium Navigation Login Button Styling
   ========================================================== */
.navbar-login-btn {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #4A90E2 0%, #8B5CF6 50%, #d946ef 100%) !important;
    background-size: 200% auto !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.navbar-login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d946ef 0%, #8B5CF6 50%, #4A90E2 100%) !important;
    opacity: 0;
    transition: opacity 0.4s ease !important;
    z-index: -1;
    border-radius: inherit;
}

.navbar-login-btn:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45) !important;
    background-position: right center !important;
}

.navbar-login-btn:hover::before {
    opacity: 1;
}

.navbar-login-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.3) !important;
}

.navbar-login-btn i {
    font-size: 15px !important;
    transition: transform 0.3s ease !important;
}

.navbar-login-btn:hover i {
    transform: scale(1.2) rotate(-10deg);
}

/* Light mode override for shadow visibility */
html[data-theme='light'] .navbar-login-btn {
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.22) !important;
}
html[data-theme='light'] .navbar-login-btn:hover {
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.38) !important;
}

/* Responsive adjustment for collapsible mobile menu */
@media (max-width: 1199px) {
    .navbar-login-btn {
        margin-top: 15px !important;
        margin-bottom: 5px !important;
        width: 100% !important;
        padding: 12px 24px !important;
    }
}