/* Copyright 2025 School of Computer Science. All Rights Reserved. Do not copy. */

html,body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


.bg-myblue {
    background-color: #010049;
}

.bg-myyellow {
    background-color: #f8ec1f;
}

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: #010049 !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: #010049 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Label Styling */
.form-label {
    font-weight: 600;
    color: #333;
}

.btn-primary {
    background: linear-gradient(45deg, #4A90E2, #010049) !important;
    border: none !important;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #010049, #010049) !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: #0b2c5f !important;
    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: #f8ec1f;
    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: #f8ec1f;
}

.apply-link {
     color: #f8ec1f !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);
    position: sticky;
    top: 0;
    z-index: 1030 !important;
}

/* Navbar Links */
.navbar-nav .nav-item .nav-link {
    color: #010049;
    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: #f8ec1f;
}

/* 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: #f8ec1f;
    color: #010049;
    font-weight: bold;
}

/* ================= NEWS TICKER BANNER ================= */
.ticker-wrap {
    display: flex;
    align-items: center;
    background: #050b1e !important; /* Very dark navy/black background */
    border-bottom: 2px solid #15459c;
    overflow: hidden;
    height: 44px;
    position: relative;
    z-index: 10;
}

.ticker-title {
    background: #15459c !important; /* Vibrant medium-dark blue background */
    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: #0d3578 !important;
    color: #f8ec1f !important;
    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: #010049; /* 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: #010049;
}
.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: #010049;
}

.instructor-box {
    background: linear-gradient(45deg, #010049, #010049);
    color: #white;
}
.instructor-btn {
    background-color: #f8ec1f;
    color: #010049;
    font-weight: bold;
    border-radius: 30px;
    padding: 12px 30px;
    transition: 0.3s;
}
.instructor-btn:hover {
    background-color: #fff;
    color: #010049;
}

.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 #010049;
}

.student-cta {
    background: #f8ec1f;
    padding: 40px 0;
}
.cta-box {
    border-radius: 15px;
}
.student-cta-btn {
    background: #010049;
    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: #010049; /* Rich deep brand-themed dark background */
    color: #a0aec0;
    border-top: none;
}

footer a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #f8ec1f !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: #f8ec1f;
    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: #f8ec1f;
}

/* 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: #f8ec1f !important;
    transition: all 0.3s ease;
}

.footer-contact-list .contact-item:hover .contact-icon {
    background: #f8ec1f !important;
    color: #010049 !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: #f8ec1f !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: #010049 !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: #f8ec1f;
    color: #010049 !important;
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(251, 197, 5, 0.35);
}

.floating-wpp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 55px;
    height: 55px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.floating-wpp:hover {
    transform: scale(1.08);
}
#back-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.scrollup {
    background: #010049;
    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: #010049;
    margin-bottom: 15px;
}
.btn-view {
    background: #010049;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    text-align: center;
}
.btn-view:hover {
    background: #f8ec1f;
    color: #010049;
}

.mission-card {
    background: #010049;
    color: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: 0.3s;
}
.mission-card:hover {
    transform: translateY(-5px);
}
.mission-icon {
    font-size: 45px;
    color: #f8ec1f;
    margin-bottom: 15px;
    display: inline-block;
}

.notice-box {
    background: #fff3cd;
    border-left: 5px solid #f8ec1f;
    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: #010049 !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, #010049) !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: #010049 !important;
    border-color: #010049 !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: #010049 !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: #010049 !important;
    border-left: 5px solid #f8ec1f !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: #010049;
    --scs-navy-2: #010049;
    --scs-teal: #254e9b;
    --scs-teal-dark: #1c3f82;
    --scs-amber: #f8ec1f;
    --scs-ink: #172235;
    --scs-muted: #65758b;
    --scs-surface: #f5f8fb;
    --scs-line: #dde6ee;
    --scs-white: #ffffff;
    --scs-shadow: 0 16px 45px rgba(11, 61, 145, .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: #0b2c5f !important;
    padding: 8px 0;
    font-size: 14px;
    letter-spacing: .025em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
}
.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: var(--scs-surface) !important; color: var(--scs-text) !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: 60px; height: 60px; padding: 12px; border-radius: 13px; background: rgba(11, 61, 145, 0.08); }
.main_2 .col-md-4 h3 { color: var(--scs-text) !important; }
.main_2 .col-md-4 p { 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; }
.page-approval_recognition .doc-card p.text-secondary { text-align: justify !important; }

/* 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: clamp(.5rem, 1vw, 1rem) 0 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.page-contact .contact-location-heading {
    position: relative;
    padding: 6px 0 6px 22px;
    margin: 0 0 22px 4px !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 4px solid #4a90e2 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.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;
}

/* Keep the location map uninterrupted by the floating desktop navigation. */
.page-contact .navbar-top.scrolled {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    padding: 0 !important;
    animation: none !important;
}

.page-contact .contact-location-section {
    scroll-margin-top: 24px;
}
@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 {
        padding: 13px 8px 0;
        margin: 0 0 18px !important;
        border-left: 0 !important;
        border-top: 3px solid #4a90e2 !important;
        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: #010049;
}
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: 'Mukta', 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: #0b2c5f !important;
    background: #ffff00 !important;
    border-color: #ffff00 !important;
    transform: translateY(-2px);
}
.topbar-divider {
    width: 1px;
    height: 28px;
    margin: 0 18px;
    background: var(--scs-border);
}
.top-support-menu { position: relative; }
.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: #0b2c5f !important;
    background: #ffff00 !important;
    border-color: #ffff00 !important;
    transform: translateY(-2px);
}
.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: #010049 !important;
    background: #ffff00 !important;
    border: 1px solid #ffff00 !important;
    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: #000000 !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
    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: #f6f8fe;          /* WebVeda soft light-blue background */
    --scs-surface: #ffffff;     /* White container surfaces */
    --scs-card: #ffffff;
    --scs-card-hover: #f6f8fe;  /* WebVeda soft light-blue card hover */
    --scs-text: #071a34;        /* WebVeda deep navy text */
    --scs-muted: #4c5e75;       /* WebVeda slate-gray secondary text */
    --scs-border: #e0e1e8;      /* WebVeda crisp soft-gray borders */
    --scs-shadow: 0 8px 30px rgba(67, 83, 207, 0.04); /* Elegant subtle shadow */

    --scs-navy: #010049;        /* smartcampus primary Navy */
    --scs-navy-2: #010049;      /* smartcampus header/topbar Navy */
    --scs-ink: #070815;         /* WebVeda almost black text */
    --scs-line: #e0e1e8;
    --scs-white: #ffffff;
    --scs-purple: #010049;      /* smartcampus primary Navy */
    --scs-purple-hover: #010049;
    --scs-gold: #f8ec1f;        /* smartcampus Gold */
    --scs-gold-hover: #ffb800;

    --scs-teal: #254e9b;        /* smartcampus blue link */
    --scs-teal-dark: #1c3f82;   /* smartcampus blue hover */
    --scs-amber: #f8ec1f;       /* smartcampus gold */
}

/* Light mode overrides to maintain brand identity, contrast, and visibility */
html[data-theme='light'] .bg-myblue {
    background-color: var(--scs-navy) !important;
    color: #ffffff !important;
}
html[data-theme='light'] .bg-myyellow {
    background-color: var(--scs-amber) !important;
    color: var(--scs-navy) !important;
}
html[data-theme='light'] .text-myblue {
    color: var(--scs-navy) !important;
}
html[data-theme='light'] .text-myyellow {
    color: var(--scs-amber) !important;
}
html[data-theme='light'] .badge.bg-myblue {
    background-color: var(--scs-navy) !important;
    color: #ffffff !important;
}
html[data-theme='light'] footer {
    background: #010049 !important;
}
html[data-theme='light'] footer::before {
    background: linear-gradient(90deg, #f8ec1f, #ffb800) !important;
}
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: #0b2c5f !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    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: #0b2c5f !important;
    background: #ffff00 !important;
    border-color: #ffff00 !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: var(--scs-surface) !important;
    border-color: var(--scs-border);
    box-shadow: var(--scs-shadow);
}
html[data-theme='light'] .navbar-nav .nav-item .nav-link { color: var(--scs-muted) !important; }
html[data-theme='light'] .navbar-nav .nav-item .nav-link:hover,
html[data-theme='light'] .navbar-nav .nav-item .nav-link:focus { color: var(--scs-purple-hover) !important; }
html[data-theme='light'] .navbar-nav .dropdown-menu,
html[data-theme='light'] .top-support-menu .dropdown-menu {
    background: var(--scs-surface) !important;
    border-color: var(--scs-border) !important;
}
html[data-theme='light'] .top-support-menu .dropdown-menu::before {
    background: var(--scs-surface);
    border-color: var(--scs-border);
}
html[data-theme='light'] .top-support-menu .dropdown-item,
html[data-theme='light'] .navbar-nav .dropdown-menu .dropdown-item { color: var(--scs-muted) !important; }
html[data-theme='light'] .support-desk-header > strong,
html[data-theme='light'] .support-desk-copy strong { color: var(--scs-text); }
html[data-theme='light'] .support-desk-header > span,
html[data-theme='light'] .support-desk-copy small { color: var(--scs-muted); }

/* Light page surfaces */
html[data-theme='light'] .form-control,
html[data-theme='light'] .form-select {
    color: var(--scs-text) !important;
    background: var(--scs-surface) !important;
    border-color: var(--scs-border) !important;
}
html[data-theme='light'] .form-control::placeholder { color: var(--scs-muted) !important; opacity: 0.7; }
html[data-theme='light'] .form-control:focus,
html[data-theme='light'] .form-select:focus { background: var(--scs-surface) !important; }
html[data-theme='light'] .form-select option { color: var(--scs-text); background: var(--scs-surface); }
html[data-theme='light'] .hero-tech-badge {
    color: var(--scs-purple);
    background: rgba(255,255,255,.92);
    border-color: var(--scs-border);
}
html[data-theme='light'] .page-index .slider__caption,
html[data-theme='light'] .page-index .slider__caption .text-light { color: var(--scs-text) !important; }
html[data-theme='light'] .page-index .slider-area { background: var(--scs-bg) !important; }
html[data-theme='light'] .page-index .slider__btn .btn-outline-light {
    color: var(--scs-text) !important;
    border-color: var(--scs-border) !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: var(--scs-surface) !important; }
html[data-theme='light'] .table {
    --bs-table-color: var(--scs-text);
    --bs-table-striped-color: var(--scs-text);
    --bs-table-striped-bg: rgba(67, 83, 207, 0.035);
    --bs-table-hover-color: var(--scs-text);
    --bs-table-hover-bg: rgba(67, 83, 207, 0.07);
}
html[data-theme='light'] .table thead th { color: var(--scs-text); background: var(--scs-bg); }
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: var(--scs-navy) !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: var(--scs-navy) !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;
    transform: scale(1.1);
    transform-origin: left center;
}
.navbar-top .navbar-nav .nav-link { padding-top: 9px; padding-bottom: 9px; }
@media (max-width: 1199px) {
    .navbar-top .navbar-brand img {
        max-height: 50px;
        transform: scale(1.06);
    }
    .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: 40px;
        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: var(--home-hero-height, calc(100svh - 198px)) !important;
    min-height: 0 !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: 600 !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: var(--home-hero-height, 430px) !important;
        min-height: 0 !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: var(--home-hero-height, auto) !important;
        min-height: 0 !important;
        padding: 12px 0 16px !important;
    }
    .page-index .hero-visual {
        margin-top: 4px !important;
        text-align: center;
    }
    .page-index .hero-learning-image {
        max-height: min(220px, 22vh) !important;
        width: auto !important;
        margin: 0 auto;
    }
    .page-index .slider__caption h2 {
        margin-bottom: 2px !important;
        font-size: 0.85rem !important;
    }
    .page-index .slider__caption h1 {
        margin: 2px 0 4px !important;
        font-size: clamp(1.4rem, 6vw, 1.85rem) !important;
    }
    .page-index .slider__caption p {
        margin-bottom: 8px !important;
        font-size: 0.8rem !important;
        line-height: 1.35 !important;
    }
    .page-index .slider__btn {
        margin-top: 8px !important;
        justify-content: center;
    }
    .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: none;
    background: transparent;
    position: relative;
    z-index: 5;
}

.km-bottom-wrapper::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #f8ec1f;
    border-radius: 999px;
    box-shadow: 0 0 4px rgba(248, 236, 31, 0.22);
    opacity: 0.35;
}

.km-bottom-wrapper::after {
    content: '';
    position: absolute;
    top: -16px;
    left: 50%;
    width: 32px;
    height: 32px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(248, 236, 31, 0.65) 0%,
        rgba(248, 236, 31, 0.25) 35%,
        rgba(255, 184, 0, 0.1) 60%,
        transparent 72%
    );
    border: 1px solid rgba(248, 236, 31, 0.4);
    box-shadow:
        0 0 15px rgba(248, 236, 31, 0.45),
        inset 0 0 6px rgba(248, 236, 31, 0.25);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    animation: footerCenterSunGlow 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 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 8s ease-in-out infinite;
}

.km-bottom {
    padding: 25px 0;
    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%, 15%, 100% {
        opacity: 0;
        transform: translateX(-18%) scaleX(0.55);
    }
    30% {
        opacity: 0.82;
        transform: translateX(74%) scaleX(1);
    }
    68% {
        opacity: 0.82;
        transform: translateX(74%) scaleX(1);
    }
    85% {
        opacity: 0;
        transform: translateX(104%) scaleX(0.72);
    }
}

@keyframes footerLineInRight {
    0%, 15%, 100% {
        opacity: 0;
        transform: translateX(18%) scaleX(0.55);
    }
    30% {
        opacity: 0.82;
        transform: translateX(-74%) scaleX(1);
    }
    68% {
        opacity: 0.82;
        transform: translateX(-74%) scaleX(1);
    }
    85% {
        opacity: 0;
        transform: translateX(-104%) scaleX(0.72);
    }
}

@keyframes footerCenterSunGlow {
    0%, 25%, 100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.42);
    }
    30% {
        opacity: 0.9;
        transform: translateX(-50%) scale(1.15);
    }
    49% {
        opacity: 0.75;
        transform: translateX(-50%) scale(1.35);
    }
    68% {
        opacity: 0.9;
        transform: translateX(-50%) scale(1.15);
    }
    85% {
        opacity: 0;
        transform: translateX(-50%) scale(1.8);
    }
}

@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: #f8ec1f !important;
    color: #010049 !important;
    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: none !important; display: none !important;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.km-scroll-top:hover {
    color: #f8ec1f !important; background: #010049 !important;
    transform: translateY(-5px) scale(1.05); /* Floating hover effect */
    box-shadow: 0 8px 24px rgba(248, 236, 31, 0.35) !important;
}

.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: #0b2c5f !important; /* Solid lighter navy to keep white text readable */
    border-color: rgba(248, 236, 31, 0.4) !important; /* Gold border using #f8ec1f */
    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; }
}

.inner-page-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 64px 20px 54px !important;
    background: linear-gradient(135deg, #010049 0%, #0c1a3e 100%) !important;
    border-bottom: none !important;
}


