@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ==========================================================================
   EDUBANDHU - UNIFIED MASTER STYLESHEET
   File: assets/css/style.css
   Consolidated from root style.css and assets/css/style.css
   ========================================================================== */

/* ==========================================================================
   EDUBANDHU GLOBAL FONT-FACE DEFINITIONS (GO FONT FAMILY)
   ========================================================================== */
@font-face {
    font-family: 'Go';
    src: url('../font/Go-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Italic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Medium.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Medium-Italic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Medium-Italic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Bold.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Bold-Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go';
    src: url('../font/Go-Bold-Italic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go Smallcaps';
    src: url('../font/Go-Smallcaps.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go Smallcaps';
    src: url('../font/Go-Smallcaps-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go Mono';
    src: url('../font/Go-Mono.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go Mono';
    src: url('../font/Go-Mono-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Go Mono';
    src: url('../font/Go-Mono-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Go Mono';
    src: url('../font/Go-Mono-Bold-Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* ──────────────────────────────────────────────────────────────────────────
   CORE GLOBAL THEME, TOKENS & BASE STYLES (FROM FORMER ROOT style.css)
   ────────────────────────────────────────────────────────────────────────── */
:root {
    --ed-font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-base: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ed-font-heading: 'Go', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Go', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bg-color: #D6E8EE;
    --neon-blue: #018ABE;
    --neon-purple: #02457A;
    --neon-green: #97CADB;
    --emerald-green: #10b981;
    --text-primary: #001B48;
    --text-secondary: #02457A;
    --surface: #ffffff;
    --body-bg: #D6E8EE;

    /* RGB channel variable tokens for transparency control */
    --neon-blue-rgb: 1, 138, 190;
    --neon-purple-rgb: 2, 69, 122;
    --neon-green-rgb: 151, 202, 219;
    --emerald-green-rgb: 16, 185, 129;

    /* Shared components variable tokens */
    --divider-bg: rgba(2, 69, 122, 0.1);
    --glass-icon-bg: rgba(1, 138, 190, 0.08);
    --glass-icon-border: rgba(1, 138, 190, 0.15);
    --badge-bg: rgba(2, 69, 122, 0.05);
    --badge-border: rgba(2, 69, 122, 0.1);

    /* Shadow line colors */
    --shadow-blue-dark: rgba(2, 69, 122, 0.08);
    --shadow-blue-medium: rgba(2, 69, 122, 0.05);
    --shadow-blue-light: rgba(2, 69, 122, 0.02);
    --shadow-line-bg: #97CADB;

    /* Leaderboard colors */
    --leaderboard-row-bg: rgba(255, 255, 255, 0.65);
    --leaderboard-hover-bg: rgba(255, 255, 255, 0.95);
    --leaderboard-header-bg: rgba(2, 69, 122, 0.06);

    /* Medals variable tokens */
    --gold-primary: #fbbf24;
    --gold-dark: #d97706;
    --gold-glow: rgba(245, 158, 11, 0.2);

    --silver-primary: #cbd5e1;
    --silver-dark: #64748b;
    --silver-glow: rgba(100, 116, 139, 0.15);

    --bronze-primary: #d97706;
    --bronze-dark: #b45309;
    --bronze-glow: rgba(217, 119, 6, 0.15);

    /* FAQs variable tokens */
    --faq-item-bg: rgba(255, 255, 255, 0.55);
    --faq-item-border: rgba(2, 69, 122, 0.12);
    --faq-hover-bg: rgba(255, 255, 255, 0.75);
    --faq-hover-border: rgba(2, 69, 122, 0.25);
    --arrow-filter: none;
}

html,
body {
    background-color: #D6E8EE;
    /* Light base color */
    color: var(--text-primary);
    font-family: var(--font-family-body, 'Poppins', sans-serif);
    min-height: 100vh;
    background-image:
        radial-gradient(circle at top left, rgba(1, 138, 190, 0.18), transparent 45%),
        radial-gradient(circle at top right, rgba(151, 202, 219, 0.3), transparent 45%),
        radial-gradient(circle at bottom center, rgba(2, 69, 122, 0.15), transparent 50%),
        radial-gradient(circle at center, #ffffff 0%, transparent 80%);
    background-size: 200% 200%;
    background-attachment: fixed;
    animation: gemini-glow 15s ease infinite alternate;
}

/* ==========================================================================
   GLOBAL HEADING TYPOGRAPHY (ONLY HEADINGS USE 'GO' FONT)
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading-h1, .heading-h2, .heading-h3, .heading-h4, .heading-h5, .heading-h6,
.brand-logo,
.logo-gradient,
.ed-section-title,
.ed-avail-course-title,
.ed-college-card-title,
.ed-course-hero-title,
.ranking-college-title,
.shortlist-course-title,
.eb-thankyou-title,
.modal-title,
.offcanvas-title,
.nav-brand-title {
    font-family: var(--ed-font-heading, 'Go', sans-serif) !important;
}

/* Body & text elements strictly inherit Poppins */
p, span, div, a, li, label, input, button, select, textarea, td, th {
    font-family: inherit;
}

@keyframes gemini-glow {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 100%;
    }
}


.paragraph-main {
    font-size: 18px;
    color: var(--text-secondary) !important;
    line-height: 1.6;
    letter-spacing: 0.1px;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

@media (max-width: 768px) {
    .paragraph-main {
        font-size: 13px;
    }
}

.heading-h3 {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: var(--neon-purple) !important;
}

.heading-h2 {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: var(--neon-purple) !important;
}

.heading-h4 {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--neon-purple) !important;
}

@media (max-width: 768px) {
    .heading-h2 {
        font-size: 22px !important;
    }

    .heading-h3 {
        font-size: 20px !important;
    }

    .heading-h4 {
        font-size: 18px !important;
    }
}

p {
    text-justify: inter-word;
    line-height: 1.7;
    hyphens: auto;
}


.paragraph,
.paragraph-sub,
.secondary-paragraph {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: 0.1px;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* course detail page card start */
.course-info-card {
    margin-bottom: 1.5rem !important;
}


.course-sub-head {
    font-size: 1.3rem !important;
}

.course-detail-feature-card {
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(2, 69, 122, 0.1);
}

.course-detail-image-wrap {
    height: 260px !important;
    background: #eaf4f7;
}

.course-detail-image {
    display: block;
    object-fit: cover;
}

.course-detail-card-body {
    display: flex;
    flex-direction: column;
}

.course-detail-card-title {
    color: var(--text-primary) !important;
    font-size: 1.6rem;
    line-height: 1.2;
    margin: 0;
}

.course-detail-total-fee {
    align-self: flex-end;
    margin-top: 1rem;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.2;
}




@media (max-width: 768px) {
    .course-detail-image-wrap {
        height: 260px;
    }

    .course-detail-card-title {
        font-size: 1.35rem;
    }

    .course-detail-total-fee {
        font-size: 1.25rem;
    }
}

/* course detail page card design end  */

.heading-line {
    width: 5px;
    height: 24px;
    background-color: var(--neon-blue);
    border-radius: 10px;
    margin-right: 8px;

}

/* course deatil page heading  */
.detail-heading {
    font-size: 2rem !important;
    font-weight: 500;
    color: var(--text-primary, #001B48) !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .detail-heading {
        font-size: 1.4rem !important;
    }
}

.text-primary {
    color: var(--text-secondary) !important;
}

.main-icons {
    font-size: 1rem !important;
    color: var(--neon-blue) !important;
    margin-right: 0.4rem !important;
}

.sub-heading {
    font-size: 20px !important;
    font-weight: 100 !important;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .sub-heading {
        font-size: 18px !important;
    }
}

/* Legacy paragraph styles removed and consolidated under .paragraph-description */

.read-more-btn {
    position: relative;
    overflow: hidden;
    color: #02457A;
    background: transparent;
    border: 1px solid rgba(2, 69, 122, 0.3);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Shine effect */
.read-more-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent);
    transform: skewX(-25deg);
    animation: shine 2.5s infinite;
}

/* Keep text above shine */
.read-more-btn {
    isolation: isolate;
}

.read-more-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    background: #02457A;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.read-more-btn:hover {
    color: #fff;
    border-color: #02457A;
}

.read-more-btn:hover::after {
    transform: scaleX(1);
}

@keyframes shine {
    0% {
        left: -120%;
    }

    45%,
    100% {
        left: 140%;
    }
}

.controller-btn {
    color: var(--text-primary) !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(2, 69, 122, 0.18) !important;
    font-size: 12px;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(2, 69, 122, 0.08);
    transition: all 0.25s ease;
    z-index: 5;
}

.controller-btn:hover {
    background-color: #f0f7ff !important;
    border-color: var(--neon-blue) !important;
    color: var(--neon-blue) !important;
    box-shadow: 0 4px 10px rgba(1, 138, 190, 0.18);
}

.controller-btn i {
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.controller-btn:hover i {
    color: var(--neon-blue);
}

.heading-text {
    background: linear-gradient(135deg, #0099ff 0%, #a855f7 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}


/* Nav styles */
.top-link {
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.top-link:hover {
    color: var(--neon-blue) !important;
}

.grid-icon {
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.grid-icon:hover {
    color: var(--neon-green);
}

.login-btn {
    background-color: var(--neon-blue);
    color: #ffffff !important;
    font-weight: 600;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: var(--neon-blue);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Logo */
.brand-logo {
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 5.5rem;
}

.hero-typing-wrap {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-typing {
    font-size: 40px !important;
    font-weight: 900;
    letter-spacing: -0.04em;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    color: var(--text-primary, #001B48) !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.hero-typing-line1 {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 0.2rem !important;
}

.hero-typing-prefix {
    display: inline-block !important;
    white-space: normal !important;
    color: var(--text-primary, #001B48) !important;
}

.hero-typing-line2 {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    color: var(--text-primary, #001B48) !important;
    column-gap: 0.5rem !important;
}

.hero-typing-line2-text {
    display: inline-block;
    color: var(--text-primary, #001B48);
}

.hero-typing-suffix-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    overflow: hidden;
    vertical-align: bottom;
    padding: 3px 0;
    margin: -3px 0;
}

.hero-typing-suffix {
    display: inline-block;
    min-width: 0;
    color: var(--text-primary, #001B48) !important;
    -webkit-text-fill-color: var(--text-primary, #001B48) !important;
    background: none;
    line-height: 1.2;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.hero-typing-suffix.is-hidden {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
}

.hero-typing-suffix.is-entering {
    opacity: 0 !important;
    transform: translateY(10px) !important;
    transition: none !important;
}

.logo-gradient {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-neon-purple {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-neon-blue {
    color: var(--neon-blue);
}

.text-neon-green {
    color: var(--neon-green);
}

/* Search Box */
.max-w-600 {
    max-width: 650px;
    width: 100%;
}

.search-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 250%;
    background: radial-gradient(ellipse, rgba(0, 153, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(25px);
    transition: all 0.5s ease;
}

.search-container:hover::before {
    width: 150%;
    height: 350%;
    background: radial-gradient(ellipse, rgba(0, 153, 255, 0.3) 0%, rgba(0, 120, 255, 0.1) 40%, transparent 75%);
    filter: blur(30px);
}

@media (max-width: 768px) {

    .search-container::before,
    .search-container:hover::before {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.search-input {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(2, 69, 122, 0.15);
    color: var(--text-primary);
    font-size: 1.1rem;
    height: 56px;
    transition: all 0.3s ease;
}

.search-input:focus {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(1, 138, 190, 0.15), inset 0 0 10px rgba(1, 138, 190, 0.05);
    color: var(--text-primary);
}

.search-input::placeholder {
    color: rgba(2, 69, 122, 0.6);
    font-weight: 300;
}


.search-icons-right {
    z-index: 10;
}

.search-icons-right i {
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.search-icons-right i:hover {
    transform: scale(1.25);
    filter: brightness(1.2);
}

.ai-mode-toggle {
    position: relative;
    background: transparent;
    border: none;
    color: #1f1f1f;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
    box-shadow: none;
    isolation: isolate;
    overflow: hidden;
    border-radius: 50rem;
}

.ai-mode-toggle::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 20%, rgba(0, 153, 255, 0.9) 50%, rgba(99, 102, 241, 0.9) 100%);
    z-index: -2;
    animation: ai-border-rotate 4s linear infinite;
    opacity: 0.9;
    transition: opacity 0.5s ease;
}

.ai-mode-toggle::after {
    content: "";
    position: absolute;
    inset: 1.5px;
    background: #f4f5f7;
    border-radius: inherit;
    z-index: -1;
    transition: inset 0.3s ease, background 0.3s ease;
}

.ai-mode-toggle:hover {
    transform: translateY(-2px);
}

.ai-mode-toggle:hover::before {
    opacity: 1;
}

.ai-mode-toggle:hover::after {
    background: #ffffff;
    inset: 2px;
}

@keyframes ai-border-rotate {
    100% {
        transform: rotate(360deg);
    }
}

.search-icons-right .ai-mode-toggle svg {
    margin-right: 2px;
    transform: none;
}

.search-icons-right .ai-mode-toggle:hover svg {
    transform: none;
    filter: none;
}

/* Shortcuts */
.shortcut-item {
    width: 90px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shortcut-item:hover {
    transform: translateY(-8px);
}

.shortcut-icon {
    width: 56px;
    height: 56px;
    background-color: var(--surface);
    border: 1px solid #27272a;
    transition: all 0.3s ease;
}

.icon-inner {
    transition: all 0.3s ease;
}

.shortcut-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    display: block;
    transition: color 0.3s ease;
}

.shortcut-item:hover .shortcut-text {
    color: #fff;
}

/* Hover effects */

.shadow-neon-purple {}

.shortcut-item:hover .shadow-neon-purple {
    background-color: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}

.shortcut-item:hover .shadow-neon-purple .icon-inner {}

.shadow-neon-green {}

.shortcut-item:hover .shadow-neon-green {
    background-color: rgba(56, 189, 248, 0.05);
    border-color: rgba(56, 189, 248, 0.3);
}

.shortcut-item:hover .shadow-neon-green .icon-inner {}

.shadow-hover {}

.shadow-hover:hover {
    background-color: #27272a !important;
    border-color: #52525b !important;
}

/* Custom Offcanvas */
.custom-offcanvas {
    background-color: #ffffff !important;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%) !important;
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(2, 69, 122, 0.1) !important;
    box-shadow: -10px 0 35px rgba(2, 69, 122, 0.12) !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.offcanvas-item {
    background-color: rgba(2, 69, 122, 0.04);
    border: 1px solid rgba(2, 69, 122, 0.08);
    transition: all 0.3s ease;
}

.offcanvas-item:hover {
    background-color: rgba(1, 138, 190, 0.08);
    border-color: rgba(1, 138, 190, 0.2);
    transform: translateX(-4px);
}

.offcanvas-item .icon-box {
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.1);
}

/* Category Cards */
.category-card .card-inner {
    background-color: rgba(24, 24, 27, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.category-card .cat-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: rgba(24, 24, 27, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--neon-blue);
    transition: all 0.4s ease;
}

.category-card .hover-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 153, 255, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.category-card:hover .card-inner {
    transform: translateY(-8px);
    border-color: rgba(0, 153, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 153, 255, 0.05);
}

.category-card:hover .hover-gradient {
    opacity: 1;
}

.category-card:hover .cat-icon-wrapper {
    background-color: var(--neon-blue);
    color: #000;
    transform: scale(1.1);
}

.transition-all {
    transition: all 0.3s ease;
}

.trending-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50rem;
    border: 1px solid #3f3f46;
    background-color: rgba(24, 24, 27, 0.6);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trending-pill:hover {
    border-color: rgba(0, 153, 255, 0.5);
    color: #fff;
    background-color: rgba(0, 153, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.15);
}

/* Global Viewport Overflow Containment (Prevents horizontal spill while preserving full native vertical scrolling) */
html {
    max-width: 100% !important;
    overflow-x: clip;
}

body {
    max-width: 100% !important;
    overflow-x: clip;
    position: relative;
}

/* Fallback for older browsers lacking clip support */
@supports not (overflow-x: clip) {
    body {
        overflow-x: hidden;
    }
}

/* Hero Wrapper */
.hero-wrapper {
    position: relative;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 88vh;
}

.global-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100vw;
    height: 100vh;
    background: radial-gradient(600px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
            rgba(0, 153, 255, 0.12) 0%,
            rgba(0, 100, 255, 0.05) 30%,
            transparent 70%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body:hover .global-glow {
    opacity: 1;
}

/* Earth Background Image */
.earth-background {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(55%);
    width: 800px;
    max-width: 100%;
    z-index: 0;
    pointer-events: none;
}

.earth-background img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
    opacity: 0.85;
    transform-origin: center center;
    -webkit-animation: earth-spin 60s linear infinite;
    animation: earth-spin 60s linear infinite;
    will-change: transform;
}

@media (max-width: 768px) {
    .earth-background {
        left: 50% !important;
        transform: translateX(-50%) translateY(45%) !important;
        width: 110% !important;
        max-width: 420px !important;
    }

    .earth-background img {
        width: 100% !important;
    }

    .hero-typing {
        white-space: normal;
        font-size: 1.2rem !important;
        line-height: 1.35 !important;
    }

    .hero-typing-wrap {
        min-height: 48px;
        margin-top: 0rem;
    }
}

@-webkit-keyframes earth-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes earth-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Click Ripple Effect */
.click-ripple {
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.4) 0%, rgba(0, 120, 255, 0.15) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    animation: ripple-expand 0.8s ease-out forwards;
}

@keyframes ripple-expand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

/* Glassmorphism Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(2, 69, 122, 0.12);
    box-shadow: 0 30px 60px rgba(2, 69, 122, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(2, 69, 122, 0.2);
    box-shadow: 0 40px 80px rgba(2, 69, 122, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

.float-anim-delay-1 {
    animation-delay: 1s;
}

.float-anim-delay-2 {
    animation-delay: 2s;
}

/* Enhanced Shortcut Sidebar */
.sidebar-pill {
    padding: 1.25rem 0.75rem;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
}

.shortcut-item {
    width: auto !important;
}

.shortcut-item .shortcut-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 0 !important;
}

/* 6-Item Shortcut Sidebar Pill */
.sidebar-pill-six {
    padding: 0.85rem 0.65rem !important;
}

.sidebar-pill-six .shortcut-item .shortcut-icon {
    width: 44px !important;
    height: 44px !important;
}

.sidebar-pill-six .shortcut-divider {
    margin: 0.35rem 0 !important;
    width: 26px !important;
}

/* ==========================================================================
   LEFT-HAND HERO SHORTCUTS DOCK (IMPROVED 6-ITEM PILL)
   ========================================================================== */
.hero-dock-wrapper {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%) !important;
    z-index: 10;
    animation: none !important;
}

@media (min-width: 1400px) {
    .hero-dock-wrapper {
        left: 2rem;
    }
}

.hero-dock-pill {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 0.75rem 0.55rem;
    box-shadow: 0 16px 40px rgba(2, 69, 122, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    transition: all 0.3s ease;
}

.hero-dock-pill:hover {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 48px rgba(2, 69, 122, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #FFFFFF;
}

.hero-dock-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 2px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.hero-dock-item:hover {
    transform: scale(1.06);
}

.hero-dock-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 27, 72, 0.04);
    transition: all 0.25s ease;
    font-size: 1.05rem;
}

.hero-dock-item:hover .hero-dock-icon {
    border-color: currentColor;
    box-shadow: 0 6px 18px rgba(2, 69, 122, 0.18);
    background: #FFFFFF;
}

/* Individual Icon Accents & Glow */
.hero-dock-icon.dock-institutes {
    color: #018ABE;
}

.hero-dock-item:hover .hero-dock-icon.dock-institutes {
    border-color: #018ABE;
    box-shadow: 0 6px 18px rgba(1, 138, 190, 0.32);
    background: #F0F9FF;
}

.hero-dock-icon.dock-courses {
    color: #02457A;
}

.hero-dock-item:hover .hero-dock-icon.dock-courses {
    border-color: #02457A;
    box-shadow: 0 6px 18px rgba(2, 69, 122, 0.32);
    background: #F0F7FD;
}

.hero-dock-icon.dock-exams {
    color: #0284C7;
}

.hero-dock-item:hover .hero-dock-icon.dock-exams {
    border-color: #0284C7;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.32);
    background: #F0F9FF;
}

.hero-dock-icon.dock-community {
    color: #0891B2;
}

.hero-dock-item:hover .hero-dock-icon.dock-community {
    border-color: #0891B2;
    box-shadow: 0 6px 18px rgba(8, 145, 178, 0.32);
    background: #ECFEFF;
}

.hero-dock-icon.dock-compare {
    color: #4F46E5;
}

.hero-dock-item:hover .hero-dock-icon.dock-compare {
    border-color: #4F46E5;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.32);
    background: #EEF2FF;
}

.hero-dock-icon.dock-cgpa {
    color: #059669;
}

.hero-dock-item:hover .hero-dock-icon.dock-cgpa {
    border-color: #059669;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.32);
    background: #ECFDF5;
}

.hero-dock-divider {
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(2, 69, 122, 0.15), transparent);
    margin: 0.3rem auto;
}

/* Tooltip Customization */
.custom-tooltip .tooltip-inner {
    background-color: #001B48 !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 24px rgba(0, 27, 72, 0.22) !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
}

.custom-tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #001B48 !important;
}

/* Staggered Right Cards */
.staggered-card {
    margin-right: -20px;
}

.right-card-enhanced .card-inner {
    padding: 1rem 1.25rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: none;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

/* Tooltip Customization */
.custom-tooltip .tooltip-inner {
    background-color: var(--surface);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    padding: 6px 12px;
    font-family: 'Go', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
}

.custom-tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: rgba(255, 255, 255, 0.1);
}

/* Premium Right Sidebar Cards */
.right-card-premium {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(2, 69, 122, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}

.right-card-premium:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(2, 69, 122, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.staggered-card:hover {
    transform: translateX(-15px) translateY(-5px) scale(1.02);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    /* Scale down the massive hero logo so it fits on mobile */
    .brand-logo:not(.fs-2) {
        font-size: 1.5rem !important;
    }

    /* Adjust search bar spacing for small screens */
    .search-input {
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
        padding-right: 3.5rem !important;
        font-size: 0.95rem;
    }

    /* Hide the text 'AI Mode' to save space, keeping just the sparkles icon */
    .search-icons-right span.fw-semibold {
        display: none !important;
    }

    .ai-mode-toggle {
        padding: 8px !important;
    }
}

/* ==========================================================================
   Responsive Navbar Logo & Brand
   ========================================================================== */
.navbar-brand {
    display: inline-flex !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-right: 0.75rem !important;
    line-height: 1 !important;
}

.navbar-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    max-height: 54px;
    object-fit: contain;
    transition: width 0.25s ease, max-height 0.25s ease;
}

@media (min-width: 1400px) {
    .navbar-logo {
        width: 280px;
        max-height: 58px;
    }
}

@media (max-width: 1199.98px) {
    .navbar-logo {
        width: 230px;
        max-height: 48px;
    }
}

@media (max-width: 991.98px) {
    .navbar-logo {
        width: 210px;
        max-height: 44px;
    }
}

@media (max-width: 767.98px) {
    .navbar-logo {
        width: 185px;
        max-height: 38px;
        max-width: 62vw;
    }
}

@media (max-width: 480px) {
    .navbar-logo {
        width: 165px;
        max-height: 34px;
        max-width: 58vw;
    }
}

@media (max-width: 360px) {
    .navbar-logo {
        width: 140px;
        max-height: 30px;
        max-width: 52vw;
    }
}

/* ==========================================================================
   Modern Navbar Toggler & Smooth Light Offcanvas
   ========================================================================== */

/* Modern Navbar Toggler Button */
.modern-nav-toggler {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4.5px !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(2, 69, 122, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(2, 69, 122, 0.05) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

@media (min-width: 992px) {

    .modern-nav-toggler,
    .navbar-toggler.modern-nav-toggler {
        display: none !important;
    }
}

.modern-nav-toggler:hover {
    background: #ffffff !important;
    border-color: var(--neon-blue) !important;
    box-shadow: 0 4px 14px rgba(1, 138, 190, 0.18) !important;
    transform: translateY(-1px);
}

.modern-nav-toggler:focus,
.modern-nav-toggler:active {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(1, 138, 190, 0.2), 0 4px 12px rgba(1, 138, 190, 0.1) !important;
    border-color: var(--neon-blue) !important;
}

.modern-nav-toggler .toggler-bar {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background-color: var(--text-primary) !important;
    border-radius: 2px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.modern-nav-toggler .toggler-bar.bar-middle {
    width: 14px !important;
    align-self: flex-start !important;
    margin-left: 11px !important;
}

.modern-nav-toggler:hover .toggler-bar {
    background-color: var(--neon-blue) !important;
}

.modern-nav-toggler:hover .toggler-bar.bar-middle {
    width: 20px !important;
    margin-left: 0 !important;
}

/* Offcanvas Ultra-Smooth Slide Transition */
.offcanvas.mobile-offcanvas {
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (max-width: 991.98px) {
    .mobile-offcanvas {
        background: #ffffff !important;
        background: linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%) !important;
        border: none !important;
        border-left: none !important;
        box-shadow: -5px 0 25px rgba(0, 27, 72, 0.15) !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: 1060 !important;
    }

    .mobile-offcanvas.show {
        visibility: visible !important;
    }

    /* Lift sticky navbar and toggler above backdrop when offcanvas is showing or open */
    .sticky-mobile-nav:has(.mobile-offcanvas.show),
    .sticky-mobile-nav:has(.mobile-offcanvas.showing),
    .sticky-mobile-nav:has(#offcanvasNavbar.show),
    .sticky-mobile-nav:has(#offcanvasNavbar.showing),
    body.eb-offcanvas-open .sticky-mobile-nav {
        z-index: 1060 !important;
    }

    .offcanvas-backdrop {
        z-index: 1050 !important;
        touch-action: none !important;
    }

    /* Complete body & html scroll freeze when mobile offcanvas is open */
    html.eb-offcanvas-open,
    body.eb-offcanvas-open,
    html:has(.mobile-offcanvas.show),
    body:has(.mobile-offcanvas.show),
    html:has(#offcanvasNavbar.show),
    body:has(#offcanvasNavbar.show) {
        overflow: hidden !important;
        height: 100% !important;
        max-height: 100% !important;
        touch-action: none !important;
        overscroll-behavior: none !important;
    }

    body.eb-offcanvas-open {
        position: fixed !important;
        width: 100% !important;
    }

    /* Hide sticky mobile Apply Now button when offcanvas is open */
    body:has(.mobile-offcanvas.show) .mobile-apply-bar,
    body:has(.mobile-offcanvas.showing) .mobile-apply-bar,
    body:has(#offcanvasNavbar.show) .mobile-apply-bar,
    body:has(#offcanvasNavbar.showing) .mobile-apply-bar,
    body.eb-offcanvas-open .mobile-apply-bar {
        display: none !important;
    }

    .mobile-offcanvas .offcanvas-header {
        border-bottom: 1px solid rgba(2, 69, 122, 0.08) !important;
        padding: 1.25rem 1.5rem !important;
    }

    .mobile-offcanvas .offcanvas-title {
        color: var(--text-primary) !important;
    }

    .mobile-offcanvas .btn-close {
        opacity: 0.65;
        padding: 0.6rem;
        border-radius: 10px;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        background-size: 0.85em;
    }

    .mobile-offcanvas .btn-close:hover {
        opacity: 1;
        background-color: rgba(2, 69, 122, 0.08);
        transform: rotate(90deg);
    }

    .mobile-offcanvas .offcanvas-body {
        padding: 1.25rem 1.5rem !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        overscroll-behavior: contain !important;
    }

    /* Left-align mobile offcanvas menu */
    .mobile-offcanvas .navbar-nav:first-child {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .mobile-offcanvas .navbar-nav:first-child .nav-item {
        width: 100% !important;
        text-align: left !important;
    }

    .mobile-offcanvas .top-link {
        color: var(--text-primary) !important;
        font-size: 1.05rem !important;
        font-weight: 500 !important;
        padding: 11px 16px !important;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-offcanvas .top-link:hover {
        color: var(--neon-blue) !important;
        background-color: rgba(1, 138, 190, 0.08) !important;
        transform: translateX(5px);
    }

    .mobile-offcanvas .top-link.active {
        color: var(--neon-blue) !important;
        font-weight: 700 !important;
        background-color: rgba(1, 138, 190, 0.12) !important;
        border-left: 3.5px solid var(--neon-blue);
    }

    /* Staggered smooth animation for links when drawer opens */
    .mobile-offcanvas.show .navbar-nav:first-child .nav-item {
        animation: offcanvasNavSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .mobile-offcanvas.show .navbar-nav:first-child .nav-item:nth-child(1) {
        animation-delay: 0.05s;
    }

    .mobile-offcanvas.show .navbar-nav:first-child .nav-item:nth-child(2) {
        animation-delay: 0.09s;
    }

    .mobile-offcanvas.show .navbar-nav:first-child .nav-item:nth-child(3) {
        animation-delay: 0.13s;
    }

    .mobile-offcanvas.show .navbar-nav:first-child .nav-item:nth-child(4) {
        animation-delay: 0.17s;
    }

    .mobile-offcanvas.show .navbar-nav:first-child .nav-item:nth-child(5) {
        animation-delay: 0.21s;
    }

    .mobile-offcanvas.show .navbar-nav:first-child .nav-item:nth-child(6) {
        animation-delay: 0.25s;
    }

    .mobile-offcanvas .navbar-nav:last-child {
        width: 100% !important;
        margin-top: auto !important;
    }

    .mobile-offcanvas .navbar-nav:last-child .nav-item {
        width: 100% !important;
    }

    .mobile-offcanvas .navbar-nav:last-child .primary-btn {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
    }

    .mobile-offcanvas.show .navbar-nav:last-child {
        animation: offcanvasNavSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
        animation-delay: 0.28s;
    }
}

/* ==========================================================================
   Mobile Bottom Navigation Dock (Light Theme)
   ========================================================================== */
.mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none !important;
    border-top: 1px solid rgba(2, 69, 122, 0.1) !important;
    border-top-left-radius: 22px !important;
    border-top-right-radius: 22px !important;
    box-shadow: none !important;
    padding: 7px 4px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 1040;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-container {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2px 2px;
    color: #64748b;
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-item:active {
    transform: scale(0.92);
}

.nav-divider {
    width: 1px;
    height: 28px;
    background: rgba(2, 69, 122, 0.06);
    align-self: center;
    flex-shrink: 0;
}

.nav-icon-box {
    width: 36px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #64748b;
    background: transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.mobile-nav-item:hover .nav-icon-box {
    color: var(--neon-blue);
    transform: translateY(-2px);
}

.mobile-nav-item.active .nav-icon-box {
    background: rgba(1, 138, 190, 0.12) !important;
    color: var(--neon-blue) !important;
    box-shadow: none !important;
    border: 1px solid rgba(1, 138, 190, 0.2) !important;
    transform: translateY(-2px);
}

/* Center Elevated Apply Now Button */
.mobile-nav-item.center-elevated-item {
    position: relative;
    z-index: 10;
    margin-top: -16px;
    padding-top: 0;
}

.center-fab-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #02457A 0%, #018ABE 55%, #00d2ff 100%) !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: none !important;
    border: 3.5px solid #ffffff !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.center-fab-button i {
    transform: translate(-1px, 1px);
}

.mobile-nav-item.center-elevated-item:hover .center-fab-button {
    transform: scale(1.08);
    box-shadow: none !important;
}

.mobile-nav-item.center-elevated-item:active .center-fab-button {
    transform: scale(0.94);
}

.mobile-nav-item.center-elevated-item .nav-label {
    margin-top: 3px;
    color: var(--text-primary) !important;
    font-weight: 700 !important;
}

.nav-icon-box.edubandhu-badge {
    background: linear-gradient(135deg, #018ABE 0%, #00b4d8 100%) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

.mobile-nav-item:hover .nav-icon-box.edubandhu-badge {
    transform: translateY(-2px);
    box-shadow: none !important;
}

.sathi-bubble {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.62rem;
    color: var(--neon-blue);
    background: #ffffff;
    border: 1.5px solid var(--neon-blue);
    border-radius: 50%;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: none !important;
    animation: sathiPulse 2s infinite ease-in-out;
}

@keyframes sathiPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }
}

.mobile-nav-item .nav-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: -0.1px;
    color: #64748b;
    margin-top: 3px;
    transition: color 0.2s ease;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
}

.mobile-nav-item .nav-label.text-primary-nav {
    color: var(--text-primary);
    font-weight: 700;
}

.mobile-nav-item:hover .nav-label,
.mobile-nav-item.active .nav-label {
    color: var(--neon-blue) !important;
    font-weight: 700;
}

@media (max-width: 380px) {
    .mobile-nav-item .nav-label {
        font-size: 0.56rem;
    }

    .nav-icon-box {
        width: 32px;
        height: 32px;
        font-size: 1.05rem;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

@keyframes offcanvasNavSlide {
    from {
        opacity: 0;
        transform: translateX(18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Offcanvas Backdrop Smooth Fade */
.offcanvas-backdrop.fade {
    opacity: 0;
    transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.offcanvas-backdrop.show {
    opacity: 1 !important;
    background-color: rgba(0, 27, 72, 0.35) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

/* ==========================================================================
   Navbar Utilities & Scrolled Sticky State
   ========================================================================== */
.sticky-mobile-nav.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 27, 72, 0.08) !important;
}

.eb-nav-search-btn {
    background: rgba(2, 69, 122, 0.05);
    border: 1px solid rgba(2, 69, 122, 0.12);
    color: #02457A;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.eb-nav-search-btn:hover {
    background: rgba(1, 138, 190, 0.1);
    border-color: rgba(1, 138, 190, 0.3);
    color: #018ABE;
}

.eb-modal-icon-badge {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
}

/* ==========================================================================
   EDUBANDHU APPLY NOW MODAL - MODERN COMPACT & RESPONSIVE DESIGN
   ========================================================================== */
.eb-apply-modal .modal-dialog {
    max-width: 490px;
    margin: 1.15rem auto;
}

.eb-apply-modal-content {
    background: #ffffff !important;
    border: 1px solid rgba(1, 138, 190, 0.18) !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 55px rgba(0, 27, 72, 0.22) !important;
    overflow: hidden !important;
    max-height: calc(100vh - 2.5rem) !important;
    display: flex !important;
    flex-direction: column !important;
}

.eb-apply-modal-header {
    background: linear-gradient(135deg, #f8fbfd 0%, #edf6fa 100%) !important;
    border-bottom: 1px solid rgba(2, 69, 122, 0.08) !important;
    padding: 0.85rem 1.25rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.eb-apply-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #018ABE 0%, #02457A 100%);
    box-shadow: 0 4px 12px rgba(1, 138, 190, 0.28);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.eb-apply-modal-title {
    font-weight: 700;
    color: #001B48;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.2;
}

.eb-apply-modal-sub {
    font-size: 0.73rem;
    color: #02457A;
    opacity: 0.85;
    margin: 2px 0 0 0;
    line-height: 1.2;
}

.eb-apply-modal-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(2, 69, 122, 0.06);
    border: none;
    color: #02457A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.eb-apply-modal-close:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    transform: rotate(90deg);
}

.eb-apply-modal-body {
    padding: 0.9rem 1.25rem 1.15rem !important;
    background: #ffffff;
    overflow-y: auto !important;
    max-height: calc(90vh - 65px) !important;
}

.eb-form-group {
    position: relative;
}

.eb-form-label {
    display: block;
    font-weight: 600;
    font-size: 0.74rem;
    color: #334155;
    margin-bottom: 3px;
    letter-spacing: 0.2px;
}

.eb-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.eb-field-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #018ABE;
    font-size: 0.82rem;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 2;
}

.eb-form-input {
    width: 100% !important;
    background-color: #f8fafc !important;
    border: 1.2px solid rgba(2, 69, 122, 0.14) !important;
    border-radius: 10px !important;
    padding: 0.44rem 0.75rem 0.44rem 2.25rem !important;
    font-size: 0.86rem !important;
    font-weight: 500 !important;
    color: #001B48 !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

select.eb-form-input {
    cursor: pointer;
    background-position: right 0.75rem center;
    background-size: 14px 10px;
}

.eb-form-input:disabled {
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    opacity: 0.75;
}

.eb-form-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.82rem;
}

.eb-input-wrapper:focus-within .eb-field-icon {
    color: #02457A;
    transform: translateY(-50%) scale(1.1);
}

.eb-form-input:focus {
    background-color: #ffffff !important;
    border-color: #018ABE !important;
    box-shadow: 0 0 0 3px rgba(1, 138, 190, 0.12) !important;
    outline: none !important;
}

.eb-btn-apply-submit {
    background: linear-gradient(135deg, #018ABE 0%, #02457A 100%) !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 0.55rem 1.25rem !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(1, 138, 190, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
    cursor: pointer;
}

.eb-btn-apply-submit:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(1, 138, 190, 0.4) !important;
    background: linear-gradient(135deg, #001B48 0%, #018ABE 100%) !important;
    color: #ffffff !important;
}

.eb-btn-apply-submit:active {
    transform: translateY(0) scale(0.99) !important;
}

.eb-btn-arrow {
    transition: transform 0.25s ease;
}

.eb-btn-apply-submit:hover .eb-btn-arrow {
    transform: translateX(3px);
}

.eb-modal-trust-note {
    font-size: 0.72rem;
    color: #02457A;
    opacity: 0.85;
}

@media (max-width: 575.98px) {
    .eb-apply-modal .modal-dialog {
        margin: 0.75rem auto;
        max-width: calc(100% - 1.5rem);
    }

    .eb-apply-modal-header {
        padding: 1rem 1.15rem !important;
    }

    .eb-apply-modal-body {
        padding: 1.15rem 1.15rem !important;
    }

    .eb-apply-modal-title {
        font-size: 1.1rem;
    }

    .eb-apply-icon-badge {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .eb-form-input {
        padding-top: 0.58rem !important;
        padding-bottom: 0.58rem !important;
        font-size: 0.88rem !important;
    }

    .eb-btn-apply-submit {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.92rem !important;
    }
}



/* Colleges Page Specifics */
.custom-check .form-check-input {
    background-color: #ffffff !important;
    border: 1.5px solid rgba(2, 69, 122, 0.35) !important;
    border-radius: 5px !important;
}

.custom-check .form-check-input:checked {
    background-color: var(--neon-blue) !important;
    border-color: var(--neon-blue) !important;
}

.badge-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    font-weight: 500;
}

/* Infinite Scrolling Marquee */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-set {
    flex-shrink: 0;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.card-block {
    flex-shrink: 0;
    height: 400px;
}

/* Premium Carousel Card (Glass Box Design) */
.premium-carousel-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.premium-carousel-card:hover {
    transform: translateY(-8px);
}

@keyframes card-breathing {
    0% {
        transform: scale(1.02);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.02);
    }
}

.premium-carousel-card .card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease, filter 0.5s ease;
    z-index: 1;
    animation: card-breathing 15s ease-in-out infinite;
}

.premium-carousel-card:hover .card-bg-image {
    filter: brightness(1.15) saturate(1.1);
}

.card-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.premium-carousel-card:hover .card-overlay-gradient {
    opacity: 0.4;
}

.card-content-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(2, 69, 122, 0.2) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-carousel-card:hover .card-content-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)) !important;
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.3) !important;
}

.explore-btn {
    background: #6366f1;
    color: white !important;
    border: none;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    transform: scale(1.05);
}

.card-details-reveal {
    max-height: 120px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out 0.1s;
}

.premium-carousel-card:hover .card-details-reveal {
    max-height: 120px;
    opacity: 1;
}

/* College Marquee Styles */
.marquee-container {
    width: 100vw;
    position: relative;
    display: flex;
    overflow: hidden;
    padding: 10px 0;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    width: max-content;
    padding: 0 5vw;
    /* Add some padding so it doesn't touch the very edges of the screen */
}

.college-badge {
    font-size: 1.25rem;
    /* Increased font size */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    letter-spacing: 0.5px;
}

.college-badge:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(0, 153, 255, 0.5) !important;
    color: var(--neon-blue) !important;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.15), rgba(0, 153, 255, 0.05)) !important;
}

/* Animated Tech Course Card Styles */
.tech-course-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.03);
    isolation: isolate;
    border-radius: 20px !important;
    min-height: 260px !important;
}

@media screen and (max-width:1448px) {
    .tech-course-card {
        min-height: 202px !important;
    }
}

@media screen and (max-width:768px) {
    .tech-course-card {
        min-height: 200px !important;
    }
}

.tech-course-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: none;
}

.tech-card-bg {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 40%, var(--card-color) 50%, transparent 60%, transparent 100%);
    animation: none !important;
    opacity: 0.3;
    /* Subtle glow when not hovering */
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tech-course-card:hover .tech-card-bg {
    opacity: 1;
    animation: none !important;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.tech-card-inner {
    background: #0d0d12;
    border-radius: 18px !important;
    backdrop-filter: blur(20px);
}

.tech-course-card:hover .icon-box i {
    animation: pulseIcon 1.5s infinite;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.tech-course-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-course-card:hover .tech-course-btn {
    background: var(--card-color);
    color: #fff;
    border-color: var(--card-color);
}

/* Card Entrance Animation */
.course-card-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.trending-courses-row.in-view .course-card-animate,
.category-row.in-view .course-card-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Category Card Premium Hover */
.category-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(2, 69, 122, 0.12);
    box-shadow: 0 15px 35px rgba(2, 69, 122, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: all 0.6s ease;
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--neon-blue);
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(1, 138, 190, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.category-card:hover::after {
    left: 200%;
}

.category-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(1, 138, 190, 0.08);
    border: 1px solid rgba(1, 138, 190, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover .category-icon-box {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    transform: translateY(-5px) scale(1.1);
}

.category-card:hover .category-icon-box i {
    color: #ffffff !important;
}

/* Location Cards */
.location-row {
    position: relative;
    z-index: 2;
}

.location-card-wrapper {
    opacity: 1;
    transform: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.location-card-wrapper.in-view {
    opacity: 1;
    transform: none;
}

.location-card {
    aspect-ratio: 4 / 4.9;
    min-height: 185px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 18px !important;
}

@media (max-width: 575.98px) {
    .location-card {
        aspect-ratio: 16 / 9;
    }
}

@media (min-width: 992px) {
    .location-card {
        aspect-ratio: 1 / 1;
        min-height: auto;
        border-radius: 20px !important;
    }
}



.location-card:hover {
    border-color: var(--neon-blue) !important;
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), 0 0 15px rgba(0, 153, 255, 0.25);
}

.location-bg-image {
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.location-card:hover .location-bg-image {
    transform: scale(1.08);
}

.location-overlay {
    background: linear-gradient(to top,
            rgba(0, 15, 35, 0.94) 0%,
            rgba(0, 15, 35, 0.55) 45%,
            rgba(0, 15, 35, 0.1) 75%,
            transparent 100%);
    z-index: 0;
    transition: background 0.4s ease;
}

.location-card:hover .location-overlay {
    background: linear-gradient(to top,
            rgba(0, 15, 35, 0.98) 0%,
            rgba(0, 15, 35, 0.65) 50%,
            rgba(0, 15, 35, 0.2) 80%,
            transparent 100%);
}

.location-city-title {
    font-size: 1.12rem !important;
    letter-spacing: -0.2px;
    line-height: 1.25;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

@media (max-width: 575.98px) {
    .location-city-title {
        font-size: 1.02rem !important;
    }
}

/* Flat Minimal Design Styles */
.location-flat-badge {
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    background: rgba(0, 20, 50, 0.55) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff !important;
    font-size: 0.72rem !important;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.35s ease;
    white-space: nowrap;
}

.location-card:hover .location-flat-badge {
    background: linear-gradient(135deg, #0099ff 0%, #6366f1 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.45) !important;
    transform: translateY(-2px);
}

.location-card:hover .destination-arrow-btn {
    transform: translateX(3px);
    box-shadow: 0 4px 10px rgba(0, 153, 255, 0.55);
}


.location-particles {
    overflow: hidden;
}

/* Floating dots animation */
.loc-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
    animation: float-dot 8s infinite ease-in-out;
    opacity: 0.4;
}

.loc-dot:nth-child(2) {
    background: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
    animation-delay: 1s;
    animation-duration: 12s;
}

.loc-dot:nth-child(3) {
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
    animation-delay: 2s;
    animation-duration: 9s;
}

.loc-dot:nth-child(4) {
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
    animation-delay: 0.5s;
    animation-duration: 15s;
}

.loc-dot:nth-child(5) {
    background: var(--text-primary);
    box-shadow: 0 0 10px var(--text-primary);
    animation-delay: 3s;
    animation-duration: 11s;
}

@keyframes float-dot {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }

    50% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0.8;
    }
}

/* Responsive Section Padding & Typography */
.section-padding {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    padding-left: 5rem !important;
    padding-right: 5rem !important;
}

.section-title {
    font-size: 2.2rem;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        overflow-x: hidden !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .hero-wrapper {
        min-height: 75vh;
    }
}

/* Prevent closed offcanvas from expanding document scrollWidth on mobile only */
@media (max-width: 991.98px) {
    .offcanvas.mobile-offcanvas:not(.show):not(.showing) {
        display: none !important;
    }

    .offcanvas.mobile-offcanvas.showing,
    .offcanvas.mobile-offcanvas.show {
        display: flex !important;
    }
}

/* Ensure navbar links and offcanvas container are always visible on desktop */
@media (min-width: 992px) {

    .navbar-expand-lg .offcanvas,
    .navbar-expand-lg .mobile-offcanvas {
        display: flex !important;
        visibility: visible !important;
        transform: none !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        border: none !important;
    }
}

/* Portfolio Ranking Section */
.portfolio-container {
    position: relative;
    z-index: 2;
}

.portfolio-row {
    background: #0d0f15;
    /* Solid background to cover elements underneath */
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
    /* Shadow to add depth to the stack */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: sticky;
    overflow: hidden;
    /* Sticky Top Offsets for a stacked deck effect */
}

.portfolio-row:nth-child(1) {
    top: 100px;
    z-index: 10;
}

.portfolio-row:nth-child(2) {
    top: 120px;
    z-index: 11;
}

.portfolio-row:nth-child(3) {
    top: 140px;
    z-index: 12;
}

.portfolio-row:nth-child(4) {
    top: 160px;
    z-index: 13;
}

.portfolio-row:nth-child(5) {
    top: 180px;
    z-index: 14;
}

.portfolio-row:nth-child(6) {
    top: 200px;
    z-index: 15;
}

.portfolio-row:nth-child(7) {
    top: 220px;
    z-index: 16;
}

.portfolio-row:nth-child(8) {
    top: 240px;
    z-index: 17;
}

.portfolio-row:nth-child(9) {
    top: 260px;
    z-index: 18;
}

.portfolio-row:nth-child(10) {
    top: 280px;
    z-index: 19;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.portfolio-badge {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
    font-family: monospace;
    letter-spacing: -0.5px;
}



.portfolio-tag {
    transition: all 0.3s ease;
    cursor: default;
}

.portfolio-tag:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.shrink-0 {
    flex-shrink: 0;
}


/* FAQ Accordion Styles */
.faq-accordion .accordion-item {
    background: var(--faq-item-bg) !important;
    border: 1px solid var(--faq-item-border) !important;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-item:hover {
    background: var(--faq-hover-bg) !important;
    border-color: var(--faq-hover-border) !important;
}

.faq-accordion .accordion-button {
    transition: color 0.3s ease;
    background: transparent !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--neon-blue) !important;
}

.faq-accordion .accordion-button::after {
    filter: var(--arrow-filter);
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: var(--arrow-filter);
}

/* Desktop FAQ Override - Static Text, no Accordion */
@media (min-width: 992px) {
    .faq-accordion .accordion-collapse {
        display: block !important;
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .faq-accordion .accordion-button {
        pointer-events: none;
        /* Disables clicking */
        padding-bottom: 0.5rem !important;
    }

    .faq-accordion .accordion-button::after {
        display: none !important;
        /* Hides the caret arrow */
    }
}


/* Footer Styles */
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--neon-purple);
    border-color: var(--neon-purple);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.footer-link {
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: var(--neon-purple) !important;
    padding-left: 5px;
}

/* Footer Background Logo Animation */
footer:hover .footer-bg-title {
    opacity: 0.15 !important;
    text-shadow: 0 0 50px rgba(99, 102, 241, 0.4);
}

@media (max-width: 768px) {
    .portfolio-badge {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .section-title,
    .faqs-heading,
    .brand-logo {
        font-size: 2.5rem !important;
    }
}

.faqs-heading {
    font-size: 4rem !important;
}

@keyframes cardGradientBg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ====== Top Exams Carousel ====== */
.exam-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.exam-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.exam-marquee-track:hover {
    animation-play-state: paused !important;
}

.exam-scroll-left {
    animation: exam-scroll-left 35s linear infinite;
}

.exam-scroll-right {
    animation: exam-scroll-right 38s linear infinite;
}

@keyframes exam-scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 3));
    }
}

@keyframes exam-scroll-right {
    0% {
        transform: translateX(calc(-100% / 3));
    }

    100% {
        transform: translateX(0);
    }
}

.exam-marquee-set {
    flex-shrink: 0;
    padding: 6px 0;
}

.exam-badge {
    padding: 10px 22px;
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(2, 69, 122, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    white-space: nowrap;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.exam-badge:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(1, 138, 190, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(2, 69, 122, 0.06), 0 0 12px rgba(1, 138, 190, 0.1);
}

.exam-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.exam-badge:hover .exam-dot {
    transform: scale(1.4);
}

.exam-name {
    color: var(--text-primary);
    font-size: 0.92rem;
    letter-spacing: 0.2px;
}

.exam-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 400;
    margin-left: 4px;
}

.exam-badge:hover .exam-name {
    color: var(--text-primary);
}

.exam-badge:hover .exam-date {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .exam-badge {
        padding: 8px 16px;
    }

    .exam-name {
        font-size: 0.82rem;
    }

    .exam-date {
        font-size: 0.72rem;
    }
}

/* ====== Colleges List Page ====== */

/* Page Header Banner */
.page-header-banner {
    border-radius: 20px;
    margin-left: 1rem;
    margin-right: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\f105";
    /* FontAwesome angle-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding-top: 3px;
}

.breadcrumb-item.active {
    color: var(--text-primary) !important;
}

.breadcrumb-item a {
    color: var(--text-secondary) !important;
}

.breadcrumb-item a:hover {
    color: var(--neon-blue) !important;
}

.hover-text-white:hover {
    color: #02457a !important;
}

/* Filters Sidebar */
.custom-filter-accordion .accordion-button {
    background-color: transparent !important;
    border: none;
    box-shadow: none;
    font-size: 1.05rem;
    padding-left: 0;
    padding-right: 0;
}

.custom-filter-accordion .accordion-button:not(.collapsed) {
    color: #02457a !important;
}

.custom-filter-accordion .accordion-button::after {
    filter: brightness(0) opacity(0.7);
    /* Make it pure white */
    transform: scale(0.8);
    margin-left: auto;
}

.custom-filter-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) opacity(0.7);
    /* Full white when active */
}

.filter-search-box input {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(2, 69, 122, 0.2) !important;
}

.filter-search-box input:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 153, 255, 0.25) !important;
}

/* Custom Scrollbar for filter lists */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(2, 69, 122, 0.05);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(2, 69, 122, 0.2);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

/* Checkbox Customization */
.custom-check .form-check-input {
    background-color: #ffffff !important;
    border: 1.5px solid rgba(2, 69, 122, 0.35) !important;
    border-radius: 5px !important;
    width: 1.15em;
    height: 1.15em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-check .form-check-input:hover {
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 0 0.15rem rgba(1, 138, 190, 0.15);
}

.custom-check .form-check-input:checked {
    background-color: var(--neon-blue) !important;
    border-color: var(--neon-blue) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

.custom-check .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(1, 138, 190, 0.25) !important;
    border-color: var(--neon-blue) !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* Filters Offcanvas & Mobile Filter Trigger */
.mobile-filter-btn {
    background: #ffffff !important;
    border-color: rgba(2, 69, 122, 0.15) !important;
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.mobile-filter-btn:hover,
.mobile-filter-btn:focus {
    background: #ffffff !important;
    border-color: var(--neon-blue) !important;
    box-shadow: 0 4px 14px rgba(1, 138, 190, 0.15) !important;
}

@media (max-width: 991.98px) {

    .course-filter-offcanvas.offcanvas-lg,
    .college-filter-offcanvas.offcanvas-lg {
        width: 330px !important;
        max-width: 88vw !important;
        background: linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%) !important;
        border-right: 1px solid rgba(2, 69, 122, 0.12) !important;
        box-shadow: 12px 0 40px rgba(2, 69, 122, 0.16) !important;
        z-index: 1060;
        will-change: transform;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .course-filter-offcanvas.offcanvas-lg .filters-sidebar,
    .college-filter-offcanvas.offcanvas-lg .filters-sidebar {
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        padding: 1.25rem 1.25rem !important;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (min-width: 992px) {

    .course-filter-offcanvas.offcanvas-lg,
    .college-filter-offcanvas.offcanvas-lg {
        width: auto !important;
        max-width: 100% !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        transform: none !important;
        visibility: visible !important;
        position: sticky !important;
        top: 90px !important;
        z-index: 25 !important;
    }
}

/* College List Card */
.college-list-card {
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.1);
    box-shadow: 0 4px 20px rgba(2, 69, 122, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@property --border-angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0turn;
}

.hover-lift:hover {
    transform: translateY(-8px);
    border-color: transparent;
}

.hover-lift::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    /* Border thickness */
    background: conic-gradient(from var(--border-angle, 0turn), transparent 0%, transparent 40%, var(--neon-blue) 50%, transparent 60%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate-border 3s linear infinite;
}

.hover-lift:hover::after {
    opacity: 1;
}

@keyframes rotate-border {
    to {
        --border-angle: 1turn;
    }
}

.hover-lift:hover .bg-image-cover {
    transform: scale(1.08);
}

.college-card-header {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.college-card {
    will-change: transform;
}

.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hover-bg-neon-blue:hover {
    background-color: var(--neon-blue) !important;
    border-color: var(--neon-blue) !important;
    color: #02457a !important;
}

/* Form Select Styling */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a1a1aa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select:focus {
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 153, 255, 0.25) !important;
}

/* Pagination Glass */
.pagination-glass .page-link {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 35px;
    height: 35px;
    padding: 0;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .pagination-glass .page-link {
        width: 40px;
        height: 40px;
    }
}

.pagination-glass .page-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.pagination-glass .page-item.active .page-link {
    background-color: var(--neon-blue);
    border-color: var(--neon-blue);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.3);
}

.pagination-glass .page-item.disabled .page-link {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Detail Page Specific Styles */
.detail-tabs .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 2.5px solid transparent !important;
    transition: all 0.25s ease;
    white-space: nowrap;
    opacity: 0.85;
}

.detail-tabs .nav-link:hover {
    color: var(--neon-blue) !important;
    opacity: 1;
}

.detail-tabs .nav-link.active {
    color: var(--neon-blue) !important;
    font-weight: 700 !important;
    background: transparent !important;
    border-bottom: 2.5px solid var(--neon-blue) !important;
    opacity: 1;
}

.shrink-0 {
    flex-shrink: 0;
}

/* Leaderboard & Ranking Component Styles */
.leaderboard-row-item {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.leaderboard-row-item:hover {
    background: rgba(30, 30, 50, 0.75) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.rank-badge-medal {
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.category-tab-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-weight: 600;
    padding: 0.55rem 1.4rem;
    border-radius: 50rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.category-tab-pill:hover,
.category-tab-pill.active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.35);
}

.naac-badge-high-contrast {
    background: rgba(99, 102, 241, 0.25) !important;
    color: #ffffff !important;
    font-weight: 700;
    border: 1px solid rgba(99, 102, 241, 0.5) !important;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   Global Search Modal & Spotlight Component Styles
   ========================================================================== */
.global-search-modal .modal-backdrop {
    backdrop-filter: blur(12px);
    background-color: rgba(214, 232, 238, 0.7);
}

.global-search-input-group:focus-within {
    border-color: var(--neon-blue) !important;
    background: rgba(255, 255, 255, 0.8) !important;
}

.search-pill-filter {
    background: rgba(2, 69, 122, 0.05);
    border: 1px solid rgba(2, 69, 122, 0.12);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 400;
    padding: 5px 14px;
    border-radius: 9999px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.search-pill-filter:hover {
    color: var(--text-primary);
    background: rgba(2, 69, 122, 0.1);
    border-color: rgba(2, 69, 122, 0.25);
}

.search-pill-filter.active {
    color: #fff;
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    border-color: transparent;
}

.search-tag-chip {
    background: rgba(2, 69, 122, 0.05);
    border: 1px solid rgba(2, 69, 122, 0.12);
    color: var(--text-secondary);
    font-size: 0.78rem;
    transition: all 0.2s ease;
}

.search-tag-chip:hover {
    background: rgba(1, 138, 190, 0.12);
    border-color: rgba(1, 138, 190, 0.3);
    color: var(--neon-blue);
    transform: translateY(-1px);
}

.search-item-row {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(2, 69, 122, 0.1);
    cursor: pointer;
}

.search-item-row:hover,
.search-item-row.active-keyboard-highlight {
    background: rgba(1, 138, 190, 0.1) !important;
    border-color: rgba(1, 138, 190, 0.25) !important;
    transform: translateX(3px);
}

.search-highlight {
    background: rgba(0, 153, 255, 0.2);
    padding: 0 2px;
    border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

/* --- Refactored Cleaned CSS & Colors Tokens --- */

/* Section constraints and subtitles */
.section-max-width {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 22px;
}

.section-subtitle {
    font-size: 21px;
}

.section-subtitle-narrow {
    max-width: 600px;
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 18px;
    }
}


/* Purple Text Glow effect */
.text-shadow-purple {
    text-shadow: 0 0 15px rgba(var(--neon-purple-rgb), 0.4);
}

/* Shortcuts bar line */
.shortcut-divider {
    width: 30px;
    height: 1px;
    background: var(--divider-bg);
    margin: 0.5rem 0;
}

/* Hero Section rules */
.hero-main {
    min-height: 55vh;
    z-index: 2;
}

.brand-logo {
    line-height: 1.1;
}

.search-container {
    margin-top: 20px;
    z-index: 10;
    cursor: pointer;
}

.search-input {
    padding-right: 145px;
    cursor: pointer;
}

.ai-mode-toggle span {
    font-size: 0.95rem;
}

/* Premium Sidebar Cards */
.right-card-premium .icon-box {
    width: 48px;
    height: 48px;
    background: rgba(2, 69, 122, 0.15) !important;
    border: 1px solid rgba(2, 69, 122, 0.3) !important;
}

.right-card-premium .icon-box i {
    color: var(--text-secondary) !important;
}

.right-card-premium .card-text h5 {
    font-size: 1.4rem;
    color: var(--text-primary) !important;
}

.right-card-premium .card-text small {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--text-secondary) !important;
}

/* Earth Background gradient fade overlay */
.earth-background .fade-gradient {
    height: 40%;
    background: linear-gradient(to bottom, transparent, var(--body-bg));
    z-index: 1;
}

/* Shadow line separating Hero and Marquee */
.shadow-line {
    width: 100%;
    position: relative;
    z-index: 2;
    background: var(--shadow-line-bg);
    box-shadow:
        0 -10px 25px 10px var(--shadow-blue-dark),
        0 -25px 50px 20px var(--shadow-blue-medium),
        0 -50px 90px 30px var(--shadow-blue-light);
}

/* Marquees Layouts */
.marquee-section {
    overflow: hidden;
}

.marquee-container {
    overflow: hidden;
}

.marquee-content {
    will-change: transform;
}

/* Trending Courses styling updates */
.tech-course-card {
    padding: 2px;
}

.tech-course-card .icon-box {
    width: 56px;
    height: 56px;
    background: var(--glass-icon-bg);
    border: 1px solid var(--glass-icon-border);
}

.tech-course-inner .badge {
    background: var(--badge-bg);
    color: var(--text-secondary);
    border: 1px solid var(--badge-border);
}

.tech-course-inner h4 {
    letter-spacing: -0.5px;
}

/* Explore Categories typography */
.category-card h5 {
    font-size: 1.1rem;
}

.category-card p {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Leaderboard Tables and Medals */
/* Leaderboard Tables and Medals */
.leaderboard-header {
    background: var(--leaderboard-header-bg);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--divider-bg);
}

.leaderboard-row-item {
    background: var(--leaderboard-row-bg);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(2, 69, 122, 0.12) !important;
    border-radius: 18px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.leaderboard-row-item:hover {
    background: var(--leaderboard-hover-bg) !important;
    border-color: rgba(1, 138, 190, 0.35) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(2, 69, 122, 0.08);
}

.leaderboard-row-item h6 {
    line-height: 1.35;
    color: var(--text-primary) !important;
}

.leaderboard-row-item .text-secondary.small {
    font-size: 0.85rem;
}

.leaderboard-row-item .fa-location-dot {
    font-size: 0.8rem;
}

.college-logo-container {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: #ffffff !important;
    border: 1px solid rgba(2, 69, 122, 0.12);
    border-radius: 14px !important;
}

.college-logo-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.leaderboard-pkg-high {
    font-size: 0.92rem;
    color: #10b981 !important;
}

.leaderboard-pkg-avg {
    font-size: 0.82rem;
    color: var(--text-secondary) !important;
}

/* Desktop column widths */
@media (min-width: 768px) {
    .leaderboard-rank-col {
        width: 90px;
    }

    .leaderboard-accred-col {
        width: 130px;
    }

    .leaderboard-pkg-col {
        width: 170px;
    }

    .leaderboard-action-col {
        width: 140px;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 767.98px) {
    .leaderboard-row-item {
        padding: 16px !important;
    }

    .leaderboard-rank-col {
        width: 100% !important;
    }

    .leaderboard-pkg-col {
        width: 100% !important;
        background: rgba(2, 69, 122, 0.04);
        border: 1px solid rgba(2, 69, 122, 0.08);
        border-radius: 12px;
        padding: 8px 14px !important;
    }

    .leaderboard-action-col {
        width: 100% !important;
    }

    .leaderboard-action-col .leaderboard-btn-view {
        width: 100% !important;
    }
}

/* Medal badges details */
.rank-badge-medal {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.rank-badge-medal.medal-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
    color: #000000 !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.rank-badge-medal.medal-silver {
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%) !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.3);
}

.rank-badge-medal.medal-bronze {
    background: linear-gradient(135deg, #fed7aa 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}

.rank-badge-medal.medal-none {
    background: rgba(1, 138, 190, 0.1) !important;
    border: 1px solid rgba(1, 138, 190, 0.25) !important;
    color: #018ABE !important;
}

.naac-badge-mobile,
.naac-badge-desktop {
    font-size: 0.75rem !important;
    background: rgba(2, 69, 122, 0.06) !important;
    border: 1px solid rgba(2, 69, 122, 0.15) !important;
    color: #02457A !important;
}

.leaderboard-btn-view {
    font-size: 0.88rem;
    white-space: nowrap;
}

.leaderboard-btn-view .fa-arrow-right-long {
    font-size: 0.8rem;
}

/* FAQs Layout constraints */

.faq-sticky-col {
    top: 120px;
    z-index: 10;
}

/* Light Theme Badges and Card Headers Overrides */
.college-badge {
    color: var(--text-primary) !important;
}

.category-card h5 {
    color: var(--text-primary) !important;
}

/* Navbar Search Button custom style overrides */
.eb-style-65 {
    background: rgba(2, 69, 122, 0.05) !important;
    border: 1px solid rgba(2, 69, 122, 0.15) !important;
    color: var(--text-primary) !important;
    transition: all 0.3s ease !important;
}

.eb-style-65:hover {
    background: rgba(2, 69, 122, 0.1) !important;
    border-color: rgba(2, 69, 122, 0.25) !important;
    color: var(--neon-blue) !important;
}

.eb-style-65 span.eb-style-25 {
    color: var(--text-primary) !important;
}

.eb-style-65:hover span.eb-style-25 {
    color: var(--neon-blue) !important;
}

.eb-style-66 {
    background-color: rgba(2, 69, 122, 0.1) !important;
    border: 1px solid rgba(2, 69, 122, 0.2) !important;
    color: var(--text-secondary) !important;
}

.eb-style-45 {
    max-height: 200px;
    line-height: 1.8;
    transition: max-height 0.4s ease;
}

.eb-style-46 {
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 100%);
    pointer-events: none;
}

/* Light Mode Visibility & Contrast Fixes */
.glass-panel .text-white:not(.badge):not(.btn) {
    color: var(--text-primary) !important;
}

.glass-panel .text-light:not(.badge):not(.btn) {
    color: var(--text-primary) !important;
}

.glass-panel h1,
.glass-panel h2,
.glass-panel h3,
.glass-panel h4,
.glass-panel h5,
.glass-panel h6 {
    color: var(--text-primary) !important;
}

.glass-panel .text-secondary {
    color: var(--text-secondary) !important;
}

/* bg-dark panel shifts to light glassmorphism */
.bg-dark.bg-opacity-50,
.bg-dark.bg-opacity-40,
.bg-dark.bg-opacity-30 {
    background-color: rgba(255, 255, 255, 0.65) !important;
    border-color: rgba(2, 69, 122, 0.12) !important;
}

.bg-dark .text-white:not(.badge):not(.btn) {
    color: var(--text-primary) !important;
}

.bg-dark .text-light:not(.badge):not(.btn) {
    color: var(--text-primary) !important;
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6 {
    color: var(--text-primary) !important;
}

.bg-dark .text-secondary {
    color: var(--text-secondary) !important;
}

.bg-dark a.text-white {
    color: var(--text-primary) !important;
}

.bg-dark a.text-white:hover {
    color: var(--neon-blue) !important;
}

/* Light Theme Input Controls overrides */
input.bg-dark,
select.bg-dark,
textarea.bg-dark {
    background-color: #ffffff !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(2, 69, 122, 0.15) !important;
}

input.bg-dark:focus,
select.bg-dark:focus,
textarea.bg-dark:focus {
    background-color: #ffffff !important;
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 0 0.25rem rgba(1, 138, 190, 0.15) !important;
}

input.bg-dark::placeholder,
textarea.bg-dark::placeholder {
    color: rgba(2, 69, 122, 0.6) !important;
}

/* Custom Accordion overrides in details views */
.custom-faq-accordion .accordion-item,
.custom-faq-accordion .accordion-button {
    background-color: rgba(255, 255, 255, 0.65) !important;
    border-color: rgba(2, 69, 122, 0.12) !important;
}

.custom-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--neon-blue) !important;
}

.custom-faq-accordion .accordion-button::after {
    filter: var(--arrow-filter) !important;
}

/* Course Card inner light theme */
.tech-card-inner {
    background: #ffffff !important;
    border-radius: 18px !important;
}

.tech-card-inner h4,
.tech-card-inner h4.text-white {
    color: var(--text-primary) !important;
}

.tech-card-inner p,
.tech-card-inner p.text-secondary {
    color: var(--text-secondary) !important;
}

.tech-course-btn {
    background: var(--card-color) !important;
    border: 1px solid var(--card-color) !important;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.tech-course-card:hover .tech-course-btn {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 69, 122, 0.2) !important;
}

/* ==========================================================================
   Clean Minimal Table Format (Design Specification & Visibility Fixes)
   ========================================================================== */
.table-minimal,
.data-table-clean,
.rich-detail-card table,
.tab-pane table:not(.compare-table),
.glass-panel table:not(.compare-table),
#admissionContent table,
#overviewContent table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-family: inherit !important;
    background: transparent !important;
    border-top: 1.5px solid #000000 !important;
    border-bottom: 1.5px solid #000000 !important;
    color: #111827 !important;
}

.table-minimal thead th,
.data-table-clean thead th,
.rich-detail-card table thead th,
.tab-pane table:not(.compare-table) thead th,
.glass-panel table:not(.compare-table) thead th,
#admissionContent table thead th,
#overviewContent table thead th,
.table-minimal th,
.data-table-clean th,
.rich-detail-card table th,
.tab-pane table:not(.compare-table) th,
.glass-panel table:not(.compare-table) th,
#admissionContent table th,
#overviewContent table th {
    font-weight: 700 !important;
    color: #000000 !important;
    padding: 0.85rem 1.25rem !important;
    text-align: left !important;
    vertical-align: middle !important;
    border-top: 1.5px solid #000000 !important;
    border-bottom: 1.5px solid #000000 !important;
    border-left: none !important;
    border-right: none !important;
    background: transparent !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
    opacity: 1 !important;
}

.table-minimal thead th *,
.data-table-clean thead th *,
.rich-detail-card table thead th *,
.tab-pane table:not(.compare-table) thead th *,
.glass-panel table:not(.compare-table) thead th *,
#admissionContent table thead th *,
#overviewContent table thead th *,
.table-minimal th *,
.data-table-clean th *,
.rich-detail-card table th *,
.tab-pane table:not(.compare-table) th *,
.glass-panel table:not(.compare-table) th *,
#admissionContent table th *,
#overviewContent table th * {
    font-weight: 700 !important;
    color: #000000 !important;
    opacity: 1 !important;
}

.table-minimal tbody td,
.data-table-clean tbody td,
.rich-detail-card table tbody td,
.tab-pane table:not(.compare-table) tbody td,
.glass-panel table:not(.compare-table) tbody td,
#admissionContent table tbody td,
#overviewContent table tbody td,
.table-minimal td,
.data-table-clean td,
.rich-detail-card table td,
.tab-pane table:not(.compare-table) td,
.glass-panel table:not(.compare-table) td,
#admissionContent table td,
#overviewContent table td {
    padding: 0.85rem 1.25rem !important;
    font-weight: 400 !important;
    color: #111827 !important;
    text-align: left !important;
    vertical-align: middle !important;
    border-top: none !important;
    border-bottom: 1px solid #000000 !important;
    border-left: none !important;
    border-right: none !important;
    background: transparent !important;
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
}

.table-minimal tbody td *,
.data-table-clean tbody td *,
.rich-detail-card table tbody td *,
.tab-pane table:not(.compare-table) tbody td *,
.glass-panel table:not(.compare-table) tbody td *,
#admissionContent table tbody td *,
#overviewContent table tbody td *,
.table-minimal td *,
.data-table-clean td *,
.rich-detail-card table td *,
.tab-pane table:not(.compare-table) td *,
.glass-panel table:not(.compare-table) td *,
#admissionContent table td *,
#overviewContent table td * {
    color: #111827 !important;
    opacity: 1 !important;
}

.table-minimal tbody tr:last-child td,
.data-table-clean tbody tr:last-child td,
.rich-detail-card table tbody tr:last-child td,
.tab-pane table:not(.compare-table) tbody tr:last-child td,
.glass-panel table:not(.compare-table) tbody tr:last-child td,
#admissionContent table tbody tr:last-child td,
#overviewContent table tbody tr:last-child td {
    border-bottom: 1.5px solid #000000 !important;
}

/* ==========================================================================
   Destination Cards Light Theme & 5-Column Responsive Grid
   ========================================================================== */
.destination-card {
    height: 255px !important;
    padding: 1.1rem 1.1rem 1rem !important;
    border-radius: 18px !important;
    border: 1px solid rgba(2, 69, 122, 0.12);
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(2, 69, 122, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
}

.destination-card:hover {
    transform: translateY(-5px);
    border-color: rgba(1, 138, 190, 0.35);
    box-shadow: 0 14px 28px rgba(2, 69, 122, 0.12), 0 0 0 1px rgba(1, 138, 190, 0.2);
}

.destination-card-bg {
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.destination-card:hover .destination-card-bg {
    transform: scale(1.08);
}

.destination-card .card-overlay {
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.88) 32%,
            rgba(255, 255, 255, 0.35) 55%,
            rgba(255, 255, 255, 0.05) 80%,
            transparent 100%);
    z-index: 1;
    transition: background 0.35s ease;
}

.destination-card:hover .card-overlay {
    background: linear-gradient(to top,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.92) 36%,
            rgba(255, 255, 255, 0.45) 60%,
            rgba(255, 255, 255, 0.1) 85%,
            transparent 100%);
}

.destination-state-badge {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(2, 69, 122, 0.12) !important;
    color: var(--text-primary) !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
}

.destination-count-badge {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(1, 138, 190, 0.25) !important;
    color: var(--neon-blue) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
}

.destination-count-badge i {
    color: #018ABE !important;
}

.destination-title {
    font-size: 1.12rem !important;
    line-height: 1.25 !important;
    color: var(--text-primary) !important;
    letter-spacing: -0.2px;
    text-shadow: none !important;
    transition: color 0.25s ease;
}

.destination-card:hover .destination-title {
    color: var(--neon-blue) !important;
}

.destination-action-row {
    border-color: rgba(2, 69, 122, 0.1) !important;
}

.destination-action-text {
    color: var(--text-secondary) !important;
    font-size: 0.8rem;
    transition: color 0.25s ease;
}

.destination-card:hover .destination-action-text {
    color: var(--neon-blue) !important;
}

.destination-arrow-btn {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #0099ff 0%, #6366f1 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 153, 255, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.destination-card:hover .destination-arrow-btn {
    transform: translateX(3px);
    box-shadow: 0 4px 10px rgba(0, 153, 255, 0.4);
}

/* 5 Column Grid Responsive Utility */
@media (min-width: 1200px) {
    .row-cols-xl-5>* {
        flex: 0 0 auto;
        width: 20% !important;
    }
}

/* Pagination Glass Design */
.pagination-glass .page-item .page-link {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    background: #E8F1F5;
    border: none;
    color: var(--neon-purple);
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.pagination-glass .page-item:not(.disabled) .page-link:hover {
    background: #DCE7EC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 69, 122, 0.1) !important;
}

.pagination-glass .page-item.active .page-link {
    background: var(--neon-blue);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(1, 138, 190, 0.3) !important;
    font-weight: 600;
}

.pagination-glass .page-item.disabled .page-link {
    background: transparent;
    color: rgba(2, 69, 122, 0.3);
    box-shadow: none !important;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(2, 69, 122, 0.03);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(1, 138, 190, 0.35);
    /* Soft neon blue color */
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(1, 138, 190, 0.6);
}

/* Responsive Table Min Width */
.table-responsive table {
    min-width: 650px;
}

.table-responsive table th,
.table-responsive table td {
    min-width: 140px;
    word-break: normal;
}

/* Mega Menu Hover Effect */
@media all and (min-width: 992px) {
    .dropdown-mega:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 991.98px) {
    .sticky-mobile-nav {
        position: sticky !important;
        top: 0;
        z-index: 1030;
        transition: all 0.3s ease;
    }

    .sticky-mobile-nav.nav-scrolled {
        background-color: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 12px rgba(0, 27, 72, 0.05) !important;
    }
}

.overflow-clip {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

@media (min-width: 992px) {
    .sticky-top.sticky-mobile-nav {
        position: static !important;
    }
}

/* Infinite Marquee Styles */
.marquee-section {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

.marquee-container {
    overflow: hidden !important;
    white-space: nowrap;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.marquee-container:hover .scroll-left-trigger,
.marquee-container:hover .scroll-right-trigger {
    animation-play-state: paused;
}

.marquee-content {
    display: inline-flex;
    white-space: nowrap;
    width: max-content;
}

.scroll-left-trigger {
    animation: marquee-left 75s linear infinite;
}

.scroll-right-trigger {
    animation: marquee-right 75s linear infinite;
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.marquee-container {
    text-align: left;
}

.marquee-content {
    justify-content: flex-start;
}

/* ==========================================================================
   Testimonials Section - Running Cards (Reference Design)
   ========================================================================== */
.testimonial-running-section {
    position: relative;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

.testimonial-running-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    padding: 16px 0 20px 0;
    perspective: 1200px;
}

.testimonial-running-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.testimonial-running-marquee:hover .testimonial-running-track {
    animation-play-state: paused !important;
}

.testimonial-running-set {
    display: flex;
    gap: 24px;
    padding-right: 24px;
}

.testimonial-run-left {
    animation: run-cards-left 42s linear infinite;
}

.testimonial-run-right {
    animation: run-cards-right 42s linear infinite;
}

@keyframes run-cards-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes run-cards-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.testimonial-running-card {
    width: 380px;
    min-width: 380px;
    max-width: 380px;
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.08);
    border-radius: 24px;
    padding: 28px 26px 24px 26px;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px) translateZ(0);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-color 0.3s ease,
        background 0.3s ease;
    white-space: normal;
    overflow: hidden;
    cursor: default;
}

.testimonial-running-card:hover {
    background: #ffffff;
    border-color: rgba(1, 138, 190, 0.35);
    box-shadow: none !important;
    z-index: 20;
}

/* 3D Sheen reflection light */
.testimonial-card-sheen {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.testimonial-running-card:hover .testimonial-card-sheen {
    opacity: 1;
}

/* 3D floating layers */
.testimonial-quote-icon {
    transform: translateZ(24px);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-running-card:hover .testimonial-quote-icon {
    transform: translateZ(36px) scale(1.08);
}

.testimonial-quote-icon svg {
    display: block;
    width: 26px;
    height: 22px;
    filter: none;
}

.testimonial-running-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transform: translateZ(16px);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-running-card:hover .testimonial-running-text {
    transform: translateZ(22px);
}

.testimonial-author-row {
    padding-top: 14px;
    border-top: 1px solid rgba(2, 69, 122, 0.06);
    transform: translateZ(20px);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-running-card:hover .testimonial-author-row {
    transform: translateZ(30px);
}

.testimonial-author-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: none;
}

.testimonial-author-initials {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: none;
}

.testimonial-author-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 2px;
}

.testimonial-author-role {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.3;
    font-weight: 400;
}

@media (max-width: 576px) {
    .testimonial-running-card {
        width: 310px;
        min-width: 310px;
        max-width: 310px;
        padding: 22px 20px 20px 20px;
    }

    .testimonial-running-text {
        font-size: 13.5px;
    }
}

/* ==========================================================================
   Similar Colleges Section & Marquee Carousel (College Detail Page)
   ========================================================================== */
.ed-sim-carousel-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 8px 0 16px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
}

.ed-sim-carousel {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: ed-sim-scroll-marquee 40s linear infinite;
}

.ed-sim-carousel-wrap:hover .ed-sim-carousel,
.ed-sim-carousel.is-paused {
    animation-play-state: paused !important;
}

.ed-sim-carousel-set {
    display: flex;
    gap: 20px;
    padding-right: 20px;
    flex-shrink: 0;
    align-items: stretch;
}

@keyframes ed-sim-scroll-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.ed-sim-college-card {
    width: 275px;
    min-width: 275px;
    max-width: 275px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(2, 69, 122, 0.09);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
}

.ed-sim-college-card:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 69, 122, 0.25);
    box-shadow: 0 12px 28px rgba(2, 69, 122, 0.12);
}

.ed-sim-card-img-wrap {
    position: relative;
    height: 140px;
    width: 100%;
    overflow: hidden;
    background: #f1f5f9;
}

.ed-sim-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-sim-college-card:hover .ed-sim-card-img {
    transform: scale(1.08);
}

.ed-sim-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(15, 23, 42, 0.5) 100%);
    pointer-events: none;
}

.ed-sim-card-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 14px;
    margin-top: -26px;
    position: relative;
    z-index: 3;
}

.ed-sim-logo-wrap {
    width: 52px;
    height: 52px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    text-decoration: none;
}

.ed-sim-logo-wrap:hover {
    transform: scale(1.06);
}

.ed-sim-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.ed-sim-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--neon-blue, #02457a);
    font-size: 1.25rem;
}

.ed-sim-rating-badge {
    background: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 3px 9px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    margin-bottom: 2px;
}

.ed-sim-rating-badge i {
    color: #f59e0b;
    font-size: 0.72rem;
}

.ed-sim-card-bottom {
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ed-sim-shortname-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.08);
    color: var(--neon-blue, #02457a);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.ed-sim-type-badge {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 6px;
    max-width: 140px;
}

.ed-sim-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px 0;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ed-sim-card-title a {
    color: var(--primary-color, #02457a);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ed-sim-card-title a:hover {
    color: #2563eb;
}

.ed-sim-card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ed-sim-card-location i {
    color: var(--neon-blue, #02457a);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.ed-sim-card-action {
    margin-top: auto;
}

.ed-sim-compare-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 7px 12px;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.05);
    color: var(--neon-blue, #02457a);
    border: 1px solid rgba(37, 99, 235, 0.2);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ed-sim-compare-btn:hover {
    background: var(--neon-blue, #02457a);
    color: #ffffff;
    border-color: var(--neon-blue, #02457a);
    box-shadow: 0 4px 12px rgba(2, 69, 122, 0.2);
    transform: translateY(-1px);
}

.ed-sim-toggle-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (max-width: 576px) {
    .ed-sim-college-card {
        width: 240px;
        min-width: 240px;
        max-width: 240px;
    }

    .ed-sim-card-img-wrap {
        height: 125px;
    }

    .ed-sim-card-title {
        font-size: 0.88rem;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   COMPONENT-LEVEL & DETAIL PAGE EXTENSIONS (COURSE, COLLEGE, PAGES, SITEMAP)
   ────────────────────────────────────────────────────────────────────────── */
/* ==========================================================================
   EDUBANDHU - COURSE DETAIL PAGE STYLES
   Main Stylesheet: assets/css/style.css
   ========================================================================== */

:root {
    /* ─── BRAND COLOR PALETTE ─── */
    --ed-navy: #001B48;
    --ed-navy-rgb: 0, 27, 72;
    --ed-blue: #02457A;
    --ed-blue-rgb: 2, 69, 122;
    --ed-azure: #018ABE;
    --ed-azure-rgb: 1, 138, 190;
    --ed-ice: #97CADB;
    --ed-ice-rgb: 151, 202, 219;
    --ed-green: #10B981;
    --ed-green-rgb: 16, 185, 129;
    --ed-green-dark: #059669;
    --ed-green-light: #d1fae5;

    /* ─── NEUTRALS & SURFACES ─── */
    --ed-white: #ffffff;
    --ed-white-rgb: 255, 255, 255;
    --ed-dark: #111111;
    --ed-light-bg: #F8FAFC;
    --ed-card-bg: #FFFFFF;
    --ed-border: #E2E8F0;
    --ed-border-light: #F1F5F9;
    --ed-border-soft: #edf2f7;

    /* ─── TYPOGRAPHY TOKENS ─── */
    --ed-font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ed-font-heading: 'Go', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ed-text-main: #0F172A;
    --ed-text-secondary: #1E293B;
    --ed-text-body: #334155;
    --ed-text-muted: #64748B;
    --ed-text-subtle: #475569;
    --ed-text-sep: #cbd5e1;

    /* ─── TINTS & ACCENTS ─── */
    --ed-tint-azure: #eef8fc;
    --ed-tint-azure-pale: #e0f2fe;
    --ed-tint-subnav-hover: #f7f5ff;
    --ed-tint-subnav-hover-text: #0e0a8b;
    --ed-tint-mode-bg: #dcfce7;
    --ed-tint-mode-color: #166534;
    --ed-danger: #EF4444;
    --ed-danger-alt: #ff3b30;
    --ed-dot-accent-1: #121078;
    --ed-dot-accent-2: #091370;

    /* ─── SPECIALIZATIONS CARD DEFAULTS ─── */
    --spec-color: #018ABE;
    --spec-bg: #eef8fc;
    --spec-shadow: rgba(1, 138, 190, 0.35);
    --spec-wave-1: rgba(151, 202, 219, 0.42);
    --spec-wave-2: rgba(1, 138, 190, 0.20);

    /* ─── STICKY NAVBAR ─── */
    --ed-subnav-sticky-bg: #080851;
    --ed-shadow-subnav-stuck: 0 6px 22px rgba(8, 8, 81, 0.45);

    /* ─── RADII ─── */
    --ed-radius-sm: 8px;
    --ed-radius-md: 10px;
    --ed-radius-card: 14px;
    --ed-radius: 18px;
    --ed-radius-lg: 20px;
    --ed-radius-xl: 24px;
    --ed-radius-pill: 50px;

    /* ─── SHADOWS ─── */
    --ed-shadow-xs: 0 2px 8px rgba(var(--ed-navy-rgb), 0.06);
    --ed-shadow-sm: 0 2px 10px rgba(var(--ed-navy-rgb), 0.08);
    --ed-shadow-card: 0 4px 16px rgba(var(--ed-navy-rgb), 0.04);
    --ed-shadow-card-hover: 0 14px 30px rgba(var(--ed-navy-rgb), 0.12);
    --ed-shadow: 0 10px 30px rgba(var(--ed-navy-rgb), 0.06);
    --ed-shadow-hover: 0 18px 40px rgba(var(--ed-blue-rgb), 0.12);
    --ed-shadow-hero: 0 16px 40px rgba(var(--ed-navy-rgb), 0.2);
    --ed-shadow-img: 0 16px 36px rgba(var(--ed-navy-rgb), 0.35);
    --ed-shadow-img-hover: 0 22px 45px rgba(var(--ed-navy-rgb), 0.45);
    --ed-shadow-btn: 0 4px 15px rgba(0, 0, 0, 0.15);
    --ed-shadow-btn-hover: 0 8px 25px rgba(0, 0, 0, 0.25);
    --ed-shadow-enquiry: 0 12px 35px rgba(var(--ed-navy-rgb), 0.08);

    /* ─── GRADIENTS ─── */
    --ed-hero-gradient: linear-gradient(135deg, var(--ed-navy) 0%, var(--ed-blue) 55%, var(--ed-azure) 100%);
    --ed-fee-banner-gradient: linear-gradient(135deg, var(--ed-navy) 0%, var(--ed-blue) 48%, var(--ed-azure) 100%);
    --ed-btn-enquiry-gradient: linear-gradient(135deg, var(--ed-navy), var(--ed-blue));
    --ed-btn-enquiry-hover-gradient: linear-gradient(135deg, var(--ed-blue), var(--ed-azure));
    --ed-whatsapp-gradient: linear-gradient(135deg, #065f46 0%, #059669 100%);
}

body,
body.ed-course-detail-page {
    background-color: var(--ed-light-bg);
    color: var(--ed-text-main);
    font-family: var(--ed-font-family, 'Poppins', sans-serif);
}

/* ─── BREADCRUMB ─── */
.ed-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--ed-text-muted);
    margin-bottom: 1.25rem;
}

.ed-breadcrumb a {
    color: var(--ed-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.ed-breadcrumb a:hover {
    color: var(--ed-azure);
}

.ed-breadcrumb span.sep {
    font-size: 0.65rem;
    color: #cbd5e1;
}

.ed-breadcrumb span.current {
    color: var(--ed-blue);
    font-weight: 600;
}

/* ─── HERO HEADER ─── */
.ed-course-hero {
    background: var(--ed-hero-gradient);
    border-radius: var(--ed-radius-xl);
    color: #ffffff;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(var(--ed-navy-rgb), 0.2);
    margin-bottom: 2rem;
}

.ed-course-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--ed-ice-rgb), 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.ed-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.ed-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--ed-radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.ed-badge-pill.level {
    background: rgba(var(--ed-white-rgb), 0.18);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(var(--ed-white-rgb), 0.3);
}

.ed-badge-pill.dept {
    background: var(--ed-tint-azure-pale);
    color: var(--ed-navy);
}

.ed-badge-pill.mode {
    background: var(--ed-tint-mode-bg);
    color: var(--ed-tint-mode-color);
}

.ed-hero-title {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 1.75rem;
    letter-spacing: -0.5px;
}

.ed-hero-college {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(var(--ed-white-rgb), 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--ed-white-rgb), 0.2);
    padding: 8px 16px;
    border-radius: var(--ed-radius-pill);
    margin-bottom: 1.25rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ed-hero-college:hover {
    background: rgba(var(--ed-white-rgb), 0.22);
    color: #ffffff;
    transform: translateY(-2px);
}

.ed-hero-college img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    padding: 2px;
}

.ed-hero-college-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.ed-hero-college-loc {
    font-size: 0.8rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ed-hero-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(var(--ed-white-rgb), 0.9);
    max-width: 820px;
    margin-bottom: 1.75rem;
}

/* ─── HERO STATS BAR ─── */
.ed-hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 1.75rem;
}

.ed-hero-stat-box {
    background: rgba(var(--ed-white-rgb), 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--ed-white-rgb), 0.18);
    border-radius: var(--ed-radius-card);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s;
}

.ed-hero-stat-box:hover {
    transform: translateY(-2px);
    background: rgba(var(--ed-white-rgb), 0.15);
}

.ed-stat-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: var(--ed-radius-sm);
    background: rgba(var(--ed-white-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    flex-shrink: 0;
}

.ed-stat-info span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(var(--ed-white-rgb), 0.8);
    font-weight: 600;
}

.ed-stat-info strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    word-break: break-word;
}

/* ─── HERO BUTTONS ─── */
.ed-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ed-btn-primary-apply {
    background: #ffffff;
    color: var(--ed-navy);
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: var(--ed-radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}

.ed-btn-primary-apply:hover {
    background: var(--ed-tint-azure-pale);
    color: var(--ed-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.ed-btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(var(--ed-white-rgb), 0.5);
    padding: 0.65rem 1.4rem;
    border-radius: var(--ed-radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}

.ed-btn-outline-white:hover {
    background: rgba(var(--ed-white-rgb), 0.18);
    border-color: #ffffff;
    color: #ffffff;
}

/* Shortlist Your Course - Add to Cart Hero Button */
.ed-btn-shortlist-course {
    background: linear-gradient(135deg, #018ABE 0%, #02457A 100%);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    padding: 0.7rem 1.6rem;
    border-radius: var(--ed-radius-pill, 999px);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 4px 16px rgba(1, 138, 190, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.ed-btn-shortlist-course:hover {
    background: linear-gradient(135deg, #02457A 0%, #001B48 100%);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(1, 138, 190, 0.5);
}

.ed-btn-shortlist-course i {
    font-size: 1.05rem;
    transition: transform 0.25s ease;
}

.ed-btn-shortlist-course:hover i {
    transform: scale(1.18) rotate(-6deg);
}

.ed-btn-shortlist-course.is-shortlisted {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45);
}

.ed-btn-shortlist-course.is-shortlisted:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
}

/* Floating Add-to-Cart Shortlist Button on Course Hero Image */
.ed-course-floating-cart-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(1, 138, 190, 0.3);
    color: var(--ed-navy, #001B48);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 27, 72, 0.22);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 6;
}

.ed-course-floating-cart-btn:hover {
    background: #018ABE;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(1, 138, 190, 0.5);
}

.ed-course-floating-cart-btn.is-shortlisted {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.ed-course-floating-cart-btn.is-shortlisted:hover {
    background: #059669;
}

/* Sticky Subnav Shortlist Button - Crisp High Contrast Visibility */
.ed-subnav-shortlist-btn {
    background: #ffffff !important;
    color: var(--ed-navy, #001B48) !important;
    border: 1.5px solid rgba(1, 138, 190, 0.25) !important;
    padding: 10px 20px;
    border-radius: var(--ed-radius-pill, 999px);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 27, 72, 0.08);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.ed-subnav-shortlist-btn i {
    color: var(--ed-blue, #018ABE) !important;
    font-size: 0.95rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.ed-subnav-shortlist-btn:hover {
    background: #f0f9ff !important;
    color: var(--ed-blue, #018ABE) !important;
    border-color: var(--ed-blue, #018ABE) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(1, 138, 190, 0.2);
}

.ed-subnav-shortlist-btn:hover i {
    transform: scale(1.15);
    color: var(--ed-blue, #018ABE) !important;
}

/* WHEN STICKY AT TOP: HIGH CONTRAST SOLID WHITE PILL ON BLUE NAVBAR */
.ed-sticky-subnav.is-stuck .ed-subnav-shortlist-btn {
    background: #ffffff !important;
    color: var(--ed-navy, #001B48) !important;
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
}

.ed-sticky-subnav.is-stuck .ed-subnav-shortlist-btn i {
    color: var(--ed-blue, #018ABE) !important;
}

.ed-sticky-subnav.is-stuck .ed-subnav-shortlist-btn:hover {
    background: #f0f9ff !important;
    color: var(--ed-blue, #018ABE) !important;
    border-color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

/* SHORTLISTED ACTIVE STATE (VIBRANT GREEN) */
.ed-subnav-shortlist-btn.is-shortlisted,
.ed-sticky-subnav.is-stuck .ed-subnav-shortlist-btn.is-shortlisted {
    background: #10b981 !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45) !important;
}

.ed-subnav-shortlist-btn.is-shortlisted i,
.ed-sticky-subnav.is-stuck .ed-subnav-shortlist-btn.is-shortlisted i {
    color: #ffffff !important;
}

.ed-subnav-shortlist-btn.is-shortlisted:hover,
.ed-sticky-subnav.is-stuck .ed-subnav-shortlist-btn.is-shortlisted:hover {
    background: #059669 !important;
    border-color: #059669 !important;
    transform: translateY(-1px);
}

/* ─── MINIMAL SEMESTER SYLLABUS TABS (FRONTEND) ─── */
.ed-semester-tabs-container {
    margin-top: 1rem;
}

.ed-semester-nav-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.ed-semester-pills-wrap {
    overflow-x: auto;
    width: 100%;
    padding: 4px 2px 8px 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    scroll-behavior: smooth;
}

.ed-semester-pills-wrap::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.ed-semester-nav-pills {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 8px;
    background: transparent;
    padding: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.ed-semester-nav-link {
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ed-semester-nav-link:hover {
    color: var(--ed-navy, #001B48);
    background: #f8fafc;
    border-color: #cbd5e1;
}

.ed-semester-nav-link.active {
    background: var(--ed-navy, #001B48) !important;
    border-color: var(--ed-navy, #001B48) !important;
    color: #ffffff !important;
    border-radius: 10px;
}

.ed-sem-scroll-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    flex-shrink: 0;
    z-index: 2;
}

.ed-sem-scroll-btn:hover {
    background: var(--ed-navy, #001B48);
    border-color: var(--ed-navy, #001B48);
    color: #ffffff;
}

/* ─── MINIMAL CONTENT CARD ─── */
.ed-minimal-sem-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 28px;
}

/* ─── SEMESTER HEADER ELEMENTS ─── */
.ed-sem-index-badge {
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    font-family: monospace;
    display: inline-flex;
    align-items: center;
}

.ed-sem-count-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
}

/* ─── MINIMAL SUBJECT ITEMS ─── */
.ed-min-subject-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    min-height: 54px;
}

.ed-min-subject-item:hover {
    border-color: var(--ed-blue, #018ABE);
    background: #f8fbfe;
    transform: translateY(-2px);
}

.ed-min-subject-num {
    font-size: 0.76rem;
    font-weight: 700;
    color: #0284c7;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    transition: all 0.2s ease;
}

.ed-min-subject-item:hover .ed-min-subject-num {
    background: var(--ed-blue, #018ABE);
    border-color: var(--ed-blue, #018ABE);
    color: #ffffff;
}

.ed-min-subject-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.ed-min-subject-item:hover .ed-min-subject-icon {
    color: var(--ed-blue, #018ABE);
    background: #ffffff;
}

.ed-min-subject-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.ed-min-subject-arrow {
    font-size: 0.75rem;
    color: #94a3b8;
    opacity: 0.4;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.ed-min-subject-item:hover .ed-min-subject-arrow {
    opacity: 1;
    transform: translateX(2px);
    color: var(--ed-blue, #018ABE);
}

/* ─── BRIEF DESCRIPTION CALLOUT ─── */
.ed-sem-callout-note {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
}

.ed-sem-note-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
}

/* ─── NAVIGATION ACTION BUTTONS ─── */
.ed-sem-nav-footer {
    border-top: 1px solid #edf2f7;
}

.ed-sem-nav-indicator {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
}

.ed-sem-nav-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.ed-sem-nav-action-btn:hover {
    background: #f0f9ff;
    border-color: var(--ed-blue, #018ABE);
    color: var(--ed-blue, #018ABE);
}

.ed-sem-nav-action-next {
    background: #f8fafc;
    color: #0f172a;
}

.ed-sem-nav-action-next:hover {
    background: var(--ed-navy, #001B48);
    border-color: var(--ed-navy, #001B48);
    color: #ffffff;
}

@media (max-width: 576px) {
    .ed-minimal-sem-card {
        padding: 16px 14px;
        border-radius: 12px;
    }

    .ed-min-subject-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .ed-min-subject-num {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.72rem;
    }

    .ed-min-subject-icon {
        display: none;
    }

    .ed-min-subject-title {
        font-size: 0.84rem;
    }

    .ed-semester-nav-link {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .ed-sem-nav-action-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* ─── HERO COURSE IMAGE CARD ─── */
.ed-course-hero-img-box {
    position: relative;
    border-radius: var(--ed-radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(var(--ed-navy-rgb), 0.35);
    border: 3px solid rgba(var(--ed-white-rgb), 0.25);
    background: rgba(var(--ed-blue-rgb), 0.4);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ed-course-hero-img-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 45px rgba(var(--ed-navy-rgb), 0.45);
}

.ed-course-hero-img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.ed-course-hero-img-box:hover .ed-course-hero-img {
    transform: scale(1.04);
}

.ed-course-hero-img-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(var(--ed-navy-rgb), 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--ed-radius-pill);
    border: 1px solid rgba(var(--ed-white-rgb), 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

/* ─── STICKY NAV BAR (DYNAMIC BACKGROUND ON STICKY TOP) ─── */
.ed-sticky-subnav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
    padding: 18px 0;
    margin-bottom: 2rem;
    width: 100% !important;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

/* WHEN STICKY AT TOP: SHOW BLUE BACKGROUND */
.ed-sticky-subnav.is-stuck {
    background: var(--ed-hero-gradient);
    box-shadow: 0 6px 22px rgba(8, 8, 81, 0.45) !important;
}

.ed-subnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}

.ed-subnav-white-box {
    background: #ffffff !important;
    border-radius: var(--ed-radius-pill);
    padding: 10px 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(var(--ed-navy-rgb), 0.08);
    border: 1px solid rgba(var(--ed-navy-rgb), 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ed-sticky-subnav.is-stuck .ed-subnav-white-box {
    box-shadow: none;
    border-color: transparent;
}

.ed-subnav-white-box::-webkit-scrollbar {
    display: none;
}

.ed-subnav-link {
    padding: 6px 15px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    border-radius: var(--ed-radius-pill);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
}

.ed-subnav-link:hover {
    color: var(--ed-tint-subnav-hover-text);
    background: var(--ed-tint-subnav-hover);
}

.ed-subnav-link.active {
    color: #eaf5ff !important;
    background: var(--ed-blue) !important;
    font-weight: 700;
    box-shadow: none;
}

.ed-subnav-enquire-btn {
    background: #fff !important;
    color: var(--ed-blue) !important;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: var(--ed-radius-pill);
    padding: 10px 24px;
    border: none;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.ed-subnav-enquire-btn:hover {
    background: var(--ed-azure) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .ed-sticky-subnav {
        padding: 6px 0;
    }

    .ed-subnav-enquire-btn {
        padding: 7px 16px;
        font-size: 0.82rem;
    }

    .ed-subnav-shortlist-btn {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .ed-subnav-link {
        padding: 5px 10px;
        font-size: 0.82rem;
    }
}

/* ─── CONTENT CARDS ─── */
.ed-section-card {
    background: var(--ed-card-bg);
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--ed-shadow);
    transition: box-shadow 0.3s ease;
}

.ed-section-card:hover {
    box-shadow: var(--ed-shadow-hover);
}

.ed-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
}

.ed-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ed-section-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--ed-radius-md);
    background: #eef6fc;
    color: var(--ed-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.ed-section-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ed-navy);
    margin: 0;
    letter-spacing: -0.3px;
}



/* ─── CHECKLIST ─── */
.ed-checklist {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.ed-checklist li {
    position: relative;
    padding-left: 32px;
    font-size: 0.93rem;
    line-height: 1.6;
    color: #334155;
    display: flex;
    align-items: flex-start;
}

.ed-checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ed-green-light);
    color: var(--ed-green-dark);
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── SPECIALIZATIONS & BRANCHES (MODERN BLUE THEME) ─── */
.ed-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 1.25rem;
}

.ed-spec-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--ed-border-soft);
    border-radius: var(--ed-radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px var(--ed-shadow-card);
    text-decoration: none;
    min-height: 80px;
}

.ed-spec-card:hover {
    transform: translateY(-3px);
    border-color: var(--spec-color, var(--ed-azure));
    box-shadow: 0 4px 70px rgba(var(--ed-navy-rgb), 0.12);
}

/* Left Circular Icon Badge */
.ed-spec-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--spec-bg, var(--ed-tint-azure));
    color: var(--spec-color, var(--ed-azure));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-spec-card:hover .ed-spec-icon {
    background: var(--spec-color, var(--ed-azure));
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 6px 16px var(--spec-shadow, rgba(var(--ed-azure-rgb), 0.35));
}

/* Center Title */
.ed-spec-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ed-navy);
    margin: 0;
    line-height: 1.35;
    flex: 1;
    position: relative;
    z-index: 2;
    transition: color 0.25s ease;
}

.ed-spec-card:hover .ed-spec-card-title {
    color: var(--spec-color, var(--ed-azure));
}

/* Right Circular Chevron Arrow Badge */
.ed-spec-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--spec-bg, var(--ed-tint-azure));
    color: var(--spec-color, var(--ed-azure));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-spec-card:hover .ed-spec-arrow {
    background: var(--spec-color, var(--ed-azure));
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px var(--spec-shadow, rgba(var(--ed-azure-rgb), 0.3));
}

/* Dual-layer organic curved wave accent in bottom-right corner */
.ed-spec-corner-wave {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 110px;
    height: 65px;
    pointer-events: none;
    overflow: hidden;
    border-bottom-right-radius: 20px;
    z-index: 1;
}

.ed-spec-corner-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ed-wave-layer-1 {
    fill: var(--spec-wave-1, rgba(var(--ed-ice-rgb), 0.42));
    transition: all 0.35s ease;
}

.ed-wave-layer-2 {
    fill: var(--spec-wave-2, rgba(var(--ed-azure-rgb), 0.20));
    transition: all 0.35s ease;
}

.ed-spec-card:hover .ed-wave-layer-1 {
    opacity: 0.8;
    transform: scale(1.06);
    transform-origin: bottom right;
}

.ed-spec-card:hover .ed-wave-layer-2 {
    opacity: 0.45;
    transform: scale(1.09);
    transform-origin: bottom right;
}

@media (max-width: 1200px) {
    .ed-spec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}


/* ─── ADMISSION STEPS ─── */

.ed-step-content {
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.ed-step-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ed-navy);
    margin-bottom: 6px;
}


.ed-accepted-exams-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
}

.ed-accepted-exam-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(1, 138, 190, 0.08) 0%, rgba(2, 69, 122, 0.04) 100%);
    color: var(--ed-blue);
    border: 1px solid rgba(1, 138, 190, 0.25);
    border-radius: var(--ed-radius-pill);
    padding: 6px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 100%;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-accepted-exam-chip:hover {
    background: linear-gradient(135deg, rgba(1, 138, 190, 0.16) 0%, rgba(2, 69, 122, 0.08) 100%);
    border-color: rgba(1, 138, 190, 0.45);
    color: var(--ed-navy);
    transform: translateY(-1px);
}

.ed-accepted-exam-chip .ed-chip-icon {
    font-size: 0.88rem;
    color: var(--neon-blue, #018ABE);
    flex-shrink: 0;
}

.ed-accepted-exam-chip .ed-chip-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.ed-accepted-exam-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, rgba(1, 138, 190, 0.08) 0%, rgba(2, 69, 122, 0.03) 100%);
    border: 1px solid rgba(1, 138, 190, 0.22);
    border-left: 4px solid var(--neon-blue, #018ABE);
    border-radius: 12px;
    padding: 12px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.ed-accepted-exam-notice:hover {
    border-color: rgba(1, 138, 190, 0.35);
    border-left-color: var(--neon-blue, #018ABE);
    box-shadow: 0 4px 14px rgba(1, 138, 190, 0.06);
}

.ed-accepted-exam-notice-icon {
    color: var(--neon-blue, #018ABE);
    font-size: 1.15rem;
    line-height: 1.45;
    flex-shrink: 0;
    margin-top: 1px;
}

.ed-accepted-exam-notice-text {
    font-size: 0.92rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.55;
    flex: 1 1 0%;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.ed-accepted-exams-html {
    width: 100%;
    max-width: 100%;
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.55;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ─── MODERN COURSE FEE BANNER (EDUBANDHU THEME) ─── */
.ed-fee-banner-card {
    position: relative;
    background: var(--ed-fee-banner-gradient);
    border-radius: var(--ed-radius-lg);
    padding: 2.2rem 2.8rem;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(var(--ed-navy-rgb), 0.22);
    border: 1px solid rgba(var(--ed-white-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 2rem;
    color: #ffffff;
    z-index: 1;
}

/* Decorative Graphic Elements - EduBandhu Palette */
.ed-fee-banner-blob-blue {
    position: absolute;
    top: -45px;
    left: -25px;
    width: 155px;
    height: 155px;
    background: var(--ed-ice);
    opacity: 0.55;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.ed-fee-banner-blob-orange-left {
    position: absolute;
    bottom: -35px;
    left: 15px;
    width: 90px;
    height: 90px;
    background: var(--ed-azure);
    opacity: 0.85;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.ed-fee-banner-blob-orange-right {
    position: absolute;
    bottom: -50px;
    right: -15px;
    width: 150px;
    height: 150px;
    background: var(--ed-azure);
    opacity: 0.75;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.ed-fee-banner-dot-top {
    position: absolute;
    top: 15px;
    right: 210px;
    width: 10px;
    height: 10px;
    background: var(--ed-dot-accent-1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.ed-fee-banner-dot-bottom {
    position: absolute;
    bottom: 12px;
    left: 62%;
    width: 8px;
    height: 8px;
    background: var(--ed-ice);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.ed-fee-banner-dot-behind-btn {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--ed-dot-accent-2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Banner Content */
.ed-fee-banner-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.ed-fee-banner-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.ed-fee-banner-desc {
    font-size: 0.98rem;
    color: rgba(var(--ed-white-rgb), 0.92);
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

/* Apply Now Button */
.ed-fee-banner-btn-wrap {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.ed-fee-banner-btn {
    background: #ffffff;
    color: var(--ed-navy) !important;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: var(--ed-radius-pill);
    border: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ed-fee-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    color: var(--ed-azure) !important;
    background: #ffffff;
}

@media (max-width: 767.98px) {
    .ed-fee-banner-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
        gap: 16px;
        margin-bottom: 1.25rem;
    }

    .ed-fee-banner-title {
        font-size: 1.45rem;
    }

    .ed-fee-banner-desc {
        font-size: 0.88rem;
    }

    .ed-fee-banner-btn-wrap {
        width: 100%;
    }

    .ed-fee-banner-btn {
        width: 100%;
        text-align: center;
        padding: 11px 20px;
    }

    .ed-fee-banner-dot-behind-btn {
        display: none;
    }
}

/* ─── OFFERING COLLEGES (MODERN HORIZONTAL AUTO-RUNNING CAROUSEL) ─── */
.ed-carousel-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--ed-radius-pill);
    border: 1px solid var(--ed-border);
    background: var(--ed-white);
    color: var(--ed-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--ed-shadow-xs);
}

.ed-carousel-btn:hover {
    background: var(--ed-blue);
    color: var(--ed-white);
    border-color: var(--ed-blue);
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(var(--ed-blue-rgb), 0.25);
}

.ed-college-carousel-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 16px 0 28px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
}

.ed-college-carousel {
    display: flex;
    width: max-content;
    gap: 20px;
    overflow: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    animation: ed-college-marquee 36s linear infinite;
    will-change: transform;
}

.ed-college-carousel::-webkit-scrollbar {
    display: none;
}

/* Pause continuous scrolling on hover */
.ed-college-carousel-wrap:hover .ed-college-carousel,
.ed-college-carousel:hover {
    animation-play-state: paused;
}

.ed-college-carousel-set {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

@keyframes ed-college-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

.ed-avail-courses-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 8px 0 16px 0;
}

#availCourseCarouselTrack,
.ed-avail-courses-track {
    animation: none !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 20px !important;
    padding: 12px 6px 22px 6px !important;
    cursor: grab;
    user-select: none;
}

#availCourseCarouselTrack:active,
.ed-avail-courses-track:active,
.ed-avail-courses-track.is-dragging {
    cursor: grabbing !important;
}

#availCourseCarouselTrack::-webkit-scrollbar,
.ed-avail-courses-track::-webkit-scrollbar {
    display: none !important;
}

.ed-carousel-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ed-carousel-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(2, 69, 122, 0.15);
    background: #ffffff;
    color: var(--ed-navy, #001B48);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ed-carousel-nav-btn:hover {
    background: var(--neon-blue, #018ABE);
    color: #ffffff;
    border-color: var(--neon-blue, #018ABE);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(1, 138, 190, 0.25);
}

.ed-carousel-nav-btn:active {
    transform: scale(0.95);
}

.ed-carousel-nav-btn:disabled,
.ed-carousel-nav-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.ed-college-card {
    flex: 0 0 280px;
    max-width: 280px;
    position: relative;
    display: block;
    overflow: hidden;
    height: 315px;
    border-radius: var(--ed-radius);
    text-decoration: none !important;
    background: var(--ed-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    color: inherit;
}

.ed-college-card-wrap {
    position: relative;
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    border-radius: var(--ed-radius);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.ed-college-card-wrap .ed-college-card {
    width: 100%;
    max-width: none;
    margin: 0;
}

.ed-college-shortlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    background: rgba(8, 24, 45, 0.76);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ed-college-shortlist-btn:hover,
.ed-college-shortlist-btn.is-shortlisted {
    background: #0788bd;
    color: #fff;
}

.ed-college-shortlist-btn:hover {
    transform: translateY(-1px);
}

.ed-college-shortlist-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.ed-college-shortlist-btn:disabled {
    cursor: wait;
    opacity: 0.75;
}

.ed-shortlist-description {
    margin-top: 8px;
    color: #64788b;
}

.ed-shortlist-prompt {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 1.5rem 1.75rem;
    border-color: rgba(1, 138, 190, 0.18);
    background: linear-gradient(115deg, #f1faff, #fff 68%);
}

.ed-shortlist-prompt-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 16px;
    background: #e2f4fb;
    color: #0788bd;
    font-size: 1.3rem;
}

.ed-shortlist-prompt-content {
    flex: 1 1 auto;
    min-width: 0;
}

.ed-shortlist-prompt-content p {
    color: #5c7185;
    font-size: 0.92rem;
}

.ed-shortlist-prompt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    flex: 0 0 auto;
    padding: 0 18px;
    border-radius: 999px;
    background: #07558b;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ed-shortlist-prompt-btn:hover {
    transform: translateY(-1px);
    background: #0788bd;
    color: #fff;
}

.ed-shortlist-prompt-btn:focus-visible {
    outline: 3px solid rgba(7, 136, 189, 0.3);
    outline-offset: 3px;
}

.ed-hero-shortlist-cta {
    color: #fff;
    text-decoration: none;
}

.ed-hero-shortlist-cta:hover,
.ed-hero-shortlist-cta:focus {
    color: #fff;
}

.ed-hero-shortlist-cta:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

.ed-college-card-wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 27, 72, 0.22);
}

.ed-college-card:hover {
    color: inherit;
}

.ed-college-card-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ed-college-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
}

.ed-college-card:hover .ed-college-card-img {
    transform: scale(1.08);
    filter: brightness(0.8);
}

.ed-college-card-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.52) 35%,
            rgba(0, 0, 0, 0.12) 65%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transition: background 0.5s ease;
}

.ed-college-card:hover .ed-college-card-img-wrap::after {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.6) 45%,
            rgba(0, 0, 0, 0.15) 75%,
            rgba(0, 0, 0, 0.05) 100%);
}

/* Text Overlay with Frosted Glass Blur Background on Hover */
.ed-college-card-overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    z-index: 2;
    background: transparent;
    border: 1px solid transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transform: translateY(4px);
    transition: background 0.4s ease,
        backdrop-filter 0.4s ease,
        -webkit-backdrop-filter 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-college-card:hover .ed-college-card-overlay {
    background: rgba(0, 27, 72, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    transform: translateY(0);
}

.ed-college-card-title {
    margin: 0 0 6px;
    color: var(--ed-white);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: color 0.3s ease, transform 0.4s ease;
}

.ed-college-card:hover .ed-college-card-title {
    transform: translateY(-2px);
}

.ed-college-card-loc {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ed-white);
    font-size: 0.85rem;
    opacity: 0.95;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.ed-college-card-loc i {
    color: var(--ed-danger-alt);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ed-college-card:hover .ed-college-card-loc {
    opacity: 1;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .ed-shortlist-prompt {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
        padding: 1.25rem;
    }

    .ed-shortlist-prompt-content {
        flex: 1 1 calc(100% - 64px);
    }

    .ed-shortlist-prompt-btn {
        width: 100%;
    }

    .ed-college-card-wrap {
        flex-basis: 250px;
        width: 250px;
        max-width: 250px;
    }

    .ed-college-card {
        flex: 0 0 250px;
        max-width: 250px;
        height: 280px;
    }

    .ed-college-card-overlay {
        padding: 18px;
    }

    .ed-college-card-title {
        font-size: 1.125rem;
    }

    .ed-college-card-loc {
        font-size: 0.8125rem;
    }
}

/* ─── CAREER OPPORTUNITIES ─── */
.career-image-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: var(--ed-radius-lg);
    background: var(--ed-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .career-section {
        border-radius: 16px !important;
        margin-bottom: 1.25rem !important;
    }

    .career-image-wrap {
        border-radius: 16px;
        background: var(--ed-white);
    }

    .career-image {
        max-height: none !important;
        height: auto !important;
        width: 100% !important;
        object-fit: contain !important;
    }
}

/* ─── AVAILABLE COURSES CAROUSEL ─── */
.ed-avail-course-card {
    flex: 0 0 295px;
    max-width: 295px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
    box-shadow: none !important;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.ed-avail-course-card:hover {
    transform: translateY(-3px);
    box-shadow: none !important;
    border-color: var(--neon-blue, #018ABE) !important;
}

.ed-avail-course-title {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ed-navy);
    margin: 10px 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.ed-avail-course-title a {
    color: var(--ed-navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ed-avail-course-title a:hover {
    color: var(--ed-azure);
}

.ed-avail-course-fee {
    margin-bottom: 14px;
}

.ed-avail-course-fee span {
    display: block;
    font-size: 0.72rem;
    color: var(--ed-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.ed-avail-course-fee strong {
    font-size: 1rem;
    color: var(--ed-blue);
    font-weight: 800;
}

.ed-avail-course-footer {
    border-top: 1px solid var(--ed-border-light);
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ed-avail-course-dept {
    font-size: 0.8rem;
    color: var(--ed-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 145px;
}

@media (max-width: 575.98px) {
    .ed-avail-course-card {
        flex: 0 0 260px;
        max-width: 260px;
        padding: 16px;
    }
}

/* ─── FAQ ACCORDION ─── */
.ed-faq-item {
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius-md);
    margin-bottom: 10px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s;
}

.ed-faq-item.active {
    border-color: var(--ed-azure);
}

.ed-faq-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 20px;
    text-align: left;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ed-navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.ed-faq-btn i {
    font-size: 0.85rem;
    color: var(--ed-azure);
    transition: transform 0.3s ease;
}

.ed-faq-item.active .ed-faq-btn i {
    transform: rotate(180deg);
}

.ed-faq-body {
    display: none;
    padding: 0 20px 16px 20px;
    font-size: 0.93rem;
    line-height: 1.7;
    color: #475569;
    border-top: 1px solid var(--ed-border-light);
    padding-top: 12px;
}

/* ─── SIDEBAR ─── */
.ed-sidebar-sticky {
    position: sticky;
    top: 105px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ed-enquiry-card {
    background: #ffffff;
    border: 1px solid rgba(var(--ed-blue-rgb), 0.15);
    border-radius: var(--ed-radius-lg);
    padding: 24px;
    box-shadow: 0 12px 35px rgba(var(--ed-navy-rgb), 0.08);
    position: relative;
    overflow: hidden;
}

.ed-enquiry-head h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ed-navy);
    margin: 0 0 6px 0;
}

.ed-enquiry-head p {
    font-size: 0.85rem;
    color: var(--ed-text-muted);
    margin: 0 0 18px 0;
}

.ed-form-control {
    width: 100%;
    padding: 10px 16px;
    border-radius: var(--ed-radius-sm);
    border: 1px solid var(--ed-border);
    font-size: 0.9rem;
    color: var(--ed-text-main);
    background: #f8fafc;
    margin-bottom: 12px;
    transition: all 0.2s;
    outline: none;
}

.ed-form-control:focus {
    background: #ffffff;
    border-color: var(--ed-azure);
    box-shadow: 0 0 0 3px rgba(var(--ed-azure-rgb), 0.15);
}

.ed-btn-submit-enquiry {
    width: 100%;
    background: var(--ed-btn-enquiry-gradient);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: var(--ed-radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(var(--ed-blue-rgb), 0.25);
    transition: all 0.25s ease;
}

.ed-btn-submit-enquiry:hover {
    background: var(--ed-btn-enquiry-hover-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--ed-azure-rgb), 0.35);
}

.ed-quick-facts-card {
    background: #ffffff;
    border: 1px solid var(--ed-border);
    border-radius: var(--ed-radius);
    padding: 20px;
    box-shadow: var(--ed-shadow);
}

.ed-fact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--ed-border-light);
    font-size: 0.9rem;
}

.ed-fact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ed-fact-label {
    color: var(--ed-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.ed-fact-val {
    font-weight: 700;
    color: var(--ed-navy);
    text-align: right;
}

.ed-whatsapp-card {
    background: var(--ed-whatsapp-gradient);
    border-radius: var(--ed-radius);
    padding: 18px 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.2);
    transition: transform 0.25s;
}

.ed-whatsapp-card:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 991.98px) {
    .ed-course-hero {
        padding: 1.5rem 1.25rem;
        border-radius: var(--ed-radius-lg);
    }

    .ed-course-hero-img-box {
        border-radius: 16px;
        margin-bottom: 0.75rem;
        border-width: 2px;
    }



    .ed-hero-title {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }

    .ed-sticky-subnav {
        top: 0;
    }

    .ed-sidebar-sticky {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .ed-course-hero {
        padding: 1.2rem 1rem;
        border-radius: 16px;
        margin-bottom: 1.25rem;
    }

    .ed-course-hero-img-box {
        border-radius: var(--ed-radius-card);
        margin-bottom: 0.75rem;
    }



    .ed-hero-badges {
        gap: 6px;
        margin-bottom: 0.75rem;
    }

    .ed-badge-pill {
        padding: 4px 10px;
        font-size: 0.75rem;
    }

    .ed-hero-title {
        font-size: 1.35rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .ed-hero-college {
        padding: 6px 12px;
        gap: 8px;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .ed-hero-college-name {
        font-size: 0.88rem;
        max-width: 180px;
    }

    .ed-hero-desc {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 1.25rem;
    }

    .ed-hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 1.25rem;
    }

    .ed-hero-stat-box {
        padding: 8px 6px;
        gap: 6px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-radius: var(--ed-radius-sm);
    }

    .ed-stat-icon-wrap {
        width: 30px;
        height: 30px;
        font-size: 0.88rem;
        border-radius: 8px;
    }

    .ed-stat-info span {
        font-size: 0.65rem;
        letter-spacing: 0;
    }

    .ed-stat-info strong {
        font-size: 0.82rem;
        line-height: 1.15;
    }

    .ed-hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .ed-btn-primary-apply {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    .ed-btn-shortlist-course {
        flex: 1 1 auto;
        min-width: 140px;
        justify-content: center;
        padding: 0.65rem 1rem;
        font-size: 0.88rem;
    }

    .ed-btn-outline-white {
        flex: 1 1 auto;
        min-width: 100px;
        justify-content: center;
        padding: 0.65rem 0.85rem;
        font-size: 0.82rem;
    }

    .ed-section-card {
        padding: 1.25rem 1rem !important;
        border-radius: 16px !important;
        margin-bottom: 1.25rem !important;
    }

    .ed-section-title {
        font-size: 1.18rem;
    }

    .ed-section-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .ed-spec-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ed-spec-card {
        padding: 12px 14px;
    }

    .paragraph-description table {
        font-size: 0.85rem;
    }

    .ed-timeline {
        gap: 12px;
    }


    .ed-step-content h4 {
        font-size: 0.95rem;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .ed-accepted-exams-wrap {
        gap: 6px;
    }

    .ed-accepted-exam-chip {
        font-size: 0.82rem;
        padding: 5px 10px;
        border-radius: 8px;
    }

    .ed-accepted-exam-chip .ed-chip-icon {
        font-size: 0.8rem;
    }

    .ed-accepted-exam-notice {
        padding: 10px 12px;
        gap: 8px;
        border-radius: 8px;
    }

    .ed-accepted-exam-notice-icon {
        font-size: 0.95rem;
    }

    .ed-accepted-exam-notice-text {
        font-size: 0.82rem;
        line-height: 1.48;
    }
}


/* ─── COLLEGE CARD BODY (LEGACY / FALLBACK) ─── */
.ed-college-card-body {
    padding: 16px 18px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ffffff;
    flex: 1;
}

/* ─── EXTRACTED INLINE UTILITY CLASSES ─── */
.ed-subnav-sentinel {
    height: 1px;
    width: 100%;
}

.ed-section-accent-bar {
    width: 5px;
    height: 24px;
    background-color: var(--neon-blue, #018ABE);
    border-radius: 10px;
    margin-right: 12px;
    flex-shrink: 0;
}

.ed-overview-fade-overlay {
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 100%);
    pointer-events: none;
}

.ed-toggle-overview-btn {
    font-size: 0.95rem;
    color: var(--neon-blue, #018ABE) !important;
}

.ed-badge-duration {
    font-size: 0.75rem;
}

.ed-badge-mode {
    font-size: 0.72rem;
}

.ed-btn-view-details {
    font-size: 0.8rem;
}

/* FAQ Active Body */
.ed-faq-body.show,
.ed-faq-item.active .ed-faq-body {
    display: block;
}

/* Course detail FAQ accordion */
body.ed-course-detail-page #sec-faqs.ed-section-card {
    padding: clamp(24px, 3vw, 40px);
    border: 0;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 36px rgba(7, 27, 54, 0.07);
}

body.ed-course-detail-page #sec-faqs .ed-section-header {
    margin-bottom: 20px;
}

body.ed-course-detail-page #sec-faqs .ed-section-title {
    color: #071b36;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 750;
    letter-spacing: -0.025em;
}

body.ed-course-detail-page #sec-faqs>div:last-child {
    display: grid;
    gap: 12px;
}

body.ed-course-detail-page #sec-faqs .ed-faq-item {
    margin: 0;
    border: 0;
    border-radius: 14px;
    background: #f3f7fb;
    box-shadow: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

body.ed-course-detail-page #sec-faqs .ed-faq-item:hover {
    background: #edf5fa;
}

body.ed-course-detail-page #sec-faqs .ed-faq-item.active {
    background: #fff;
    box-shadow: 0 8px 22px rgba(7, 27, 54, 0.08);
}

body.ed-course-detail-page #sec-faqs .ed-faq-btn {
    min-height: 62px;
    padding: 18px 22px;
    color: #0b3156;
    font-size: 1rem;
    line-height: 1.5;
}

body.ed-course-detail-page #sec-faqs .ed-faq-btn:focus-visible {
    outline: 3px solid rgba(1, 138, 190, 0.3);
    outline-offset: -4px;
    border-radius: 12px;
}

body.ed-course-detail-page #sec-faqs .ed-faq-btn i {
    flex: 0 0 auto;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: #edf7fc;
    color: #0788bd;
    font-size: 0.78rem;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body.ed-course-detail-page #sec-faqs .ed-faq-item.active .ed-faq-btn i {
    background: #0788bd;
    color: #fff;
}

body.ed-course-detail-page #sec-faqs .ed-faq-body {
    display: block;
    margin: 0 22px;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    opacity: 0;
    color: #526579;
    font-size: 0.96rem;
    line-height: 1.8;
    transition: max-height 0.38s ease, opacity 0.25s ease, padding 0.38s ease;
}

body.ed-course-detail-page #sec-faqs .ed-faq-item.active .ed-faq-body {
    padding: 15px 0 20px;
    opacity: 1;
}

@media (max-width: 575.98px) {
    body.ed-course-detail-page #sec-faqs.ed-section-card {
        padding: 22px 16px;
        border-radius: 16px;
    }

    body.ed-course-detail-page #sec-faqs .ed-faq-btn {
        min-height: 58px;
        padding: 15px 16px;
        font-size: 0.94rem;
    }

    body.ed-course-detail-page #sec-faqs .ed-faq-body {
        margin: 0 16px;
        font-size: 0.9rem;
    }

    body.ed-course-detail-page #sec-faqs .ed-faq-item.active .ed-faq-body {
        padding: 13px 0 17px;
    }
}

/* Enquiry Form Response Alert & Trust Note */
.ed-enquiry-alert {
    display: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.ed-enquiry-security-note {
    font-size: 0.78rem;
    color: var(--ed-text-muted, #64748B);
}

/* ─── SPECIALIZATION CARD COLOR PALETTES ─── */
.ed-spec-card.theme-0 {
    --spec-color: #018ABE;
    --spec-bg: #EEF8FC;
    --spec-wave-1: rgba(151, 202, 219, 0.42);
    --spec-wave-2: rgba(1, 138, 190, 0.20);
    --spec-shadow: rgba(1, 138, 190, 0.35);
}

.ed-spec-card.theme-1 {
    --spec-color: #02457A;
    --spec-bg: #EEF4F8;
    --spec-wave-1: rgba(151, 202, 219, 0.45);
    --spec-wave-2: rgba(2, 69, 122, 0.20);
    --spec-shadow: rgba(2, 69, 122, 0.35);
}

.ed-spec-card.theme-2 {
    --spec-color: #0284C7;
    --spec-bg: #F0F9FF;
    --spec-wave-1: rgba(165, 216, 247, 0.45);
    --spec-wave-2: rgba(2, 132, 199, 0.22);
    --spec-shadow: rgba(2, 132, 199, 0.35);
}

.ed-spec-card.theme-3 {
    --spec-color: #1E50A0;
    --spec-bg: #EFF4FC;
    --spec-wave-1: rgba(157, 189, 230, 0.42);
    --spec-wave-2: rgba(30, 80, 160, 0.20);
    --spec-shadow: rgba(30, 80, 160, 0.35);
}

.ed-spec-card.theme-4 {
    --spec-color: #0891B2;
    --spec-bg: #EFFAFB;
    --spec-wave-1: rgba(153, 224, 229, 0.42);
    --spec-wave-2: rgba(8, 145, 178, 0.20);
    --spec-shadow: rgba(8, 145, 178, 0.35);
}

.ed-spec-card.theme-5 {
    --spec-color: #2563EB;
    --spec-bg: #EFF6FF;
    --spec-wave-1: rgba(185, 213, 253, 0.42);
    --spec-wave-2: rgba(37, 99, 235, 0.20);
    --spec-shadow: rgba(37, 99, 235, 0.35);
}

.ed-spec-card.theme-6 {
    --spec-color: #001B48;
    --spec-bg: #EEF2F7;
    --spec-wave-1: rgba(151, 202, 219, 0.40);
    --spec-wave-2: rgba(0, 27, 72, 0.18);
    --spec-shadow: rgba(0, 27, 72, 0.35);
}

.ed-spec-card.theme-7 {
    --spec-color: #026C99;
    --spec-bg: #F0F8FB;
    --spec-wave-1: rgba(178, 223, 234, 0.45);
    --spec-wave-2: rgba(2, 108, 153, 0.22);
    --spec-shadow: rgba(2, 108, 153, 0.35);
}




/* page heading css */
.page-heading {
    background: transparent;
    margin-bottom: 2.5rem;
}

/* Search Box */
.search-refine-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(2, 69, 122, 0.12);
}

/* Search Input */
.search-refine-input {
    font-size: 0.95rem;
}

.search-refine-input::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

.search-refine-input:focus {
    box-shadow: none !important;
    outline: none;
}

/* Search Button */
.search-refine-btn {
    background: linear-gradient(135deg,
            #0099ff 0%,
            #6366f1 100%);
    border: none;
    font-size: 0.88rem;
    transition: all 0.3s ease;
}

.search-refine-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 153, 255, 0.25) !important;
}

/* Mobile */
@media (max-width: 576px) {
    .search-refine-box {
        padding: 5px !important;
    }

    .search-refine-input {
        font-size: 0.85rem !important;
    }

    .search-refine-btn {
        padding: 8px 16px !important;
        font-size: 0.82rem;
    }
}

/* page heading css end  */

/* ==========================================================================
   COLLEGE DETAIL PAGE STYLES
   ========================================================================== */

/* Responsive tables within content areas */
.table-responsive table {
    min-width: 650px !important;
    table-layout: auto !important;
}

.table-responsive table th,
.table-responsive table td {
    min-width: 120px !important;
    word-break: normal !important;
    white-space: normal !important;
}

/* College Navigation Tabs Scrollbar */
#collegeDetailTab::-webkit-scrollbar {
    display: none;
}

#collegeDetailTab {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Course Mode Filter Buttons & Card Items */
.college-courses-panel {
    position: relative;
}

.course-filter-toolbar {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.course-filter-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 0 24px;
}

.course-filter-title {
    margin: 0 0 16px;
    color: #0b3156;
    font-size: 1.25rem;
    font-weight: 650;
}

.course-filter-group+.course-filter-group {
    margin-top: 16px;
}

.course-filter-label {
    margin: 0 0 10px;
    color: #64788b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    .course-filter-toolbar {
        margin-bottom: 16px;
    }

    .course-filter-toolbar>div {
        min-width: 0;
    }

    .course-filter-panel .course-mode-btn,
    .course-filter-panel .course-level-filter-btn {
        max-width: 100%;
        padding-right: 14px;
        padding-left: 14px;
        white-space: nowrap;
    }

    .course-filter-group+.course-filter-group {
        margin-top: 18px;
    }

}

@media (max-width: 359.98px) {
    .course-filter-toolbar {
        gap: 8px;
    }

    .course-filter-toolbar h2 {
        font-size: 1rem;
    }

    .course-filter-panel .course-mode-btn,
    .course-filter-panel .course-level-filter-btn {
        padding-right: 10px;
        padding-left: 10px;
    }
}

.course-mode-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    padding: 8px 16px !important;
    border: 1px solid #d5e1ec !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #315777 !important;
    font-weight: 600 !important;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.course-mode-btn.active,
.course-level-filter-btn.active {
    border-color: #07558b !important;
    background: #07558b !important;
    color: #fff !important;
    box-shadow: 0 3px 9px rgba(7, 85, 139, 0.16);
}

.course-mode-btn:hover:not(.active),
.course-level-filter-btn:hover:not(.active) {
    border-color: #0788bd !important;
    background: #f2faff !important;
    color: #07558b !important;
}

.course-mode-btn:focus-visible,
.course-level-filter-btn:focus-visible {
    outline: 3px solid rgba(7, 136, 189, 0.3);
    outline-offset: 2px;
}

.course-filter-count {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    margin-left: 4px;
    padding: 0 6px;
    place-items: center;
    border-radius: 999px;
    background: #e7f0fa;
    color: #07558b;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.course-mode-btn.active .course-filter-count,
.course-level-filter-btn.active .course-filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
}

.course-level-filter-btn {
    min-height: 42px;
    padding: 7px 15px !important;
    border: 1px solid #d5e1ec !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #315777 !important;
    font-weight: 600 !important;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}


.course-card-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.course-card-item.hidden-card {
    display: none !important;
}

.course-level-group.hidden-group {
    display: none !important;
}

/* Custom Vertical Pills Nav for Facilities/Categories */
.custom-vertical-pills-frontend .nav-link {
    text-align: left;
    color: var(--text-secondary, #475569);
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
    background-color: transparent;
}

.custom-vertical-pills-frontend .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.custom-vertical-pills-frontend .nav-link.active {
    background-color: #02457a !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(2, 69, 122, 0.2);
}

.custom-vertical-pills-frontend .nav-link.active .badge {
    background-color: #fff !important;
    color: #02457a !important;
    border-color: #fff !important;
}

/* Section Title Accent Bar */
.section-title-bar {
    width: 5px;
    height: 26px;
    background-color: var(--neon-blue, #007bff);
    border-radius: 10px;
    margin-right: 12px;
    flex-shrink: 0;
}

.section-title-bar.green {
    background-color: var(--neon-green, #10b981);
}

.section-title-bar.purple {
    background-color: var(--neon-purple, #a855f7);
}

/* Overview & Expandable Content Box */
.expandable-content-box {
    max-height: 240px;
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: 0.1px;
    transition: max-height 0.4s ease;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.expandable-content-box.campus-box {
    max-height: 500px;
}

.fade-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 100%);
    pointer-events: none;
}

.fade-overlay-bottom.h-50 {
    height: 50px !important;
}

/* Stat Icon Boxes & Labels */
.stat-icon-box {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-label-text {
    font-size: 0.76rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Course Card Item & Badges */
.course-level-badge {
    background: linear-gradient(135deg, #02457a, #018abe);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.course-card-box {
    background: #fff;
    box-shadow: 0 4px 20px rgba(2, 69, 122, 0.08);
}



.course-card-title {
    font-size: 1.05rem;
    line-height: 1.35;
    color: #02457a;
}

.course-card-sub {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5a6e82;
}

.course-pill-tag {
    background: #f0f6fb;
    color: #345b7a;
    font-size: 0.82rem;
    font-weight: 500;
}

.course-pill-tag.bold {
    font-weight: 700;
}

.course-pill-tag i {
    color: #018abe;
}

.course-btn-primary {
    background: linear-gradient(135deg, #02457a, #018abe);
    color: #fff;
    font-size: 0.88rem;
    padding: 10px 20px;
    border: none;
}

.course-btn-primary:hover {
    color: #fff;
    opacity: 0.95;
}

.college-course-detail-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: transparent;
    box-shadow: 0 14px 32px rgba(2, 69, 122, 0.12);
}

.college-course-detail-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.college-course-detail-image:hover img {
    transform: scale(1.025);
}

.college-course-image-short-name {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    max-width: calc(100% - 22px);
    padding: 10px 24px;
    overflow-wrap: anywhere;
    border-radius: 0 0 24px 0;
    background: #07558f;
    color: #fff;
    font-size: clamp(0.95rem, 1.6vw, 1.2rem);
    font-weight: 700;
    line-height: 1.3;
}

.college-course-detail-heading h3 {
    color: #092d58 !important;
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    line-height: 1.25;
}

.college-course-detail-hero {
    padding: 0;
}

.college-course-detail-content {
    padding: 28px 4px 8px;
}

.college-course-detail-heading {
    max-width: 900px;
    padding: 0;
}

.college-course-detail-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: #0788bd;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.college-course-detail-heading h3 {
    margin-bottom: 8px !important;
    max-width: 900px;
    letter-spacing: -0.025em;
}

.college-course-detail-subtitle {
    margin: 0;
    color: #55718b;
    font-size: 1.05rem;
    line-height: 1.5;
}

.college-course-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    margin-top: 24px;
    border-top: 1px solid #e4ebf2;
}

.college-course-meta-item {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
    padding: 16px 2px;
    border-bottom: 1px solid #e4ebf2;
    color: #315777;
}

.college-course-meta-item>i {
    flex: 0 0 auto;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: #eef8fc;
    color: #0788bd;
    font-size: 1.12rem;
}

.college-course-meta-item>span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
    overflow-wrap: anywhere;
}

.college-course-meta-item small {
    color: #74899d;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.2;
}

.college-course-meta-item strong {
    color: #12375d;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
}

.college-course-meta-fee {
    border-bottom-color: rgba(7, 136, 189, 0.25);
}

.college-course-meta-fee strong {
    color: #056d99;
}

.college-course-detail-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.college-course-image-actions {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    max-width: 100%;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    background: transparent;
}

.college-course-detail-cta,
.college-course-compare-cta {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.college-course-detail-cta {
    background: linear-gradient(135deg, #02457a, #0788bd);
    color: #fff;
    box-shadow: 0 8px 20px rgba(2, 69, 122, 0.2);
}

.college-course-detail-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(2, 69, 122, 0.24);
    color: #fff;
}

.college-course-compare-cta {
    border: 1px solid #cbd9e6;
    background: #fff;
    color: #17466d;
    border-radius: 24px 0 0 24px;
}

.college-course-image-actions .college-course-detail-cta {
    border-radius: 0 0 22px 0;
}

.college-course-image-actions .college-course-compare-cta+.college-course-detail-cta {
    margin-left: -1px;
}

.college-course-compare-cta:hover {
    transform: translateY(-2px);
    border-color: #0788bd;
    background: #f3fbfe;
    color: #056d99;
}

.college-course-detail-cta>i:last-child {
    margin-left: 3px;
}

.course-overview-action {
    display: flex;
    justify-content: flex-end;
}

.college-course-spec-card {
    width: 100%;
    text-align: left;
    font: inherit;
}

.ed-section-card.college-course-specializations,
.ed-section-card.college-course-specializations:hover {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 767.98px) {
    .college-course-detail-image {
        height: auto;
        border-radius: 18px;
    }

    .college-course-detail-image img {
        height: auto;
        object-fit: contain;
    }

    .college-course-image-short-name {
        max-width: calc(100% - 18px);
        padding: 8px 18px;
        border-bottom-right-radius: 20px;
    }

    .college-course-detail-content {
        padding: 22px 0 6px;
    }

    .college-course-detail-heading h3 {
        font-size: 1.4rem;
    }

    .college-course-detail-meta {
        column-gap: 20px;
        margin-top: 18px;
    }

    .college-course-meta-item {
        gap: 10px;
        padding: 13px 0;
    }

    .college-course-meta-item strong {
        font-size: 0.92rem;
    }

    .college-course-image-actions {
        gap: 0;
    }

    .college-course-image-actions>a {
        min-height: 40px;
        padding-right: 12px;
        padding-left: 12px;
        font-size: 0.84rem;
    }

    .college-course-image-actions .college-course-compare-cta {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .college-course-image-actions .college-course-detail-cta {
        flex: 1 1 0;
        min-width: 0;
        line-height: 1.2;
        text-align: center;
    }

    .college-course-image-actions .college-course-detail-cta>i:last-child {
        display: none;
    }

    .ed-section-card.college-course-specializations,
    .ed-section-card.college-course-specializations:hover {
        padding: 0 !important;
        border-radius: 0 !important;
    }

}

@media (max-width: 479.98px) {
    .college-course-detail-meta {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .college-course-image-actions>a {
        gap: 7px;
        padding-right: 9px;
        padding-left: 9px;
        font-size: 0.78rem;
    }

}

/* Placement Stats & Cards */
.placement-stat-card {
    background-color: #ffffff;
    min-height: 140px;
    box-shadow: 0 4px 15px rgba(2, 69, 122, 0.05);
}

.placement-stat-card h4 {
    letter-spacing: -0.5px;
}

.placement-stat-card p {
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.placement-company-card {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(2, 69, 122, 0.05);
}

.placement-internship-card {
    background-color: #ffffff;
    box-shadow: 0 4px 18px rgba(2, 69, 122, 0.05);
}

.placement-company-badge {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    color: #001B48;
    border: 1px solid rgba(2, 69, 122, 0.14);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    border-radius: 50rem !important;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 27, 72, 0.03);
    letter-spacing: 0.15px;
    line-height: 1.35;
    white-space: normal;
    text-align: left;
    max-width: 100%;
    word-break: break-word;
}

.placement-company-badge:hover {
    background: #ffffff;
    color: var(--neon-blue, #018abe);
    border-color: var(--neon-blue, #018abe);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 138, 190, 0.15);
}

.placement-company-badge i {
    font-size: 0.85rem;
    color: var(--neon-blue, #018abe);
    flex-shrink: 0;
}

.placement-icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(1, 138, 190, 0.1);
    color: var(--neon-blue);
    border: 1px solid rgba(1, 138, 190, 0.2);
}

/* Gallery Hover Thumbnail */
.gallery-carousel {
    width: 100%;
}

.gallery-carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 2px 0 10px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
}

.gallery-carousel-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.gallery-carousel-track.is-running {
    animation: college-gallery-scroll var(--gallery-duration, 35s) linear infinite;
}

.gallery-carousel:hover .gallery-carousel-track,
.gallery-carousel:focus-within .gallery-carousel-track,
.gallery-carousel.is-paused .gallery-carousel-track {
    animation-play-state: paused;
}

.gallery-carousel-set {
    display: flex;
    flex: 0 0 auto;
    gap: 24px;
    width: max-content;
    padding-right: 24px;
}

@keyframes college-gallery-scroll {
    to {
        transform: translateX(var(--gallery-shift, -50%));
    }
}

.gallery-thumb-card {
    display: block;
    flex: 0 0 clamp(210px, 22vw, 260px);
    width: clamp(210px, 22vw, 260px);
    height: 160px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 1rem;
    background: #eaf3f8;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 8px 18px rgba(2, 69, 122, 0.1);
}

.gallery-thumb-card img {
    display: block;
    transition: transform 0.3s ease;
}

.gallery-thumb-card:hover img {
    transform: scale(1.05);
}

.gallery-thumb-button:focus-visible {
    outline: 3px solid #0788bd;
    outline-offset: 3px;
}

.college-gallery-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(1000px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    padding: 54px 64px 24px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: #071827;
    color: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.college-gallery-modal::backdrop {
    background: rgba(3, 14, 25, 0.86);
    backdrop-filter: blur(5px);
}

.college-gallery-modal-figure {
    display: flex;
    min-height: 180px;
    max-height: calc(100vh - 112px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0;
}

.college-gallery-modal-image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 170px);
    object-fit: contain;
    border-radius: 8px;
}

.college-gallery-modal-caption {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    text-align: center;
}

.college-gallery-modal-close,
.college-gallery-modal-nav {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.college-gallery-modal-close:hover,
.college-gallery-modal-nav:hover {
    transform: scale(1.06);
    background: rgba(7, 136, 189, 0.85);
}

.college-gallery-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
}

.college-gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.college-gallery-modal-nav:hover {
    transform: translateY(-50%) scale(1.06);
}

.college-gallery-modal-prev {
    left: 12px;
}

.college-gallery-modal-next {
    right: 12px;
}

@media (max-width: 575.98px) {
    .gallery-carousel-set {
        gap: 14px;
        padding-right: 14px;
    }

    .gallery-thumb-card {
        flex-basis: 210px;
        width: 210px;
        height: 145px;
        border-radius: 0.85rem;
    }

    .college-gallery-modal {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        padding: 50px 42px 18px;
        border-radius: 14px;
    }

    .college-gallery-modal-figure {
        max-height: calc(100vh - 90px);
    }

    .college-gallery-modal-image {
        max-height: calc(100vh - 150px);
    }

    .college-gallery-modal-close,
    .college-gallery-modal-nav {
        width: 38px;
        height: 38px;
    }

    .college-gallery-modal-prev {
        left: 4px;
    }

    .college-gallery-modal-next {
        right: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-carousel-track.is-running {
        animation: none;
    }
}

/* Faculty Avatar & Amenities */
.faculty-avatar-circle {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.faculty-avatar-fallback {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.amenity-category-heading {
    color: #02457a;
    border-left: 4px solid #02457a;
    padding-left: 12px;
    font-size: 1.1rem;
    font-weight: 700;
}

.amenity-item-row {
    background: rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.amenity-icon-wrap {
    width: 36px;
    height: 36px;
    background: rgba(2, 69, 122, 0.1);
    color: #02457a;
}

/* Toast Component */
.ed-toast-container {
    z-index: 1100;
}

.ed-toast-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
}

.ed-toast-content {
    border-left: 4px solid var(--neon-blue);
}

.ed-toast-icon {
    font-size: 1.25rem;
}

.ed-toast-msg {
    font-size: 0.95rem;
    color: #1e293b;
}

/* Review, Progress & Category Helpers */
.progress-h8 {
    height: 8px;
}

.review-star-num {
    width: 20px;
}

.review-percent-label {
    width: 40px;
    text-align: right;
}

.review-write-btn {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
}

.review-submit-btn {
    background: linear-gradient(135deg, #0099ff 0%, #6366f1 100%);
    border: none;
}

.category-icon {
    width: 20px;
}

.pointer {
    cursor: pointer;
}

.stat-icon-purple {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
    background: rgba(168, 85, 247, 0.15);
    color: var(--neon-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-approval-label {
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-approval-tag {
    font-size: 0.72rem;
}

.text-icon-azure {
    color: #018abe;
}

.text-icon-amber {
    color: #f59e0b;
}

.text-lh-base {
    line-height: 1.8;
}

.faq-question-btn {
    font-size: 1.05rem;
}

.faq-answer-body {
    line-height: 1.8;
    font-size: 1rem;
}

.similar-colleges-heading {
    font-size: 1.35rem;
}

.custom-border-light {
    border-color: rgba(0, 0, 0, 0.05) !important;
}


/* College Sidebar & Overlays */
.sticky-college-sidebar {
    top: 50px;
    z-index: 10;
}

.college-banner-wrap {
    height: 250px;
    position: relative;
}

.college-logo-overlap-wrap {
    position: absolute;
    bottom: -40px;
    left: 24px;
    z-index: 5;
}

.college-logo-overlap-box {
    width: 90px;
    height: 90px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.btn-circle-action {
    width: 34px;
    height: 34px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Similar Colleges Marquee Carousel Styles */
.ed-sim-carousel-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 8px 0 16px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
}

.ed-sim-carousel {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: ed-sim-scroll-marquee 40s linear infinite;
}

.ed-sim-carousel-wrap:hover .ed-sim-carousel,
.ed-sim-carousel.is-paused {
    animation-play-state: paused !important;
}

.ed-sim-carousel-set {
    display: flex;
    gap: 20px;
    padding-right: 20px;
    flex-shrink: 0;
    align-items: stretch;
}

@keyframes ed-sim-scroll-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.ed-sim-college-card {
    width: 275px;
    min-width: 275px;
    max-width: 275px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(2, 69, 122, 0.09);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
}

.ed-sim-college-card:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 69, 122, 0.25);
    box-shadow: 0 12px 28px rgba(2, 69, 122, 0.12);
}

.ed-sim-card-img-wrap {
    position: relative;
    height: 140px;
    width: 100%;
    overflow: hidden;
    background: #f1f5f9;
}

.ed-sim-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-sim-college-card:hover .ed-sim-card-img {
    transform: scale(1.08);
}

.ed-sim-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(15, 23, 42, 0.5) 100%);
    pointer-events: none;
}

.ed-sim-card-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 14px;
    margin-top: -26px;
    position: relative;
    z-index: 3;
}

.ed-sim-logo-wrap {
    width: 52px;
    height: 52px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    text-decoration: none;
}

.ed-sim-logo-wrap:hover {
    transform: scale(1.06);
}

.ed-sim-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.ed-sim-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--neon-blue, #02457a);
    font-size: 1.25rem;
}

.ed-sim-rating-badge {
    background: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 3px 9px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    margin-bottom: 2px;
}

.ed-sim-rating-badge i {
    color: #f59e0b;
    font-size: 0.72rem;
}

.ed-sim-card-bottom {
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ed-sim-shortname-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.08);
    color: var(--neon-blue, #02457a);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.ed-sim-type-badge {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 6px;
    max-width: 140px;
}

.ed-sim-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px 0;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ed-sim-card-title a {
    color: var(--primary-color, #02457a);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ed-sim-card-title a:hover {
    color: #2563eb;
}

.ed-sim-card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ed-sim-card-location i {
    color: var(--neon-blue, #02457a);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.ed-sim-card-action {
    margin-top: auto;
}

.ed-sim-compare-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 7px 12px;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.05);
    color: var(--neon-blue, #02457a);
    border: 1px solid rgba(37, 99, 235, 0.2);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ed-sim-compare-btn:hover {
    background: var(--neon-blue, #02457a);
    color: #ffffff;
    border-color: var(--neon-blue, #02457a);
    box-shadow: 0 4px 12px rgba(2, 69, 122, 0.2);
    transform: translateY(-1px);
}

.ed-sim-toggle-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (max-width: 576px) {
    .ed-sim-college-card {
        width: 240px;
        min-width: 240px;
        max-width: 240px;
    }

    .ed-sim-card-img-wrap {
        height: 125px;
    }

    .ed-sim-card-title {
        font-size: 0.88rem;
    }
}

/* ==========================================================================
   EDUBANDHU - DYNAMIC STATIC & LEGAL PAGES (pages/page.php)
   ========================================================================== */

/* Full-Width Hero Cover Banner */
.eb-legal-cover-hero {
    background: linear-gradient(135deg, #001B48 0%, #02457A 45%, #018ABE 100%);
    border-radius: 26px;
    padding: 3.5rem 2.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(2, 69, 122, 0.2);
    margin-bottom: 2rem;
}

.eb-legal-cover-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(151, 202, 219, 0.28) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(25px);
}

.eb-legal-cover-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 30%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(20px);
}

.eb-legal-cover-hero .eb-legal-hero-title {
    letter-spacing: -0.5px;
}

.eb-legal-cover-hero .eb-legal-hero-subtitle {
    max-width: 720px;
    line-height: 1.6;
}

.eb-legal-badge {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* Full Width Document Card */
.static-page-card-full {
    background: #ffffff;
    border-radius: 26px;
    border: 1.5px solid rgba(1, 138, 190, 0.14);
    box-shadow: 0 10px 40px rgba(0, 27, 72, 0.05);
    padding: 3.5rem 3rem;
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    .static-page-card-full {
        padding: 2.2rem 1.75rem;
    }

    .eb-legal-cover-hero {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .static-page-card-full {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
    }

    .eb-legal-cover-hero {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }
}

/* Typography & CMS Content Styling - Supports all rich text */
.static-page-content {
    line-height: 1.9;
    font-size: 1.05rem;
    color: #334155;
}

.static-page-content h1,
.static-page-content h2,
.static-page-content h3,
.static-page-content h4,
.static-page-content h5,
.static-page-content h6 {
    color: #001B48;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.static-page-content h2 {
    font-size: 1.45rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(1, 138, 190, 0.15);
    scroll-margin-top: 110px;
}

.static-page-content h2:first-of-type {
    margin-top: 0;
}

.static-page-content h3 {
    font-size: 1.22rem;
    color: #02457A;
    margin-top: 1.5rem;
}

.static-page-content p {
    color: #334155;
    line-height: 1.85;
}

.static-page-content ul,
.static-page-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.75rem;
}

.static-page-content li {
    margin-bottom: 0.65rem;
    line-height: 1.75;
    color: #334155;
}

.static-page-content li strong {
    color: #001B48;
}

.static-page-content a {
    color: #018ABE;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.static-page-content a:hover {
    color: #001B48;
}

.static-page-content blockquote {
    border-left: 4px solid #018ABE;
    background: linear-gradient(135deg, rgba(1, 138, 190, 0.06) 0%, rgba(2, 69, 122, 0.02) 100%);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 14px 14px 0;
    font-style: italic;
    color: #1e293b;
}

.static-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1.5rem 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Enhanced Modern Static Page Table Styles */
.static-page-content .table-responsive {
    width: 100%;
    margin: 2rem 0;
    border-radius: 14px;
    border: 1px solid #dce5ee;
    box-shadow: 0 4px 20px rgba(0, 27, 72, 0.05);
    background: #ffffff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.static-page-content table {
    width: 100% !important;
    min-width: 600px;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff;
    font-size: 0.94rem;
}

/* Header Row (First Row or thead) */
.static-page-content table thead th,
.static-page-content table thead td,
.static-page-content table>thead>tr:first-child>*,
.static-page-content table>tbody>tr:first-child>*,
.static-page-content table>tr:first-child>*,
.static-page-content table tr:first-child>th,
.static-page-content table tr:first-child>td,
.static-page-content table td[data-row="1"] {
    background: linear-gradient(135deg, #071b36 0%, #0b3156 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.96rem !important;
    letter-spacing: 0.02em !important;
    padding: 16px 20px !important;
    vertical-align: middle !important;
    border: 0 !important;
    border-bottom: 2px solid #018ABE !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.static-page-content table thead th *,
.static-page-content table thead td *,
.static-page-content table>thead>tr:first-child *,
.static-page-content table>tbody>tr:first-child *,
.static-page-content table>tr:first-child *,
.static-page-content table tr:first-child *,
.static-page-content table td[data-row="1"],
.static-page-content table td[data-row="1"] * {
    color: #ffffff !important;
    font-weight: 700 !important;
    background-color: transparent !important;
}

/* Header rounded corners */
.static-page-content table thead tr:first-child> :first-child,
.static-page-content table tbody tr:first-child> :first-child,
.static-page-content table tr:first-child> :first-child {
    border-top-left-radius: 12px !important;
}

.static-page-content table thead tr:first-child> :last-child,
.static-page-content table tbody tr:first-child> :last-child,
.static-page-content table tr:first-child> :last-child {
    border-top-right-radius: 12px !important;
    border-right: 0 !important;
}

/* Body Cells */
.static-page-content table tbody tr:not(:first-child) td,
.static-page-content table tr:not(:first-child) td,
.static-page-content table td:not([data-row="1"]) {
    padding: 15px 20px !important;
    border: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-right: 1px solid #edf2f7 !important;
    vertical-align: middle !important;
    line-height: 1.65 !important;
    color: #334155 !important;
    font-size: 0.93rem !important;
}

.static-page-content table tbody tr:not(:first-child) td *,
.static-page-content table tr:not(:first-child) td *,
.static-page-content table td:not([data-row="1"]) * {
    color: #334155;
    background-color: transparent !important;
}

/* First column title styling */
.static-page-content table tbody tr:not(:first-child) td:first-child,
.static-page-content table tr:not(:first-child) td:first-child {
    font-weight: 600 !important;
    color: #001B48 !important;
}

.static-page-content table tbody tr:not(:first-child) td:first-child * {
    color: #001B48 !important;
    font-weight: 600 !important;
}

/* Zebra striping & hover */
.static-page-content table tbody tr:not(:first-child):nth-child(even),
.static-page-content table tr:not(:first-child):nth-child(even) {
    background: #f8fafc !important;
}

.static-page-content table tbody tr:not(:first-child):hover,
.static-page-content table tr:not(:first-child):hover {
    background: #f0f7ff !important;
    transition: background-color 0.15s ease;
}

/* Last row and last column cleanup */
.static-page-content table tr> :last-child {
    border-right: 0 !important;
}

.static-page-content table tbody tr:last-child>*,
.static-page-content table tr:last-child>* {
    border-bottom: 0 !important;
}

/* Document Watermark Bottom Banner */
.eb-doc-footer-banner {
    margin-top: 3.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(2, 69, 122, 0.05) 0%, rgba(1, 138, 190, 0.03) 100%);
    border-radius: 18px;
    border: 1.5px dashed rgba(1, 138, 190, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.eb-doc-footer-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 138, 190, 0.12);
    color: #018ABE;
    font-size: 1.3rem;
}

/* ==========================================================================
   EDUBANDHU - SITEMAP & DIRECTORY PAGE (pages/sitemap.php)
   ========================================================================== */

.eb-sitemap-hero {
    background: linear-gradient(135deg, #001B48 0%, #02457A 50%, #018ABE 100%);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(2, 69, 122, 0.16);
}

.eb-sitemap-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(151, 202, 219, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.eb-sitemap-hero .eb-sitemap-hero-desc {
    max-width: 680px;
}

.eb-sitemap-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(1, 138, 190, 0.14);
    box-shadow: 0 4px 20px rgba(0, 27, 72, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    overflow: hidden;
}

.eb-sitemap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(1, 138, 190, 0.12);
    border-color: rgba(1, 138, 190, 0.35);
}

.eb-sitemap-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(1, 138, 190, 0.1);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.eb-section-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(1, 138, 190, 0.15) 0%, rgba(2, 69, 122, 0.1) 100%);
    color: #018ABE;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.eb-sitemap-list {
    list-style: none;
    padding: 1rem 1.25rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eb-sitemap-item {
    padding: 10px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.eb-sitemap-item:hover {
    background: #ffffff;
    border-color: #018ABE;
    box-shadow: 0 4px 12px rgba(1, 138, 190, 0.1);
    transform: translateX(4px);
    color: inherit;
}

.eb-url-code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.78rem;
    background: rgba(1, 138, 190, 0.08);
    color: #02457A;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(1, 138, 190, 0.15);
    display: inline-block;
    word-break: break-all;
}

.eb-category-pill {
    font-size: 0.84rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    background: #ffffff;
    color: #02457A;
    border: 1px solid rgba(1, 138, 190, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.eb-category-pill:hover,
.eb-category-pill.active {
    background: #018ABE;
    color: #ffffff !important;
    border-color: #018ABE;
    box-shadow: 0 4px 14px rgba(1, 138, 190, 0.25);
    transform: translateY(-2px);
}

.eb-search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.eb-search-box input {
    height: 52px;
    border-radius: 30px;
    padding-left: 50px;
    padding-right: 120px;
    font-size: 0.96rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #001B48;
    transition: all 0.25s ease;
}

.eb-search-box input:focus {
    background: #ffffff;
    border-color: #97CADB;
    box-shadow: 0 0 0 5px rgba(151, 202, 219, 0.3);
    outline: none;
}

.eb-search-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #018ABE;
    font-size: 1.1rem;
    pointer-events: none;
}

.eb-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
}

.eb-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    color: #ffffff;
}

.eb-copy-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.eb-copy-btn:hover {
    color: #018ABE;
}

/* ==========================================================================
   404 ERROR PAGE (PAGE NOT FOUND) STYLES
   ========================================================================== */
body.eb-404-body {
    font-family: 'Go', "Outfit", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at 50% 20%, #FFFFFF 0%, #EDF6FA 45%, #D6E8EE 100%);
    color: #001B48;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    margin: 0;
    padding: 0;
}

/* 404 background grid lines */
.grid-lines {
    position: absolute;
    inset: 0;
    display: flex;
    pointer-events: none;
    z-index: 1;
}

.grid-lines span {
    flex: 1;
    border-right: 1px solid rgba(1, 138, 190, 0.12);
    transform-origin: top;
    transform: scaleY(0);
    animation: ebDrawLine 1.2s cubic-bezier(.2, .8, .2, 1) forwards;
}

.grid-lines span:nth-child(2) {
    animation-delay: .08s;
}

.grid-lines span:nth-child(3) {
    animation-delay: .16s;
}

.grid-lines span:nth-child(4) {
    animation-delay: .24s;
}

.grid-lines span:nth-child(5) {
    animation-delay: .32s;
}

.grid-lines span:nth-child(6) {
    animation-delay: .40s;
    border-right: 0;
}

@keyframes ebDrawLine {
    to {
        transform: scaleY(1);
    }
}

/* Giant 404 watermark digits */
.big-404 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: .02em;
    font-size: clamp(14rem, 42vw, 34rem);
    font-weight: 200;
    line-height: 1;
    color: rgba(1, 138, 190, 0.2);
    user-select: none;
    pointer-events: none;
    z-index: 2;
}

.big-404 .digit {
    display: inline-block;
}

.big-404 .digit i {
    display: inline-block;
    font-style: normal;
    opacity: 0;
    transform: translateY(18%) scale(.96);
    animation: ebRise 1.1s cubic-bezier(.2, .8, .2, 1) forwards;
}

.big-404 .digit:nth-child(1) i {
    animation-delay: .3s;
}

.big-404 .digit:nth-child(2) i {
    animation-delay: .45s;
}

.big-404 .digit:nth-child(3) i {
    animation-delay: .6s;
}

@keyframes ebRise {
    to {
        opacity: 1;
        transform: none;
    }
}

/* 404 Content Container & Typography */
.eb-404-container {
    position: relative;
    z-index: 4;
    min-height: 100vh;
    padding: 5rem 1.5rem 3rem 1.5rem;
}

.eb-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(1, 138, 190, 0.08);
    border: 1px solid rgba(1, 138, 190, 0.22);
    font-size: 0.8rem;
    font-weight: 600;
    color: #018ABE;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.eb-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #018ABE;
    box-shadow: 0 0 8px #018ABE;
    animation: ebPulseDot 2s infinite ease-in-out;
}

@keyframes ebPulseDot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.5;
    }
}

.eb-404-container h1 {
    font-weight: 700;
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    letter-spacing: -.02em;
    line-height: 1.15;
    color: #001B48;
}

.eb-404-container .mask {
    display: block;
    overflow: hidden;
    padding-bottom: .12em;
}

.eb-404-container .mask span {
    display: block;
    transform: translateY(110%);
    animation: ebSlideUp .9s cubic-bezier(.2, .8, .2, 1) .9s forwards;
}

@keyframes ebSlideUp {
    to {
        transform: none;
    }
}

.eb-404-container .fade-up {
    opacity: 0;
    transform: translateY(14px);
    animation: ebFadeUp .8s cubic-bezier(.2, .8, .2, 1) forwards;
}

.eb-404-container .fade-up.d0 {
    animation-delay: 0.8s;
}

.eb-404-container .fade-up.d1 {
    animation-delay: 1.15s;
}

.eb-404-container .fade-up.d2 {
    animation-delay: 1.3s;
}

.eb-404-container .fade-up.d3 {
    animation-delay: 1.45s;
}

@keyframes ebFadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

.eb-404-container .lead-text {
    font-size: 1.02rem;
    color: #02457A;
    max-width: 440px;
    line-height: 1.7;
    opacity: 0.88;
}

/* 404 Action Buttons */
.eb-404-container .btn-pill {
    position: relative;
    overflow: hidden;
    z-index: 0;
    border-radius: 999px;
    padding: .8rem 2rem;
    font-size: .88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), color .35s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
    text-decoration: none;
    cursor: pointer;
}

.eb-404-container .btn-pill:hover {
    transform: translateY(-2px);
}

.eb-404-container .btn-pill:active {
    transform: translateY(0) scale(.97);
}

.eb-404-container .btn-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    transform: translateY(101%);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.eb-404-container .btn-pill:hover::before {
    transform: translateY(0);
}

/* Primary Button: Edubandhu Signature Blue Gradient */
.btn-eb-primary {
    background: linear-gradient(135deg, #018ABE 0%, #02457A 100%);
    border: 1px solid transparent;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(1, 138, 190, 0.35);
}

.btn-eb-primary::before {
    background: linear-gradient(135deg, #001B48 0%, #018ABE 100%);
}

.btn-eb-primary:hover {
    box-shadow: 0 8px 25px rgba(1, 138, 190, 0.45);
}

.btn-eb-primary .arrow {
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.btn-eb-primary:hover .arrow {
    transform: translateX(4px);
}

/* Secondary Button: Clean Frosted White with Navy border */
.btn-eb-outline {
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(1, 138, 190, 0.35);
    color: #02457A !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(2, 69, 122, 0.05);
}

.btn-eb-outline::before {
    background: #018ABE;
}

.btn-eb-outline:hover {
    color: #ffffff !important;
    border-color: #018ABE;
    box-shadow: 0 6px 22px rgba(1, 138, 190, 0.3);
}

/* Quick Navigation Chips */
.eb-quick-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 580px;
    margin-top: 1.8rem;
}

.eb-quick-chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(1, 138, 190, 0.2);
    color: #02457A;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.22s ease;
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
}

.eb-quick-chip:hover {
    background: #018ABE;
    color: #ffffff !important;
    border-color: #018ABE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 138, 190, 0.25);
}

/* Top brand bar */
.eb-header-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.eb-brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.eb-brand-logo:hover {
    transform: scale(1.03);
}

.eb-brand-logo img {
    height: 42px;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .eb-header-bar {
        padding: 1.25rem 1.25rem;
    }

    .eb-brand-logo img {
        height: 36px;
    }

    .big-404 {
        font-size: clamp(10rem, 38vw, 16rem);
    }
}

/* ==========================================================================
   FLOATING ACTION BUTTONS STACK (ATTACHED TO RIGHT EDGE - SLIDES OUT ON HOVER)
   ========================================================================== */
.eb-floating-fab-stack {
    position: fixed !important;
    right: 0 !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 1045 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.eb-fab-btn {
    pointer-events: auto !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: 50px !important;
    width: 50px !important;
    border-radius: 50px 0 0 50px !important;
    border: 2px solid rgba(255, 255, 255, 0.75) !important;
    border-right: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    overflow: hidden !important;
    user-select: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: -4px 4px 16px rgba(0, 27, 72, 0.18) !important;
    transform: none !important;
    transition: width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        border-color 0.25s ease !important;
    will-change: width;
}

/* On hover (Desktop): expands to the left smoothly, revealing label */
@media (min-width: 768px) {

    .eb-fab-btn:hover,
    .eb-fab-btn:focus-visible {
        width: 195px !important;
        box-shadow: -6px 8px 26px rgba(0, 27, 72, 0.32) !important;
        border-color: #ffffff !important;
    }
}

.eb-fab-btn:active {
    transform: scale(0.97) !important;
}

/* Label: expands smoothly to the left of the icon on hover */
.eb-fab-label {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    max-width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: max-width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.22s ease 0.06s,
        padding 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
    user-select: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {

    .eb-fab-btn:hover .eb-fab-label,
    .eb-fab-btn:focus-visible .eb-fab-label {
        max-width: 140px !important;
        opacity: 1 !important;
        padding-left: 18px !important;
        padding-right: 6px !important;
    }
}

/* Icon Box: 50px square pinned at the right edge */
.eb-fab-icon-box {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.eb-fab-icon {
    font-size: 1.2rem !important;
    color: #ffffff !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.eb-fab-btn:hover .eb-fab-icon {
    transform: scale(1.12) !important;
}

/* 1. Apply Now FAB (EduBandhu Royal Blue) */
.eb-fab-apply {
    background: linear-gradient(135deg, #018ABE 0%, #02457A 100%) !important;
}

.eb-fab-apply:hover {
    background: linear-gradient(135deg, #02457A 0%, #018ABE 100%) !important;
}

/* 2. Ask EduBandhu AI Counselor (Teal Emerald) */
.eb-fab-ai {
    background: linear-gradient(135deg, #00b09b 0%, #02457A 100%) !important;
}

.eb-fab-ai:hover {
    background: linear-gradient(135deg, #02457A 0%, #00b09b 100%) !important;
}

/* 3. Call Helpline (Vibrant Green matching user's image) */
.eb-fab-call {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%) !important;
}

.eb-fab-call:hover {
    background: linear-gradient(135deg, #15803d 0%, #22c55e 100%) !important;
}

/* Mobile responsive sizing */
@media (max-width: 767.98px) {
    .eb-floating-fab-stack {
        right: 0 !important;
        padding: 0 !important;
        gap: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        align-items: flex-end !important;
        z-index: 1030 !important;
    }

    .eb-fab-btn {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        border-radius: 22px 0 0 22px !important;
        border: 2px solid rgba(255, 255, 255, 0.85) !important;
        border-right: none !important;
        transform: none !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: -3px 3px 12px rgba(0, 27, 72, 0.22) !important;
    }

    .eb-fab-btn:hover,
    .eb-fab-btn:focus-visible,
    .eb-fab-btn:active {
        transform: scale(0.96) !important;
        width: 42px !important;
    }

    .eb-fab-label {
        display: none !important;
    }

    .eb-fab-icon-box {
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .eb-fab-icon {
        font-size: 1.1rem !important;
        color: #ffffff !important;
    }
}

/* Course detail page carousel and admissions styles */
body.ed-course-detail-page .ed-avail-courses-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 6px 0 12px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%);
}

body.ed-course-detail-page #availCourseCarouselTrack,
body.ed-course-detail-page .ed-avail-courses-track {
    display: flex !important;
    width: max-content !important;
    max-width: none !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    overflow-y: hidden !important;
    gap: 20px;
    padding: 6px 0 10px !important;
    animation: ed-recommended-courses-marquee 36s linear infinite !important;
    will-change: transform;
    cursor: grab;
    user-select: none;
}

body.ed-course-detail-page .ed-recommended-course-set {
    display: flex;
    flex: 0 0 auto;
    gap: 20px;
}

/* PAUSE CONTINUOUS MARQUEE ON HOVER, FOCUS & DRAG */
body.ed-course-detail-page .ed-avail-courses-wrap:hover #availCourseCarouselTrack,
body.ed-course-detail-page #availCourseCarouselTrack:hover,
body.ed-course-detail-page .ed-avail-courses-wrap:hover .ed-avail-courses-track,
body.ed-course-detail-page .ed-avail-courses-track:hover,
body.ed-course-detail-page .ed-avail-courses-wrap:focus-within #availCourseCarouselTrack,
body.ed-course-detail-page .ed-avail-course-card:hover,
body.ed-course-detail-page #availCourseCarouselTrack.is-paused,
body.ed-course-detail-page .ed-avail-courses-track.is-paused {
    animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
    body.ed-course-detail-page .ed-avail-courses-track {
        animation: none !important;
    }

    body.ed-course-detail-page .ed-avail-courses-wrap {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }

    body.ed-course-detail-page .ed-recommended-course-set[aria-hidden="true"] {
        display: none;
    }
}

@keyframes ed-recommended-courses-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 10px));
    }
}

body.ed-course-detail-page #availCourseCarouselTrack:active,
body.ed-course-detail-page .ed-avail-courses-track:active,
body.ed-course-detail-page .ed-avail-courses-track.is-dragging {
    cursor: grabbing !important;
}

body.ed-course-detail-page .ed-avail-course-card {
    flex: 0 0 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: normal !important;
    box-sizing: border-box !important;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    box-shadow: none !important;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

body.ed-course-detail-page .ed-avail-course-card:hover {
    transform: translateY(-3px);
    box-shadow: none !important;
    border-color: var(--neon-blue, #018ABE) !important;
    background: #ffffff;
}

body.ed-course-detail-page .ed-avail-course-body {
    display: flex;
    flex-direction: column;
}

body.ed-course-detail-page .ed-badge-duration {
    background: #f0f7ff !important;
    color: #026aa7 !important;
    border: 1px solid rgba(2, 106, 167, 0.16) !important;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.2px;
}

body.ed-course-detail-page .ed-badge-duration i {
    color: var(--neon-blue, #018ABE);
    font-size: 0.78rem;
}

body.ed-course-detail-page .ed-badge-mode {
    background: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

body.ed-course-detail-page .ed-avail-course-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 14px 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

body.ed-course-detail-page .ed-avail-course-title a {
    color: var(--ed-navy, #001B48);
    text-decoration: none;
    transition: color 0.2s ease;
}

body.ed-course-detail-page .ed-avail-course-card:hover .ed-avail-course-title a,
body.ed-course-detail-page .ed-avail-course-title a:hover {
    color: var(--neon-blue, #018ABE);
}

body.ed-course-detail-page .ed-avail-course-fee {
    display: none !important;
}

body.ed-course-detail-page .ed-avail-course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
}

body.ed-course-detail-page .ed-avail-course-dept {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.ed-course-detail-page .ed-avail-course-dept i {
    color: var(--ed-blue, #02457A);
    font-size: 0.85rem;
}

body.ed-course-detail-page .ed-btn-view-details {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    background: #f0f7ff;
    border: 1px solid rgba(1, 138, 190, 0.28);
    color: var(--ed-blue, #02457A);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.22s ease;
    box-shadow: none !important;
}

body.ed-course-detail-page .ed-btn-view-details i {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

body.ed-course-detail-page .ed-avail-course-card:hover .ed-btn-view-details {
    background: var(--neon-blue, #018ABE);
    border-color: var(--neon-blue, #018ABE);
    color: #ffffff;
}

body.ed-course-detail-page .ed-avail-course-card:hover .ed-btn-view-details i {
    transform: translateX(3px);
}

body.ed-course-detail-page .ed-btn-view-details:hover {
    background: var(--ed-navy, #001B48) !important;
    border-color: var(--ed-navy, #001B48) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body.ed-course-detail-page .ed-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
}


body.ed-course-detail-page .ed-step-content {
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

body.ed-course-detail-page .ed-step-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ed-navy, #001B48);
    margin-bottom: 6px;
}

body.ed-course-detail-page .ed-accepted-exams-bar {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 0 1rem;
    background: #fff;
    border: 1px solid #cfe2f0;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(7, 27, 54, 0.06);
}

body.ed-course-detail-page .ed-accepted-exams-title {
    flex: 0 0 auto;
    padding: 0.75rem 1.25rem 0.75rem 1.5rem;
    color: var(--ed-navy, #001B48);
    font-weight: 700;
    white-space: nowrap;
}

body.ed-course-detail-page .ed-accepted-exams-list {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

body.ed-course-detail-page .ed-accepted-exams-track {
    display: flex;
    width: max-content;
    animation: ed-accepted-exams-scroll 28s linear infinite;
    will-change: transform;
}

body.ed-course-detail-page .ed-accepted-exams-bar:hover .ed-accepted-exams-track,
body.ed-course-detail-page .ed-accepted-exams-list:hover .ed-accepted-exams-track,
body.ed-course-detail-page .ed-accepted-exams-track:hover {
    animation-play-state: paused;
}

body.ed-course-detail-page .ed-accepted-exams-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    white-space: nowrap;
}

body.ed-course-detail-page .ed-fee-banner-content {
    flex: 1 1 auto;
    text-align: left;
}

body.ed-course-detail-page .ed-accepted-exam-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid #c7dceb;
    border-radius: 999px;
    background: #fff;
    color: #173b5e;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(7, 27, 54, 0.08);
}

body.ed-course-detail-page .ed-accepted-exam-badge i {
    color: var(--neon-blue, #018ABE);
    font-size: 0.9rem;
}

@keyframes ed-accepted-exams-scroll {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ed-course-detail-page .ed-accepted-exams-track {
        animation: none;
    }

    body.ed-course-detail-page .ed-accepted-exams-group[aria-hidden="true"] {
        display: none;
    }

    body.ed-course-detail-page .ed-accepted-exams-list {
        overflow-x: auto;
    }
}

@media (max-width: 575.98px) {
    body.ed-course-detail-page .ed-accepted-exams-title {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        font-size: 0.8rem;
    }

    body.ed-course-detail-page .ed-accepted-exams-group {
        gap: 0.5rem;
        padding-inline: 0.75rem;
    }

    body.ed-course-detail-page .ed-accepted-exam-badge {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }
}



body.ed-course-detail-page .ed-accepted-exams-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
}

body.ed-course-detail-page .ed-accepted-exam-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(1, 138, 190, 0.08) 0%, rgba(2, 69, 122, 0.04) 100%);
    color: var(--ed-blue, #02457A);
    border: 1px solid rgba(1, 138, 190, 0.25);
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 100%;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

body.ed-course-detail-page .ed-accepted-exam-chip:hover {
    background: linear-gradient(135deg, rgba(1, 138, 190, 0.16) 0%, rgba(2, 69, 122, 0.08) 100%);
    border-color: rgba(1, 138, 190, 0.45);
    color: var(--ed-navy, #001B48);
    transform: translateY(-1px);
}

body.ed-course-detail-page .ed-accepted-exam-chip .ed-chip-icon {
    font-size: 0.88rem;
    color: var(--neon-blue, #018ABE);
    flex-shrink: 0;
}

body.ed-course-detail-page .ed-accepted-exam-chip .ed-chip-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

body.ed-course-detail-page .ed-accepted-exam-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, rgba(1, 138, 190, 0.08) 0%, rgba(2, 69, 122, 0.03) 100%);
    border: 1px solid rgba(1, 138, 190, 0.22);
    border-left: 4px solid var(--neon-blue, #018ABE);
    border-radius: 12px;
    padding: 12px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

body.ed-course-detail-page .ed-accepted-exam-notice:hover {
    border-color: rgba(1, 138, 190, 0.35);
    border-left-color: var(--neon-blue, #018ABE);
    box-shadow: 0 4px 14px rgba(1, 138, 190, 0.06);
}

body.ed-course-detail-page .ed-accepted-exam-notice-icon {
    color: var(--neon-blue, #018ABE);
    font-size: 1.15rem;
    line-height: 1.45;
    flex-shrink: 0;
    margin-top: 1px;
}

body.ed-course-detail-page .ed-accepted-exam-notice-text {
    font-size: 0.92rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.55;
    flex: 1 1 0%;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

body.ed-course-detail-page .ed-accepted-exams-html {
    width: 100%;
    max-width: 100%;
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.55;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 767.98px) {

    /* Mobile: Stack Accepted Exams heading on top and marquee below */
    body.ed-course-detail-page .ed-accepted-exams-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 0.85rem 0.65rem;
        gap: 0.4rem;
        border-radius: 12px;
    }

    body.ed-course-detail-page .ed-accepted-exams-title {
        width: 100%;
        padding: 0 0.15rem 0.4rem 0.15rem;
        font-size: 0.92rem;
        border-bottom: 1px dashed rgba(2, 69, 122, 0.12);
        white-space: normal;
        line-height: 1.35;
    }

    body.ed-course-detail-page .ed-accepted-exams-list {
        width: 100%;
        padding: 0;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 2.5%, black 97.5%, transparent 100%);
    }

    body.ed-course-detail-page .ed-accepted-exams-group {
        padding: 0.25rem 0;
        gap: 0.5rem;
    }

    body.ed-course-detail-page .ed-accepted-exam-badge {
        font-size: 0.82rem;
        padding: 0.35rem 0.75rem;
    }

    body.ed-course-detail-page .ed-timeline {
        gap: 14px;
    }


    body.ed-course-detail-page .ed-step-content h4 {
        font-size: 1rem;
    }

    body.ed-course-detail-page .ed-accepted-exam-chip {
        font-size: 0.86rem;
        padding: 6px 12px;
    }

    body.ed-course-detail-page .ed-accepted-exam-notice {
        padding: 11px 13px;
        gap: 10px;
        border-radius: 10px;
    }

    body.ed-course-detail-page .ed-accepted-exam-notice-icon {
        font-size: 1.05rem;
    }

    body.ed-course-detail-page .ed-accepted-exam-notice-text {
        font-size: 0.86rem;
    }
}

@media (max-width: 575.98px) {
    body.ed-course-detail-page .ed-avail-course-card {
        flex: 0 0 265px !important;
        min-width: 265px !important;
        max-width: 265px !important;
        padding: 16px;
        min-height: 165px;
    }



    body.ed-course-detail-page .ed-step-content h4 {
        font-size: 0.95rem;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    body.ed-course-detail-page .ed-accepted-exams-wrap {
        gap: 6px;
    }

    body.ed-course-detail-page .ed-accepted-exam-chip {
        font-size: 0.82rem;
        padding: 5px 10px;
        border-radius: 8px;
    }

    body.ed-course-detail-page .ed-accepted-exam-chip .ed-chip-icon {
        font-size: 0.8rem;
    }

    body.ed-course-detail-page .ed-accepted-exam-notice {
        padding: 10px 12px;
        gap: 8px;
        border-radius: 8px;
    }

    body.ed-course-detail-page .ed-accepted-exam-notice-icon {
        font-size: 0.95rem;
    }

    body.ed-course-detail-page .ed-accepted-exam-notice-text {
        font-size: 0.82rem;
        line-height: 1.48;
    }
}

.managed-banner-item {
    overflow: hidden;
    border-radius: 14px;
    grid-column: span var(--managed-banner-column-span, 12);
}

.managed-banners {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.managed-banner-item a {
    display: block;
}

.managed-banner-image {
    display: block;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    border-radius: inherit;
}

@media (max-width: 767.98px) {
    .managed-banner-item {
        grid-column: span 6;
    }
}

@media (max-width: 575.98px) {
    .managed-banner-item {
        grid-column: span 12;
    }
}

/* SEO footer content section */
.eb-seo-footer-section {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
    background: transparent;
    width: 100%;
}


@media (max-width: 575.98px) {
    .eb-seo-footer-section {
        padding-top: 0;
        padding-bottom: 0;
    }
}

.eb-seo-card {
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.12);
    border-radius: 24px;
    padding: 18px 20px;
    box-shadow: 0 10px 32px rgba(2, 69, 122, 0.04);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.eb-seo-badge-wrap {
    margin-bottom: 0.9rem;
}

.eb-seo-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(1, 138, 190, 0.08);
    border: 1px solid rgba(1, 138, 190, 0.22);
    color: #018ABE;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.eb-seo-box-wrapper {
    position: relative;
    width: 100%;
}

.eb-seo-content-box {
    position: relative;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.eb-seo-content-inner {
    color: #475569;
    font-size: 18px;
    line-height: 1.78;
}

.eb-seo-content-inner p {
    color: var(--neon-purple);
}

.eb-seo-content-inner p.eb-seo-lead {
    font-size: 18px;
    color: var(--neon-purple);
    font-weight: 400;
}

.eb-seo-content-inner h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--ed-navy);
    margin-top: 1.6rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;

}

.eb-seo-content-inner h3 {
    font-size: 28px;
    font-weight: 600;
    color: #02457A;
    margin-top: 1.4rem;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 8px;
}


.eb-seo-content-inner h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #001B48;
    margin-top: 1.1rem;
    margin-bottom: 0.5rem;
}

.eb-seo-content-inner ul,
.eb-seo-content-inner ol {
    margin-bottom: 1.15rem;
    padding-left: 1.35rem;
}

.eb-seo-content-inner li {
    margin-bottom: 0.5rem;
    color: #475569;
}

.eb-seo-content-inner strong,
.eb-seo-content-inner b {
    color: #001B48;
    font-weight: 700;
}

.eb-seo-content-inner a {
    color: #018ABE;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.eb-seo-content-inner a:hover {
    color: #02457A;
}

.eb-seo-content-inner figure.table {
    max-width: 100%;
    margin: 1rem 0;
    overflow-x: auto;
}

.eb-seo-content-inner table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    text-align: left;
}

.eb-seo-content-inner th,
.eb-seo-content-inner td {
    border: 1px solid #dbe3ee;
    padding: 10px 12px;
    vertical-align: top;
}

.eb-seo-content-inner th {
    background: #f1f5f9;
    color: #001B48;
    font-weight: 700;
}

.eb-seo-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.88) 55%, #ffffff 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.eb-seo-btn-wrapper {
    position: relative;
    z-index: 3;
    padding-top: 4px;
}

.eb-seo-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 24px;
    border-radius: 999px;
    background: #ffffff;
    border: 1.5px solid rgba(1, 138, 190, 0.35);
    color: #018ABE;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(1, 138, 190, 0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.eb-seo-read-more-btn:hover {
    background: linear-gradient(135deg, #018ABE 0%, #02457A 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(1, 138, 190, 0.28);
}

.eb-seo-btn-icon {
    font-size: 0.78rem;
    transition: transform 0.25s ease;
}

.eb-seo-read-more-btn:hover .eb-seo-btn-icon {
    transform: translateY(2px);
}

.eb-seo-read-more-btn.is-expanded:hover .eb-seo-btn-icon {
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .eb-seo-card {
        padding: 1.75rem 1.75rem;
        border-radius: 20px;
    }

    .eb-seo-heading {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .eb-seo-card {
        padding: 1.4rem 1.25rem;
        border-radius: 18px;
    }

    .eb-seo-heading {
        font-size: 1.15rem;
    }

    .eb-seo-badge {
        font-size: 0.72rem;
        padding: 4px 11px;
    }

    .eb-seo-content-inner {
        font-size: 0.88rem;
    }
}

/* Shared course-content table design */
body.ed-course-detail-page .course-rich-content figure.table,
body.ed-course-detail-page .paragraph-description figure.table,
body.ed-course-detail-page .paragraph-main figure.table,
.static-page-content figure.table,
.eb-seo-content-inner figure.table {
    max-width: 100%;
    margin: 1rem 0;
    overflow-x: auto;
    border: 1px solid #d7e2ee;
    border-radius: 14px;
    background: #fff;
    scrollbar-color: #b7c8d8 #f1f5f9;
    scrollbar-width: thin;
}

body.ed-course-detail-page .course-rich-content table,
body.ed-course-detail-page .paragraph-description table,
body.ed-course-detail-page .paragraph-main table,
.static-page-content table,
.eb-seo-content-inner table {
    width: 100% !important;
    min-width: 560px !important;
    margin: 0 !important;
    border: 1px solid #d7e2ee !important;
    border-radius: 14px !important;
    border-collapse: separate !important;
    border-spacing: 0;
    overflow: hidden;
    text-align: left;
    color: #172b3f;
}

body.ed-course-detail-page .course-rich-content table th,
body.ed-course-detail-page .course-rich-content table td,
body.ed-course-detail-page .paragraph-description table th,
body.ed-course-detail-page .paragraph-description table td,
body.ed-course-detail-page .paragraph-main table th,
body.ed-course-detail-page .paragraph-main table td,
.static-page-content table th,
.static-page-content table td,
.eb-seo-content-inner table th,
.eb-seo-content-inner table td {
    min-width: 110px;
    padding: 15px 20px !important;
    border: 0 !important;
    border-bottom: 1px solid #dce5ee !important;
    border-right: 1px solid #e5ebf1 !important;
    vertical-align: middle;
    line-height: 1.55;
    text-align: left;
}

body.ed-course-detail-page .course-table tr.course-table-header>*,
body.ed-course-detail-page .course-table thead th,
body.ed-course-detail-page .course-table thead td,
body.ed-course-detail-page .course-rich-content table>thead>tr:first-child>*,
body.ed-course-detail-page .course-rich-content table>tbody>tr:first-child>*,
body.ed-course-detail-page .course-rich-content table>tr:first-child>*,
body.ed-course-detail-page .paragraph-description table>thead>tr:first-child>*,
body.ed-course-detail-page .paragraph-description table>tbody>tr:first-child>*,
body.ed-course-detail-page .paragraph-description table>tr:first-child>*,
body.ed-course-detail-page .paragraph-main table>thead>tr:first-child>*,
body.ed-course-detail-page .paragraph-main table>tbody>tr:first-child>*,
body.ed-course-detail-page .paragraph-main table>tr:first-child>*,
.static-page-content table thead th,
.static-page-content table thead td,
.static-page-content table>thead>tr:first-child>*,
.static-page-content table>tbody>tr:first-child>*,
.static-page-content table>tr:first-child>*,
.eb-seo-content-inner table thead th,
.eb-seo-content-inner table thead td,
.eb-seo-content-inner table>thead>tr:first-child>*,
.eb-seo-content-inner table>tbody>tr:first-child>*,
.eb-seo-content-inner table>tr:first-child>* {
    background: linear-gradient(135deg, #071b36 0%, #0b3156 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #dce5ee !important;
    border-right-color: rgba(255, 255, 255, 0.16) !important;
    letter-spacing: 0.01em;
}

body.ed-course-detail-page .course-table tr> :last-child {
    border-right: 0 !important;
}

body.ed-course-detail-page .course-table tbody tr:last-child>* {
    border-bottom: 0 !important;
}

body.ed-course-detail-page .course-table tr.course-table-header>* * {
    color: #fff !important;
}

body.ed-course-detail-page .course-table thead th *,
body.ed-course-detail-page .course-table thead td *,
body.ed-course-detail-page .course-rich-content table>thead>tr:first-child>*,
body.ed-course-detail-page .course-rich-content table>tbody>tr:first-child>*,
body.ed-course-detail-page .course-rich-content table>tr:first-child>*,
body.ed-course-detail-page .paragraph-description table>thead>tr:first-child>*,
body.ed-course-detail-page .paragraph-description table>tbody>tr:first-child>*,
body.ed-course-detail-page .paragraph-description table>tr:first-child>*,
body.ed-course-detail-page .paragraph-main table>thead>tr:first-child>*,
body.ed-course-detail-page .paragraph-main table>tbody>tr:first-child>*,
body.ed-course-detail-page .paragraph-main table>tr:first-child>*,
.static-page-content table thead th *,
.static-page-content table thead td *,
.static-page-content table>thead>tr:first-child *,
.static-page-content table>tbody>tr:first-child *,
.static-page-content table>tr:first-child *,
.static-page-content table td[data-row="1"],
.static-page-content table td[data-row="1"] *,
.eb-seo-content-inner table thead th *,
.eb-seo-content-inner table thead td *,
.eb-seo-content-inner table>thead>tr:first-child *,
.eb-seo-content-inner table>tbody>tr:first-child *,
.eb-seo-content-inner table>tr:first-child * {
    color: #fff !important;
}

body.ed-course-detail-page .course-table tr.course-table-header> :first-child,
.static-page-content table thead tr:first-child> :first-child,
.static-page-content table tr:first-child>th:first-child,
.eb-seo-content-inner table thead tr:first-child> :first-child,
.eb-seo-content-inner table tr:first-child>th:first-child {
    border-top-left-radius: 14px;
}

body.ed-course-detail-page .course-table tr.course-table-header> :last-child,
.static-page-content table thead tr:first-child> :last-child,
.static-page-content table tr:first-child>th:last-child,
.eb-seo-content-inner table thead tr:first-child> :last-child,
.eb-seo-content-inner table tr:first-child>th:last-child {
    border-top-right-radius: 14px;
}

body.ed-course-detail-page .course-table tbody tr:nth-child(even),
.static-page-content table tbody tr:nth-child(even),
.eb-seo-content-inner table tbody tr:nth-child(even) {
    background: #f3f7fb;
}

body.ed-course-detail-page .course-table tbody tr,
.static-page-content table tbody tr,
.eb-seo-content-inner table tbody tr {
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

body.ed-course-detail-page .course-table tbody tr:hover,
.static-page-content table tbody tr:hover,
.eb-seo-content-inner table tbody tr:hover {
    background: #eaf3fa;
}

body.ed-course-detail-page .course-table td p,
body.ed-course-detail-page .course-table th p {
    margin: 0;
}

body.ed-course-detail-page .course-table caption {
    padding: 12px 16px;
    color: #496174;
    font-size: 0.9rem;
    text-align: left;
    caption-side: bottom;
}

@media (max-width: 575.98px) {

    body.ed-course-detail-page .course-rich-content figure.table,
    body.ed-course-detail-page .paragraph-description figure.table,
    body.ed-course-detail-page .paragraph-main figure.table {
        border-radius: 10px;
    }

    body.ed-course-detail-page .course-rich-content table th,
    body.ed-course-detail-page .course-rich-content table td,
    body.ed-course-detail-page .paragraph-description table th,
    body.ed-course-detail-page .paragraph-description table td,
    body.ed-course-detail-page .paragraph-main table th,
    body.ed-course-detail-page .paragraph-main table td,
    .static-page-content table th,
    .static-page-content table td,
    .eb-seo-content-inner table th,
    .eb-seo-content-inner table td {
        padding: 12px 14px !important;
        font-size: 0.9rem;
    }
}

#overviewContent table.course-table tbody tr.course-table-header>th,
#overviewContent table.course-table tbody tr.course-table-header>td,
#admissionContent table.course-table tbody tr.course-table-header>th,
#admissionContent table.course-table tbody tr.course-table-header>td,
.course-table tr.course-table-header>th,
.course-table tr.course-table-header>td {
    background-color: #0b3156 !important;
    background-image: linear-gradient(135deg, #071b36 0%, #0b3156 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
}

#overviewContent table.course-table tbody tr.course-table-header>th *,
#overviewContent table.course-table tbody tr.course-table-header>td *,
#admissionContent table.course-table tbody tr.course-table-header>th *,
#admissionContent table.course-table tbody tr.course-table-header>td *,
.course-table tr.course-table-header>th *,
.course-table tr.course-table-header>td * {
    color: #fff !important;
}

#overviewContent table.course-table,
#admissionContent table.course-table,
.course-table {
    border: 1px solid #d6e0ea !important;
}

#overviewContent table.course-table tbody tr>th,
#overviewContent table.course-table tbody tr>td,
#admissionContent table.course-table tbody tr>th,
#admissionContent table.course-table tbody tr>td,
.course-table tbody tr>th,
.course-table tbody tr>td {
    border: 1px solid #d6e0ea !important;
}

#overviewContent table.course-table tbody tr.course-table-header>th,
#overviewContent table.course-table tbody tr.course-table-header>td,
#admissionContent table.course-table tbody tr.course-table-header>th,
#admissionContent table.course-table tbody tr.course-table-header>td,
.course-table tbody tr.course-table-header>th,
.course-table tbody tr.course-table-header>td {
    border-color: #c4d2df !important;
}


/* ==========================================================================
   EDUBANDHU PAGE ALERT NOTE STYLES
   Extracted from edubandhu/components/page-alert-note.php
   ========================================================================== */
.eb-page-alert-container {
    position: fixed;
    top: 12px;
    right: 14px;
    z-index: 999999;
    width: 375px;
    max-width: calc(100vw - 32px);
    pointer-events: none;
    font-family: 'Go', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    opacity: 0;
    transform: translateX(120%) scale(0.96);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.eb-page-alert-container.eb-alert-show {
    opacity: 1 !important;
    transform: translateX(0) scale(1) !important;
    pointer-events: auto !important;
}

.eb-page-alert-container.eb-alert-hiding {
    opacity: 0 !important;
    transform: translateX(120%) scale(0.96) !important;
    pointer-events: none !important;
}

.eb-page-alert-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 18px 40px -10px rgba(0, 27, 72, 0.18), 0 0 1px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.eb-page-alert-card:hover {
    box-shadow: 0 24px 50px -10px rgba(0, 27, 72, 0.24);
    transform: translateY(-2px);
}

/* Color theme borders & badge variants */
.eb-alert-theme-warning {
    border-left: 4.5px solid #f59e0b !important;
}

.eb-alert-theme-warning .eb-alert-badge {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.eb-alert-theme-warning .eb-alert-beacon {
    background: #f59e0b;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
}

.eb-alert-theme-info {
    border-left: 4.5px solid #0056d2 !important;
}

.eb-alert-theme-info .eb-alert-badge {
    background: rgba(0, 86, 210, 0.12);
    color: #0056d2;
}

.eb-alert-theme-info .eb-alert-beacon {
    background: #0056d2;
    box-shadow: 0 0 0 0 rgba(0, 86, 210, 0.7);
}

.eb-alert-theme-success {
    border-left: 4.5px solid #10b981 !important;
}

.eb-alert-theme-success .eb-alert-badge {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.eb-alert-theme-success .eb-alert-beacon {
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

.eb-alert-theme-danger {
    border-left: 4.5px solid #ef4444 !important;
}

.eb-alert-theme-danger .eb-alert-badge {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.eb-alert-theme-danger .eb-alert-beacon {
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}

/* Header badge & sublabel */
.eb-alert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.eb-alert-beacon {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    animation: ebBeaconPulse 2s infinite;
}

@keyframes ebBeaconPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.eb-alert-sublabel {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.eb-alert-close-btn {
    border: none;
    background: #f1f5f9;
    color: #64748b;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    padding: 0;
}

.eb-alert-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.08);
}

/* Icon & Title */
.eb-alert-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
}

.eb-alert-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

/* Note message body */
.eb-alert-text {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.48;
}

/* Buttons */
.eb-alert-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.eb-alert-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    color: #ffffff;
    text-decoration: none;
}

.eb-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
}

.eb-btn-enquiry {
    background: linear-gradient(135deg, #0056d2 0%, #2563eb 100%);
    color: #ffffff !important;
}

.eb-btn-link {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    color: #ffffff !important;
}

/* Mobile responsive positioning */
@media (max-width: 576px) {
    .eb-page-alert-container {
        top: 76px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: calc(100vw - 24px);
    }
}


/* ==========================================================================
   ABOUT US PAGE STYLES (.about-page)
   ========================================================================== */
/* ---------- Shared ---------- */
.about-page .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(2, 69, 122, 0.18);
    color: var(--neon-purple);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-page .eyebrow i {
    color: var(--neon-blue);
}

.about-page .section-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.about-page .btn-gradient {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: #fff;
    border: 0;
    box-shadow: 0 12px 28px rgba(1, 138, 190, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-page .btn-gradient:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(1, 138, 190, 0.36);
}

.about-page .btn-ghost {
    background: rgba(255, 255, 255, 0.8);
    color: var(--neon-purple);
    border: 1px solid rgba(2, 69, 122, 0.22);
    transition: all 0.25s ease;
}

.about-page .btn-ghost:hover {
    background: var(--neon-purple);
    color: #fff;
    border-color: var(--neon-purple);
}

/* Scroll reveal */
.about-page .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-page .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .about-page .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .about-page .hero-float {
        animation: none !important;
    }
}

/* ---------- Hero ---------- */
.about-hero {
    position: relative;
    overflow: clip;
    border-bottom: 1px solid rgba(2, 69, 122, 0.12);
}

.about-hero .glow {
    position: absolute;
    pointer-events: none;
    filter: blur(70px);
    border-radius: 50%;
}

.about-hero .glow-top {
    top: -10%;
    left: -8%;
    width: 42%;
    height: 80%;
    background: rgba(1, 138, 190, 0.18);
}

.about-hero .glow-bottom {
    bottom: -20%;
    right: -8%;
    width: 40%;
    height: 80%;
    background: rgba(151, 202, 219, 0.28);
}

.about-hero .hero-subtitle {
    max-width: 560px;
}

.about-lead-constrained {
    max-width: 620px;
}

.about-hero h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    margin-top: 1.75rem;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-trust i {
    color: var(--emerald-green);
}

/* Hero visual: a "verified profile" card composition */
.hero-visual {
    position: relative;
    min-height: 380px;
}

.hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(2, 69, 122, 0.14);
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(2, 69, 122, 0.14);
}

.hero-card-main {
    top: 8%;
    left: 6%;
    right: 14%;
    padding: 1.35rem 1.5rem;
}

.hero-card-main .college-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-card-main .meta-approved-icon {
    color: var(--emerald-green);
}

.hero-card-main .meta-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(2, 69, 122, 0.18);
}

.hero-card-main .meta-row small {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-card-main .meta-row strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.council-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.9rem;
}

.council-chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #047857;
    font-size: 0.7rem;
    font-weight: 700;
}

.hero-card-rank {
    right: 0;
    bottom: 12%;
    padding: 1rem 1.2rem;
    min-width: 210px;
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-card-rank-sub {
    font-size: 0.66rem;
    letter-spacing: 0.05em;
}

.hero-card-rank-badge {
    color: var(--emerald-green);
}

.hero-card-review {
    left: 0;
    bottom: -2%;
    padding: 0.9rem 1.1rem;
    max-width: 250px;
    animation: heroFloat 7s ease-in-out infinite reverse;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.rank-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(2, 69, 122, 0.1);
    overflow: hidden;
    margin-top: 0.35rem;
}

.rank-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
}

.rank-bar .rank-fill-94 {
    width: 94%;
}

@media (max-width: 991.98px) {
    .hero-visual {
        min-height: 340px;
        margin-top: 1rem;
    }

    .hero-card-main {
        right: 6%;
    }

    .hero-card-rank {
        min-width: 180px;
    }
}

@media (max-width: 575.98px) {
    .hero-visual {
        min-height: 400px;
    }

    .hero-card-main {
        left: 0;
        right: 0;
    }

    .hero-card-rank {
        right: 0;
        bottom: 4%;
        min-width: 160px;
    }

    .hero-card-review {
        display: none;
    }
}

/* ---------- Stats strip ---------- */
.stats-strip {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(2, 69, 122, 0.12);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(2, 69, 122, 0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats-strip .stat {
    padding: 1.75rem 1.5rem;
    text-align: center;
    position: relative;
}

.stats-strip .stat+.stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22%;
    height: 56%;
    width: 1px;
    background: rgba(2, 69, 122, 0.12);
}

.stats-strip .stat-number {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-strip .stat-label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.92rem;
    margin-top: 0.25rem;
}

.stats-strip .stat-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

@media (max-width: 767.98px) {
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-strip .stat:nth-child(3)::before {
        display: none;
    }

    .stats-strip .stat:nth-child(n+3) {
        border-top: 1px solid rgba(2, 69, 122, 0.12);
    }
}

/* ---------- Pillars (mission / vision / values) ---------- */
.pillar-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(2, 69, 122, 0.12);
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.pillar-card::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    right: -60px;
    top: -60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 138, 190, 0.16), transparent 70%);
    transition: transform 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(1, 138, 190, 0.35);
    box-shadow: 0 22px 45px rgba(2, 69, 122, 0.12);
}

.pillar-card:hover::after {
    transform: scale(1.4);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    color: #fff;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    box-shadow: 0 10px 22px rgba(1, 138, 190, 0.3);
}

.pillar-icon-blue {
    background: linear-gradient(135deg, var(--neon-blue), #38bdf8);
}

.pillar-icon-emerald {
    background: linear-gradient(135deg, #059669, var(--emerald-green));
}

.pillar-lead {
    line-height: 1.75;
}

.pillar-card ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.pillar-card ul li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.pillar-card ul li+li {
    margin-top: 0.55rem;
}

.pillar-card ul li i {
    color: var(--neon-blue);
    margin-top: 0.25rem;
    font-size: 0.75rem;
}

/* ---------- Bento: what we verify ---------- */
.bento-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(2, 69, 122, 0.12);
    border-radius: 22px;
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 138, 190, 0.35);
    box-shadow: 0 16px 36px rgba(2, 69, 122, 0.1);
}

.bento-card.featured {
    background: linear-gradient(135deg, var(--neon-purple) 0%, #0369a1 60%, var(--neon-blue) 100%);
    color: #fff;
    border-color: transparent;
}

.bento-card.featured h4,
.bento-card.featured p {
    color: #fff;
}

.bento-card.featured p {
    opacity: 0.9;
}

.bento-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    color: var(--neon-blue);
    background: rgba(1, 138, 190, 0.1);
    border: 1px solid rgba(1, 138, 190, 0.2);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.bento-card:hover .bento-icon {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: #fff;
    border-color: transparent;
}

.bento-card.featured .bento-icon {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.bento-card h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.bento-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.council-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin-top: 1.4rem;
}

.council-grid span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.7rem 0.4rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.council-grid span small {
    font-weight: 500;
    font-size: 0.66rem;
    opacity: 0.85;
    letter-spacing: 0;
}

@media (max-width: 575.98px) {
    .council-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Journey timeline ---------- */
.journey {
    position: relative;
}

.journey::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, rgba(2, 69, 122, 0.08), rgba(1, 138, 190, 0.5), rgba(2, 69, 122, 0.08));
}

.journey-step {
    text-align: center;
    padding: 0 0.75rem;
    position: relative;
}

.journey-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1.1rem;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--neon-purple);
    background: #fff;
    border: 2px solid rgba(1, 138, 190, 0.45);
    box-shadow: 0 0 0 8px var(--body-bg), 0 10px 22px rgba(2, 69, 122, 0.12);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.journey-step:hover .journey-num {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: #fff;
    border-color: transparent;
    transform: scale(1.06);
}

.journey-step h5 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
}

.journey-step p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 991.98px) {
    .journey::before {
        display: none;
    }

    .journey-step {
        text-align: left;
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 1rem;
        align-items: start;
    }

    .journey-num {
        margin: 0;
    }
}

/* ---------- Voices ---------- */
.voice-card {
    background: #fff;
    border: 1px solid rgba(2, 69, 122, 0.1);
    border-radius: 22px;
    padding: 1.6rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.voice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(2, 69, 122, 0.1);
}

.voice-card .stars {
    color: #f59e0b;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.voice-card .stars-empty {
    color: rgba(2, 69, 122, 0.15);
}

.voice-card blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0.75rem 0 1.25rem;
    flex-grow: 1;
}

.voice-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    flex-shrink: 0;
}

.voice-name {
    font-size: 0.92rem;
}

/* ---------- CTA ---------- */
.about-cta {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--neon-purple) 55%, #0369a1 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 27, 72, 0.25);
}

.about-cta::before,
.about-cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.about-cta::before {
    width: 320px;
    height: 320px;
    left: -80px;
    top: -120px;
    background: rgba(1, 138, 190, 0.5);
}

.about-cta::after {
    width: 280px;
    height: 280px;
    right: -60px;
    bottom: -120px;
    background: rgba(151, 202, 219, 0.35);
}

.about-cta h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
}

.about-cta p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

.about-cta .about-cta-desc {
    max-width: 620px;
}

.about-cta .btn-light-cta {
    background: #fff;
    color: var(--neon-purple);
    border: 0;
    transition: all 0.25s ease;
}

.about-cta .btn-light-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.about-cta .btn-outline-cta {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.25s ease;
}

.about-cta .btn-outline-cta:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}


/* ==========================================================================
   CONTACT US PAGE STYLES (.contact-header-wrapper, .contact-info-card, etc.)
   ========================================================================== */
.contact-header-wrapper {
    background: transparent;
    border-bottom: 1px solid rgba(2, 69, 122, 0.12);
    margin-bottom: 2.5rem;
}

.contact-header-bg {
    z-index: 0;
}

.contact-header-glow-left {
    top: 0%;
    left: -5%;
    width: 45%;
    height: 100%;
    background: radial-gradient(circle, rgba(1, 138, 190, 0.16) 0%, transparent 70%);
    filter: blur(60px);
}

.contact-header-glow-right {
    top: 0%;
    right: -5%;
    width: 45%;
    height: 100%;
    background: radial-gradient(circle, rgba(151, 202, 219, 0.18) 0%, transparent 70%);
    filter: blur(60px);
}

.contact-hero-subtitle {
    font-size: 1.1rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(2, 69, 122, 0.12);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(2, 69, 122, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(1, 138, 190, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(2, 69, 122, 0.12);
}

.contact-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(1, 138, 190, 0.12);
    border: 1px solid rgba(2, 69, 122, 0.2);
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon-box {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(1, 138, 190, 0.35);
    transform: scale(1.05);
}

.contact-info-title {
    font-size: 0.95rem;
}

.contact-address-title {
    font-size: 0.92rem;
    line-height: 1.3;
}

.contact-status-dot {
    font-size: 0.5rem;
    vertical-align: middle;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(2, 69, 122, 0.12);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(2, 69, 122, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form-control-custom,
.form-select-custom {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(2, 69, 122, 0.18) !important;
    color: var(--text-primary) !important;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control-custom:focus,
.form-select-custom:focus {
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 15px rgba(1, 138, 190, 0.2) !important;
    background: #ffffff !important;
    color: var(--text-primary) !important;
}

.form-control-custom::placeholder {
    color: rgba(2, 69, 122, 0.45) !important;
}

.form-select-custom option {
    background: #ffffff;
    color: var(--text-primary);
}

.contact-map-container {
    height: 200px;
}

.contact-map-iframe {
    border: 0;
}


/* ==========================================================================
   COURSES LISTING PAGE STYLES (.courses-*, .course-card-*, etc.)
   ========================================================================== */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(2, 69, 122, 0.05);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(2, 69, 122, 0.4);
    border-radius: 4px;
}

.cursor-pointer {
    cursor: pointer;
}

.courses-header-wrapper {
    background: transparent;
    margin-bottom: 2.5rem;
}

.courses-header-bg {
    z-index: 0;
}

.courses-header-glow-left {
    top: 0%;
    left: -5%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(1, 138, 190, 0.15) 0%, transparent 70%);
    filter: blur(50px);
}

.courses-header-glow-right {
    top: 0%;
    right: -5%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(151, 202, 219, 0.15) 0%, transparent 70%);
    filter: blur(50px);
}

/* Desktop & iPad Pro (>= 992px): Sticky Sidebar positioned below sticky top navbar */
@media (min-width: 992px) {
    .course-filter-offcanvas.offcanvas-lg {
        position: sticky !important;
        top: 96px !important;
        z-index: 25 !important;
    }

    .filters-sidebar {
        max-height: calc(100vh - 115px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* iPad Pro 13" Portrait & Small Laptops (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .filters-sidebar {
        padding: 1rem !important;
    }

    .course-card-body {
        padding: 16px !important;
    }

    .course-card-title {
        font-size: 1.05rem !important;
    }

    .course-card-body .read-more-btn,
    .course-card-body .btn {
        font-size: 0.82rem !important;
        padding: 7px 6px !important;
        min-height: 38px !important;
    }
}

/* Tablets & Mobile (< 992px): Clean Offcanvas Drawer */
@media (max-width: 991.98px) {
    .course-filter-offcanvas.offcanvas-lg {
        width: 320px !important;
        max-width: 86vw !important;
        background: #ffffff !important;
        border-right: 1px solid rgba(2, 69, 122, 0.12) !important;
    }

    .course-filter-offcanvas .filters-sidebar {
        border: none !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        max-height: 100vh !important;
        height: 100% !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 3.5rem !important;
    }
}

/* Prevent auto-zoom on iOS Safari when tapping inputs */
@media (max-width: 1024px) {

    #courseListSearchInput,
    .filter-search-input {
        font-size: 16px !important;
    }
}

.course-card {
    background: #ffffff;
    border: 1px solid rgba(0, 27, 72, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 27, 72, 0.05);
    cursor: default;
}

.course-card-img-wrap {
    position: relative;
    overflow: hidden;
    background: #eef2f6;
    /* height: 200px; */
    width: 100%;
    display: block;
    cursor: default;
}

.course-card-img-wrap img,
.course-card-img {
    width: 100%;
    /* height: 100% !important; */
    max-height: 200px;
    object-fit: cover !important;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (max-width: 767.98px) {
    .course-card-img-wrap {
        height: 180px;
    }

    .course-card-img-wrap img,
    .course-card-img-wrap img,
    .course-card-img {
        max-height: 180px;
    }
}

.course-card:hover .course-card-img-wrap img,
.course-card:hover .course-card-img {
    transform: scale(1.06);
}

.course-card-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 27, 72, 0.15);
    color: #001B48;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 27, 72, 0.08);
}

.course-short-name-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background: #004b87;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.college-count-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, #001B48 0%, #02457A 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 5px 13px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 27, 72, 0.35);
}

.course-card-body {
    padding: 20px;
}

.course-card-title {
    color: #001B48;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.course-card-body .read-more-btn,
.course-card-body .btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-search-box .filter-search-input {
    transition: all 0.2s ease;
}

.filter-search-box .filter-search-input:focus {
    border-color: #018ABE !important;
    box-shadow: 0 0 0 3px rgba(1, 138, 190, 0.12) !important;
}

.mobile-filter-btn {
    background: #ffffff;
    border: 1.5px solid rgba(2, 69, 122, 0.16) !important;
    transition: all 0.25s ease;
}

.mobile-filter-btn:hover,
.mobile-filter-btn:active {
    background: #f8fafc;
    border-color: rgba(2, 69, 122, 0.3) !important;
}

.courses-filter-badge {
    background: linear-gradient(135deg, #018ABE, #02457A);
    font-size: 0.72rem;
    color: #ffffff;
}

.courses-filters-sidebar {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(2, 69, 122, 0.12);
}

.courses-active-badge {
    font-size: 0.72rem;
}

.filter-search-icon {
    font-size: 0.75rem;
}

.filter-search-input-field {
    font-size: 0.8rem;
}

.filter-options-scroll {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 10px;
    -webkit-overflow-scrolling: touch;
}

.filter-option-label {
    font-size: 0.88rem;
}

.filter-count-badge {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 400;
}

.courses-toolbar-alert {
    z-index: 20;
}

.courses-search-wrapper {
    max-width: 620px;
}

.courses-search-box-inner {
    max-width: 480px;
    min-width: 200px;
}

.search-refine-box {
    background: #ffffff;
    border: 1.5px solid rgba(2, 69, 122, 0.18) !important;
    transition: all 0.2s ease;
}

.search-submit-icon-btn {
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.search-clear-icon-btn {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.search-submit-pill-btn {
    background: linear-gradient(135deg, #018ABE, #02457A);
    font-size: 0.85rem;
    border: none;
    box-shadow: 0 2px 6px rgba(1, 138, 190, 0.25);
}

.courses-sort-btn {
    color: #475569;
    font-size: 0.92rem;
    min-height: 38px;
}

.courses-sort-menu {
    min-width: 220px;
    border-radius: 12px;
}

.courses-empty-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(2, 69, 122, 0.12);
}

.courses-empty-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-size: 2rem;
}

.btn-courses-navy {
    background: #001B48;
    border: none;
    transition: background 0.3s ease;
}

.btn-courses-navy:hover {
    background: #02457A;
}

.course-meta-list {
    font-size: 0.85rem;
}

.course-meta-item {
    color: #001B48;
}

.course-meta-icon {
    width: 16px;
}

.course-eligibility-text {
    line-height: 1.4;
}

.btn-course-explore {
    font-size: 0.85rem;
    min-height: 40px;
}

.btn-course-admit,
.btn-course-colleges {
    background: #001B48;
    border: none;
    font-size: 0.85rem;
    min-height: 40px;
    transition: all 0.3s ease;
}

.btn-course-admit:hover,
.btn-course-colleges:hover {
    background: #02457A;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 69, 122, 0.35);
}

.courses-modal-content {
    background: #ffffff !important;
    border: 1px solid rgba(0, 27, 72, 0.1) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 60px -10px rgba(0, 27, 72, 0.28), 0 0 0 1px rgba(0, 27, 72, 0.05) !important;
    overflow: hidden;
    color: #001B48;
}

.course-apply-program-banner {
    background: linear-gradient(135deg, rgba(1, 138, 190, 0.08) 0%, rgba(0, 27, 72, 0.04) 100%);
    border: 1.5px solid rgba(1, 138, 190, 0.22);
}

.program-banner-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #018ABE, #001B48);
    box-shadow: 0 4px 10px rgba(1, 138, 190, 0.25);
    font-size: 1.15rem;
}

.program-banner-sub {
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    color: #018ABE;
}

.program-banner-title {
    font-size: 0.98rem;
    line-height: 1.35;
    color: #001B48;
    word-break: break-word;
}

.course-modal-field {
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 10px 14px 10px 42px !important;
    font-size: 0.92rem !important;
    color: #0f172a !important;
    background-color: #f8fafc !important;
    transition: all 0.2s ease;
}

.course-modal-field:focus {
    background-color: #ffffff !important;
    border-color: #018ABE !important;
    box-shadow: 0 0 0 3.5px rgba(1, 138, 190, 0.15) !important;
    outline: none;
}

.course-modal-textarea {
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 14px !important;
    padding: 12px 14px 12px 42px !important;
    font-size: 0.92rem !important;
    color: #0f172a !important;
    background-color: #f8fafc !important;
    transition: all 0.2s ease;
}

.course-modal-textarea:focus {
    background-color: #ffffff !important;
    border-color: #018ABE !important;
    box-shadow: 0 0 0 3.5px rgba(1, 138, 190, 0.15) !important;
    outline: none;
}

.course-input-icon-wrap {
    position: relative;
}

.course-input-icon-wrap .course-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 2;
}

.course-input-icon-wrap .course-input-icon.icon-textarea {
    top: 18px;
    transform: none;
}

.courses-modal-content .btn-close {
    width: 32px;
    height: 32px;
    background-color: #f1f5f9;
    border-radius: 50%;
    opacity: 0.75;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.courses-modal-content .btn-close:hover {
    opacity: 1;
    background-color: #e2e8f0;
    transform: rotate(90deg);
}

@media (max-width: 575.98px) {
    .course-short-name-badge {
        font-size: 0.82rem !important;
        padding: 5px 12px !important;
        border-bottom-right-radius: 14px !important;
    }

    .course-card-body {
        padding: 14px 16px !important;
    }

    .course-card-title {
        font-size: 1.05rem !important;
    }

    .courses-search-box {
        max-width: 100% !important;
        width: 100% !important;
    }

    .courses-toolbar-actions {
        width: 100% !important;
    }
}

.courses-toolbar-count {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .courses-toolbar-count {
        white-space: normal;
        width: 100%;
    }
}

.filter-chip {
    background: rgba(0, 27, 72, 0.08);
    border: 1px solid rgba(0, 27, 72, 0.15);
    color: #001B48;
    font-size: 0.82rem;
    border-radius: 30px;
    padding: 5px 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* =====================================================================
   Ranking Page Styles (ranking.php)
   ===================================================================== */
.ranking-header-wrapper {
    background: transparent;
    margin-bottom: 2.5rem;
}

.ranking-search-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(2, 69, 122, 0.12);
}

.ranking-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(2, 69, 122, 0.12);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.ranking-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.rank-badge-number {
    min-width: 54px;
    padding: 0 12px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    flex-shrink: 0;
    white-space: nowrap;
}

.rank-badge-number.top-3 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.rank-badge-number.rank-badge-na {
    background: #f8f9fa !important;
    box-shadow: none;
    font-size: 1.1rem;
}

.ranking-college-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px;
    border: 1px solid rgba(2, 69, 122, 0.12);
}

.ranking-college-title {
    line-height: 1.35;
}

.ranking-badge-pill {
    font-size: 0.74rem;
    background: rgba(2, 69, 122, 0.1);
}

.ranking-pkg-label {
    font-size: 0.78rem;
}

.ranking-pkg-icon {
    font-size: 0.75rem;
}

.ranking-btn-icon {
    font-size: 0.85rem;
}

/* =====================================================================
   Student Testimonials Page Styles (testimonials.php)
   ===================================================================== */
.testimonials-hero-banner {
    background: transparent !important;
    border-bottom: none !important;
    padding: 1.5rem 0 1.5rem 0;
    margin-bottom: 2rem;
    position: relative;
}

.testimonials-glow-wrap {
    z-index: 0;
}

.testimonials-glow-left {
    top: 0%;
    left: -5%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(1, 138, 190, 0.15) 0%, transparent 70%);
    filter: blur(50px);
}

.testimonials-glow-right {
    top: 0%;
    right: -5%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(151, 202, 219, 0.15) 0%, transparent 70%);
    filter: blur(50px);
}

.testimonials-toggle-icon {
    transition: transform 0.25s ease;
}

.testimonials-form-card {
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.12) !important;
    box-shadow: none !important;
}

.testimonials-user-badge {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #02457a 0%, #018abe 100%);
    font-size: 0.95rem;
}

.testimonials-user-name {
    font-size: 0.95rem;
    line-height: 1.2;
}

.testimonials-user-subtext {
    font-size: 0.76rem;
}

.testimonials-close-btn {
    width: 36px;
    height: 36px;
}

.testimonials-sentiment-badge {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    font-size: 0.8rem;
}

.testimonials-char-counter {
    font-size: 0.76rem;
}

.testimonials-anon-box {
    background: rgba(2, 69, 122, 0.03);
    border: 1px dashed rgba(2, 69, 122, 0.18);
}

.testimonials-anon-desc {
    font-size: 0.78rem;
}

.testimonials-switch-input {
    width: 2.5rem;
    height: 1.3rem;
}

.testimonials-preview-card {
    top: 90px;
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.12) !important;
    box-shadow: none !important;
}

.testimonials-preview-title {
    font-size: 0.95rem;
}

.testimonials-realtime-badge {
    background: rgba(1, 138, 190, 0.1);
    color: #018abe;
    font-size: 0.72rem;
}

.testimonials-preview-body {
    background: linear-gradient(180deg, rgba(2, 69, 122, 0.02) 0%, rgba(1, 138, 190, 0.04) 100%);
}

.testimonials-quote-icon {
    pointer-events: none;
}

.testimonial-student-name {
    font-size: 0.95rem;
}

.testimonials-preview-hint {
    font-size: 0.78rem;
}

.testimonials-rating-num {
    font-size: 0.88rem;
}

.testimonials-empty-icon {
    font-size: 3.5rem;
}

.testimonial-avatar-fallback {
    display: none;
}

.avatar-bg-0 {
    background-color: #02457a;
}

.avatar-bg-1 {
    background-color: #018abe;
}

.avatar-bg-2 {
    background-color: #4318ff;
}

.avatar-bg-3 {
    background-color: #059669;
}

.avatar-bg-4 {
    background-color: #d97706;
}

.avatar-bg-5 {
    background-color: #db2777;
}

.testimonial-grid-card {
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.08);
    border-radius: 20px;
    padding: 24px 22px 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: none !important;
    transform-style: preserve-3d;
    transform: perspective(1000px) translateZ(0);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.25s ease;
    height: 100%;
}

.testimonial-grid-card:hover {
    border-color: rgba(1, 138, 190, 0.35);
    z-index: 10;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.testimonial-card-quote {
    font-size: 0.93rem;
    line-height: 1.65;
    color: #1e293b;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.testimonial-student-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.testimonial-student-initials {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

.star-rating-radio {
    display: none;
}

.star-rating-label {
    cursor: pointer;
    font-size: 1.7rem;
    color: #d1d5db;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.star-rating-label:hover {
    transform: scale(1.25);
    color: #f59e0b;
}

.star-rating-label.active {
    color: #f59e0b;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.form-input-styled {
    border: 1px solid rgba(2, 69, 122, 0.16);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    font-size: 0.93rem;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-input-styled:focus {
    border-color: #018abe;
    box-shadow: 0 0 0 3px rgba(1, 138, 190, 0.12);
    outline: none;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50rem;
}

/* 3D Sheen Layer */
.testimonial-sheen {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.7) 0%, transparent 60%);
}

.testimonial-grid-card:hover .testimonial-sheen {
    opacity: 1;
}

/* =====================================================================
   User Profile Dashboard (profile.php)
   ===================================================================== */
.profile-dashboard-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 5rem;
}

.profile-sidebar {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(2, 69, 122, 0.08);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.profile-sidebar-header {
    background: linear-gradient(135deg, rgba(1, 138, 190, 0.08) 0%, rgba(2, 69, 122, 0.04) 100%);
    padding: 30px 20px 22px;
    text-align: center;
    border-bottom: 1px solid rgba(2, 69, 122, 0.06);
    position: relative;
}

.profile-avatar-container {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 12px;
    box-shadow: 0 8px 25px rgba(1, 138, 190, 0.15);
    border: 3px solid #ffffff;
    position: relative;
    overflow: hidden;
}

.profile-avatar-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-nav-pills .nav-link {
    color: #475569;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 12px;
    margin: 4px 14px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-nav-pills .nav-link i {
    width: 22px;
    text-align: center;
    font-size: 1.05rem;
}

.profile-nav-pills .nav-link:hover {
    background: rgba(1, 138, 190, 0.06);
    color: #018abe;
}

.profile-nav-pills .nav-link.active {
    background: #001B48;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 27, 72, 0.25);
}

.profile-nav-divider {
    opacity: 0.12;
    width: 85%;
    margin: 12px auto;
}

.profile-content {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(2, 69, 122, 0.08);
    overflow: hidden;
}

.profile-tab-header {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(2, 69, 122, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #ffffff;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    padding: 1.5rem 1.75rem;
}

.profile-info-box {
    background: #f8fafc;
    border: 1px solid rgba(2, 69, 122, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.25s ease;
}

.profile-info-box:hover {
    background: #ffffff;
    border-color: rgba(1, 138, 190, 0.3);
    box-shadow: 0 8px 24px rgba(1, 138, 190, 0.08);
    transform: translateY(-2px);
}

.profile-info-box-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(1, 138, 190, 0.1);
    color: #018abe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.profile-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-info-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    word-break: break-word;
}

/* Edit Profile Photo Uploader */
.profile-photo-uploader {
    background: linear-gradient(180deg, rgba(1, 138, 190, 0.04) 0%, rgba(2, 69, 122, 0.01) 100%);
    border: 1px dashed rgba(1, 138, 190, 0.25);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-bottom: 1.75rem;
}

.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 120px;
}

.profile-avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 25px rgba(1, 138, 190, 0.2);
    display: block;
}

.profile-avatar-fallback-initials {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #001B48 0%, #02457A 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 800;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 25px rgba(1, 138, 190, 0.2);
}

.profile-camera-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #001B48;
    color: #ffffff;
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    z-index: 5;
}

.profile-camera-badge:hover {
    background: #02457A;
    transform: scale(1.08);
}

.profile-upload-action-btn {
    cursor: pointer;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(2, 69, 122, 0.2);
    background: #ffffff;
    color: #001B48;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    transition: all 0.25s ease;
}

.profile-upload-action-btn:hover {
    background: #001B48;
    color: #ffffff;
    border-color: #001B48;
}

.profile-upload-hint {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 6px;
}

/* Edit Profile Inputs */
.profile-form-group {
    margin-bottom: 1rem;
}

.profile-form-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #001B48;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-form-control {
    border: 1px solid rgba(2, 69, 122, 0.16);
    border-radius: 50rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    background: #f8fafc;
    color: #0f172a;
    transition: all 0.25s ease;
}

.profile-form-control:focus {
    background: #ffffff;
    border-color: #018abe;
    box-shadow: 0 0 0 3px rgba(1, 138, 190, 0.15);
    outline: none;
}

.profile-form-control[readonly] {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
    border-color: rgba(2, 69, 122, 0.1);
}

.profile-form-hint {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 4px;
    padding-left: 12px;
}

.profile-save-btn {
    min-width: 170px;
    padding: 0.75rem 2rem;
    font-weight: 700;
}

/* Applications Tab */
.profile-app-card {
    border: 1px solid rgba(2, 69, 122, 0.1);
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.profile-app-card:hover {
    border-color: rgba(1, 138, 190, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(1, 138, 190, 0.1);
}

.profile-app-header-img {
    height: 150px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.profile-app-header-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.profile-app-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-app-logo-wrap {
    position: absolute;
    bottom: -18px;
    left: 18px;
    z-index: 4;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(2, 69, 122, 0.08);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-app-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.profile-app-body {
    padding: 24px 18px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.profile-app-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 4px;
}

.profile-app-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.profile-app-title a:hover {
    color: #018abe;
}

.profile-app-meta {
    font-size: 0.84rem;
    color: #64748b;
    margin-bottom: 12px;
}

/* Saved Colleges Tab */
.profile-saved-card {
    border: 1px solid rgba(2, 69, 122, 0.1);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.profile-saved-card:hover {
    border-color: rgba(1, 138, 190, 0.3);
    box-shadow: 0 8px 25px rgba(1, 138, 190, 0.08);
    transform: translateY(-2px);
}

.profile-saved-logo-col {
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-right: 1px solid rgba(2, 69, 122, 0.06);
}

.profile-saved-logo {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
}

.profile-saved-content-col {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-saved-actions-col {
    background: #f8fafc;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    border-left: 1px solid rgba(2, 69, 122, 0.06);
}

/* Empty States */
.profile-empty-panel {
    background: linear-gradient(135deg, rgba(1, 138, 190, 0.03) 0%, rgba(2, 69, 122, 0.02) 100%);
    border: 1px dashed rgba(1, 138, 190, 0.25);
    border-radius: 20px;
    padding: 3.5rem 1.5rem;
    text-align: center;
    margin: 1rem 0;
}

.profile-empty-icon-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.profile-empty-icon {
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

.profile-empty-text {
    max-width: 440px;
    font-size: 0.95rem;
    margin: 0 auto 1.5rem;
}

.profile-empty-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: rgba(1, 138, 190, 0.12);
    border-radius: 50%;
    animation: profilePulse 2s infinite ease-in-out;
}

@keyframes profilePulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.8;
    }
}

@media (max-width: 767.98px) {
    .profile-sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }

    .profile-saved-logo-col {
        border-right: none;
        border-bottom: 1px solid rgba(2, 69, 122, 0.06);
    }

    .profile-saved-actions-col {
        border-left: none;
        border-top: 1px solid rgba(2, 69, 122, 0.06);
        flex-direction: row;
        flex-wrap: wrap;
    }

    .profile-saved-actions-col .btn {
        flex: 1 1 auto;
    }
}

/* ==========================================================================
   Search Explorer Page Styles
   ========================================================================== */
.search-hero-section {
    background: linear-gradient(180deg, rgba(1, 138, 190, 0.05) 0%, rgba(2, 69, 122, 0.02) 100%);
    border-bottom: 1px solid rgba(2, 69, 122, 0.06);
    padding-top: 2.25rem;
    padding-bottom: 2rem;
    position: relative;
}

.search-hero-title {
    color: #001B48;
    font-size: clamp(1.75rem, 3.2vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.search-hero-title .highlight-text {
    color: #018ABE;
}

.search-hero-subtitle {
    color: #02457A;
    max-width: 580px;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 auto 1.25rem;
}

.search-hero-subtitle strong {
    color: #001B48;
    font-weight: 700;
}

.search-hero-controls {
    width: 100%;
    max-width: 720px;
    margin: 0 0 1.5rem 0 !important;
    text-align: left !important;
}

.search-refine-box {
    width: 100%;
    max-width: 720px;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    background: #ffffff;
    border: 1.5px solid rgba(2, 69, 122, 0.18);
    border-radius: 50rem;
    padding: 5px 6px 5px 18px;
    box-shadow: 0 4px 20px rgba(0, 27, 72, 0.06);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    position: relative;
}

.search-refine-box:focus-within {
    border-color: #018ABE;
    box-shadow: 0 0 0 4px rgba(1, 138, 190, 0.16), 0 8px 30px rgba(1, 138, 190, 0.12);
}

.search-refine-box .search-icon {
    color: #018ABE;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.search-refine-input {
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #001B48;
    width: 100%;
    outline: none;
    box-shadow: none !important;
}

.search-refine-input::placeholder {
    color: #94a3b8;
}

.search-clear-btn {
    color: #94a3b8;
    padding: 4px 10px;
    font-size: 1.15rem;
    transition: color 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.search-clear-btn:hover {
    color: #64748b;
}

.search-submit-btn {
    border-radius: 50rem;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
    white-space: nowrap;
}

.search-trending-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin-top: 0.9rem;
}

.search-trending-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #02457A;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.trending-tag-btn {
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.14);
    color: #02457A;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50rem;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.trending-tag-btn:hover {
    background: rgba(1, 138, 190, 0.08);
    border-color: rgba(1, 138, 190, 0.35);
    color: #018ABE;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(1, 138, 190, 0.12);
}

/* Filter Tab Navigation */
.search-tab-bar-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding: 4px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.search-tab-bar-wrap::-webkit-scrollbar {
    display: none;
}

.search-tab-nav {
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.12);
    padding: 5px;
    border-radius: 50rem;
    box-shadow: 0 2px 14px rgba(2, 69, 122, 0.04);
    display: inline-flex;
    gap: 4px;
    flex-shrink: 0;
}

.search-tab-nav .nav-link {
    color: #02457A;
    border-radius: 50rem;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.search-tab-nav .nav-link .tab-count-badge {
    background: rgba(2, 69, 122, 0.08);
    color: #02457A;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50rem;
    transition: all 0.25s ease;
}

.search-tab-nav .nav-link.active {
    color: #ffffff !important;
    background: #001B48 !important;
    box-shadow: 0 4px 16px rgba(0, 27, 72, 0.25);
}

.search-tab-nav .nav-link.active .tab-count-badge {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

.search-tab-nav .nav-link:hover:not(.active) {
    color: #018ABE;
    background: rgba(1, 138, 190, 0.06);
}

/* Section Header */
.search-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(2, 69, 122, 0.08);
    gap: 12px;
    flex-wrap: wrap;
}

.search-section-title {
    color: #001B48;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-count-pill {
    background: rgba(1, 138, 190, 0.1);
    color: #018ABE;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50rem;
}

.search-section-sub {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.search-directory-link {
    font-size: 0.84rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50rem;
    white-space: nowrap;
}

/* College List Card */
.college-list-card {
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.1);
    border-radius: 20px;
    padding: 22px 26px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 12px rgba(0, 27, 72, 0.03);
}

.college-list-card:hover {
    transform: translateY(-3px);
    border-color: rgba(1, 138, 190, 0.35);
    box-shadow: 0 10px 30px rgba(0, 27, 72, 0.08);
}

.college-logo-box {
    width: 78px;
    height: 78px;
    min-width: 78px;
    border-radius: 16px;
    background: #ffffff;
    border: 1.5px solid rgba(2, 69, 122, 0.1);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 27, 72, 0.05);
    transition: all 0.25s ease;
}

.college-list-card:hover .college-logo-box {
    border-color: #018ABE;
    transform: scale(1.04);
}

.college-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.college-badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.college-meta-badge {
    border-radius: 50rem;
    padding: 3px 10px;
    font-size: 0.74rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.college-meta-type {
    background: #f8fafc;
    border: 1px solid rgba(2, 69, 122, 0.12);
    color: #475569;
    text-transform: capitalize;
}

.college-meta-nirf {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #92400e;
    font-weight: 700;
}

.college-meta-naac {
    background: #f8fafc;
    border: 1px solid rgba(2, 69, 122, 0.12);
    color: #475569;
}

.college-meta-rating {
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.16);
    color: #001B48;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    font-weight: 700;
}

.college-card-title {
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    color: #001B48;
}

.college-card-title a {
    color: #001B48;
    text-decoration: none;
    transition: color 0.2s ease;
}

.college-card-title a:hover {
    color: #018ABE;
}

.college-card-loc {
    color: #64748b;
    font-size: 0.86rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.college-highlights-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 0.82rem;
    color: #64748b;
}

.college-action-col {
    border-left: 1px solid rgba(2, 69, 122, 0.1);
    padding-left: 24px;
    min-width: 215px;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.college-fee-label {
    font-size: 0.74rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 2px;
}

.college-fee-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #018ABE;
    margin-bottom: 10px;
}

.college-btn-apply {
    border-radius: 50rem;
    padding: 9px 20px;
    font-size: 0.86rem;
    font-weight: 700;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.college-btn-details {
    border-radius: 50rem;
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
}

.college-btn-compare {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    border: 1px solid rgba(2, 69, 122, 0.2);
    color: #475569;
    background: #ffffff;
    transition: all 0.2s ease;
}

.college-btn-compare:hover {
    background: #001B48;
    color: #ffffff;
    border-color: #001B48;
}

.search-hero-controls {
    max-width: 640px;
    margin: 0 auto 2rem;
}

/* Course List Card */
.course-list-card {
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.1);
    border-radius: 20px;
    padding: 22px 26px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 12px rgba(0, 27, 72, 0.03);
}

.course-list-card:hover {
    transform: translateY(-3px);
    border-color: rgba(1, 138, 190, 0.35);
    box-shadow: 0 10px 30px rgba(0, 27, 72, 0.08);
}

.degree-icon-box {
    width: 78px;
    height: 78px;
    min-width: 78px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(1, 138, 190, 0.12) 0%, rgba(2, 69, 122, 0.06) 100%);
    border: 1.5px solid rgba(1, 138, 190, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #018ABE;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 27, 72, 0.05);
    transition: all 0.25s ease;
}

.course-list-card:hover .degree-icon-box {
    border-color: #018ABE;
    transform: scale(1.04);
}

.course-card-title {
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    color: #001B48;
}

.course-card-title a {
    color: #001B48;
    text-decoration: none;
    transition: color 0.2s ease;
}

.course-card-title a:hover {
    color: #018ABE;
}

.course-meta-badge {
    border-radius: 50rem;
    padding: 3px 10px;
    font-size: 0.74rem;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid rgba(2, 69, 122, 0.12);
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.course-info-sub {
    color: #64748b;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.course-action-col {
    border-left: 1px solid rgba(2, 69, 122, 0.1);
    padding-left: 24px;
    min-width: 215px;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-action-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.course-fee-label {
    font-size: 0.74rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 2px;
}

.course-fee-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #018ABE;
    margin-bottom: 10px;
}

.course-btn-explore {
    border-radius: 50rem;
    padding: 8px 20px;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Destination Badge Card */
.destination-badge-card {
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.1);
    border-radius: 16px;
    padding: 16px 18px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 27, 72, 0.03);
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 100%;
}

.destination-badge-card:hover {
    border-color: #018ABE;
    background: rgba(1, 138, 190, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(1, 138, 190, 0.12);
}

.destination-icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(1, 138, 190, 0.1);
    color: #018ABE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.destination-name {
    font-weight: 700;
    color: #001B48;
    font-size: 0.95rem;
    line-height: 1.25;
    margin-bottom: 2px;
}

.destination-state {
    color: #64748b;
    font-size: 0.8rem;
}

.destination-count-badge {
    border-radius: 50rem;
    padding: 4px 10px;
    background: rgba(1, 138, 190, 0.08);
    border: 1px solid rgba(1, 138, 190, 0.2);
    color: #018ABE;
    font-weight: 700;
    font-size: 0.75rem;
    white-space: nowrap;
}

/* Empty / No Results State */
.search-no-results-card {
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.12);
    border-radius: 20px;
    padding: 3.5rem 1.5rem;
    text-align: center;
    max-width: 580px;
    margin: 1.5rem auto;
    box-shadow: 0 4px 20px rgba(0, 27, 72, 0.04);
}

.search-no-results-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(1, 138, 190, 0.1);
    border: 1.5px solid rgba(1, 138, 190, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: #018ABE;
    margin-bottom: 1.25rem;
}

.search-no-results-title {
    color: #001B48;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.search-no-results-desc {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

/* Responsive Media Queries */
@media (max-width: 767.98px) {
    .search-hero-section {
        padding-top: 1.75rem;
        padding-bottom: 1.5rem;
    }

    .search-refine-box {
        padding: 4px 4px 4px 14px;
    }

    .search-refine-input {
        padding: 8px 8px;
        font-size: 0.88rem;
    }

    .search-submit-btn {
        padding: 8px 16px;
        font-size: 0.84rem;
    }

    .search-tab-bar-wrap {
        justify-content: flex-start;
        padding-left: 8px;
        padding-right: 8px;
    }

    .search-tab-nav .nav-link {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .college-list-card,
    .course-list-card {
        padding: 16px;
    }

    .college-logo-box,
    .degree-icon-box {
        width: 60px;
        height: 60px;
        min-width: 60px;
        border-radius: 12px;
        padding: 6px;
    }

    .degree-icon-box {
        font-size: 0.82rem;
    }

    .college-card-title,
    .course-card-title {
        font-size: 1.05rem;
    }

    .college-action-col,
    .course-action-col {
        border-left: none;
        border-top: 1px solid rgba(2, 69, 122, 0.08);
        padding-left: 0;
        padding-top: 14px;
        margin-top: 10px;
        min-width: unset;
        text-align: left;
    }

    .college-fee-val,
    .course-fee-val {
        margin-bottom: 8px;
    }

    .search-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .search-directory-link {
        align-self: flex-start;
    }
}

/* ==========================================================================
   Study Destinations Page Styles (Map & Analytics Dashboard)
   ========================================================================== */

.analytics-card {
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.analytics-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.state-ranking-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.state-ranking-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8f0f7;
}

.state-ranking-header h5 {
    letter-spacing: -0.02em;
}

.state-rank-item {
    position: relative;
    padding: 0.7rem 0.65rem;
    border: 1px solid transparent;
    border-radius: 0.85rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.state-rank-item:hover,
.state-rank-item:focus-within {
    background: #f7fbff;
    border-color: #d8ebf8;
    transform: translateY(-1px);
}

.state-rank-item .state-name {
    font-size: 0.9rem;
}

.state-rank-item.is-active {
    background: #eef7fe;
    border-color: #bfe0f7;
}

.state-rank-label {
    width: 45%;
}

.state-rank-progress {
    height: 7px;
    background-color: #eaf1f7;
}

.state-rank-progress-bar {
    background: linear-gradient(135deg, #0099ff 0%, #0369a1 100%);
}

.state-rank-count {
    width: 25px;
    text-align: right;
}

/* Right panel: switches between the ranking and a state's college list */
.state-panel {
    position: relative;
    overflow: hidden;
}

.state-panel-view {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.state-panel-view.is-hidden {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(14px);
    pointer-events: none;
    visibility: hidden;
}

.state-colleges-header {
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #e8f0f7;
}

.state-colleges-header .state-flag {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #0099ff 0%, #0369a1 100%);
    box-shadow: 0 6px 14px rgba(3, 105, 161, 0.28);
    flex-shrink: 0;
}

.state-colleges-header h5 {
    letter-spacing: -0.02em;
}

.state-colleges-header .count-pill {
    background: #eef7fe;
    color: #0369a1;
    border: 1px solid #cfe7f8;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.state-back-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #d8ebf8;
    background: #fff;
    color: #0369a1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.state-back-btn:hover {
    background: #0369a1;
    color: #fff;
    border-color: #0369a1;
}

.state-college-scroll {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #cfe7f8 transparent;
}

.state-college-scroll::-webkit-scrollbar {
    width: 5px;
}

.state-college-scroll::-webkit-scrollbar-thumb {
    background: #cfe7f8;
    border-radius: 999px;
}

.state-college-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.65rem;
    border-radius: 0.85rem;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.state-college-row:hover {
    background: #f7fbff;
    border-color: #d8ebf8;
    transform: translateX(3px);
    color: inherit;
}

.state-college-row+.state-college-row {
    margin-top: 0.2rem;
}

.state-college-row .college-avatar {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: #0369a1;
    background: #eef7fe;
    border: 1px solid #cfe7f8;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.state-college-row:hover .college-avatar {
    background: linear-gradient(135deg, #0099ff 0%, #0369a1 100%);
    color: #fff;
    border-color: transparent;
}

.state-college-row .college-name {
    font-size: 0.86rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.state-college-row .college-city {
    font-size: 0.72rem;
    color: #64748b;
}

.state-college-city-icon {
    font-size: 0.62rem;
}

.state-college-row .row-arrow {
    margin-left: auto;
    color: #94a3b8;
    font-size: 0.75rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.state-college-row:hover .row-arrow {
    color: #0369a1;
    transform: translateX(3px);
}

.state-colleges-footer {
    padding-top: 0.85rem;
    margin-top: 0.5rem;
    border-top: 1px solid #e8f0f7;
}

.state-colleges-footer a {
    color: #0369a1;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.state-colleges-footer a:hover {
    text-decoration: underline;
}

.state-panel-hint {
    font-size: 0.72rem;
    color: #94a3b8;
}

#india-geomap {
    width: 100%;
    height: 310px;
}

#india-geomap svg path {
    cursor: pointer;
}

/* Google's tooltip is only used as a hover signal for the state panel */
#india-geomap .google-visualization-tooltip {
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Custom Modern Map Legend */
.map-legend-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.gradient-track {
    width: 110px;
    height: 8px;
    background: linear-gradient(90deg,
            #ef4444 0%, #ef4444 7.1%,
            #f97316 7.1%, #f97316 14.2%,
            #f59e0b 14.2%, #f59e0b 21.3%,
            #eab308 21.3%, #eab308 28.4%,
            #84cc16 28.4%, #84cc16 35.5%,
            #22c55e 35.5%, #22c55e 42.6%,
            #14b8a6 42.6%, #14b8a6 49.7%,
            #06b6d4 49.7%, #06b6d4 56.8%,
            #3b82f6 56.8%, #3b82f6 63.9%,
            #6366f1 63.9%, #6366f1 71%,
            #8b5cf6 71%, #8b5cf6 78.1%,
            #d946ef 78.1%, #d946ef 85.2%,
            #ec4899 85.2%, #ec4899 92.3%,
            #f43f5e 92.3%, #f43f5e 100%);
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.rank-badge {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
}

.rank-badge.top-1 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
}

.rank-badge.top-2 {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(148, 163, 184, 0.3);
}

.rank-badge.top-3 {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(217, 119, 6, 0.3);
}

.destination-state-badge {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 0.72rem;
    border-color: rgba(255, 255, 255, 0.25) !important;
    max-width: 58%;
}

.destination-state-icon,
.location-college-icon {
    font-size: 0.68rem;
}

.location-card-title {
    letter-spacing: -0.2px;
}

.location-explore-text {
    font-size: 0.85rem;
}

.destination-arrow-btn {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #0099ff 0%, #6366f1 100%);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 153, 255, 0.38);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.destination-arrow-btn i,
.destination-arrow-icon {
    font-size: 0.72rem;
}

/* ==========================================================================
   Compare Page Styles (Colleges & Courses Comparison)
   ========================================================================== */

.compare-tab-btn {
    position: relative;
    overflow: hidden;
    color: #02457A;
    background: transparent;
    border: 1px solid rgba(2, 69, 122, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.8rem;
    border-radius: 50rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    isolation: isolate;
}

/* Shine effect */
.compare-tab-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent);
    transform: skewX(-25deg);
    animation: shine 2.5s infinite;
}

.compare-tab-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    background: #02457A;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.compare-tab-btn:hover,
.compare-tab-btn.active {
    color: #fff;
    border-color: #02457A;
}

.compare-tab-btn:hover::after,
.compare-tab-btn.active::after {
    transform: scaleX(1);
}

.compare-card {
    background: #ffffff;
    border: 1.5px solid rgba(2, 69, 122, 0.14);
    border-radius: 18px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 16px rgba(2, 69, 122, 0.06);
}

.compare-card:hover {
    background: #ffffff;
    border-color: #018ABE;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(1, 138, 190, 0.12);
}

.remove-slot-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    font-size: 0.75rem;
}

.remove-slot-btn:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.1);
}

.compare-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    table-layout: fixed;
    min-width: max(900px, var(--compare-table-min-width));
    overflow-wrap: anywhere;
    background: #ffffff;
}

.compare-table th.metric-label {
    background: #ffffff;
    color: #001B48;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    padding: 1.15rem 1.25rem;
    width: 235px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(2, 69, 122, 0.08);
    border-right: 2px solid rgba(2, 69, 122, 0.12);
    position: sticky;
    left: 0;
    z-index: 5;
    box-shadow: 3px 0 12px rgba(2, 69, 122, 0.06);
}

.compare-table thead th.metric-label {
    background: #f8fafc;
    z-index: 8;
}

.compare-table td.metric-value {
    background: #ffffff;
    color: #0f172a;
    padding: 1.15rem 1.25rem;
    vertical-align: middle;
    font-size: 0.95rem;
    font-weight: 500;
    overflow-wrap: anywhere;
    border-bottom: 1px solid rgba(2, 69, 122, 0.07);
    border-right: 1px solid rgba(2, 69, 122, 0.07);
    transition: background 0.15s ease;
}

.compare-table tbody tr:nth-child(even) td.metric-value {
    background: #fafcfe;
}

.compare-table td.metric-value .badge {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    font-weight: 600;
}

.compare-table tr:hover td.metric-value {
    background: #edf6fb !important;
}

.compare-table tr:hover th.metric-label {
    background: #f1f8fc !important;
}

.compare-table tr.highlight-diff td.metric-value {
    background: rgba(1, 138, 190, 0.09);
}

.badge-best {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.search-item-card {
    background: #ffffff;
    border: 1.5px solid rgba(2, 69, 122, 0.12);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.search-item-card:hover {
    background: #f0f8fd;
    border-color: var(--neon-blue, #018ABE);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 138, 190, 0.12);
}

.search-item-card.is-selected {
    background: #e8f4fc !important;
    border-color: #018ABE !important;
    box-shadow: 0 4px 14px rgba(1, 138, 190, 0.18) !important;
}

.compare-selected-chip {
    background: #f0f8fc;
    border: 1px solid rgba(1, 138, 190, 0.3);
    border-radius: 999px;
    padding: 4px 10px 4px 6px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #02457A;
    max-width: 220px;
    transition: all 0.15s ease;
}

.compare-selected-chip:hover {
    background: #e4f2f9;
    border-color: #018ABE;
}

.compare-chip-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    border: 1px solid rgba(1, 138, 190, 0.2);
    flex-shrink: 0;
}

.compare-chip-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.compare-chip-remove {
    border: none;
    background: rgba(2, 69, 122, 0.1);
    color: #02457A;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.compare-chip-remove:hover {
    background: #dc3545;
    color: #ffffff;
    transform: scale(1.15);
}

.compare-slots-badge {
    transition: all 0.2s ease;
}

.compare-slots-badge:hover {
    background: rgba(1, 138, 190, 0.18) !important;
    transform: translateY(-1px);
}

.compare-dash {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1;
}

.comparison-scroll-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(1, 138, 190, 0.35) rgba(255, 255, 255, 0.5);
    border-radius: 20px;
}

.comparison-scroll-container::-webkit-scrollbar {
    height: 7px;
}

.comparison-scroll-container::-webkit-scrollbar-track {
    background: rgba(2, 69, 122, 0.04);
    border-radius: 4px;
}

.comparison-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(1, 138, 190, 0.35);
    border-radius: 4px;
}

.comparison-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(1, 138, 190, 0.6);
}

/* Compare Page Utility Classes */
.diff-toggle-label {
    font-size: 0.95rem;
}

.compare-img-box {
    height: 100px;
}

.compare-img-thumb {
    max-height: 100px;
    object-fit: contain;
}

.compare-item-title {
    line-height: 1.4;
}

.compare-card-actions {
    width: 100%;
}

.compare-card-actions .read-more-btn,
.compare-card-actions .primary-btn,
.compare-card-actions .btn {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.metric-value-text {
    line-height: 1.5;
}

.compare-eligibility-wrap {
    position: relative;
    max-width: 100%;
}

.compare-eligibility-content {
    line-height: 1.45;
    word-break: break-word;
    color: #334155;
    font-size: 0.825rem;
}

.compare-eligibility-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compare-eligibility-content.expanded {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}

.compare-read-more-btn {
    display: inline-block;
    color: var(--primary-color, #018abe);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 2px 4px;
    margin-top: 4px;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.compare-read-more-btn:hover {
    color: #001b48;
}

/* Modal Backdrop Blur for Comparison Page and Modals */
.modal-backdrop.show {
    backdrop-filter: blur(14px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(130%) !important;
    background-color: rgba(0, 27, 72, 0.6) !important;
}

#searchItemModal.modal {
    padding: 0 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#searchItemModal.modal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#searchItemModal .modal-dialog {
    margin: 1.25rem auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% - 1.5rem) !important;
    max-width: 650px !important;
}

.compare-modal-content {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0, 27, 72, 0.28) !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.compare-search-scroll {
    max-height: 380px;
    overflow-y: auto;
}

.search-item-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    background: #ffffff;
    border: 1px solid rgba(2, 69, 122, 0.08);
    border-radius: 8px;
}

/* Mobile swipe hint banner */
.compare-mobile-swipe-hint {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-secondary, #02457A);
    box-shadow: 0 4px 15px rgba(2, 69, 122, 0.05);
}

/* Responsive Breakpoints for Comparison Page */
@media (max-width: 991.98px) {
    .compare-table th.metric-label {
        width: 170px !important;
        padding: 0.9rem 0.85rem !important;
        font-size: 0.8rem !important;
    }

    .compare-table td.metric-value {
        width: 200px !important;
        padding: 0.9rem 0.85rem !important;
        font-size: 0.88rem !important;
    }
}

@media (max-width: 767.98px) {
    .compare-table {
        table-layout: fixed !important;
        width: max-content !important;
        min-width: var(--compare-table-mobile-min-width, 655px) !important;
    }

    .compare-table th.metric-label,
    .compare-table thead th.metric-label {
        position: static !important;
        left: auto !important;
        box-shadow: none !important;
        z-index: 1 !important;
        width: 155px !important;
        min-width: 155px !important;
        max-width: 165px !important;
        padding: 0.85rem 0.75rem !important;
        font-size: 0.8rem !important;
        line-height: 1.35 !important;
        border-right: 2px solid rgba(2, 69, 122, 0.1) !important;
    }

    .compare-table thead th.metric-label {
        padding-top: 1.15rem !important;
    }

    .compare-table td.metric-value {
        width: 250px !important;
        min-width: 250px !important;
        max-width: 280px !important;
        padding: 0.85rem 0.75rem !important;
        font-size: 0.85rem !important;
    }

    .compare-card {
        padding: 0.85rem 0.75rem !important;
        border-radius: 14px !important;
    }

    .compare-img-box {
        height: 64px !important;
        margin-bottom: 0.4rem !important;
    }

    .compare-img-thumb {
        max-height: 60px !important;
    }

    .compare-item-title {
        font-size: 0.86rem !important;
        line-height: 1.3 !important;
        min-height: 2.6em !important;
        max-height: 2.6em !important;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom: 0.25rem !important;
    }

    .compare-card p.small {
        font-size: 0.74rem !important;
        margin-bottom: 0.35rem !important;
    }

    .compare-card-actions {
        gap: 6px !important;
        margin-top: 0.45rem !important;
        padding-top: 0.45rem !important;
    }

    .compare-card-actions .read-more-btn,
    .compare-card-actions .primary-btn,
    .compare-card-actions .btn {
        padding: 0.35rem 0.55rem !important;
        font-size: 0.76rem !important;
        height: 32px !important;
        line-height: 1 !important;
    }

    .remove-slot-btn {
        top: 6px !important;
        right: 6px !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 0.72rem !important;
    }

    .comparison-controls {
        padding: 0.65rem 0.85rem !important;
        border-radius: 14px !important;
    }

    .comparison-controls .compare-slots-badge {
        font-size: 0.78rem !important;
        padding: 5px 10px !important;
        white-space: nowrap !important;
    }

    .diff-toggle-label {
        font-size: 0.78rem !important;
    }

    .comparison-actions {
        width: auto !important;
    }

    .comparison-actions .btn,
    .comparison-actions .secondary-btn,
    .comparison-actions .primary-btn {
        font-size: 0.82rem !important;
        padding: 0.35rem 0.65rem !important;
        height: 32px !important;
        min-width: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 20px !important;
    }

    .compare-tab-btn {
        flex: 1 1 0;
        justify-content: center;
        text-align: center;
        padding: 0.6rem 0.9rem !important;
        font-size: 0.82rem !important;
    }

    /* Metric cells typography on mobile */
    .compare-table td.metric-value .badge {
        font-size: 0.74rem !important;
        padding: 4px 9px !important;
    }

    .compare-table td.metric-value .fs-5 {
        font-size: 0.95rem !important;
    }

    .compare-table td.metric-value .fs-6 {
        font-size: 0.85rem !important;
    }

    .compare-table td.metric-value .btn {
        font-size: 0.8rem !important;
        padding: 0.42rem 0.75rem !important;
    }

    #searchItemModal .modal-footer {
        padding: 0.75rem 0.85rem !important;
    }

    #searchItemModal .modal-footer .secondary-btn,
    #searchItemModal .modal-footer .primary-btn {
        font-size: 0.85rem !important;
        height: 38px !important;
        padding: 0.4rem 0.9rem !important;
        border-radius: 50rem !important;
    }

    #searchItemModal #modalFooterCountBadge {
        font-size: 0.76rem !important;
        padding: 4px 9px !important;
    }

    #searchItemModal #modalFooterHint {
        font-size: 0.78rem !important;
    }
}

@media (max-width: 575.98px) {
    #searchItemModal.modal.show {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #searchItemModal .modal-dialog {
        margin: 0.75rem auto !important;
        width: calc(100% - 1.25rem) !important;
        max-width: calc(100% - 1.25rem) !important;
    }

    #searchItemModal .modal-content {
        margin: 0 auto !important;
        width: 100% !important;
        border-radius: 18px !important;
    }

    #searchItemModal .modal-body {
        padding: 0.75rem !important;
    }

    #searchItemModal .compare-search-scroll {
        max-height: 270px !important;
    }

    #searchItemModal .modal-footer {
        padding: 0.65rem 0.75rem !important;
    }

    #searchItemModal .modal-footer .secondary-btn {
        font-size: 0.8rem !important;
        height: 36px !important;
        padding: 0.35rem 0.8rem !important;
    }

    #searchItemModal .modal-footer .primary-btn {
        font-size: 0.82rem !important;
        height: 36px !important;
        padding: 0.35rem 0.85rem !important;
    }

    #searchItemModal #modalFooterCountBadge {
        font-size: 0.72rem !important;
        padding: 3px 8px !important;
    }

    #searchItemModal #modalFooterHint {
        font-size: 0.76rem !important;
    }

    .comparison-controls {
        padding: 0.55rem 0.65rem !important;
    }

    .comparison-controls .compare-slots-badge {
        font-size: 0.72rem !important;
        padding: 4px 8px !important;
    }

    .comparison-actions .btn,
    .comparison-actions .secondary-btn,
    .comparison-actions .primary-btn {
        font-size: 0.76rem !important;
        padding: 0.3rem 0.5rem !important;
        height: 29px !important;
        min-width: 30px !important;
    }

    .compare-table th.metric-label,
    .compare-table thead th.metric-label {
        position: static !important;
        left: auto !important;
        box-shadow: none !important;
        z-index: 1 !important;
        width: 145px !important;
        min-width: 145px !important;
        max-width: 155px !important;
        font-size: 0.78rem !important;
        padding: 0.75rem 0.65rem !important;
    }

    .compare-table td.metric-value {
        width: 240px !important;
        min-width: 240px !important;
        max-width: 260px !important;
        padding: 0.75rem 0.65rem !important;
    }

    .compare-search-scroll {
        max-height: 300px;
    }

    .search-item-card {
        padding: 0.55rem 0.75rem;
    }

    .search-item-img {
        width: 40px;
        height: 40px;
    }

    .search-item-card .fs-6 {
        font-size: 0.85rem !important;
    }

    .search-item-card .small {
        font-size: 0.74rem !important;
    }
}

/* ==========================================================================
   Featured Promotional Action Banners Component (Home Page)
   ========================================================================== */
.eb-featured-banners-section {
    position: relative;
    overflow: hidden;
}

.eb-promo-banner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 27, 72, 0.08);
    box-shadow: 0 6px 20px rgba(0, 27, 72, 0.06);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
    will-change: transform, box-shadow;
    cursor: pointer;
}

.eb-promo-banner-inner {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 660 / 356;
    overflow: hidden;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.eb-promo-banner-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 660 / 356;
    display: block;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Individual Card Glow & Hover Lift */
.eb-promo-admissions:hover {
    transform: translateY(-7px) scale(1.015);
    box-shadow: 0 16px 36px rgba(1, 138, 190, 0.28);
    border-color: rgba(1, 138, 190, 0.4);
}

.eb-promo-courses:hover {
    transform: translateY(-7px) scale(1.015);
    box-shadow: 0 16px 36px rgba(156, 39, 176, 0.28);
    border-color: rgba(156, 39, 176, 0.4);
}

.eb-promo-compare:hover {
    transform: translateY(-7px) scale(1.015);
    box-shadow: 0 16px 36px rgba(230, 126, 34, 0.28);
    border-color: rgba(230, 126, 34, 0.4);
}

.eb-promo-banner-card:hover .eb-promo-banner-img {
    transform: scale(1.03);
}

/* Dynamic Glass Shine Sweep Animation */
.eb-banner-shine-overlay {
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.32) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    transition: left 0.75s ease;
}

.eb-promo-banner-card:hover .eb-banner-shine-overlay {
    left: 140%;
}

/* Mobile responsive optimization */
@media (max-width: 767.98px) {
    .eb-featured-banners-section {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .eb-promo-banner-card {
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(0, 27, 72, 0.08);
    }

    .eb-promo-banner-inner {
        border-radius: 13px;
    }

    .eb-promo-banner-card:hover {
        transform: translateY(-4px);
    }
}

/* ══════════════════════════════════════════════════════════════════ */
/* EDUBANDHU THANK YOU PAGE - KINETIC ANIMATION THEME STYLES        */
/* ══════════════════════════════════════════════════════════════════ */

body.eb-thankyou-body {
    margin: 0;
    height: 100%;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 20%, #FFFFFF 0%, #EDF6FA 45%, #D6E8EE 100%);
    background-color: #D6E8EE;
    color: var(--text-primary, #001B48);
    font-family: 'Go', "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Subtle ambient brand illumination */
body.eb-thankyou-body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(1, 138, 190, 0.14), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(2, 69, 122, 0.12), transparent 48%),
        radial-gradient(circle at 50% 50%, rgba(151, 202, 219, 0.22), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Header bar with EduBandhu brand logo */
.eb-thankyou-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.eb-thankyou-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.eb-thankyou-logo-link:hover {
    transform: translateY(-1px) scale(1.03);
}

.eb-thankyou-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.eb-thankyou-quick-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(1, 138, 190, 0.25);
    color: var(--text-secondary, #02457A);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
}

.eb-thankyou-quick-home:hover {
    background: var(--neon-blue, #018ABE);
    color: #ffffff !important;
    border-color: var(--neon-blue, #018ABE);
    box-shadow: 0 4px 14px rgba(1, 138, 190, 0.25);
}

/* Main Content Center */
main.eb-thankyou-main {
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    position: relative;
    z-index: 2;
}

/* Success status pill */
.eb-thankyou-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(1, 138, 190, 0.08);
    border: 1px solid rgba(1, 138, 190, 0.25);
    color: var(--neon-blue, #018ABE);
    font-size: clamp(0.8rem, 1.8vw, 0.92rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    opacity: 0;
    backdrop-filter: blur(6px);
}

.go .eb-thankyou-status-chip {
    animation: ebFade 0.8s ease forwards;
    animation-delay: 0.3s;
}

.eb-thankyou-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-green, #10B981);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
    animation: ebPulse 2s infinite;
}

@keyframes ebPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.75;
    }
}

/* Kinetic Animated Typography */
.eb-thankyou-title {
    margin: 0;
    font-family: 'Go', "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: clamp(3.2rem, 14vw, 9.5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 0.28em;
    text-shadow: 0 4px 18px rgba(1, 138, 190, 0.12);
}

.eb-thankyou-word,
.word {
    display: inline-flex;
}

.eb-thankyou-l,
.l {
    display: inline-block;
    opacity: 0;
    transform: translateY(-120vh) rotate(-18deg);
}

.go .eb-thankyou-l,
.go .l {
    animation: ebDrop 0.9s cubic-bezier(0.3, 1.5, 0.5, 1) forwards;
    animation-delay: calc(var(--i) * 70ms);
}

/* Brand Colors for Falling Letters */
.eb-thankyou-l:nth-child(3n),
.l:nth-child(3n) {
    color: var(--neon-blue, #018ABE);
}

.eb-thankyou-l:nth-child(3n+1),
.l:nth-child(3n+1) {
    color: var(--text-primary, #001B48);
}

.eb-thankyou-l:nth-child(3n+2),
.l:nth-child(3n+2) {
    color: var(--text-secondary, #02457A);
}

@keyframes ebDrop {
    0% {
        opacity: 1;
        transform: translateY(-120vh) rotate(-18deg);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.eb-thankyou-lead {
    max-width: 44ch;
    margin: 1.5rem 0 0;
    font-size: clamp(1.02rem, 2.4vw, 1.3rem);
    line-height: 1.55;
    color: var(--text-secondary, #02457A);
    font-weight: 500;
    opacity: 0;
}

.go .eb-thankyou-lead {
    animation: ebFade 0.8s ease forwards;
    animation-delay: 1.4s;
}

.eb-thankyou-actions {
    margin-top: 2.25rem;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
}

.go .eb-thankyou-actions {
    animation: ebFade 0.8s ease forwards;
    animation-delay: 1.7s;
}

/* Action Button: EduBandhu Signature Gradient */
.btn-eb-thankyou {
    font: inherit;
    font-weight: 700;
    font-size: clamp(0.88rem, 2vw, 1rem);
    border-radius: 999px;
    padding: 0.85em 2.2em;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #018ABE 0%, #02457A 100%);
    border: 1.5px solid transparent;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(1, 138, 190, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-eb-thankyou:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #001B48 0%, #018ABE 100%);
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(1, 138, 190, 0.45);
}

.btn-eb-thankyou:focus-visible {
    outline: 3px solid #00B4D8;
    outline-offset: 3px;
}

.eb-thankyou-redirect-hint {
    margin-top: 1.5rem;
    font-size: clamp(0.88rem, 2vw, 1.02rem);
    color: var(--text-secondary, #02457A);
    font-weight: 500;
    opacity: 0;
}

.go .eb-thankyou-redirect-hint {
    animation: ebFade 0.8s ease forwards;
    animation-delay: 2s;
}

.eb-thankyou-redirect-hint strong {
    color: var(--neon-blue, #018ABE);
    font-size: 1.15em;
    font-weight: 800;
    background: rgba(1, 138, 190, 0.12);
    padding: 2px 10px;
    border-radius: 6px;
    display: inline-block;
}

@keyframes ebFade {
    to {
        opacity: 1;
    }
}

canvas.eb-thankyou-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 575.98px) {
    .eb-thankyou-top-bar {
        padding: 1rem 1.25rem;
    }

    .eb-thankyou-logo-img {
        height: 34px;
    }

    .eb-thankyou-quick-home {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .eb-thankyou-l,
    .l {
        opacity: 1;
        transform: none;
    }

    .go .eb-thankyou-l,
    .go .l {
        animation: none;
    }

    .eb-thankyou-lead,
    .eb-thankyou-actions,
    .eb-thankyou-redirect-hint,
    .eb-thankyou-status-chip {
        opacity: 1;
    }

    .go .eb-thankyou-lead,
    .go .eb-thankyou-actions,
    .go .eb-thankyou-redirect-hint,
    .go .eb-thankyou-status-chip {
        animation: none;
    }

    .btn-eb-thankyou:hover {
        transform: none;
    }
}


/* ==========================================================================
   EDUBANDHU - MODERN WHITE GRADIENT FOOTER
   ========================================================================== */
.eb-modern-footer {
    position: relative;
    color: #001B48;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 20;
}

.eb-footer-container {
    position: relative;
    z-index: 2;
}

.eb-badge-free {
    font-size: 0.65rem !important;
}

/* ─── Column Headings & Accordion Button ─── */
.eb-footer-heading-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: #001B48;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    user-select: none;
}

.eb-footer-heading-btn .eb-heading-text {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    color: #001B48;
}

.eb-footer-heading-btn .eb-heading-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #018ABE, #97CADB);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(1, 138, 190, 0.3);
}

.eb-accordion-chevron {
    font-size: 0.75rem;
    color: #018ABE;
    transition: transform 0.3s ease;
    display: none;
    /* Hidden on desktop */
}

/* Column Container & Sizing */
.eb-footer-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
}

@media (min-width: 768px) {
    .eb-footer-col {
        height: 100%;
    }

    .eb-footer-heading-btn {
        pointer-events: none !important;
        cursor: default !important;
    }

    .eb-footer-collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }
}

.eb-footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
    /* Stretch to align View All buttons at the bottom */
}

.eb-footer-links-list li:not(.eb-footer-view-all-li) {
    min-height: 28px;
    display: flex;
    align-items: center;
}

.eb-footer-link {
    color: #475569;
    font-size: 0.84rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.35;
    position: relative;
}

.eb-footer-link .text-truncate {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eb-link-icon-arrow {
    font-size: 0.62rem;
    color: #018ABE;
    opacity: 0;
    margin-right: 5px;
    transform: translateX(-4px);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.eb-footer-link:hover {
    color: #018ABE !important;
    transform: translateX(4px);
    font-weight: 500;
}

.eb-footer-link:hover .eb-link-icon-arrow {
    opacity: 1;
    transform: translateX(0);
}

.eb-footer-rank-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(1, 138, 190, 0.12);
    color: #018ABE;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid rgba(1, 138, 190, 0.2);
}

.eb-footer-view-all-li {
    margin-top: auto;
    padding-top: 14px;
}

.eb-view-all-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #018ABE;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(1, 138, 190, 0.08);
    border: 1px solid rgba(1, 138, 190, 0.22);
    transition: all 0.25s ease;
}

.eb-view-all-pill:hover {
    background: #018ABE;
    border-color: #018ABE;
    color: #ffffff;
    transform: translateX(3px);
    box-shadow: 0 3px 10px rgba(1, 138, 190, 0.25);
}

.eb-view-all-pill i {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.eb-view-all-pill:hover i {
    transform: translateX(3px);
}

/* ─── Responsive Proportional Column Sizing ─── */
/* Desktop (>= 1200px): Wide columns for colleges/ranking, compact for cities/states */
@media (min-width: 1200px) {
    .eb-col-explore {
        flex: 0 0 13%;
        max-width: 13%;
    }

    .eb-col-colleges {
        flex: 0 0 22%;
        max-width: 22%;
    }

    .eb-col-ranked {
        flex: 0 0 22%;
        max-width: 22%;
    }

    .eb-col-programmes {
        flex: 0 0 17%;
        max-width: 17%;
    }

    .eb-col-cities {
        flex: 0 0 13%;
        max-width: 13%;
    }

    .eb-col-states {
        flex: 0 0 13%;
        max-width: 13%;
    }
}

/* Large Tablets / Laptops (992px - 1199.98px): Equal 6 columns */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .eb-footer-col {
        flex: 0 0 16.6666%;
        max-width: 16.6666%;
        padding-left: 6px;
        padding-right: 6px;
    }
}

/* Tablets (768px - 991.98px): 3 columns per row (Row 1: Explore, Colleges, Ranked | Row 2: Programmes, Cities, States) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .eb-footer-col {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
        padding-bottom: 1.75rem;
    }
}

/* Mobile (< 768px): Modern Full-Width Collapsible Accordion Cards */
@media (max-width: 767.98px) {

    /* Clear fixed right floating action buttons (Telegram, Bot, Call) */
    .eb-footer-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 10px !important;
    }

    .eb-footer-accordion-card {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(1, 138, 190, 0.18);
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(2, 69, 122, 0.04);
        transition: all 0.25s ease;
    }

    .eb-footer-accordion-card:has(.eb-footer-collapse.show) {
        background: #ffffff;
        border-color: rgba(1, 138, 190, 0.35);
        box-shadow: 0 4px 16px rgba(1, 138, 190, 0.09);
    }

    .eb-footer-heading-btn {
        padding: 13px 16px !important;
        margin-bottom: 0 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .eb-footer-heading-btn .eb-heading-text {
        padding-bottom: 0 !important;
        font-size: 0.86rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        white-space: normal !important;
        overflow: visible !important;
        line-height: 1.35 !important;
    }

    .eb-footer-heading-btn .eb-heading-text::after {
        display: none !important;
        /* Underline hidden in mobile card header */
    }

    .eb-accordion-chevron {
        display: inline-block !important;
        font-size: 0.78rem !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .eb-footer-heading-btn:not(.collapsed) .eb-accordion-chevron {
        transform: rotate(180deg);
        color: #02457A;
    }

    .eb-footer-collapse-body {
        padding: 4px 16px 14px 16px;
        border-top: 1px dashed rgba(1, 138, 190, 0.16);
    }

    .eb-footer-links-list {
        gap: 10px !important;
        padding-top: 10px !important;
    }

    .eb-footer-link {
        font-size: 0.88rem !important;
        white-space: normal !important;
        line-height: 1.4 !important;
    }

    .eb-footer-link .text-truncate {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: break-word !important;
    }

    .eb-link-icon-arrow {
        opacity: 0.65 !important;
        transform: translateX(0) !important;
        margin-right: 8px !important;
    }

    .eb-footer-view-all-li {
        padding-top: 10px !important;
    }

    .eb-view-all-pill {
        font-size: 0.82rem !important;
        padding: 5px 14px !important;
    }

    /* Responsive Streams Bar on mobile */
    .eb-streams-bar {
        border-radius: 18px !important;
        padding: 16px 14px !important;
        margin-top: 1rem !important;
        margin-bottom: 1.5rem !important;
        background: #ffffff !important;
        border: 1px solid rgba(1, 138, 190, 0.22) !important;
        box-shadow: 0 4px 14px rgba(2, 69, 122, 0.05) !important;
        width: auto !important;
        position: relative !important;
        z-index: 30 !important;
    }

    .eb-tools-wrapper {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .eb-tools-heading {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        font-size: 0.84rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.6px !important;
        color: #001B48 !important;
        padding-bottom: 8px !important;
        border-bottom: 1px solid rgba(1, 138, 190, 0.14) !important;
        margin-right: 0 !important;
    }

    .eb-tools-heading i {
        color: #018ABE !important;
        font-size: 0.95rem !important;
    }

    /* Student Tools cover full width on mobile */
    .eb-tools-chips-row {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 9px !important;
        align-items: stretch !important;
    }

    .eb-stream-chip {
        width: 100% !important;
        flex: 1 1 100% !important;
        max-width: 100% !important;
        min-height: 44px !important;
        font-size: 0.86rem !important;
        font-weight: 600 !important;
        color: #02457A !important;
        text-decoration: none !important;
        padding: 10px 16px !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        border: 1px solid rgba(1, 138, 190, 0.22) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
        transition: all 0.2s ease !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .eb-stream-chip,
    .eb-stream-chip:link,
    .eb-stream-chip:visited {
        color: #02457A !important;
    }

    .eb-stream-chip i {
        font-size: 0.92rem !important;
        margin-right: 8px !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .eb-stream-chip span {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: inherit !important;
    }

    .eb-stream-chip:hover,
    .eb-stream-chip:focus,
    .eb-stream-chip:active {
        background: #018ABE !important;
        border-color: #018ABE !important;
        color: #ffffff !important;
        box-shadow: 0 4px 14px rgba(1, 138, 190, 0.28) !important;
    }

    .eb-stream-chip:hover i,
    .eb-stream-chip:focus i,
    .eb-stream-chip:active i,
    .eb-stream-chip:hover span,
    .eb-stream-chip:focus span,
    .eb-stream-chip:active span {
        color: #ffffff !important;
    }

    .eb-stream-chip .badge {
        margin-left: 8px !important;
    }

    .eb-stream-chip-all {
        min-height: 46px !important;
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.3px !important;
        border-radius: 12px !important;
        margin-top: 4px !important;
        background: linear-gradient(135deg, #001B48, #02457A) !important;
        color: #ffffff !important;
        border-color: transparent !important;
        box-shadow: 0 4px 14px rgba(0, 27, 72, 0.25) !important;
    }

    .eb-stream-chip-all:hover,
    .eb-stream-chip-all:focus,
    .eb-stream-chip-all:active {
        background: linear-gradient(135deg, #018ABE, #02457A) !important;
        box-shadow: 0 4px 16px rgba(1, 138, 190, 0.35) !important;
        color: #ffffff !important;
    }

    /* Social Connections in exactly ONE row on mobile */
    .eb-social-row {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 14px !important;
        margin-top: 8px !important;
        border-top: 1px dashed rgba(1, 138, 190, 0.18) !important;
    }

    .eb-social-icons-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .eb-social-circle {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        font-size: 0.92rem !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Mobile bottom safe padding */
    .eb-modern-footer {
        padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
        position: relative !important;
        z-index: 35 !important;
    }

    /* Maintain full visibility & interactivity for sticky video story banner and FAB stack in footer */
    body.eb-near-footer .eb-story-collapsed,
    body.eb-near-footer .eb-story-launcher {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        visibility: visible !important;
    }

    body.eb-near-footer .eb-floating-fab-stack {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* ─── Student Tools & Utilities Bar ─── */
.eb-streams-bar {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(1, 138, 190, 0.18);
    border-radius: 50px;
    padding: 14px 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 20px rgba(2, 69, 122, 0.05);
    position: relative;
    z-index: 25;
}

.eb-stream-chip {
    font-size: 0.82rem;
    font-weight: 500;
    color: #02457A;
    background: #ffffff;
    border: 1px solid rgba(1, 138, 190, 0.2);
    padding: 5px 14px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.22s ease;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    display: inline-flex;
    align-items: center;
    font-family: inherit;
    cursor: pointer;
    line-height: 1.4;
    opacity: 1 !important;
    visibility: visible !important;
}

.eb-stream-chip,
.eb-stream-chip:link,
.eb-stream-chip:visited {
    color: #02457A;
}

.eb-stream-chip i {
    display: inline-block;
    visibility: visible;
    opacity: 1;
}

.eb-stream-chip span {
    display: inline-block;
    visibility: visible;
    opacity: 1;
    color: inherit;
}

.eb-stream-chip:hover,
.eb-stream-chip:focus,
.eb-stream-chip:active {
    background: #018ABE;
    border-color: #018ABE;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(1, 138, 190, 0.28);
}

.eb-stream-chip:hover i,
.eb-stream-chip:focus i,
.eb-stream-chip:active i,
.eb-stream-chip:hover span,
.eb-stream-chip:focus span,
.eb-stream-chip:active span {
    color: #ffffff !important;
}

.eb-stream-chip-all {
    background: linear-gradient(135deg, #001B48, #02457A);
    color: #ffffff !important;
    border-color: transparent;
}

.eb-stream-chip-all:hover,
.eb-stream-chip-all:focus,
.eb-stream-chip-all:active {
    background: linear-gradient(135deg, #018ABE, #02457A);
    box-shadow: 0 4px 16px rgba(1, 138, 190, 0.35);
    color: #ffffff !important;
}

.eb-social-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(1, 138, 190, 0.2);
    color: #02457A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(2, 69, 122, 0.05);
}

.eb-social-circle:hover {
    transform: translateY(-2px) scale(1.08);
    color: #ffffff;
}

.eb-social-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 0 16px rgba(24, 119, 242, 0.4);
}

.eb-social-tw:hover {
    background: #000000;
    border-color: #000000;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
}

.eb-social-ig:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    box-shadow: 0 0 16px rgba(214, 36, 159, 0.4);
}

.eb-social-li:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 0 16px rgba(10, 102, 194, 0.4);
}

.eb-social-yt:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 0 16px rgba(255, 0, 0, 0.4);
}

.eb-social-wa:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
}

/* ─── Bottom Bar ─── */
.eb-footer-bottom-row {
    border-top: 1px solid rgba(1, 138, 190, 0.14);
    padding: 1.25rem 0;
    color: #64748b;
    font-size: 0.84rem;
}

.eb-legal-link {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.eb-legal-link:hover {
    color: #018ABE;
}

.eb-back-to-top {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(1, 138, 190, 0.25);
    color: #018ABE;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(1, 138, 190, 0.1);
}

.eb-back-to-top:hover {
    background: #018ABE;
    color: #ffffff;
    border-color: #018ABE;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(1, 138, 190, 0.3);
}

/* ─── Glowing Watermark ─── */
.eb-watermark-wrap {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100% !important;
    max-width: 100vw !important;
    text-align: center;
    pointer-events: none;
    z-index: 1;
    overflow: hidden !important;
    line-height: 1;
}

.eb-footer-watermark {
    font-size: clamp(3rem, 12vw, 180px);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(1, 138, 190, 0.08);
    margin: 0;
    padding: 0;
    user-select: none;
    white-space: nowrap;
    max-width: 100%;
    transition: all 0.4s ease;
}

.eb-modern-footer:hover .eb-footer-watermark {
    -webkit-text-stroke: 1.5px rgba(1, 138, 190, 0.18);
    filter: drop-shadow(0 0 25px rgba(1, 138, 190, 0.12));
}