.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: #60a5fa !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.inner-page-hero-badge i { color: #60a5fa !important; font-size: .82rem; }
.inner-page-hero h1 {
    max-width: 780px;
    margin: 0 auto 17px;
    color: #ffffff !important;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}
.inner-page-hero p {
    max-width: 690px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: .98rem;
    line-height: 1.7;
}
.inner-page-hero-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.inner-page-hero-action-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.08);
}

/* 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; } }



.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: 24px; }
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: auto; padding: 36px 16px 26px; }
    .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: 20px; }
}

#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); }



/* 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: 40px;
    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: #010049 !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: #010049 !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 - Inspired by WebVeda.com */
html[data-theme='light'] {
    --scs-bg: #f6f8fe;          /* WebVeda soft light-blue background */
    --scs-surface: #ffffff;     /* White container surfaces */
    --scs-card: #ffffff;
    --scs-card-hover: #f6f8fe;  /* WebVeda soft light-blue card hover */
    --scs-text: #071a34;        /* WebVeda deep navy text */
    --scs-muted: #4c5e75;       /* WebVeda slate-gray secondary text */
    --scs-border: #e0e1e8;      /* WebVeda crisp soft-gray borders */
    --scs-shadow: 0 8px 30px rgba(67, 83, 207, 0.04); /* Elegant subtle shadow */
    --scs-navy: #071a34;        /* WebVeda deep navy dark sections */
    --scs-navy-2: #071a34;
    --scs-ink: #070815;         /* WebVeda almost black text */
    --scs-line: #e0e1e8;
    --scs-white: #ffffff;
    --scs-purple: #4353cf;      /* WebVeda signature vibrant royal blue/indigo */
    --scs-purple-hover: #252a6c;
    --scs-teal: #00c8f0;        /* WebVeda secondary vibrant cyan accent */
    --scs-teal-dark: #252a6c;
    --scs-gold: #4353cf;
    --scs-gold-hover: #252a6c;
    --scs-info: #00c8f0;
}
html[data-theme='light'] body,
html[data-theme='light'] main,
html[data-theme='light'] main.bg-light {
    color: var(--scs-muted);
    background-color: var(--scs-bg) !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: var(--scs-text); }
html[data-theme='light'] a { color: var(--scs-purple); }
html[data-theme='light'] a:hover { color: var(--scs-purple-hover); }
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: var(--scs-purple) !important;
    border-color: var(--scs-purple) !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: var(--scs-purple-hover) !important;
    border-color: var(--scs-purple-hover) !important;
}
html[data-theme='light'][data-header-theme='dark'] .navbar-top { background: var(--scs-navy) !important; }
html[data-theme='light'] .top-header {
    background: #0b2c5f !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: var(--scs-surface) !important; }
html[data-theme='light'] .navbar-nav .nav-item .nav-link,
html[data-theme='light'] .navbar-nav .dropdown-menu .dropdown-item { color: var(--scs-muted) !important; }
html[data-theme='light'] .navbar-nav .nav-item .nav-link i,
html[data-theme='light'] .navbar-nav .dropdown-menu .dropdown-item i { color: var(--scs-purple) !important; }
html[data-theme='light'][data-header-theme='dark'] .navbar-nav .nav-item .nav-link { color: var(--scs-white) !important; }
html[data-theme='light'] .form-control,
html[data-theme='light'] .form-select {
    color: var(--scs-text) !important;
    background: var(--scs-surface) !important;
    border-color: var(--scs-border) !important;
}
html[data-theme='light'] .form-control:focus,
html[data-theme='light'] .form-select:focus {
    border-color: var(--scs-purple) !important;
    box-shadow: 0 0 0 3px rgba(67, 83, 207, .16) !important;
}








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: var(--scs-navy) !important; }
html[data-theme='light'] footer h4,
html[data-theme='light'] footer strong { color: var(--scs-white) !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: var(--scs-white) !important; }
html[data-theme='light'] .page-index .slider-area {
    background:
        linear-gradient(90deg, rgba(7, 26, 52, .97) 0%, rgba(7, 26, 52, .91) 46%, rgba(67, 83, 207, .68) 100%),
        url('../img/hero_dark_typing.png') center center / cover no-repeat !important;
}
html[data-theme='light'] .page-index .slider__caption h2 { color: var(--scs-white) !important; }
html[data-theme='light'] .page-index .slider__btn .btn-warning { color: var(--scs-white) !important; background: var(--scs-purple) !important; }
html[data-theme='light'] .ticker-title { background: #15459c !important; }
html[data-theme='light'] .notify-back { background: var(--scs-purple) !important; }
@media (max-width: 767px) {
    html[data-theme='light'] .page-index .slider-area {
        background:
            linear-gradient(180deg, rgba(7, 26, 52, .97) 0%, rgba(7, 26, 52, .9) 54%, rgba(67, 83, 207, .7) 100%),
            url('../img/hero_dark_typing.png') 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: #f8ec1f !important;
}

/* Student CTA box in footer.php */
html[data-theme='light'] .student-cta .cta-box .cta-eyebrow {
    color: #f8ec1f !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: #f8ec1f !important;
}
html[data-theme='light'] .student-cta .cta-box .cta-action small {
    color: rgba(255, 255, 255, 0.6) !important;
}
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: #010049 !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 - Inspired by SmartCampus */
html[data-theme='light'] {
    --scs-bg: #ffffff;          /* SmartCampus pure white background */
    --scs-surface: #ffffff;     /* White container surfaces */
    --scs-card: #ffffff;
    --scs-card-hover: #f1f5f9;  /* SmartCampus soft slate card hover */
    --scs-text: #010049;        /* SmartCampus deep navy text */
    --scs-muted: #4b5563;       /* SmartCampus slate-gray secondary text */
    --scs-border: #e2e8f0;      /* SmartCampus crisp soft-gray borders */
    --scs-shadow: 0 8px 30px rgba(11, 44, 95, 0.05); /* Elegant subtle navy shadow */
    --scs-navy: #010049;        /* SmartCampus deep navy dark sections/topbar */
    --scs-navy-2: #071c3d;      /* SmartCampus deeper navy footer start */
    --scs-ink: #111827;         /* SmartCampus almost black text */
    --scs-line: #e2e8f0;
    --scs-white: #ffffff;
    --scs-purple: #010049;      /* SmartCampus vibrant blue/navy primary */
    --scs-purple-hover: #010049;
    --scs-teal: #f8ec1f;        /* SmartCampus secondary vibrant gold/yellow accent */
    --scs-teal-dark: #ffb800;
    --scs-gold: #f8ec1f;
    --scs-gold-hover: #ffb800;
    --scs-info: #2563eb;
}
html[data-theme='light'] body,
html[data-theme='light'] main,
html[data-theme='light'] main.bg-light {
    color: var(--scs-muted);
    background-color: var(--scs-bg) !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: var(--scs-text); }
html[data-theme='light'] a { color: var(--scs-purple); }
html[data-theme='light'] a:hover { color: var(--scs-purple-hover); }
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: var(--scs-purple) !important;
    border-color: var(--scs-purple) !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: var(--scs-purple-hover) !important;
    border-color: var(--scs-purple-hover) !important;
}
html[data-theme='light'][data-header-theme='dark'] .navbar-top { background: var(--scs-navy) !important; }
html[data-theme='light'] .top-header {
    background: #0b2c5f !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: var(--scs-surface) !important; }
html[data-theme='light'] .navbar-nav .nav-item .nav-link,
html[data-theme='light'] .navbar-nav .dropdown-menu .dropdown-item { color: var(--scs-muted) !important; }
html[data-theme='light'] .navbar-nav .nav-item .nav-link i,
html[data-theme='light'] .navbar-nav .dropdown-menu .dropdown-item i { color: var(--scs-purple) !important; }
html[data-theme='light'][data-header-theme='dark'] .navbar-nav .nav-item .nav-link { color: var(--scs-white) !important; }
html[data-theme='light'] .form-control,
html[data-theme='light'] .form-select {
    color: var(--scs-text) !important;
    background: var(--scs-surface) !important;
    border-color: var(--scs-border) !important;
}
html[data-theme='light'] .form-control:focus,
html[data-theme='light'] .form-select:focus {
    border-color: var(--scs-purple) !important;
    box-shadow: 0 0 0 3px rgba(11, 61, 145, .16) !important;
}








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 { background: var(--scs-navy) !important; }

html[data-theme='light'] footer {
    background: #010049 !important;
    border-top: 2px solid rgba(255, 211, 61, 0.15) !important;
}
html[data-theme='light'] footer .footer-top,
html[data-theme='light'] footer .buttom-footer {
    background: transparent !important;
}
html[data-theme='light'] footer h4,
html[data-theme='light'] footer strong { color: var(--scs-white) !important; }
html[data-theme='light'] footer p,
html[data-theme='light'] footer a { color: #cbd5e1 !important; }
html[data-theme='light'] footer a:hover { color: var(--scs-teal) !important; }
html[data-theme='light'] .page-index .slider-area {
    background:
        linear-gradient(90deg, rgba(11, 44, 95, .97) 0%, rgba(11, 44, 95, .91) 46%, rgba(11, 61, 145, .68) 100%),
        url('../img/static-1.webp') center center / cover no-repeat !important;
}
html[data-theme='light'] .page-index .slider__caption h2 { color: var(--scs-white) !important; }
html[data-theme='light'] .page-index .slider__btn .btn-warning { color: var(--scs-navy) !important; background: var(--scs-teal) !important; border-color: var(--scs-teal) !important; }
html[data-theme='light'] .page-index .slider__btn .btn-warning:hover { color: #ffffff !important; background: var(--scs-purple-hover) !important; border-color: var(--scs-purple-hover) !important; }
html[data-theme='light'] .ticker-title { background: #15459c !important; }
html[data-theme='light'] .notify-back { background: var(--scs-purple) !important; }
@media (max-width: 767px) {
    html[data-theme='light'] .page-index .slider-area {
        background:
            linear-gradient(180deg, rgba(7, 26, 52, .97) 0%, rgba(7, 26, 52, .9) 54%, rgba(67, 83, 207, .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: #f8ec1f !important;
}

/* Student CTA box in footer.php */
html[data-theme='light'] .student-cta .cta-box .cta-eyebrow {
    color: #f8ec1f !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: #f8ec1f !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: #070a15;
    --scs-surface: #12192b;
    --scs-card: rgba(18, 25, 43, 0.72);
    --scs-card-hover: rgba(24, 33, 54, 0.86);
    --scs-purple: #8B5CF6;
    --scs-purple-hover: #7C3AED;
    --scs-gold: #FBBF24;
    --scs-gold-hover: #f8ec1f;
    --scs-text: #f8fafc;
    --scs-muted: #94a3b8;
    --scs-border: rgba(148, 163, 184, 0.14);
    --scs-shadow: 0 20px 45px rgba(0, 0, 0, .24);
    --scs-navy: #070a15;
    --scs-navy-2: #12192b;
    --scs-teal: #3b82f6;
    --scs-teal-dark: #2563eb;
    --scs-amber: #FBBF24;
    --scs-ink: #f8fafc;
    --scs-line: rgba(148, 163, 184, 0.14);
    --scs-white: #f8fafc;
}
html[data-theme='dark'] {
    color: #f8fafc;
}
html[data-theme='dark'] body {
    color: #f8fafc;
    background: radial-gradient(circle at 12% 0%,rgba(37,99,235,.2),transparent 34%),radial-gradient(circle at 91% 8%,rgba(124,58,237,.22),transparent 34%), #070a15 !important;
}
html[data-theme='dark'] main,
html[data-theme='dark'] main.bg-light,
html[data-theme='dark'] section {
    color: #f8fafc;
    background-color: transparent !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: #f8fafc; }
html[data-theme='dark'] a { color: #60a5fa; }
html[data-theme='dark'] a:hover { color: #93c5fd; }
html[data-theme='dark'] .top-header {
    color: #94a3b8 !important;
    background: linear-gradient(135deg, #0f1c3f, #080b18, #020307, #0f1c3f) !important;
    background-size: 300% 300% !important;
    animation: topbarGradientShift 12s ease infinite !important;
    border-color: rgba(148, 163, 184, 0.14);
}

html[data-theme='dark'] .topbar-phone a,
html[data-theme='dark'] .topbar-marquee-track { color: #f8fafc; }
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: #12192b !important;
    border-color: rgba(148, 163, 184, 0.14) !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: #f8ec1f !important;
    border-color: #f8ec1f !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: #0d172c !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: #FFFFFF !important;
    background: rgba(255, 255, 255, .05) !important;
    border-color: var(--scs-border) !important;
}
html[data-theme='dark'] .theme-toggle:hover {
    color: #090514 !important;
    background: #f8ec1f !important;
    border-color: #f8ec1f !important;
}
html[data-theme='light'] .theme-toggle {
    color: #FFFFFF !important;
}
.theme-toggle .bi {
    color: inherit !important;
    font-size: 15px;
    line-height: 1;
}
html[data-theme='dark'] .theme-toggle-sun {
    display: inline-block !important;
}
html[data-theme='dark'] .theme-toggle-moon {
    display: none !important;
}
html[data-theme='light'] .theme-toggle-sun {
    display: none !important;
}
html[data-theme='light'] .theme-toggle-moon {
    display: inline-block !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;
    }
}

/* Premium Course Card Styles matching homepage design */
.premium-course-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    height: 100%;
    min-height: 230px;
    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: #2563eb;
    --accent-color-rgb: 37, 99, 235;
}
.premium-course-card.theme-green {
    --accent-color: #059669;
    --accent-color-rgb: 5, 150, 105;
}
.premium-course-card.theme-orange {
    --accent-color: #ea580c;
    --accent-color-rgb: 234, 88, 12;
}
.premium-course-card.theme-purple {
    --accent-color: #db2777;
    --accent-color-rgb: 219, 39, 119;
}

.premium-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(var(--accent-color-rgb), 0.08);
    border-color: var(--accent-color);
}
.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: var(--scs-card) !important;
    border-color: var(--scs-border) !important;
    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: 12px;
    left: 12px !important;
    right: auto !important;
    padding: 0 14px;
    height: 32px;
    min-width: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.78rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
    letter-spacing: 0.5px;
    transform: rotate(0deg);
    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: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    margin-bottom: 16px;
}

/* 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: #010049;
    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: 100%;
    height: 1px;
    background-color: #f1f5f9;
    margin: 16px 0;
}
[data-theme="dark"] .premium-course-divider {
    background-color: rgba(255,255,255,0.06);
}

/* Right Section */
.premium-course-side {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
}

/* 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: var(--scs-surface);
    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: #010049 !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: 250px !important;
    padding: 60px 20px 50px !important;
    margin-bottom: 35px !important;
    z-index: 2;
    background: linear-gradient(135deg, #010049 0%, #051430 50%, #010049 100%) !important;
    border-bottom: 2px solid rgba(248, 236, 31, 0.15) !important;
}

/* 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: 320px;
    height: 160px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(248, 236, 31, 0.18) 0%, rgba(99, 102, 241, 0.12) 60%, transparent 100%) !important;
    filter: blur(45px);
    z-index: 1;
    pointer-events: none;
    animation: heroGlowPulse 8s 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.15;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.2px, transparent 1.2px) !important;
    background-size: 20px 20px;
    mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%) !important;
    pointer-events: none;
}

/* Title Premium Typography */
.page-courses .inner-page-hero h1,
.page-our-courses .inner-page-hero h1 {
    color: #ffffff !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 12px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-courses .inner-page-hero p,
.page-our-courses .inner-page-hero p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.02rem !important;
    margin-bottom: 0 !important;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .page-courses .inner-page-hero,
    .page-our-courses .inner-page-hero {
        min-height: 180px !important;
        padding: 40px 16px 30px !important;
        margin-bottom: 20px !important;
    }
    .page-courses .inner-page-hero h1,
    .page-our-courses .inner-page-hero h1 {
        font-size: 1.85rem !important;
    }
    .page-courses .inner-page-hero-badge,
    .page-our-courses .inner-page-hero-badge {
        margin-bottom: 12px !important;
    }
    .page-courses .inner-page-hero p,
    .page-our-courses .inner-page-hero p {
        font-size: 0.9rem !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(248, 236, 31, 0.22) 0%, rgba(236, 72, 153, 0.08) 60%, transparent 100%) !important;
}

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) !important;
}

.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 {
    background: rgba(248, 236, 31, 0.15) !important;
    color: #f8ec1f !important;
    border: 1px solid rgba(248, 236, 31, 0.3) !important;
    padding: 6px 16px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase;
    margin-bottom: 18px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    border-radius: 50px !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;
}





.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;
}





@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: var(--scs-card);
    color: #e2e8f0;
    border-color: var(--scs-border);
}
[data-theme="dark"] .filter-pill:hover {
    background-color: var(--scs-card-hover);
}
[data-theme="dark"] .filter-pill.active {
    background-color: var(--scs-gold);
    color: #090514;
    border-color: var(--scs-gold);
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.25);
}

/* 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; }

/* 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%; }
}


/* Ticker Marquee star custom color */
.ticker-item i {
    color: #f8ec1f !important;
}

/* Footer contact icon overrides to guarantee yellow color */
footer .contact-icon {
    background: rgba(255, 211, 61, 0.1) !important;
    border: 1px solid rgba(255, 211, 61, 0.2) !important;
}
footer .contact-icon i,
footer i.bi-geo-alt-fill,
footer i.bi-telephone-fill,
footer i.bi-envelope-fill {
    color: #f8ec1f !important;
}

/* Premium Footer Link Hover & Icon Animation */
footer .list-unstyled li {
    transition: all 0.3s ease;
}
footer .list-unstyled li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    padding-bottom: 2px;
}
footer .list-unstyled li a i {
    font-size: 15px !important;
    color: #f8ec1f !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease !important;
    opacity: 0.8;
}
/* Hover State */
footer .list-unstyled li a:hover {
    color: #f8ec1f !important;
    transform: translateX(6px);
    text-decoration: none !important;
}
footer .list-unstyled li a:hover i {
    transform: translateX(3px) scale(1.15);
    opacity: 1;
}

/* Sliding underbar line */
footer .list-unstyled li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #f8ec1f;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
footer .list-unstyled li a:hover::after {
    width: 100%;
}

/* Footer Heading Underline Accent Line */
footer h4.footer-heading::after {
    background: #f8ec1f !important;
    background-color: #f8ec1f !important;
    width: 35px !important;
}

/* Enforce gold accent color on all footer icons (list arrows & contact info icons) */
footer i,
footer i.bi,
footer .contact-icon,
footer .contact-icon i,
footer .list-unstyled li a i {
    color: #f8ec1f !important;
}

/* Navigation Login Button - Premium Styling */
.navbar-login-btn {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    padding: 10px 28px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 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: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: all 0.75s ease;
    z-index: -1;
}

.navbar-login-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45) !important;
    color: #ffffff !important;
}

.navbar-login-btn:hover::before {
    left: 100%;
}

.navbar-login-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2) !important;
}

.navbar-login-btn i {
    font-size: 15px !important;
    color: #ffffff !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.navbar-login-btn:hover i {
    transform: translateX(4px) scale(1.1) !important;
}

/* Light Mode overrides for Login Button */
html[data-theme='light'] .navbar-login-btn {
    background: #0b2c5f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(11, 44, 95, 0.2) !important;
}

html[data-theme='light'] .navbar-login-btn:hover {
    background: #f8ec1f !important;
    color: #0b2c5f !important;
    box-shadow: 0 6px 20px rgba(255, 211, 61, 0.4) !important;
}

html[data-theme='light'] .navbar-login-btn i {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

html[data-theme='light'] .navbar-login-btn:hover i {
    color: #0b2c5f !important;
}

/* Hero Page - Trusted Badge Styling */
.hero-trusted-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    padding: 4px 18px !important;
    border-radius: 50px !important;
    color: #f8ec1f !important;
    font-size: 0.88em !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    vertical-align: middle !important;
    position: relative !important;
    border: none !important; /* Managed by animated SVG overlay */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: default;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.2) !important;
}

.hero-trusted-badge:hover {
    transform: scale(1.05) translateY(-1px) !important;
    background: transparent !important;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.25) !important;
}

/* Animated Dashed/Marching Border */
.hero-trusted-badge::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 50px !important;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' rx='30' ry='30' stroke='%23f8ec1f' stroke-width='1.5' stroke-dasharray='6%2C 4' stroke-dashoffset='0'%3E%3Canimate attributeName='stroke-dashoffset' values='10%3B0' dur='0.8s' repeatCount='indefinite'/%3E%3C/rect%3E%3C/svg%3E") !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
}

.hero-trusted-badge i {
    color: #f8ec1f !important;
    font-size: 15px !important;
    line-height: 1 !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-trusted-badge:hover i {
    transform: rotate(360deg) scale(1.2) !important;
}

/* Staggered features list hover effects */
.page-index .main_2 .col-md-4 {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    z-index: 1;
}

.page-index .main_2 .col-md-4:hover {
    transform: translateY(-6px);
    background: var(--scs-card-hover) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
    z-index: 2;
}

.page-index .main_2 .col-md-4 img {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.page-index .main_2 .col-md-4:hover img {
    transform: scale(1.15) rotate(5deg) !important;
    background: rgba(74, 144, 226, 0.22) !important;
}

/* Hero Title & Caption Colors - Unified for both Light & Dark modes */
.hero-title-indias {
    color: #ffffff !important;
}
.hero-title-network {
    color: #ffffff !important;
}
.page-index .slider__caption .hero-hindi-title,
html[data-theme='dark'] .page-index .slider__caption .hero-hindi-title,
html[data-theme='light'] .page-index .slider__caption .hero-hindi-title {
    color: #f8ec1f !important;
}

/* Force Course Cards to remain dark in all themes (Light & Dark) */
.course-card,
.course-premium-card,
.premium-course-card,
html[data-theme='light'] .course-card,
html[data-theme='light'] .course-premium-card,
html[data-theme='light'] .premium-course-card {
    background: #12192b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Hover State */
.course-card:hover,
.course-premium-card:hover,
.premium-course-card:hover,
html[data-theme='light'] .course-card:hover,
html[data-theme='light'] .course-premium-card:hover,
html[data-theme='light'] .premium-course-card:hover {
    background: #18223c !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2) !important;
}

/* Text Colors */
.course-card h3,
.course-card-title,
.course-premium-card h3,
.premium-course-card h3,
.premium-course-card .card-title,
.premium-course-card h5,
html[data-theme='light'] .course-card h3,
html[data-theme='light'] .course-card-title,
html[data-theme='light'] .course-premium-card h3,
html[data-theme='light'] .premium-course-card h3,
html[data-theme='light'] .premium-course-card .card-title,
html[data-theme='light'] .premium-course-card h5 {
    color: #ffffff !important;
}

/* Description / Subtext Colors */
.course-card p,
.course-card-desc,
.course-premium-card p,
.premium-course-card p,
.premium-course-card .course-card-desc,
.premium-course-card .text-secondary,
html[data-theme='light'] .course-card p,
html[data-theme='light'] .course-card-desc,
html[data-theme='light'] .course-premium-card p,
html[data-theme='light'] .premium-course-card p,
html[data-theme='light'] .premium-course-card .course-card-desc,
html[data-theme='light'] .premium-course-card .text-secondary {
    color: #94a3b8 !important;
}

/* Card details (footer, duration, buttons) */
.premium-course-card .premium-card-footer,
.course-premium-card .premium-card-footer,
html[data-theme='light'] .premium-course-card .premium-card-footer,
html[data-theme='light'] .course-premium-card .premium-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

.premium-course-card .duration-block,
.course-premium-card .duration-block,
html[data-theme='light'] .premium-course-card .duration-block,
html[data-theme='light'] .course-premium-card .duration-block {
    color: #cbd5e1 !important;
}

.premium-course-card .premium-explore-btn,
.course-premium-card .premium-explore-btn,
html[data-theme='light'] .premium-course-card .premium-explore-btn,
html[data-theme='light'] .course-premium-card .premium-explore-btn {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

/* Card Badge/Verified elements inside */
.premium-course-card .premium-course-badge,
html[data-theme='light'] .premium-course-card .premium-course-badge {
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
}

/* Custom Glowing Border Pulse Animation for Light Mode Course Cards on Hover */
@keyframes light-mode-card-border-glow {
    0% {
        border-color: #3b82f6 !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.25) !important;
    }
    50% {
        border-color: #8b5cf6 !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 14px rgba(139, 92, 246, 0.5) !important;
    }
    100% {
        border-color: #3b82f6 !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.25) !important;
    }
}

html[data-theme='light'] .course-card:hover,
html[data-theme='light'] .course-premium-card:hover,
html[data-theme='light'] .premium-course-card:hover {
    background: #141d35 !important;
    animation: light-mode-card-border-glow 2.5s infinite ease-in-out !important;
    transform: translateY(-8px) !important;
}

/* Franchise List Premium Grid Card */
.franchise-premium-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-top: 3px solid transparent !important;
}

.franchise-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
    border-top-color: var(--scs-purple) !important;
}

.franchise-details-list .font-size-11 {
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Contact Page Modern Improvements */
.hover-translate-x {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.hover-translate-x:hover {
    transform: translateX(6px);
    background-color: var(--scs-bg) !important;
    border-color: var(--scs-purple) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

/* Dark Mode fixes for contact page titles */
html[data-theme='dark'] .page-contact .contact-form-card > h4,
html[data-theme='dark'] .page-contact .contact-panel-heading h4 {
    color: #FFFFFF !important;
}
html[data-theme='dark'] .page-contact .contact-form-card > h4 i,
html[data-theme='dark'] .page-contact .contact-panel-icon {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FBBF24 !important;
}

/* Global Font Override: Poppins for English, Mukta for Hindi */
*,
html,
body,
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4,
.navbar-brand,
.lead,
button,
input,
select,
textarea,
.tooltip,
.popover {
    font-family: 'Poppins', 'Mukta', sans-serif !important;
}

/* Explicit Hindi Text Styling */
.hindi-text,
.lang-hi,
[lang="hi"],
:lang(hi) {
    font-family: 'Mukta', sans-serif !important;
}

/* Redesigned Premium Course Card Sub-elements */
.course-category-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-color);
    background: rgba(var(--accent-color-rgb), 0.08);
    padding: 6px 12px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.course-header-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-color-rgb), 0.05);
    color: var(--accent-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.premium-course-desc {
    font-size: 0.82rem !important;
    line-height: 1.55;
    color: var(--scs-muted) !important;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.8rem;
    text-align: justify;
}
[data-theme="dark"] .premium-course-desc {
    color: #94a3b8 !important;
}
.premium-course-card:hover .course-header-icon {
    background: var(--accent-color);
    color: #ffffff;
    transform: rotate(-5deg) scale(1.05);
}
.premium-course-card:hover .course-category-tag {
    background: rgba(var(--accent-color-rgb), 0.15);
}

/* Image Header Wrapper and Overlay Sub-elements */
.premium-course-img-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
    width: 100%;
}
.premium-course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.premium-course-card:hover .premium-course-img {
    transform: scale(1.08);
}
.course-category-tag-floating {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.premium-course-card .premium-explore-btn,
.course-premium-card .premium-explore-btn,
html[data-theme='light'] .premium-course-card .premium-explore-btn,
html[data-theme='light'] .course-premium-card .premium-explore-btn {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

/* Card Badge/Verified elements inside */
.premium-course-card .premium-course-badge,
html[data-theme='light'] .premium-course-card .premium-course-badge {
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
}

/* Custom Glowing Border Pulse Animation for Light Mode Course Cards on Hover */
@keyframes light-mode-card-border-glow {
    0% {
        border-color: #3b82f6 !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.25) !important;
    }
    50% {
        border-color: #8b5cf6 !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 14px rgba(139, 92, 246, 0.5) !important;
    }
    100% {
        border-color: #3b82f6 !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.25) !important;
    }
}

html[data-theme='light'] .course-card:hover,
html[data-theme='light'] .course-premium-card:hover,
html[data-theme='light'] .premium-course-card:hover {
    background: #141d35 !important;
    animation: light-mode-card-border-glow 2.5s infinite ease-in-out !important;
    transform: translateY(-8px) !important;
}

/* Franchise List Premium Grid Card */
.franchise-premium-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-top: 3px solid transparent !important;
}

.franchise-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
    border-top-color: var(--scs-purple) !important;
}

.franchise-details-list .font-size-11 {
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Contact Page Modern Improvements */
.hover-translate-x {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.hover-translate-x:hover {
    transform: translateX(6px);
    background-color: var(--scs-bg) !important;
    border-color: var(--scs-purple) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

/* Dark Mode fixes for contact page titles */
html[data-theme='dark'] .page-contact .contact-form-card > h4,
html[data-theme='dark'] .page-contact .contact-panel-heading h4 {
    color: #FFFFFF !important;
}
html[data-theme='dark'] .page-contact .contact-form-card > h4 i,
html[data-theme='dark'] .page-contact .contact-panel-icon {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FBBF24 !important;
}

/* Global Font Override: Poppins for English, Mukta for Hindi */
*,
html,
body,
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4,
.navbar-brand,
.lead,
button,
input,
select,
textarea,
.tooltip,
.popover {
    font-family: 'Poppins', 'Mukta', sans-serif !important;
}

/* Explicit Hindi Text Styling */
.hindi-text,
.lang-hi,
[lang="hi"],
:lang(hi) {
    font-family: 'Mukta', sans-serif !important;
}

/* Redesigned Premium Course Card Sub-elements */
.course-category-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-color);
    background: rgba(var(--accent-color-rgb), 0.08);
    padding: 6px 12px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.course-header-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-color-rgb), 0.05);
    color: var(--accent-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.premium-course-desc {
    font-size: 0.82rem !important;
    line-height: 1.55;
    color: var(--scs-muted) !important;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.8rem;
    text-align: justify;
}
[data-theme="dark"] .premium-course-desc {
    color: #94a3b8 !important;
}
.premium-course-card:hover .course-header-icon {
    background: var(--accent-color);
    color: #ffffff;
    transform: rotate(-5deg) scale(1.05);
}
.premium-course-card:hover .course-category-tag {
    background: rgba(var(--accent-color-rgb), 0.15);
}

/* Image Header Wrapper and Overlay Sub-elements */
.premium-course-img-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
    width: 100%;
}
.premium-course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.premium-course-card:hover .premium-course-img {
    transform: scale(1.08);
}
.course-category-tag-floating {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.course-header-icon-floating {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-color);
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 2;
    transition: all 0.3s ease;
}
.premium-course-card:hover .course-header-icon-floating {
    background: var(--accent-color);
    color: #ffffff;
    transform: scale(1.05) rotate(-5deg);
}

/* Testimonial Carousel custom amber navigation arrows */
#testimonialCarousel .carousel-control-prev i,
#testimonialCarousel .carousel-control-next i {
    color: #FBBF24 !important;
    transition: all 0.3s ease;
}
#testimonialCarousel .carousel-control-prev:hover i {
    transform: scale(1.2) translateX(-4px);
}
#testimonialCarousel .carousel-control-next:hover i {
    transform: scale(1.2) translateX(4px);
}

/* Premium Course Header Banner & Overlay Pills */
.premium-course-header-banner {
    background: var(--accent-color);
    color: #ffffff;
    padding: 8px 16px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.premium-course-badge-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    transition: all 0.3s ease;
}
.premium-course-price-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #ffffff;
    color: #010049;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: all 0.3s ease;
}
.premium-course-card:hover .premium-course-header-banner {
    filter: brightness(1.05);
}

/* Redesigned Card Sub-elements: Tags, Progress Bars, Footer Elements */
.premium-course-tags-row {
    margin-top: 5px;
}
.premium-course-topic-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-color);
    background: rgba(var(--accent-color-rgb), 0.06);
    border: 1px solid rgba(var(--accent-color-rgb), 0.15);
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
}
.premium-course-card:hover .premium-course-topic-tag {
    background: rgba(var(--accent-color-rgb), 0.1);
    transform: translateY(-1px);
}
.premium-course-progress-container {
    width: 100%;
}
.progress-label-left {
    font-size: 0.72rem;
    font-weight: 750;
    color: var(--scs-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.progress-label-right {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--scs-dark);
}
.btn-explore-theme {
    background: var(--accent-color);
    color: #ffffff !important;
    border: none;
    padding: 8px 18px;
    font-size: 0.78rem;
    font-weight: 750;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(var(--accent-color-rgb), 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-explore-theme:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(var(--accent-color-rgb), 0.4);
    filter: brightness(1.05);
}
.btn-join-outline {
    background: #f1f5f9;
    color: #334155 !important;
    border: none;
    padding: 8px 18px;
    font-size: 0.78rem;
    font-weight: 750;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-join-outline:hover {
    background: #e2e8f0;
    color: #010049 !important;
    transform: translateY(-2px);
    text-decoration: none;
}

/* SmartCampus Course Card Specifications */
.premium-course-code-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #ffffff;
    color: #111827;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.tag-core {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #dbeafe !important;
}
.tag-practical {
    background: #faf5ff !important;
    color: #9333ea !important;
    border: 1px solid #f3e8ff !important;
}
.tag-industry {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #d1fae5 !important;
}
.btn-explore-theme {
    background: var(--accent-color);
    color: #ffffff !important;
    border: none;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 750;
    border-radius: 50px;
    box-shadow: 0 8px 16px rgba(var(--accent-color-rgb), 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-explore-theme:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(var(--accent-color-rgb), 0.35);
    filter: brightness(1.08);
}

/* Shimmering Gradient Header Banners from SmartCampus */
.premium-course-card.theme-green .premium-course-header-banner {
    background: linear-gradient(90deg, #064e3b, #059669, #34d399) !important;
    background-size: 200% 100% !important;
    animation: badgeShimmer 3s ease infinite !important;
    box-shadow: 0 3px 12px rgba(5, 150, 105, 0.25) !important;
}
.premium-course-card.theme-cyan .premium-course-header-banner {
    background: linear-gradient(90deg, #1a237e, #3949ab, #f8ec1f) !important;
    background-size: 200% 100% !important;
    animation: badgeShimmer 3s ease infinite !important;
    box-shadow: 0 3px 12px rgba(57, 73, 171, 0.25) !important;
}
.premium-course-card.theme-orange .premium-course-header-banner {
    background: linear-gradient(90deg, #4a044e, #7c3aed, #c084fc) !important;
    background-size: 200% 100% !important;
    animation: badgeShimmer 3s ease infinite !important;
    box-shadow: 0 3px 12px rgba(124, 58, 237, 0.25) !important;
}
.premium-course-card.theme-purple .premium-course-header-banner {
    background: linear-gradient(90deg, #4a044e, #db2777, #f472b6) !important;
    background-size: 200% 100% !important;
    animation: badgeShimmer 3s ease infinite !important;
    box-shadow: 0 3px 12px rgba(219, 39, 119, 0.25) !important;
}

@keyframes badgeShimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Homepage course cards use the same vertical visual language as our-courses.php. */
.premium-course-card.home-course-card { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; padding: 0 !important; overflow: hidden; border-radius: 24px; min-height: 100%; }
.home-course-card .premium-course-header-banner { border-radius: 0 !important; }
.home-course-card .premium-course-img-wrapper { height: 172px; }
.home-course-card .premium-course-body { min-width: 0; }
.home-course-card .premium-course-title { color: #f8fafc !important; font-size: 1.05rem; line-height: 1.35; min-height: 2.85rem; }
.home-course-card .premium-course-topic-tag { font-size: 0.62rem; padding: 4px 8px; }
.home-course-card .progress-label-left,
.home-course-card .progress-label-right { color: #e2e8f0; }
.home-course-card .home-course-progress { height: 4px; border-radius: 10px; background: rgba(148, 163, 184, 0.22); }
.home-course-card .home-course-progress .progress-bar { width: 100%; border-radius: 10px; background: var(--accent-color); }
.home-course-certified { display: inline-flex; align-items: center; gap: 6px; color: #f8fafc; font-size: 0.75rem; font-weight: 800; white-space: nowrap; }
.home-course-certified i { color: #fbbf24; }
@media (max-width: 575.98px) {
    .home-course-card .premium-course-img-wrapper { height: 185px; }
    .home-course-card .premium-course-title { min-height: 0; }
}
/* Shared light course-card design for homepage, our-courses.php and courses.php. */
body .premium-course-card,
html[data-theme='light'] body .premium-course-card {
    background: #ffffff !important;
    color: #0b1f4d !important;
    border: 1.5px solid rgba(76, 91, 212, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(11, 31, 92, 0.10) !important;
    overflow: hidden;
}
html[data-theme='dark'] body .premium-course-card {
    background: #111827 !important;
    color: #f3f4f6 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden;
}
body .premium-course-card:hover,
html[data-theme='light'] body .premium-course-card:hover {
    background: #ffffff !important;
    border-color: rgba(76, 91, 212, 0.30) !important;
    box-shadow: 0 28px 60px rgba(76, 91, 212, 0.18) !important;
    transform: translateY(-10px) !important;
}
html[data-theme='dark'] body .premium-course-card:hover {
    background: #111827 !important;
    border-color: rgba(251, 191, 36, 0.35) !important;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45) !important;
    transform: translateY(-10px) !important;
}
body .premium-course-card .premium-course-header-banner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 0 !important;
    color: #ffffff !important;
    font-size: 0.72rem;
    line-height: 1.25;
    letter-spacing: 0.45px;
}

body .premium-course-card .premium-course-img-wrapper { height: 188px; }
body .premium-course-card .premium-course-img { filter: saturate(1.04) contrast(1.02); }
body .premium-course-card .premium-course-badge-pill {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}
body .premium-course-card .premium-course-code-badge {
    color: #0b1f4d;
    background: #ffffff;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}
body .premium-course-card .premium-course-body { background: #ffffff; }
body .premium-course-card h5,
body .premium-course-card .premium-course-title,
html[data-theme='light'] body .premium-course-card h5,
html[data-theme='dark'] body .premium-course-card h5 {
    color: #0a1f52 !important;
    font-weight: 850 !important;
}
body .premium-course-card p,
body .premium-course-card .premium-course-desc,
body .premium-course-card .text-secondary,
html[data-theme='light'] body .premium-course-card p,
html[data-theme='dark'] body .premium-course-card p {
    color: #667085 !important;
}
body .premium-course-card .premium-course-topic-tag {
    border: 0 !important;
    border-radius: 999px;
    box-shadow: none;
}
body .premium-course-card .progress-label-left { color: #8a94a7 !important; }
body .premium-course-card .progress-label-right { color: #667085 !important; }
body .premium-course-card .progress {
    height: 5px !important;
    overflow: hidden;
    border-radius: 999px !important;
    background: #e9edf7 !important;
}
body .premium-course-card .progress-bar {
    background: var(--accent-color) !important;
    border-radius: 999px !important;
    transition: width 0.55s ease;
}
body .premium-course-card .price-amount { color: #0a1f52 !important; }
body .premium-course-card .home-course-certified { color: #0a1f52; }
body .premium-course-card .btn-explore-theme {
    min-height: 38px;
    padding: 9px 20px;
    background: var(--accent-color) !important;
    color: #ffffff !important;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(var(--accent-color-rgb), 0.28);
}
@media (max-width: 575.98px) {
    body .premium-course-card .premium-course-img-wrapper { height: 180px; }
}
/* Wider, slightly squarer cards in the three-card homepage course row. */
body .premium-course-card {
    transition: transform .38s cubic-bezier(.23, 1, .32, 1), 
                box-shadow .38s cubic-bezier(.23, 1, .32, 1), 
                border-color .38s cubic-bezier(.23, 1, .32, 1) !important;
}
body .premium-course-card .premium-course-img {
    transition: transform 0.5s ease !important;
}
body .premium-course-card:hover .premium-course-img {
    transform: scale(1.07) !important;
}
body .premium-course-card .premium-course-header-banner {
    background-size: 200% 100% !important;
    animation: badgeShimmer 3s ease infinite !important;
}
body .premium-course-card .premium-course-img-wrapper { height: 210px; }
body .premium-course-card .premium-course-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 30%, rgba(8, 20, 60, .52) 100%);
}
body .premium-course-card .premium-course-badge-pill,
body .premium-course-card .premium-course-code-badge { z-index: 2; }
body .premium-course-card .premium-course-code-badge {
    display: inline-flex;
    align-items: center;
    color: #0b1f5c;
    font-size: .69rem;
    letter-spacing: .25px;
}
body .premium-course-card .premium-course-body { padding: 22px !important; }
body .premium-course-card .premium-course-title { font-size: 1.18rem !important; line-height: 1.25; }
body .premium-course-card .premium-course-desc { font-size: .875rem !important; line-height: 1.65; }
body .premium-course-card .progress { height: 6px !important; }
body .premium-course-card.theme-green { --accent-deep: #047857; }
body .premium-course-card.theme-cyan { --accent-deep: #1e3a8a; }
body .premium-course-card.theme-orange { --accent-deep: #c2410c; }
body .premium-course-card.theme-purple { --accent-deep: #6d28d9; }
body .premium-course-card .btn-explore-theme i { transition: transform .3s ease; }
body .premium-course-card .btn-explore-theme:hover i { transform: translateX(4px); }
.scs-certified-footer-badge,
.home-course-certified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #059669 !important;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .35px;
    white-space: nowrap;
}
.scs-certified-footer-badge i,
.home-course-certified i { color: #059669 !important; font-size: .95rem; }
@media (max-width: 575.98px) {
    body .premium-course-card .premium-course-img-wrapper { height: 190px; }
}
/* Keep the animated header gradient expanded after theme background shorthands. */
html body .premium-course-card[class*="theme-"] .premium-course-header-banner {
    background-size: 200% 100% !important;
    animation: badgeShimmer 3s ease infinite !important;
}
/* Per-course palettes and aligned progress rows. */
body .premium-course-card.theme-green {
    --course-surface: #f4fdf9;
    --course-title: #065f46;
    --course-copy: #46645a;
    --cert-surface: #ecfdf5;
}
body .premium-course-card.theme-cyan {
    --course-surface: #f4f6ff;
    --course-title: #2436ad;
    --course-copy: #53617d;
    --cert-surface: #eef2ff;
}
body .premium-course-card.theme-orange {
    --course-surface: #fff8ef;
    --course-title: #9a3412;
    --course-copy: #70584c;
    --cert-surface: #fff7ed;
}
body .premium-course-card.theme-purple {
    --course-surface: #fbf5ff;
    --course-title: #6b21a8;
    --course-copy: #685873;
    --cert-surface: #faf5ff;
}
html[data-theme] body .premium-course-card[class*="theme-"] {
    background: var(--course-surface) !important;
    border-color: rgba(var(--accent-color-rgb), .20) !important;
}
html[data-theme] body .premium-course-card[class*="theme-"] .premium-course-body {
    background: var(--course-surface) !important;
}
html[data-theme] body .premium-course-card[class*="theme-"] .premium-course-title,
html[data-theme] body .premium-course-card[class*="theme-"] h5 {
    color: var(--course-title) !important;
}
html[data-theme] body .premium-course-card[class*="theme-"] .premium-course-desc,
html[data-theme] body .premium-course-card[class*="theme-"] p {
    color: var(--course-copy) !important;
}
body .premium-course-card .premium-course-body > div:first-child {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
body .premium-course-card .premium-course-progress-container {
    margin-top: auto !important;
}
body .premium-course-card .scs-certified-footer-badge,
body .premium-course-card .home-course-certified {
    min-height: 36px;
    padding: 7px 10px;
    border: 2px dashed var(--accent-color);
    border-radius: 8px;
    color: var(--accent-deep) !important;
    background: var(--cert-surface);
}
body .premium-course-card .scs-certified-footer-badge i,
body .premium-course-card .home-course-certified i {
    color: var(--accent-color) !important;
}
/* Center course names consistently on every course-card surface. */
body .premium-course-card .premium-course-title {
    width: 100%;
    text-align: center !important;
}
/* Duration replaces the image certification badge with a themed glass gradient. */
body .premium-course-card .premium-course-badge-pill {
    top: auto !important;
    left: auto !important;
    right: 20px !important;
    bottom: 12px !important;
    padding: 5px 14px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}
body .premium-course-card .premium-course-badge-pill i,
body .premium-course-card .premium-course-badge-pill .bi {
    color: #ffffff !important;
}
/* Exact SmartCampus-style animated header gradients. */
html body .premium-course-card[class*="theme-"] .premium-course-header-banner {
    background-size: 400% 400% !important;
    animation: badgeShimmer 6s ease infinite !important;
    will-change: background-position;
}
html body .premium-course-card.theme-green .premium-course-header-banner {
    background: linear-gradient(-45deg, #064e3b, #059669, #10b981, #34d399, #059669, #064e3b) !important;
    background-size: 400% 400% !important;
    box-shadow: 0 3px 12px rgba(5, 150, 105, .35) !important;
}
html body .premium-course-card.theme-orange .premium-course-header-banner {
    background: linear-gradient(-45deg, #1a237e, #3f51b5, #ff9800, #f57c00, #3f51b5, #1a237e) !important;
    background-size: 400% 400% !important;
    box-shadow: 0 3px 12px rgba(57, 73, 171, .35) !important;
}
html body .premium-course-card.theme-purple .premium-course-header-banner {
    background: linear-gradient(-45deg, #4a044e, #7c3aed, #ec4899, #f472b6, #7c3aed, #4a044e) !important;
    background-size: 400% 400% !important;
    box-shadow: 0 3px 12px rgba(124, 58, 237, .35) !important;
}
html body .premium-course-card.theme-cyan .premium-course-header-banner {
    background: linear-gradient(-45deg, #0e7490, #0891b2, #06b6d4, #22d3ee, #0891b2, #0e7490) !important;
    background-size: 400% 400% !important;
    box-shadow: 0 3px 12px rgba(14, 165, 233, .35) !important;
}
html body .premium-course-card.theme-orange .btn-explore-theme {
    background: linear-gradient(135deg, rgb(217, 119, 6), rgb(245, 158, 11)) !important;
    box-shadow: 0 8px 18px rgba(245, 158, 11, .30) !important;
}

/* Course-themed syllabus modals mirror their source cards. */
.syllabus-modal.theme-green {
    --modal-accent: #059669;
    --modal-accent-rgb: 5, 150, 105;
    --modal-deep: #065f46;
    --modal-surface: #f4fdf9;
    --modal-soft: #ecfdf5;
    --modal-header: linear-gradient(90deg, #064e3b, #059669, #34d399);
}
.syllabus-modal.theme-orange {
    --modal-accent: #f8ec1f;
    --modal-accent-rgb: 245, 158, 11;
    --modal-deep: #92400e;
    --modal-surface: #fffaf2;
    --modal-soft: #fff7ed;
    --modal-header: linear-gradient(90deg, #1a237e, #3949ab, #f8ec1f);
}
.syllabus-modal.theme-purple {
    --modal-accent: #7c3aed;
    --modal-accent-rgb: 124, 58, 237;
    --modal-deep: #581c87;
    --modal-surface: #fbf7ff;
    --modal-soft: #faf5ff;
    --modal-header: linear-gradient(90deg, #4a044e, #7c3aed, #c084fc);
}
.syllabus-modal.theme-cyan {
    --modal-accent: #0ea5e9;
    --modal-accent-rgb: 14, 165, 233;
    --modal-deep: #075985;
    --modal-surface: #f3fbff;
    --modal-soft: #ecfeff;
    --modal-header: linear-gradient(90deg, #075985, #0ea5e9, #22d3ee);
}
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-content {
    background: var(--modal-surface) !important;
    border: 1.5px solid rgba(var(--modal-accent-rgb), .32) !important;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(var(--modal-accent-rgb), .24) !important;
}
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-header {
    background: var(--modal-header) !important;
    background-size: 200% 100% !important;
    animation: badgeShimmer 3s ease infinite !important;
    box-shadow: 0 4px 18px rgba(var(--modal-accent-rgb), .28);
}
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-title-code {
    color: var(--modal-deep) !important;
    background: rgba(255, 255, 255, .92) !important;
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 5px 14px rgba(15, 23, 42, .18);
}
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-body,
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-footer {
    background: var(--modal-surface) !important;
    color: var(--modal-deep) !important;
}
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-body h4,
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-body h5,
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-body .text-dark {
    color: var(--modal-deep) !important;
}
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-body .text-primary,
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-body .text-success,
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-body .text-warning {
    color: var(--modal-accent) !important;
}
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-info-badge {
    color: var(--modal-deep) !important;
    background: var(--modal-soft) !important;
    border: 1px solid rgba(var(--modal-accent-rgb), .25) !important;
    box-shadow: 0 5px 16px rgba(var(--modal-accent-rgb), .09);
}
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-info-badge i {
    color: var(--modal-accent) !important;
}
html[data-theme] body .syllabus-modal[class*="theme-"] .syllabus-module-item {
    color: var(--modal-deep) !important;
    background: rgba(255, 255, 255, .74) !important;
    border: 1px solid rgba(var(--modal-accent-rgb), .14);
    border-left: 4px solid var(--modal-accent);
    border-radius: 10px;
}
html[data-theme] body .syllabus-modal[class*="theme-"] .syllabus-module-item:hover {
    background: var(--modal-soft) !important;
    border-color: rgba(var(--modal-accent-rgb), .35);
}
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-footer {
    border-color: rgba(var(--modal-accent-rgb), .18) !important;
}
html[data-theme] body .syllabus-modal[class*="theme-"] .modal-footer .btn-primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--modal-deep), var(--modal-accent)) !important;
    border: 0 !important;
    box-shadow: 0 8px 20px rgba(var(--modal-accent-rgb), .25);
}

/* Wide screen resolution optimizations (Balanced layout for 1920x1080) */
@media (min-width: 1400px) {
    .container, 
    .container-lg, 
    .container-md, 
    .container-sm, 
    .container-xl, 
    .container-xxl {
        max-width: 1380px !important;
    }
}

/* Custom Card Theme Adaptation for Light and Dark modes */
body .premium-course-card,
html[data-theme='light'] body .premium-course-card {
    background: #ffffff !important;
    color: #0b1f4d !important;
    border: 1.5px solid rgba(76, 91, 212, 0.08) !important;
}
html[data-theme='dark'] body .premium-course-card {
    background: #111827 !important;
    color: #f3f4f6 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
}
body .premium-course-card .premium-course-body {
    background: transparent !important;
}
html[data-theme='dark'] body .premium-course-card h5,
html[data-theme='dark'] body .premium-course-card .premium-course-title {
    color: #f9fafb !important;
}
html[data-theme='dark'] body .premium-course-card .text-dark {
    color: #f9fafb !important;
}
html[data-theme='dark'] body .premium-course-card .progress-label-left,
html[data-theme='dark'] body .premium-course-card .progress-label-right {
    color: #94a3b8 !important;
}

/* Tag Row Flexbox Settings: forces single horizontal row alignment */
.premium-course-tags-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
}

/* Tag Capsule/Pill Design: matching the uploaded screenshot style exactly */
.premium-course-topic-tag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px 12px !important; /* Flexible padding so text never wraps */
    height: 28px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important; /* Fully rounded capsule pill shape */
    text-align: center !important;
    white-space: nowrap !important;
    border: none !important; /* Clean background with no border */
}

/* Defined soft colors on white card backgrounds (matching the screenshot) */
body .tag-core,
html[data-theme='light'] body .tag-core,
html[data-theme='dark'] body .tag-core {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #dbeafe !important;
}
body .tag-practical,
html[data-theme='light'] body .tag-practical,
html[data-theme='dark'] body .tag-practical {
    background: #faf5ff !important;
    color: #9333ea !important;
    border: 1px solid #f3e8ff !important;
}
body .tag-industry,
html[data-theme='light'] body .tag-industry,
html[data-theme='dark'] body .tag-industry {
    background: #fffbeb !important;
    color: #d97706 !important;
    border: 1px solid #fde68a !important;
}

/* ==========================================================================
   PNS FOUNDATION PREMIUM CARD DESIGN INTEGRATION
   ========================================================================== */

/* 1. Card Container (Default and Hover states) */
body .premium-course-card,
html[data-theme='light'] body .premium-course-card {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb !important; /* Default Light Gray Border */
    border-radius: 16px !important; /* Premium rounded corner size from reference */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important; /* Subtle soft shadow */
    position: relative !important;
    overflow: hidden !important;
    transition: transform .38s cubic-bezier(.23, 1, .32, 1), 
                box-shadow .38s cubic-bezier(.23, 1, .32, 1), 
                border-color .38s cubic-bezier(.23, 1, .32, 1) !important;
}

html[data-theme='dark'] body .premium-course-card {
    background: #111827 !important;
    color: #f3f4f6 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

/* Hover effects */
body .premium-course-card:hover,
html[data-theme='light'] body .premium-course-card:hover {
    border-color: #e5e7eb !important;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08) !important;
    transform: translateY(-10px) !important;
}

html[data-theme='dark'] body .premium-course-card:hover {
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45) !important;
    transform: translateY(-10px) !important;
}



/* 3. Course Icons / Tags adaptive themes */
/* BCA (Blue theme) card styles */
.premium-course-card.theme-cyan .premium-course-topic-tag {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #dbeafe !important;
}
/* BBA (Green theme) card styles */
.premium-course-card.theme-green .premium-course-topic-tag {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #d1fae5 !important;
}
/* MCA (Pink theme) card styles */
.premium-course-card.theme-purple .premium-course-topic-tag {
    background: #fdf2f8 !important;
    color: #db2777 !important;
    border: 1px solid #fbcfe8 !important;
}
/* MBA (Orange theme) card styles */
.premium-course-card.theme-orange .premium-course-topic-tag {
    background: #fff7ed !important;
    color: #ea580c !important;
    border: 1px solid #ffedd5 !important;
}

/* 4. Typography Colors */
body .premium-course-card .premium-course-title,
html[data-theme='light'] body .premium-course-card .premium-course-title {
    color: #111827 !important; /* Almost black title text */
}
body .premium-course-card .premium-course-desc,
html[data-theme='light'] body .premium-course-card .premium-course-desc {
    color: #4b5563 !important; /* Charcoal Gray description text */
}
body .premium-course-card .progress-label-left,
html[data-theme='light'] body .premium-course-card .progress-label-left {
    color: #6b7280 !important; /* Medium gray affiliation text */
}

.syllabus-module-item {
    background: #f8fafc !important; /* Slate gray background */
    border: 1px solid #f1f5f9 !important; /* Border */
    color: #374151 !important; /* Dark slate gray text */
    padding: 10px 14px !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    display: block !important;
    font-size: 0.92rem !important;
    transition: all 0.2s ease !important;
}

/* Checkmarks matching theme colors */
.syllabus-modal.theme-cyan .syllabus-module-item i { color: #2563eb !important; }
.syllabus-modal.theme-green .syllabus-module-item i { color: #059669 !important; }
.syllabus-modal.theme-purple .syllabus-module-item i { color: #db2777 !important; }
.syllabus-modal.theme-orange .syllabus-module-item i { color: #ea580c !important; }

/* 6. Buttons colors */

/* Syllabus & Fees / Explore button (Primary) */
body .btn-explore-theme,
body .btn-primary.rounded-pill {
    background: #1e3a8a !important; /* Dark Navy Blue */
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}
body .btn-explore-theme:hover,
body .btn-primary.rounded-pill:hover {
    background: #2563eb !important; /* Bright Blue */
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.40) !important; /* Blue glow shadow */
}

/* Close / Apply Now (Secondary) button */
body .btn-secondary.rounded-pill {
    background: #f1f5f9 !important; /* Light gray */
    color: #334155 !important;      /* Slate text */
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}
body .btn-secondary.rounded-pill:hover {
    background: #e2e8f0 !important; /* Slightly darker gray */
    color: #010049 !important;      /* Dark slate text */
}

/* Disabled button (Coming Soon state) */
.btn-disabled-card {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    border: 1px dashed #d1d5db !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* ==========================================================================
   DARK MODE OPTIMIZATION (Soft borders & backgrounds)
   ========================================================================== */

/* Duration Badge Glass Border in Dark Mode */
html[data-theme='dark'] body .premium-course-card .premium-course-badge-pill {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(0, 0, 0, 0.3) !important;
}

/* Core/PG/Upcoming Tag Dark Mode Adaptations */
html[data-theme='dark'] body .tag-core {
    border: 1px solid rgba(37, 99, 235, 0.25) !important;
    background: rgba(37, 99, 235, 0.12) !important;
    color: #60a5fa !important;
}
html[data-theme='dark'] body .tag-practical {
    border: 1px solid rgba(147, 51, 234, 0.25) !important;
    background: rgba(147, 51, 234, 0.12) !important;
    color: #c084fc !important;
}
html[data-theme='dark'] body .tag-industry {
    border: 1px solid rgba(217, 119, 6, 0.25) !important;
    background: rgba(217, 119, 6, 0.12) !important;
    color: #fbbf24 !important;
}

/* Course Theme Adaptive Tags in Dark Mode */
html[data-theme='dark'] .premium-course-card.theme-cyan .premium-course-topic-tag {
    background: rgba(37, 99, 235, 0.12) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(37, 99, 235, 0.25) !important;
}
html[data-theme='dark'] .premium-course-card.theme-green .premium-course-topic-tag {
    background: rgba(5, 150, 105, 0.12) !important;
    color: #34d399 !important;
    border: 1px solid rgba(5, 150, 105, 0.25) !important;
}
html[data-theme='dark'] .premium-course-card.theme-purple .premium-course-topic-tag {
    background: rgba(219, 39, 119, 0.12) !important;
    color: #f472b6 !important;
    border: 1px solid rgba(219, 39, 119, 0.25) !important;
}
html[data-theme='dark'] .premium-course-card.theme-orange .premium-course-topic-tag {
    background: rgba(234, 88, 12, 0.12) !important;
    color: #fb923c !important;
    border: 1px solid rgba(234, 88, 12, 0.25) !important;
}

/* ==========================================================================
   PNS FOUNDATION CUSTOM REFERENCED CARD CLASS DEFINITIONS
   ========================================================================== */

/* --- Base Fonts & Grid Layout --- */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.courses-grid * {
    box-sizing: border-box;
}

/* --- Main Course Card --- */
.course-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Hover Effects */
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
    border-color: #e5e7eb;
}

/* --- Badges --- */
.course-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-ug {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.badge-pg {
    background: #faf5ff;
    color: #9333ea;
    border: 1px solid #f3e8ff;
}

.badge-upcoming {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

/* --- Icon Wrapper --- */
.course-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.course-card:hover .course-icon-wrapper {
    transform: scale(1.1);
}

/* Course Theme Colors for Icons */
.icon-bca { background: #eff6ff; color: #2563eb; }
.icon-bba { background: #ecfdf5; color: #059669; }
.icon-mca { background: #fdf2f8; color: #db2777; }
.icon-mba { background: #fff7ed; color: #ea580c; }

/* --- Texts --- */
.course-title-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.course-affiliation-text {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.course-affiliation-text i {
    color: #2563eb;
}

.course-desc-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 25px 0;
    flex-grow: 1;
    text-align: justify;
}

/* --- Highlights Box --- */
.course-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
    background: #f8fafc;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #374151;
    font-weight: 500;
}

.highlight-item i {
    font-size: 0.9rem;
}

/* Highlights Checkmark Colors */
.item-bca i { color: #2563eb; }
.item-bba i { color: #059669; }
.item-mca i { color: #db2777; }
.item-mba i { color: #ea580c; }

/* --- Buttons --- */
.course-btn-group {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 15px;
    margin-top: auto;
}

.course-btn {
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

/* Button 1: Apply Now (Gray) */
.btn-apply-card {
    background: #f1f5f9;
    color: #334155;
}

.btn-apply-card:hover {
    background: #e2e8f0;
    color: #010049;
}

/* Button 2: Details/Syllabus (Navy Blue) */
.btn-details-card {
    background: #1e3a8a;
    color: #fff;
}

.btn-details-card:hover {
    background: #2563eb;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

/* ==========================================================================
   DARK MODE COMPATIBILITY FOR CUSTOM CLASSES
   ========================================================================== */
html[data-theme='dark'] .course-card {
    background: #111827 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f3f4f6 !important;
}
html[data-theme='dark'] .course-card:hover {
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12) !important;
}
html[data-theme='dark'] .course-title-text {
    color: #ffffff !important;
}
html[data-theme='dark'] .course-desc-text {
    color: #9ca3af !important;
}
html[data-theme='dark'] .course-highlights {
    background: #1f2937 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}
html[data-theme='dark'] .highlight-item {
    color: #e5e7eb !important;
}
html[data-theme='dark'] .btn-apply-card {
    background: #1f2937 !important;
    color: #e5e7eb !important;
}
html[data-theme='dark'] .btn-apply-card:hover {
    background: #374151 !important;
    color: #ffffff !important;
}
html[data-theme='dark'] .badge-ug {
    background: rgba(37, 99, 235, 0.12) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(37, 99, 235, 0.25) !important;
}
html[data-theme='dark'] .badge-pg {
    background: rgba(147, 51, 234, 0.12) !important;
    color: #c084fc !important;
    border: 1px solid rgba(147, 51, 234, 0.25) !important;
}
html[data-theme='dark'] .badge-upcoming {
    background: rgba(217, 119, 6, 0.12) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(217, 119, 6, 0.25) !important;
}

/* ==========================================================================
   PNS FOUNDATION STYLE DROPDOWN MENU
   ========================================================================== */

/* Dropdown Menu Card Container */
.dropdown-courses-premium {
    position: relative !important;
}

.courses-dropdown-card {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(26px) !important;
    background: #ffffff !important;
    border-radius: 20px !important; /* Premium large rounded corners */
    box-shadow: 0 15px 40px rgba(11, 44, 95, 0.12) !important; /* Soft premium shadow */
    border: 1px solid rgba(11, 61, 145, 0.15) !important;
    min-width: 720px !important;
    width: 760px !important;
    max-width: 90vw !important;
    padding: 20px !important;
    z-index: 1000 !important;
    display: none;
    flex-direction: column;
    gap: 12px !important;
}

/* Arrow (Upward triangle) */
.courses-dropdown-card::before {
    content: '' !important;
    position: absolute !important;
    bottom: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border: 9px solid transparent !important;
    border-bottom-color: rgba(11, 61, 145, 0.15) !important;
}

.courses-dropdown-card::after {
    content: '' !important;
    position: absolute !important;
    bottom: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border: 8px solid transparent !important;
    border-bottom-color: #ffffff !important;
}

/* Category header banner (Dark blue pill) */
.courses-dropdown-header {
    background: #010049 !important; /* Dark Blue */
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    text-align: center !important;
    padding: 10px 16px !important;
    border-radius: 8px !important; /* Block shape */
    box-shadow: 0 4px 12px rgba(11, 61, 145, 0.15) !important;
    margin-bottom: 5px !important;
}

/* Dropdown list container */
.courses-dropdown-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    max-height: 380px !important;
    overflow-y: auto !important;
    padding-right: 4px !important;
}

/* Premium thin scrollbar styling */
.courses-dropdown-list::-webkit-scrollbar {
    width: 6px !important;
}
.courses-dropdown-list::-webkit-scrollbar-thumb {
    background: rgba(11, 44, 95, 0.15) !important;
    border-radius: 10px !important;
}
html[data-theme='dark'] .courses-dropdown-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Custom Dropdown item container */
.courses-dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 16px !important;
    background: #ffffff !important;
    border: 1px solid rgba(11, 44, 95, 0.05) !important;
    border-radius: 12px !important; /* Rounded corners */
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.courses-dropdown-item:hover {
    background: rgba(11, 61, 145, 0.04) !important;
    border-color: rgba(11, 61, 145, 0.15) !important;
}

/* Icon Box inside item */
.course-dropdown-icon {
    width: 44px !important;
    height: 44px !important;
    background: #eff6ff !important; /* Light blue background */
    color: #2563eb !important; /* Blue color */
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
    transition: all 0.25s ease !important;
}

.courses-dropdown-item:hover .course-dropdown-icon {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* Info texts block */
.course-dropdown-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.course-dropdown-name {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    line-height: 1.3 !important;
    transition: color 0.25s ease !important;
    text-align: left !important;
}

.courses-dropdown-item:hover .course-dropdown-name {
    color: #010049 !important;
}

.course-dropdown-sub {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.72rem !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

/* Show on Hover logic */
.dropdown-courses-premium:hover .courses-dropdown-card {
    display: flex !important;
}

/* Dark theme overrides for dropdown */
html[data-theme='dark'] .courses-dropdown-card {
    background: #111827 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme='dark'] .courses-dropdown-card::before {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme='dark'] .courses-dropdown-card::after {
    border-bottom-color: #111827 !important;
}

html[data-theme='dark'] .courses-dropdown-item {
    background: #1f2937 !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
}

html[data-theme='dark'] .courses-dropdown-item:hover {
    background: #374151 !important;
}

html[data-theme='dark'] .course-dropdown-icon {
    background: rgba(37, 99, 235, 0.12) !important;
    color: #60a5fa !important;
}

html[data-theme='dark'] .courses-dropdown-item:hover .course-dropdown-icon {
    background: #2563eb !important;
    color: #ffffff !important;
}

html[data-theme='dark'] .course-dropdown-name {
    color: #f3f4f6 !important;
}

html[data-theme='dark'] .courses-dropdown-item:hover .course-dropdown-name {
    color: #60a5fa !important;
}

html[data-theme='dark'] .course-dropdown-sub {
    color: #9ca3af !important;
}

/* View More Courses Button in Dropdown */
/* View More Courses Button in Dropdown */
body .courses-dropdown-more-btn {
    background: transparent !important;
    color: #1e3a8a !important; /* Navy color */
    border: 2px solid #1e3a8a !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 10px 24px !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Animated background sweep on hover */
body .courses-dropdown-more-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, #1e3a8a, #2563eb) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: -1 !important;
}

body .courses-dropdown-more-btn:hover {
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3) !important;
    transform: translateY(-2px) !important;
}

body .courses-dropdown-more-btn:hover::before {
    left: 0 !important;
}

/* Icon micro-animation on hover */
body .courses-dropdown-more-btn i {
    transition: transform 0.3s ease !important;
    display: inline-block !important;
}

body .courses-dropdown-more-btn:hover i {
    transform: translateX(4px) !important;
}

/* Dark Mode Styles */
html[data-theme='dark'] body .courses-dropdown-more-btn {
    color: #60a5fa !important; /* Soft blue */
    border: 2px solid rgba(96, 165, 250, 0.4) !important;
}

html[data-theme='dark'] body .courses-dropdown-more-btn::before {
    background: linear-gradient(90deg, #2563eb, #a855f7) !important; /* Blue to Purple sweep */
}

html[data-theme='dark'] body .courses-dropdown-more-btn:hover {
    color: #ffffff !important;
    border-color: #a855f7 !important;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4) !important;
}

/* Mobile responsive collapse for courses dropdown */
@media (max-width: 991.98px) {
    .courses-dropdown-card {
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        transform: translateX(0) translateY(10px) !important;
    }
    .courses-dropdown-list {
        grid-template-columns: 1fr !important; /* Stack vertically in single column on tablet/mobile */
        gap: 8px !important;
    }
}

/* Pulsing dot above center of the active menu link on desktop */
@keyframes active-dot-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(11, 44, 95, 0.5);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(11, 44, 95, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(11, 44, 95, 0);
    }
}

@media (min-width: 1200px) {
    .navbar-nav .nav-item {
        position: relative !important;
    }
    
    .navbar-nav .nav-item .nav-link {
        position: relative !important;
    }

    .navbar-nav .nav-item .nav-link.active::before {
        content: '' !important;
        position: absolute !important;
        top: -4px !important; /* Positioned above the text */
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: block !important;
        box-sizing: border-box !important;
        width: 6px !important;
        height: 6px !important;
        min-width: 6px !important;
        min-height: 6px !important;
        background-color: #010049 !important; /* Deep Navy Blue */
        border-radius: 50% !important;
        overflow: hidden !important;
        animation: active-dot-pulse 2s infinite !important; /* Navy pulsing dot animation */
    }
}

/* Large desktop width and menu scaling - keeps 1366px layout unchanged */
@media (min-width: 1400px) {
    :root { --scs-container: 1440px; }

    .navbar-top .navbar {
        padding-top: 3px !important;
        padding-bottom: 3px !important;
    }

    .navbar-top .navbar-brand img {
        width: 198px !important;
        max-height: 64px !important;
    }

    .navbar-top .navbar-nav {
        gap: 4px;
    }

    .navbar-top .navbar-nav .nav-item .nav-link {
        font-size: 14px !important;
        line-height: 1.25;
        padding: 8px 12px !important;
        letter-spacing: .01em;
    }

    .navbar-top .navbar-nav .nav-item .nav-link i {
        font-size: 1.02rem;
    }

    .navbar-login-btn {
        font-size: 14px !important;
        padding: 9px 18px !important;
        min-height: 40px;
    }
}

@media (min-width: 1800px) {
    :root { --scs-container: 1540px; }

    .navbar-top .navbar-brand img {
        width: 210px !important;
        max-height: 68px !important;
    }

    .navbar-top .navbar-nav {
        gap: 8px;
    }

    .navbar-top .navbar-nav .nav-item .nav-link {
        font-size: 15px !important;
        padding: 9px 13px !important;
    }

    .navbar-login-btn {
        font-size: 15px !important;
        padding: 10px 20px !important;
    }
}
/* Keep WhatsApp floating button above scroll-to-top button */
.floating-wpp {
    bottom: 100px !important;
    right: 13.5px !important;
    z-index: 9998;
}

#back-top,
.km-scroll-top {
    z-index: 9999;
}

@media (max-width: 767px) {
    .floating-wpp {
        left: auto !important;
        right: 15px !important;
        bottom: 82px !important;
        transform-origin: bottom right !important;
    }

    #back-top,
    .km-scroll-top {
        right: 20px !important;
        bottom: 18px !important;
    }
}
/* Mobile navbar dropdown fix: no blank space, tap/click opens submenu */
@media (max-width: 1199.98px) {
    .navbar-top .navbar-nav .dropdown-menu {
        position: static !important;
        display: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 6px 0 10px !important;
        padding: 8px !important;
        background: rgba(11, 44, 95, 0.04) !important;
        border: 1px solid rgba(11, 44, 95, 0.08) !important;
        border-radius: 10px !important;
        box-shadow: none !important;
    }

    .navbar-top .navbar-nav .dropdown.show > .dropdown-menu,
    .navbar-top .navbar-nav .dropdown-menu.show {
        display: block !important;
    }

    .navbar-top .navbar-nav .dropdown-menu .dropdown-item {
        color: var(--scs-muted, #34465a) !important;
        background: transparent !important;
        border-radius: 8px !important;
        padding: 10px 12px !important;
        white-space: normal !important;
    }

    .navbar-top .navbar-nav .dropdown-menu .dropdown-item:hover,
    .navbar-top .navbar-nav .dropdown-menu .dropdown-item:focus {
        color: var(--scs-text, #0b1f33) !important;
        background: rgba(74, 144, 226, .12) !important;
    }

    .navbar-top .navbar-nav .dropdown-courses-premium.show > .courses-dropdown-card,
    .navbar-top .navbar-nav .courses-dropdown-card.show {
        display: flex !important;
    }

    .navbar-top .navbar-nav .courses-dropdown-card {
        flex-direction: column !important;
        gap: 10px !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px !important;
    }

    .navbar-top .navbar-nav .courses-dropdown-card::before,
    .navbar-top .navbar-nav .courses-dropdown-card::after {
        display: none !important;
    }

    .navbar-top .navbar-nav .courses-dropdown-list {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        max-height: 340px !important;
    }
}

html[data-theme='dark'] .navbar-top .navbar-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Keep course cards in light mode style even in dark mode */
html[data-theme='dark'] body .premium-course-card[class*="theme-"] {
    background: var(--course-surface) !important;
    border-color: rgba(var(--accent-color-rgb), .20) !important;
}

html[data-theme='dark'] body .premium-course-card[class*="theme-"] .premium-course-body {
    background: var(--course-surface) !important;
}

html[data-theme='dark'] body .premium-course-card[class*="theme-"] .premium-course-title,
html[data-theme='dark'] body .premium-course-card[class*="theme-"] h5 {
    color: var(--course-title) !important;
}

html[data-theme='dark'] body .premium-course-card[class*="theme-"] .premium-course-desc,
html[data-theme='dark'] body .premium-course-card[class*="theme-"] p {
    color: var(--course-copy) !important;
}

/* Hover styles for themed course cards in all themes (retains light style & colored accent border) */
html[data-theme] body .premium-course-card[class*="theme-"]:hover {
    background: var(--course-surface) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 15px 35px rgba(var(--accent-color-rgb), 0.15) !important;
}

html[data-theme] body .premium-course-card[class*="theme-"]:hover .premium-course-body {
    background: var(--course-surface) !important;
}

/* Fix cursor jitter/vibration on card hover due to translateY transition */
.premium-course-card::after,
.course-card::after,
.course-premium-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.premium-course-card:hover::after,
.course-card:hover::after,
.course-premium-card:hover::after {
    top: -20px;
    bottom: -20px;
    left: -10px;
    right: -10px;
    pointer-events: auto;
}

/* Ensure the three course tags always have distinct, soft light-mode colors on all cards in both themes */
body .premium-course-card .premium-course-topic-tag.tag-core,
html[data-theme='dark'] body .premium-course-card .premium-course-topic-tag.tag-core {
    background: #f0f7ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #dbeafe !important;
}
body .premium-course-card .premium-course-topic-tag.tag-practical,
html[data-theme='dark'] body .premium-course-card .premium-course-topic-tag.tag-practical {
    background: #faf5ff !important;
    color: #7e22ce !important;
    border: 1px solid #f3e8ff !important;
}
body .premium-course-card .premium-course-topic-tag.tag-industry,
html[data-theme='dark'] body .premium-course-card .premium-course-topic-tag.tag-industry {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1px solid #d1fae5 !important;
}

/* Remove borders from course cards and apply a balanced box shadow in all directions */
.premium-course-card,
.course-card,
.course-premium-card,
html[data-theme] body .premium-course-card[class*="theme-"] {
    border: none !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06) !important;
}

.premium-course-card:hover,
.course-card:hover,
.course-premium-card:hover,
html[data-theme] body .premium-course-card[class*="theme-"]:hover {
    border: none !important;
    box-shadow: 0 0 30px rgba(var(--accent-color-rgb), 0.18) !important;
}

/* Custom professional light background override in light theme for sections/main container pages */
html[data-theme='light'] main.bg-light,
html[data-theme='light'] section.bg-light,
body:not([data-theme='dark']) main.bg-light,
body:not([data-theme='dark']) section.bg-light {
    background-color: #f2f6ff !important;
}

html[data-theme='light'] .verify-certificate-main,
body:not([data-theme='dark']) .verify-certificate-main {
    background-color: #f2f6ff !important;
}

/* Animated Colorful Gradient Line (PNS Foundation style title underline) */
.animated-gradient-line {
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #f8ec1f, #ec4899, #3b82f6, #10b981, #f8ec1f);
    background-size: 300% 100%;
    border-radius: 10px;
    margin: 12px auto 16px auto;
    animation: gradientLineMove 3.5s linear infinite;
}

@keyframes gradientLineMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

/* Sticky scrolled header active transition styling (matches letscraftfuture fixed scroll look) */
.navbar-top {
    transition: padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease !important;
    position: relative;
    z-index: 1030 !important;
}
.navbar-top.scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1040 !important;
    background-color: #ffffff !important;
    padding: 4px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    animation: slideDownHeader 0.28s ease-out !important;
}

@keyframes slideDownHeader {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
.navbar-top.scrolled .navbar-brand img {
    width: 170px !important;
    transition: width 0.3s ease !important;
}
.navbar-top .navbar-brand img {
    transition: width 0.3s ease !important;
}

/* Pulsing Notification Dot on Marquee Badge */
.pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: announcementPulse 1.6s infinite;
    z-index: 10;
}

@keyframes announcementPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Premium Dropdown Menu Custom Design matching Mockup Image */

/* Desktop viewports (min-width: 1200px) */
@media (min-width: 1200px) {
    .premium-dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(36px) !important;
        background: #ffffff !important;
        border-radius: 20px !important; /* Premium large rounded corners */
        box-shadow: 0 15px 40px rgba(11, 44, 95, 0.12) !important; /* Soft premium shadow */
        border: 1px solid rgba(11, 44, 95, 0.08) !important;
        min-width: 340px !important;
        padding: 16px !important;
        z-index: 1000 !important;
        display: none;
        flex-direction: column !important;
        gap: 6px !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
    }

    .navbar-top .navbar-nav .dropdown:hover .premium-dropdown-menu,
    .navbar-top .navbar-nav .dropdown.show .premium-dropdown-menu,
    .premium-dropdown-menu.show {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) translateY(26px) !important; /* Slide up transition */
    }

    /* Arrow (Upward triangle) */
    .premium-dropdown-menu::before {
        content: '' !important;
        position: absolute !important;
        bottom: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border: 9px solid transparent !important;
        border-bottom-color: rgba(11, 44, 95, 0.08) !important;
    }

    .premium-dropdown-menu::after {
        content: '' !important;
        position: absolute !important;
        bottom: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border: 8px solid transparent !important;
        border-bottom-color: #ffffff !important;
    }
}

/* Mobile viewports (max-width: 1199px) */
@media (max-width: 1199px) {
    .premium-dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        min-width: 100% !important;
        padding: 8px 0 8px 16px !important;
        background: transparent !important;
        display: none;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .premium-dropdown-menu.show {
        display: flex !important;
    }

    .premium-dropdown-menu::before,
    .premium-dropdown-menu::after {
        display: none !important;
    }
}

/* Premium Dropdown Item styling (applicable globally) */
.premium-dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 9px 12px !important;
    border-radius: 12px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.premium-dropdown-item {
    transition: all 0.2s ease, background-color 0.2s ease !important;
}

.premium-dropdown-item:hover {
    transform: translateY(-2px) !important;
}

/* Dynamic color theme hover states for dropdown items */

/* Blue Theme Hover */
.premium-dropdown-item.item-blue:hover {
    background: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.18) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;
}
.premium-dropdown-item.item-blue:hover .premium-dropdown-title {
    color: #2563eb !important;
}
.premium-dropdown-item.item-blue:hover .premium-dropdown-icon {
    background: rgba(59, 130, 246, 0.18) !important;
    color: #1d4ed8 !important;
}

/* Purple Theme Hover */
.premium-dropdown-item.item-purple:hover {
    background: #ffffff !important;
    border-color: rgba(139, 92, 246, 0.18) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;
}
.premium-dropdown-item.item-purple:hover .premium-dropdown-title {
    color: #7c3aed !important;
}
.premium-dropdown-item.item-purple:hover .premium-dropdown-icon {
    background: rgba(139, 92, 246, 0.18) !important;
    color: #6d28d9 !important;
}

/* Orange Theme Hover */
.premium-dropdown-item.item-orange:hover {
    background: #ffffff !important;
    border-color: rgba(245, 158, 11, 0.18) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;
}
.premium-dropdown-item.item-orange:hover .premium-dropdown-title {
    color: #d97706 !important;
}
.premium-dropdown-item.item-orange:hover .premium-dropdown-icon {
    background: rgba(245, 158, 11, 0.18) !important;
    color: #b45309 !important;
}

/* Cyan Theme Hover */
.premium-dropdown-item.item-cyan:hover {
    background: #ffffff !important;
    border-color: rgba(6, 182, 212, 0.18) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;
}
.premium-dropdown-item.item-cyan:hover .premium-dropdown-title {
    color: #0891b2 !important;
}
.premium-dropdown-item.item-cyan:hover .premium-dropdown-icon {
    background: rgba(6, 182, 212, 0.18) !important;
    color: #0f766e !important;
}

/* Green Theme Hover */
.premium-dropdown-item.item-green:hover {
    background: #ffffff !important;
    border-color: rgba(16, 185, 129, 0.18) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;
}
.premium-dropdown-item.item-green:hover .premium-dropdown-title {
    color: #059669 !important;
}
.premium-dropdown-item.item-green:hover .premium-dropdown-icon {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #047857 !important;
}

.premium-dropdown-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 16px;
}

/* Color variations for icon capsules matching mockup design */
.premium-dropdown-icon.color-blue {
    background: rgba(59, 130, 246, 0.09) !important;
    color: #2563eb !important;
}
.premium-dropdown-icon.color-purple {
    background: rgba(139, 92, 246, 0.09) !important;
    color: #7c3aed !important;
}
.premium-dropdown-icon.color-orange {
    background: rgba(245, 158, 11, 0.09) !important;
    color: #d97706 !important;
}
.premium-dropdown-icon.color-cyan {
    background: rgba(6, 182, 212, 0.09) !important;
    color: #0891b2 !important;
}
.premium-dropdown-icon.color-green {
    background: rgba(16, 185, 129, 0.09) !important;
    color: #059669 !important;
}

.premium-dropdown-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.premium-dropdown-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
}

.premium-dropdown-desc {
    font-size: 0.72rem !important;
    color: #64748b !important;
    white-space: normal !important;
    line-height: 1.35 !important;
}

/* Homepage Background Video & Premium Dark Overlay */
.slider-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(1, 0, 73, 0.95) 0%, rgba(1, 0, 73, 0.90) 60%, rgba(1, 0, 73, 0.84) 100%) !important;
    z-index: 1;
    pointer-events: none;
}

/* Animated Login Button (Continuous flow and infinite shimmer sweep) */
html[data-theme='light'] .navbar-login-btn {
    background: #0b2c5f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(11, 44, 95, 0.25) !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 10 !important;
}

html[data-theme='light'] .navbar-login-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -150% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent) !important;
    z-index: 2 !important;
    pointer-events: none !important;
    animation: loginShimmerSweep 3s infinite ease-in-out !important;
    transition: none !important;
}

html[data-theme='light'] .navbar-login-btn:hover {
    background: #f8ec1f !important;
    color: #0b2c5f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 211, 61, 0.4) !important;
}

html[data-theme='light'] .navbar-login-btn i {
    color: #ffffff !important;
    position: relative !important;
    z-index: 3 !important;
    transition: color 0.3s ease !important;
}

html[data-theme='light'] .navbar-login-btn:hover i {
    color: #0b2c5f !important;
}

@keyframes loginGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes loginShimmerSweep {
    0% {
        left: -150%;
    }
    50% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

/* Premium Courses Dropdown Mega Menu Overrides */
.courses-dropdown-card {
    min-width: 840px !important;
    width: 880px !important;
    max-width: 95vw !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 1px solid rgba(11, 61, 145, 0.15) !important;
    box-shadow: 0 20px 50px rgba(11, 44, 95, 0.16) !important;
}

/* Mega Menu Left Sidebar styling */
.courses-mega-sidebar {
    background: linear-gradient(135deg, #010049 0%, #0c1a3e 100%) !important;
    padding: 32px 24px !important;
    color: #ffffff !important;
    border-top-left-radius: 19px !important;
    border-bottom-left-radius: 19px !important;
}

.mega-sidebar-tag {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    color: #ffd17e !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 10px !important;
}

.mega-sidebar-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
}

.mega-sidebar-desc {
    font-size: 0.76rem !important;
    color: #94a3b8 !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
}

.mega-sidebar-features {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.ms-feature-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: #f1f5f9 !important;
}

.ms-feature-item i {
    font-size: 0.85rem !important;
}

.sidebar-action-btn {
    background: linear-gradient(135deg, #f8ec1f 0%, #f8ec1f 100%) !important;
    border: none !important;
    color: #0c1a3e !important;
    font-size: 0.78rem !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2) !important;
    transition: all 0.3s ease !important;
}

.sidebar-action-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.35) !important;
    background: linear-gradient(135deg, #d97706 0%, #f8ec1f 100%) !important;
    color: #ffffff !important;
}

/* Mega Menu Right Content Area */
.courses-mega-content {
    padding: 28px 28px 24px 28px !important;
}

.courses-dropdown-header-new {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin-bottom: 16px !important;
}

.courses-dropdown-header-new span:first-child {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.bg-primary-soft {
    background-color: rgba(37, 99, 235, 0.08) !important;
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
}

.courses-dropdown-list {
    max-height: 280px !important;
    padding-right: 6px !important;
}

/* Refined program cards inside the Courses mega menu */
.courses-dropdown-card {
    border-radius: 18px !important;
    background: #ffffff !important;
}

.courses-mega-content {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border-top-right-radius: 18px !important;
    border-bottom-right-radius: 18px !important;
}

.courses-dropdown-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.courses-dropdown-item {
    min-height: 104px !important;
    padding: 18px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg, #ffffff 0%, #fbfdff 100%) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04) !important;
    position: relative !important;
    overflow: hidden !important;
}

.courses-dropdown-item::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 14px !important;
    bottom: 14px !important;
    width: 3px !important;
    border-radius: 0 8px 8px 0 !important;
    background: transparent !important;
    opacity: 0 !important;
    transition: opacity 0.22s ease !important;
}

.courses-dropdown-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09) !important;
}

.courses-dropdown-item:hover::before {
    opacity: 1 !important;
}

.course-dropdown-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.22rem !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65) !important;
    transition: all 0.22s ease !important;
}

.course-dropdown-info {
    min-width: 0 !important;
    flex: 1 !important;
}

.course-dropdown-name {
    display: block !important;
    color: #172033 !important;
    font-size: 0.86rem !important;
    font-weight: 850 !important;
    line-height: 1.28 !important;
    letter-spacing: 0.01em !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
}

.course-dropdown-desc {
    display: block !important;
    color: #010049 !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.courses-dropdown-item.item-blue::before { background: #2563eb !important; }
.courses-dropdown-item.item-purple::before { background: #7c3aed !important; }
.courses-dropdown-item.item-orange::before { background: #d97706 !important; }
.courses-dropdown-item.item-cyan::before { background: #0891b2 !important; }
.courses-dropdown-item.item-green::before { background: #059669 !important; }

/* Refined courses menu responsive fallback */
@media (max-width: 991.98px) {
    .courses-mega-content {
        border-radius: 14px !important;
        padding: 18px !important;
    }

    .courses-dropdown-list {
        grid-template-columns: 1fr !important;
        max-height: 360px !important;
    }

    .courses-dropdown-item {
        min-height: 88px !important;
        padding: 14px 16px !important;
    }

    .course-dropdown-icon {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
    }
}
/* Grid Items dynamic theme hover states */
.courses-dropdown-item {
    border: 1px solid rgba(11, 61, 145, 0.08) !important;
    transition: all 0.25s ease !important;
}

/* Blue Theme Hover */
.courses-dropdown-item.item-blue:hover {
    background: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.25) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;
}
.courses-dropdown-item.item-blue:hover .course-dropdown-name {
    color: #2563eb !important;
}
.courses-dropdown-item.item-blue:hover .course-dropdown-icon {
    background: rgba(59, 130, 246, 0.18) !important;
    color: #1d4ed8 !important;
}

/* Purple Theme Hover */
.courses-dropdown-item.item-purple:hover {
    background: #ffffff !important;
    border-color: rgba(139, 92, 246, 0.25) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;
}
.courses-dropdown-item.item-purple:hover .course-dropdown-name {
    color: #7c3aed !important;
}
.courses-dropdown-item.item-purple:hover .course-dropdown-icon {
    background: rgba(139, 92, 246, 0.18) !important;
    color: #6d28d9 !important;
}

/* Orange Theme Hover */
.courses-dropdown-item.item-orange:hover {
    background: #ffffff !important;
    border-color: rgba(245, 158, 11, 0.25) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;
}
.courses-dropdown-item.item-orange:hover .course-dropdown-name {
    color: #d97706 !important;
}
.courses-dropdown-item.item-orange:hover .course-dropdown-icon {
    background: rgba(245, 158, 11, 0.18) !important;
    color: #b45309 !important;
}

/* Cyan Theme Hover */
.courses-dropdown-item.item-cyan:hover {
    background: #ffffff !important;
    border-color: rgba(6, 182, 212, 0.25) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;
}
.courses-dropdown-item.item-cyan:hover .course-dropdown-name {
    color: #0891b2 !important;
}
.courses-dropdown-item.item-cyan:hover .course-dropdown-icon {
    background: rgba(6, 182, 212, 0.18) !important;
    color: #0f766e !important;
}

/* Green Theme Hover */
.courses-dropdown-item.item-green:hover {
    background: #ffffff !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05) !important;
}
.courses-dropdown-item.item-green:hover .course-dropdown-name {
    color: #059669 !important;
}
.courses-dropdown-item.item-green:hover .course-dropdown-icon {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #047857 !important;
}

/* Final shared hover depth for refined courses cards */
.courses-dropdown-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09) !important;
}

/* Base background overrides for course-dropdown-icon based on color classes */
.course-dropdown-icon.color-blue {
    background: rgba(59, 130, 246, 0.09) !important;
    color: #2563eb !important;
}
.course-dropdown-icon.color-purple {
    background: rgba(139, 92, 246, 0.09) !important;
    color: #7c3aed !important;
}
.course-dropdown-icon.color-orange {
    background: rgba(245, 158, 11, 0.09) !important;
    color: #d97706 !important;
}
.course-dropdown-icon.color-cyan {
    background: rgba(6, 182, 212, 0.09) !important;
    color: #0891b2 !important;
}
.course-dropdown-icon.color-green {
    background: rgba(16, 185, 129, 0.09) !important;
    color: #059669 !important;
}

/* Bottom divider line for courses mega menu button area */
.courses-divider {
    border-top: 1px solid rgba(11, 61, 145, 0.1) !important;
}

/* Remove main menu link hover backgrounds and force darker amber text/icon color for all items except Home */
.navbar-top .navbar-nav .nav-item .nav-link:not(.nav-link-home):hover,
.navbar-top .navbar-nav .nav-item .nav-link:not(.nav-link-home):focus,
.navbar-top .navbar-nav .nav-item .nav-link:not(.nav-link-home).show,
.navbar-top .navbar-nav .nav-item .nav-link:not(.nav-link-home).active {
    background: transparent !important;
    background-color: transparent !important;
    color: #d6a400 !important;
}

.navbar-top .navbar-nav .nav-item .nav-link:not(.nav-link-home):hover i,
.navbar-top .navbar-nav .nav-item .nav-link:not(.nav-link-home):focus i,
.navbar-top .navbar-nav .nav-item .nav-link:not(.nav-link-home).show i,
.navbar-top .navbar-nav .nav-item .nav-link:not(.nav-link-home).active i {
    color: #d6a400 !important;
}



/* Custom gold-yellow background for warning buttons */
.btn-warning,
.sidebar-action-btn,
html[data-theme='light'] .btn-warning,
html[data-theme='light'] .sidebar-action-btn {
    background: #f8ec1f !important;
    border-color: #f8ec1f !important;
    color: #0b1f33 !important; /* High contrast dark text */
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(255, 211, 61, 0.3) !important;
    transition: all 0.3s ease !important;
}

/* Explicit alignment fixes for Courses Dropdown sidebar action button */
.sidebar-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    line-height: 1.5 !important;
}

.btn-warning:hover,
.btn-warning:focus,
.sidebar-action-btn:hover,
.sidebar-action-btn:focus,
html[data-theme='light'] .btn-warning:hover,
html[data-theme='light'] .btn-warning:focus,
html[data-theme='light'] .sidebar-action-btn:hover,
html[data-theme='light'] .sidebar-action-btn:focus {
    background: #1a222d !important;
    border-color: #1a222d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(26, 34, 45, 0.35) !important;
}




/* Newly Registered Student Cards Styling */
.student-card.registered-student-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%) !important;
    border-left: 4px solid #3b82f6 !important;
    border-top: 1px solid rgba(59, 130, 246, 0.08) !important;
    border-right: 1px solid rgba(59, 130, 246, 0.08) !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease !important;
}
.student-card.registered-student-card:hover {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.08) !important;
}

/* Placed Student Cards Styling */
.student-card.placed-student-card {
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%) !important;
    border-left: 4px solid #f8ec1f !important;
    border-top: 1px solid rgba(255, 211, 61, 0.08) !important;
    border-right: 1px solid rgba(255, 211, 61, 0.08) !important;
    border-bottom: 1px solid rgba(255, 211, 61, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease !important;
}
.student-card.placed-student-card:hover {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 8px 25px rgba(255, 211, 61, 0.08) !important;
}


/* Premium gradient for main menu link text */
html[data-theme='light'] .navbar-top .navbar-nav .nav-item .nav-link {
    color: #010049 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    font-weight: 700 !important;
}

html[data-theme='light'] .navbar-top .navbar-nav .nav-item .nav-link i {
    color: #010049 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

/* Override hover state to restore solid darker amber text/icon color */
.navbar-top .navbar-nav .nav-item .nav-link:hover {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #d6a400 !important;
    color: #d6a400 !important;
}

.navbar-top .navbar-nav .nav-item .nav-link:hover i {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #d6a400 !important;
    color: #d6a400 !important;
}

/* Force active/selected states to maintain default brand color #010049 (no yellow highlight) */
html[data-theme='light'] .navbar-top .navbar-nav .nav-item .nav-link.active,
html[data-theme='light'] .navbar-top .navbar-nav .nav-item .nav-link.show,
html[data-theme='light'] .navbar-top .navbar-nav .nav-item .nav-link:focus {
    color: #010049 !important;
    -webkit-text-fill-color: #010049 !important;
}

html[data-theme='light'] .navbar-top .navbar-nav .nav-item .nav-link.active i,
html[data-theme='light'] .navbar-top .navbar-nav .nav-item .nav-link.show i,
html[data-theme='light'] .navbar-top .navbar-nav .nav-item .nav-link:focus i {
    color: #010049 !important;
    -webkit-text-fill-color: #010049 !important;
}




/* Premium unique styling for verification report footer actions (back/print buttons and success badges) */
html[data-theme='light'] .report-actions {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px 24px !important;
    margin-top: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

html[data-theme='light'] .report-back-btn,
html[data-theme='light'] .report-print-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}

html[data-theme='light'] .report-back-btn:hover,
html[data-theme='light'] .report-print-btn:hover {
    background: #010049 !important;
    border-color: #010049 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(1, 0, 73, 0.15) !important;
    transform: translateY(-1px) !important;
}

html[data-theme='light'] .report-back-btn i {
    color: #f8ec1f !important;
    font-size: 1.05rem !important;
    transition: transform 0.25s ease !important;
}

html[data-theme='light'] .report-back-btn:hover i {
    transform: translateX(-3px) !important;
}

html[data-theme='light'] .center-auth-note,
html[data-theme='light'] .report-view-only-note {
    background: transparent !important;
    color: #15803d !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

html[data-theme='light'] .center-auth-note i,
html[data-theme='light'] .report-view-only-note i {
    color: #15803d !important;
    font-size: 1.15rem !important;
}

/* Smooth Topbar Background Gradient Animation keyframes */
@keyframes topbarGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Dark Mode overrides for premium-dropdown-item:hover */
html[data-theme='dark'] .premium-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    transform: translateY(-1px) !important;
}


/* About Us Section Image Hover Glow Effect */
.about-us img,
.about-us-page img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.about-us img:hover,
.about-us-page img:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 20px 40px rgba(1, 0, 73, 0.18), 0 0 25px rgba(21, 69, 156, 0.35) !important;
}

/* Custom Override: Set the entire footer background to #010049 */
footer,
html[data-theme='light'] footer,
html[data-theme='dark'] footer {
    background: #010049 !important;
}

footer .footer-top,
footer .km-bottom-wrapper,
footer .km-bottom,
footer .buttom-footer,
html[data-theme='light'] footer .footer-top,
html[data-theme='light'] footer .buttom-footer,
html[data-theme='dark'] footer .footer-top,
html[data-theme='dark'] footer .buttom-footer {
    background: transparent !important;
}

/* Mobile responsive and color QA guardrails */
@media (max-width: 767.98px) {
    html,
    body {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .top-header .container,
    .navbar-top .container,
    .inner-page-hero .container,
    main > .container,
    section > .container,
    footer .container {
        width: min(100% - 24px, var(--scs-container, 1180px)) !important;
        max-width: calc(100vw - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .navbar-top .navbar {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .navbar-top .navbar-brand {
        margin-left: 0 !important;
        min-width: 0 !important;
    }

    .navbar-top .navbar-brand img,
    .navbar-brand img {
        width: min(150px, 45vw) !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .navbar-toggler {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: auto !important;
        flex: 0 0 auto !important;
    }

    .navbar-collapse {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    .page-index .slider-area,
    .page-index .slider-height {
        width: 100% !important;
        overflow: hidden !important;
    }

    .page-index .slider__caption {
        width: min(100%, 356px) !important;
        max-width: calc(100vw - 28px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
    }

    .page-index .hero-english-title,
    .page-index .hero-hindi-title,
    .page-index .slider__caption p,
    .inner-page-hero h1,
    .inner-page-hero p {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        white-space: normal !important;
    }

    .page-index .slider__caption p {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .page-index .slider__btn {
        width: 100% !important;
        justify-content: center !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }

    .page-index .slider__btn .btn {
        min-width: min(150px, calc(50vw - 22px)) !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    .inner-page-hero {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: hidden !important;
    }

    .inner-page-hero h1 {
        font-size: clamp(1.85rem, 9vw, 2.4rem) !important;
        line-height: 1.14 !important;
    }

    .inner-page-hero p {
        font-size: 0.94rem !important;
        line-height: 1.65 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .inner-page-hero-action-btn,
    .inner-page-hero-badge {
        max-width: 100% !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .page-courses main > .container > form,
    .page-franchise-list main > .container > form {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .page-courses .search-input-group,
    .page-courses .search-input-group .form-control,
    .page-courses .form-select,
    .page-franchise-list .form-control,
    .page-franchise-list .form-select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .page-courses .search-input-group .form-control {
        padding-right: 14px !important;
        text-overflow: ellipsis !important;
    }

    .page-bank_details main .card,
    .page-contact main .card,
    .page-contact .contact-card,
    .page-contact .contact-info {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .page-bank_details main .card > .text-white h3,
    .page-contact h1,
    .page-contact h2,
    .page-contact h3 {
        overflow-wrap: anywhere !important;
        white-space: normal !important;
    }
}

@media (max-width: 420px) {
    .page-index .slider__caption {
        width: min(100%, 340px) !important;
    }

    .page-index .slider__btn {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }

    .page-index .slider__btn .btn {
        width: 100% !important;
        min-width: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}
/* Final mobile overflow containment pass */
@media (max-width: 767.98px) {
    body {
        width: 100% !important;
        position: relative !important;
    }

    .top-header,
    .navbar-top,
    .slider-area,
    .ticker-wrap,
    .inner-page-hero,
    main,
    footer {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .container,
    .container-fluid,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: calc(100vw - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        --bs-gutter-x: 1rem;
    }

    .row > * {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .top-header .row,
    .navbar-top .row,
    .slider-area .row {
        width: 100% !important;
    }

    .topbar-marquee-column,
    .topbar-actions-column,
    .top-social,
    .topbar-marquee,
    .topbar-marquee-window,
    .ticker-content-box,
    .ticker-items {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .inner-page-hero h1,
    .inner-page-hero p,
    .page-bank_details main .card h3,
    .page-contact .inner-page-hero h1,
    .page-contact .inner-page-hero p,
    .page-courses .inner-page-hero h1,
    .page-courses .inner-page-hero p {
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
        white-space: normal !important;
    }

    .page-bank_details main .card h3 {
        font-size: clamp(1.35rem, 7vw, 1.75rem) !important;
        line-height: 1.2 !important;
    }

    .page-courses main > .container > form .row,
    .page-franchise-list main > .container > form .row {
        gap: 12px !important;
    }

    .page-courses main > .container > form .row > *,
    .page-franchise-list main > .container > form .row > * {
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .page-courses .search-input-group .form-control::placeholder {
        font-size: 0.92rem !important;
    }
}
/* Final targeted mobile typography cleanup after browser QA */
@media (max-width: 767.98px) {
    .top-header .container,
    .navbar-top .container,
    .inner-page-hero .container,
    .page-index .single-slider > .container {
        width: calc(100vw - 28px) !important;
        max-width: calc(100vw - 28px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .topbar-actions-column {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .top-header .top-social {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .top-support-btn {
        max-width: 138px !important;
        min-height: 34px !important;
        padding: 6px 12px !important;
        font-size: 0.78rem !important;
    }

    .page-index .slider__caption {
        width: 100% !important;
        max-width: 342px !important;
    }

    .page-index .hero-english-title,
    .page-index .hero-hindi-title {
        text-align: center !important;
        text-wrap: balance;
    }

    .page-index .hero-hindi-title {
        font-size: clamp(1.62rem, 7.2vw, 2rem) !important;
        line-height: 1.16 !important;
    }

    .page-index .slider__caption p {
        max-width: 330px !important;
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
    }

    .page-index .slider__btn {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 330px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .page-index .slider__btn .btn {
        min-width: 0 !important;
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 0.84rem !important;
    }

    .inner-page-hero {
        text-align: center !important;
    }

    .inner-page-hero h1 {
        max-width: 332px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: clamp(1.7rem, 7.4vw, 2rem) !important;
        line-height: 1.14 !important;
        text-wrap: balance;
    }

    .inner-page-hero p {
        max-width: 330px !important;
        font-size: 0.84rem !important;
        line-height: 1.55 !important;
    }

    .page-courses .inner-page-hero p,
    .page-our-courses .inner-page-hero p {
        max-width: 318px !important;
        font-size: 0.82rem !important;
    }

    .page-courses .search-input-group .form-control {
        padding-left: 42px !important;
        padding-right: 10px !important;
        font-size: 0.88rem !important;
    }

    .page-courses .search-input-group .form-control::placeholder {
        font-size: 0.82rem !important;
    }

    .page-bank_details main .card > .text-white {
        text-align: center !important;
    }

    .page-bank_details main .card h3 {
        max-width: 316px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: clamp(1.25rem, 6.3vw, 1.55rem) !important;
    }
}

/* Mobile clipping corrections for long titles and CTA buttons */
@media (max-width: 767.98px) {
    .page-index .slider__caption {
        max-width: calc(100vw - 56px) !important;
        overflow: visible !important;
    }

    .page-index .slider__caption p {
        max-width: 300px !important;
        overflow-wrap: anywhere !important;
    }

    .page-index .slider__btn {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 8px !important;
        max-width: 300px !important;
    }

    .page-index .slider__btn .btn {
        min-height: 48px !important;
        padding: 8px 8px !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }

    .page-index .slider__btn .btn.ms-3 {
        margin-left: 0 !important;
    }

    .inner-page-hero h1,
    .inner-page-hero p,
    .page-contact .inner-page-hero h1,
    .page-contact .inner-page-hero p,
    .page-bank_details .inner-page-hero h1,
    .page-bank_details .inner-page-hero p {
        display: block !important;
        max-width: 300px !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        white-space: normal !important;
    }

    .page-bank_details main .card > .text-white {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .page-bank_details main .card h3 {
        display: block !important;
        max-width: 285px !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        white-space: normal !important;
    }

    .page-bank_details main .card h3 i {
        display: block !important;
        margin: 0 auto 8px !important;
    }

    .page-contact .card h2,
    .page-contact .card h3,
    .page-contact .card p {
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }
}

/* Extra breathing room for 390px mobile viewport QA */
@media (max-width: 767.98px) {
    .page-index .slider__caption {
        max-width: 286px !important;
    }

    .page-index .slider__caption p {
        max-width: 276px !important;
        font-size: 0.78rem !important;
    }

    .page-index .slider__btn {
        max-width: 276px !important;
    }

    .page-index .slider__btn .btn {
        font-size: 0.76rem !important;
    }

    .page-courses .search-input-group .form-control {
        font-size: 0.82rem !important;
    }

    .page-courses .search-input-group .form-control::placeholder {
        font-size: 0.76rem !important;
    }

    .page-contact .contact-panel-heading,
    .page-contact .d-flex.align-items-center.gap-3 {
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .page-contact .contact-panel-heading > div,
    .page-contact .d-flex.align-items-center.gap-3 > div {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .page-contact .contact-panel-heading h4,
    .page-contact .contact-panel-heading p,
    .page-contact .d-flex.align-items-center.gap-3 h4,
    .page-contact .d-flex.align-items-center.gap-3 p {
        max-width: 220px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
}

/* Homepage ERP course drag-scroll */
.home-course-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 6px 18px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}
.home-course-scroll.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.home-course-scroll-item { min-width: 0; scroll-snap-align: start; }
.home-course-scroll-item .premium-course-card { height: 100%; }
.home-course-scroll img { -webkit-user-drag: none; user-drag: none; }
.home-course-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }
.home-course-scroll-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(1,0,73,.18);
    background: #fff; color: #010049; display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 16px rgba(1,0,73,.12); transition: .2s ease;
}
.home-course-scroll-btn:hover { background: #010049; color: #fff; transform: translateY(-2px); }
@media (max-width: 991.98px) { .home-course-scroll { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (max-width: 575.98px) {
    .home-course-scroll { grid-auto-columns: 88%; gap: 16px; padding-inline: 3px; }
    .home-course-scroll-controls { justify-content: center !important; }
}