/* InternStep - Professional Educational Platform Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-blue: #0866E8;
    --primary-hover: #0654c2;
    --primary-active: #0545a1;
    --primary-light: #EBF3FE;
    --primary-light-hover: #DDEBFD;
    
    --navy-heading: #102A50;
    --navy-dark: #0A1C36;
    --navy-light: #1E3A8A;
    
    --text-dark: #1E293B;
    --text-body: #475467;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    --bg-white: #FFFFFF;
    --bg-light-blue: #F4F8FD;
    --bg-badge: #EBF3FE;
    --bg-gray: #F8FAFC;
    
    --border-light: #E2E8F0;
    --border-card: #EAEFF5;

    --green-badge-bg: #DCFCE7;
    --green-badge-text: #16A34A;

    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 1px 3px rgba(16, 42, 80, 0.05);
    --shadow-md: 0 4px 16px -2px rgba(16, 42, 80, 0.06), 0 2px 6px -1px rgba(16, 42, 80, 0.04);
    --shadow-lg: 0 12px 32px -4px rgba(8, 102, 232, 0.12), 0 4px 12px -2px rgba(16, 42, 80, 0.06);
    --shadow-card-hover: 0 16px 36px -6px rgba(8, 102, 232, 0.15), 0 6px 16px -2px rgba(16, 42, 80, 0.08);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 9999px;
}

/* Global Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, .heading-font {
    font-family: var(--font-heading);
    color: var(--navy-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(8, 102, 232, 0.25);
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(8, 102, 232, 0.35);
}

.btn-outline-custom {
    background-color: transparent;
    border: 1.5px solid var(--border-light);
    color: var(--navy-heading) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 9px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease-in-out;
}

.btn-outline-custom:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-blue);
    color: var(--primary-blue) !important;
}

.btn-video {
    background-color: #FFFFFF;
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease-in-out;
}

.btn-video:hover {
    background-color: var(--primary-light);
    color: var(--primary-hover) !important;
    transform: translateY(-2px);
}

.btn-card-action {
    background-color: var(--primary-blue);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    padding: 11px 18px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    transition: all 0.2s ease-in-out;
}

.btn-card-action:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 102, 232, 0.25);
}

/* Navbar */
.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: all 0.25s ease-in-out;
}

.navbar-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 2.2rem;
    line-height: 1;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--navy-heading);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 1px;
}

.nav-link-custom {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-heading);
    padding: 10px 18px !important;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link-custom:hover {
    color: var(--primary-blue);
}

.nav-link-custom.active {
    color: var(--primary-blue);
}

.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 18px;
    right: 18px;
    height: 2.5px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--navy-heading);
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.theme-toggle-btn:hover {
    background-color: var(--bg-badge);
    color: var(--primary-blue);
    transform: rotate(15deg) scale(1.05);
}

.search-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--navy-heading);
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.search-toggle-btn:hover {
    background-color: var(--bg-badge);
    color: var(--primary-blue);
    transform: scale(1.05);
}

/* User Capsule Pill Button matching user design */
.user-pill-btn {
    background: #FFFFFF;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: 6px 14px 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-heading);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(16, 42, 80, 0.04);
    text-decoration: none;
    outline: none;
}

.user-pill-btn::after {
    display: none !important;
}

.user-pill-btn:hover,
.user-pill-btn:focus,
.user-pill-btn[aria-expanded="true"] {
    border-color: var(--primary-blue);
    background: #FFFFFF;
    color: var(--navy-heading);
    box-shadow: 0 4px 14px rgba(8, 102, 232, 0.12);
}

.user-pill-name {
    font-weight: 600;
    color: var(--navy-heading);
    font-size: 0.92rem;
    letter-spacing: -0.01em;
}

.user-pill-caret {
    color: var(--navy-heading);
    font-size: 0.65rem;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.user-pill-btn[aria-expanded="true"] .user-pill-caret {
    transform: rotate(180deg);
}

/* User Modern Dropdown */
.user-dropdown-menu {
    min-width: 290px;
    max-width: 330px;
    border-radius: 16px !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: 0 20px 40px -10px rgba(16, 42, 80, 0.15), 0 8px 16px -4px rgba(16, 42, 80, 0.08) !important;
    padding: 8px !important;
    margin-top: 10px !important;
    animation: dropdownPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top right;
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.user-dropdown-header {
    padding: 12px 14px;
    background: linear-gradient(135deg, #F4F8FD 0%, #FFFFFF 100%);
    border-radius: 12px;
    margin-bottom: 6px;
    border: 1px solid #EAEFF5;
}

.user-dropdown-header .user-role-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.user-dropdown-item {
    padding: 9px 12px;
    border-radius: 10px;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.15s ease;
    text-decoration: none;
}

.user-dropdown-item:hover {
    background-color: #F1F5F9;
    color: var(--primary-blue);
    transform: translateX(3px);
}

.user-dropdown-item i {
    font-size: 1.05rem;
    color: #64748B;
    transition: color 0.15s ease;
}

.user-dropdown-item:hover i {
    color: var(--primary-blue);
}

.user-dropdown-item.primary-item {
    background-color: var(--primary-light);
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 4px;
}

.user-dropdown-item.primary-item i {
    color: var(--primary-blue);
}

.user-dropdown-item.primary-item:hover {
    background-color: var(--primary-light-hover);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #F9FBFE 0%, #FFFFFF 100%);
    padding: 50px 0 35px 0;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background-color: var(--bg-badge);
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--navy-heading);
}

.hero-title .highlight-blue {
    color: var(--primary-blue);
    display: block;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(16, 42, 80, 0.15);
    background-color: var(--bg-light-blue);
    aspect-ratio: 16 / 10;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover img {
    transform: scale(1.02);
}

/* Floating Quote badge on Hero image matching reference */
.hero-floating-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-align: right;
    pointer-events: none;
}

.hero-floating-tag span {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--navy-heading);
    letter-spacing: -0.01em;
}

/* Statistics Bar */
.stats-strip {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.6rem;
}

.stat-numbers {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--navy-heading);
    line-height: 1.1;
}

.stat-lbl {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 38px;
    background-color: var(--border-light);
}

/* Featured Courses Section */
.featured-courses-section {
    padding: 70px 0;
    background-color: var(--bg-white, #FFFFFF);
}

.section-header-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--navy-heading);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.02rem;
    color: var(--text-body);
    margin: 0;
    max-width: 580px;
}

.view-all-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 2px;
    transition: gap 0.2s ease;
}

.view-all-link:hover {
    color: var(--primary-hover);
    gap: 10px;
}

/* Course Card */
.course-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.course-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 102, 232, 0.3);
    box-shadow: var(--shadow-card-hover);
}

.course-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}

.course-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFFFFF;
    flex-shrink: 0;
}

.course-icon-badge.icon-code {
    background: linear-gradient(135deg, #4F46E5 0%, #3B82F6 100%);
}

.course-icon-badge.icon-python {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
}

.course-icon-badge.icon-chart {
    background: linear-gradient(135deg, #0D9488 0%, #059669 100%);
}

.course-icon-badge.icon-palette {
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
}

.course-mobile-arrow {
    display: none;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.course-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy-heading);
    margin-bottom: 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-title a:hover {
    color: var(--primary-blue);
}

.course-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-meta-item i {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.course-pricing-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.current-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--navy-heading);
    letter-spacing: -0.02em;
}

.original-price {
    font-size: 0.92rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
}

.discount-pill {
    background-color: var(--green-badge-bg);
    color: var(--green-badge-text);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    margin-left: auto;
}

/* Benefits Section */
.benefits-section {
    background-color: #F8FAFD;
    padding: 45px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.benefit-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #E2EEFE;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.45rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.benefit-item:hover .benefit-icon-box {
    transform: scale(1.08);
}

.benefit-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy-heading);
    margin-bottom: 3px;
}

.benefit-desc {
    font-size: 0.84rem;
    color: var(--text-body);
    margin: 0;
    line-height: 1.4;
}

/* Footer */
.site-footer {
    background-color: var(--navy-heading);
    color: #CBD5E1;
    padding-top: 65px;
    position: relative;
}

.footer-brand-title {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    line-height: 1.1;
    margin-bottom: 6px;
}

.footer-brand-subtitle {
    font-size: 0.8rem;
    color: #94A3B8;
    margin-bottom: 20px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.social-icon-btn:hover {
    background-color: var(--primary-blue);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-heading {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: #94A3B8;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links-list a:hover {
    color: #FFFFFF;
}

.newsletter-form-box {
    margin-top: 14px;
}

.newsletter-input-group {
    display: flex;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #FFFFFF;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.newsletter-input-group input {
    border: none;
    padding: 10px 14px;
    font-size: 0.88rem;
    outline: none;
    flex: 1;
    color: var(--text-dark);
}

.newsletter-input-group input::placeholder {
    color: #94A3B8;
}

.newsletter-input-group button {
    background-color: var(--primary-blue);
    color: #FFFFFF;
    border: none;
    padding: 9px 18px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-input-group button:hover {
    background-color: var(--primary-hover);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    margin-top: 50px;
    font-size: 0.82rem;
    color: #64748B;
}

.footer-bottom-bar a {
    color: #94A3B8;
}

.footer-bottom-bar a:hover {
    color: #FFFFFF;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    z-index: 1040;
    padding: 6px 16px env(safe-area-inset-bottom, 8px);
}

.mobile-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--primary-blue);
}

/* Auth Cards & Forms */
.auth-wrapper {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: linear-gradient(180deg, #F9FBFE 0%, #FFFFFF 100%);
}

.auth-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 480px;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy-heading);
    margin-bottom: 8px;
}

.form-control-custom {
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 11px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-custom:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(8, 102, 232, 0.15);
    outline: none;
}

/* Search Dropdown / Modal */
.search-overlay-bar {
    display: none;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.search-overlay-bar.active {
    display: block;
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .stats-strip {
        gap: 16px;
    }
    .stat-val {
        font-size: 1.18rem;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 64px; /* Space for mobile bottom bar */
    }

    .hero-section {
        padding: 30px 0 25px 0;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-cta-group {
        display: flex;
        flex-direction: row;
        gap: 12px;
        margin-bottom: 30px;
    }

    .btn-primary-custom, .btn-video {
        padding: 9px 18px;
        font-size: 0.9rem;
    }

    .hero-image-wrapper {
        aspect-ratio: 16 / 11;
        margin-bottom: 24px;
    }

    .stats-strip {
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
        padding-top: 15px;
    }

    .stat-item {
        gap: 8px;
    }

    .stat-icon-wrap {
        width: 36px;
        height: 36px;
        font-size: 1.35rem;
    }

    .stat-val {
        font-size: 1.05rem;
    }

    .stat-lbl {
        font-size: 0.72rem;
    }

    .course-mobile-arrow {
        display: block;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .benefits-section .row > div {
        margin-bottom: 16px;
    }

    .mobile-bottom-nav {
        display: block;
    }

    .site-footer {
        padding-top: 45px;
    }
}

/* Pagination SVG Icon Protection */
nav svg, .pagination svg, .page-item svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
    max-width: 1.25rem !important;
    max-height: 1.25rem !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* ==========================================================================
   HOMEPAGE MODERN SECTIONS ENHANCEMENTS
   ========================================================================== */

/* Partner / University Trust Strip */
.trust-strip-section {
    padding: 30px 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
}

.trust-strip-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 20px;
}

.trust-logos-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px 48px;
}

.trust-logo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #94A3B8;
    filter: grayscale(1);
    opacity: 0.75;
    transition: all 0.25s ease;
}

.trust-logo-item:hover {
    filter: grayscale(0);
    opacity: 1;
    color: var(--navy-heading);
    transform: translateY(-2px);
}

.trust-logo-item i {
    font-size: 1.35rem;
}

/* How It Works 4-Step Pipeline */
.how-it-works-section {
    padding: 80px 0 60px 0;
    background: var(--bg-gray, #F8FAFC);
    position: relative;
}

.step-card {
    background: #FFFFFF;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px 26px;
    height: 100%;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.step-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2.2rem;
    font-weight: 900;
    color: #E2E8F0;
    font-family: var(--font-heading);
    line-height: 1;
}

.step-card:hover .step-number {
    color: #BFDBFE;
}

.step-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--primary-light);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon-wrap {
    background: var(--primary-blue);
    color: #FFFFFF;
    transform: scale(1.08);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-heading);
    margin-bottom: 12px;
}

.step-desc {
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Verification Spotlight Section on Homepage */
.home-verify-section {
    padding: 75px 0;
    background: linear-gradient(135deg, #F4F8FD 0%, #FFFFFF 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.verify-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #DCFCE7;
    color: #16A34A;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.verify-preview-card {
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 16px 36px -6px rgba(8, 102, 232, 0.12);
    position: relative;
    overflow: hidden;
}

.verify-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #0866E8 0%, #38BDF8 50%, #D4AF37 100%);
}

.verify-search-box {
    background: #FFFFFF;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: 6px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.verify-search-box:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(8, 102, 232, 0.12);
}

.verify-search-box input {
    border: none;
    outline: none;
    padding: 10px 16px;
    flex-grow: 1;
    font-size: 0.95rem;
    background: transparent;
    color: var(--navy-heading);
}

/* Student Testimonial Cards */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-gray, #F8FAFC);
}

.testimonial-card {
    background: #FFFFFF;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    border-color: #BFDBFE;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -4px rgba(8, 102, 232, 0.1);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 0.95rem;
    margin-bottom: 14px;
    display: flex;
    gap: 3px;
}

.testimonial-quote {
    color: var(--navy-heading);
    font-size: 0.96rem;
    line-height: 1.65;
    font-weight: 500;
    margin-bottom: 24px;
    flex-grow: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border-card);
    padding-top: 18px;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-info h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-heading);
}

.testimonial-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* FAQ Accordion Styling */
.faq-section {
    padding: 75px 0;
    background: var(--bg-gray);
    border-top: 1px solid var(--border-light);
}

.custom-faq-accordion .accordion-item {
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md) !important;
    margin-bottom: 14px;
    overflow: hidden;
    background: #FFFFFF;
}

.custom-faq-accordion .accordion-button {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy-heading);
    padding: 18px 24px;
    background: #FFFFFF;
    box-shadow: none !important;
}

.custom-faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-blue);
}

.custom-faq-accordion .accordion-body {
    padding: 20px 24px;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
    background: #FFFFFF;
}

/* Bottom Call to Action Banner */
.cta-banner-section {
    padding: 40px 0 80px 0;
    background: var(--bg-gray);
}

.cta-banner-card {
    background: linear-gradient(135deg, #102A50 0%, #0866E8 100%);
    border-radius: 24px;
    padding: 56px 48px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 48px -8px rgba(8, 102, 232, 0.35);
}

.cta-banner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-banner-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 620px;
    margin-bottom: 32px;
}

/* ==========================================================================
   FLOATING FLASH TOAST NOTIFICATIONS
   ========================================================================== */
.flash-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1095;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 440px;
    width: calc(100% - 32px);
    pointer-events: none;
}

.custom-flash-toast {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    box-shadow: 0 16px 36px -4px rgba(16, 42, 80, 0.16), 0 4px 12px -2px rgba(16, 42, 80, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    overflow: hidden;
    pointer-events: auto;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    backdrop-filter: blur(12px);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-16px) scale(0.92);
    }
}

.toast-indicator {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
}

.toast-success .toast-indicator {
    background: #16A34A;
}

.toast-error .toast-indicator {
    background: #DC2626;
}

.toast-warning .toast-indicator {
    background: #D97706;
}

.toast-info .toast-indicator {
    background: #0866E8;
}

.toast-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-success .toast-icon-box {
    background: #DCFCE7;
    color: #16A34A;
}

.toast-error .toast-icon-box {
    background: #FEE2E2;
    color: #DC2626;
}

.toast-warning .toast-icon-box {
    background: #FEF3C7;
    color: #D97706;
}

.toast-info .toast-icon-box {
    background: #EBF3FE;
    color: #0866E8;
}

.toast-content {
    flex-grow: 1;
    min-width: 0;
}

.toast-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy-heading);
    margin-bottom: 2px;
    line-height: 1.2;
}

.toast-message {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.45;
    word-break: break-word;
}

.toast-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close-btn:hover {
    background: var(--bg-badge);
    color: var(--navy-heading);
}

.toast-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
}

.toast-progress-inner {
    width: 100%;
    height: 100%;
}

.toast-success .toast-progress-inner {
    background: #16A34A;
}

.toast-error .toast-progress-inner {
    background: #DC2626;
}

.toast-warning .toast-progress-inner {
    background: #D97706;
}

.toast-info .toast-progress-inner {
    background: #0866E8;
}

/* ==========================================================================
   DARK THEME SYSTEM
   ========================================================================== */
[data-theme="dark"],
[data-bs-theme="dark"] {
    --navy-heading: #F8FAFC;
    --navy-dark: #FFFFFF;
    --navy-light: #93C5FD;
    
    --text-dark: #F8FAFC;
    --text-body: #CBD5E1;
    --text-muted: #94A3B8;
    --text-light: #64748B;

    --bg-white: #0F172A;
    --bg-light-blue: #1E293B;
    --bg-badge: #1E293B;
    --bg-gray: #0B132B;
    
    --border-light: #334155;
    --border-card: #1E293B;

    --green-badge-bg: rgba(16, 185, 129, 0.2);
    --green-badge-text: #34D399;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.5);
    --shadow-card-hover: 0 16px 36px -6px rgba(8, 102, 232, 0.3);

    background-color: #0B132B !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] body,
[data-bs-theme="dark"] body {
    background-color: #0B132B !important;
    color: #CBD5E1 !important;
}

/* Dark Header & Nav */
[data-theme="dark"] .site-header {
    background: #0F172A;
    border-bottom-color: #1E293B;
}

[data-theme="dark"] .nav-link-custom {
    color: #E2E8F0;
}

[data-theme="dark"] .nav-link-custom:hover,
[data-theme="dark"] .nav-link-custom.active {
    color: #38BDF8;
}

[data-theme="dark"] .theme-toggle-btn {
    color: #FBBF24;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background-color: #1E293B;
    color: #FCD34D;
}

[data-theme="dark"] .search-toggle-btn {
    color: #E2E8F0;
}

[data-theme="dark"] .search-toggle-btn:hover {
    background-color: #1E293B;
    color: #38BDF8;
}

[data-theme="dark"] .user-pill-btn {
    background: #1E293B;
    border-color: #334155;
    color: #F8FAFC;
}

[data-theme="dark"] .user-pill-btn:hover {
    border-color: #38BDF8;
    background: #1E293B;
}

[data-theme="dark"] .user-pill-name,
[data-theme="dark"] .user-pill-caret {
    color: #F8FAFC;
}

[data-theme="dark"] .user-dropdown-menu {
    background: #1E293B !important;
    border-color: #334155 !important;
    box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] .user-dropdown-header {
    background: #162032;
    border-color: #334155;
}

[data-theme="dark"] .user-dropdown-item {
    color: #CBD5E1;
}

[data-theme="dark"] .user-dropdown-item:hover {
    background-color: #273549;
    color: #38BDF8;
}

[data-theme="dark"] .user-dropdown-item.primary-item {
    background-color: rgba(8, 102, 232, 0.2);
    color: #60A5FA;
}

[data-theme="dark"] .user-dropdown-item.primary-item:hover {
    background-color: rgba(8, 102, 232, 0.3);
}

[data-theme="dark"] .btn-outline-custom {
    border-color: #334155;
    color: #F8FAFC !important;
}

[data-theme="dark"] .btn-outline-custom:hover {
    background-color: #1E293B;
    border-color: #38BDF8;
    color: #38BDF8 !important;
}

/* Dark Hero Section */
[data-theme="dark"] .hero-section {
    background: linear-gradient(180deg, #0B132B 0%, #0F172A 100%);
}

[data-theme="dark"] .hero-subtitle {
    color: #94A3B8;
}

[data-theme="dark"] .btn-video {
    background: #1E293B;
    border-color: #38BDF8;
    color: #38BDF8 !important;
}

[data-theme="dark"] .btn-video:hover {
    background: #273549;
}

/* Dark Trust Strip */
[data-theme="dark"] .trust-strip-section {
    background: #0F172A;
    border-bottom-color: #1E293B;
}

[data-theme="dark"] .trust-logo-item {
    color: #64748B;
}

[data-theme="dark"] .trust-logo-item:hover {
    color: #F8FAFC;
}

/* Dark Featured Courses */
[data-theme="dark"] .featured-courses-section,
[data-bs-theme="dark"] .featured-courses-section {
    background-color: #0B132B !important;
}

[data-theme="dark"] .section-title,
[data-bs-theme="dark"] .section-title {
    color: #F8FAFC !important;
}

[data-theme="dark"] .section-desc,
[data-bs-theme="dark"] .section-desc {
    color: #94A3B8 !important;
}

[data-theme="dark"] .view-all-link,
[data-bs-theme="dark"] .view-all-link {
    color: #38BDF8 !important;
}

[data-theme="dark"] .view-all-link:hover,
[data-bs-theme="dark"] .view-all-link:hover {
    color: #60A5FA !important;
}

/* Dark Course Cards */
[data-theme="dark"] .course-card,
[data-bs-theme="dark"] .course-card {
    background: #1E293B !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .course-card:hover,
[data-bs-theme="dark"] .course-card:hover {
    border-color: #38BDF8 !important;
    box-shadow: 0 16px 36px -6px rgba(8, 102, 232, 0.3) !important;
}

[data-theme="dark"] .course-title,
[data-bs-theme="dark"] .course-title,
[data-theme="dark"] .course-title a,
[data-bs-theme="dark"] .course-title a {
    color: #F8FAFC !important;
}

[data-theme="dark"] .course-desc,
[data-bs-theme="dark"] .course-desc {
    color: #94A3B8 !important;
}

[data-theme="dark"] .course-meta-row,
[data-bs-theme="dark"] .course-meta-row {
    border-bottom-color: #334155 !important;
}

[data-theme="dark"] .course-meta-item,
[data-bs-theme="dark"] .course-meta-item {
    color: #94A3B8 !important;
}

[data-theme="dark"] .current-price,
[data-bs-theme="dark"] .current-price {
    color: #F8FAFC !important;
}

[data-theme="dark"] .original-price,
[data-bs-theme="dark"] .original-price {
    color: #64748B !important;
}

/* Dark How It Works */
[data-theme="dark"] .how-it-works-section,
[data-bs-theme="dark"] .how-it-works-section {
    background-color: #0F172A !important;
}

[data-theme="dark"] .step-card,
[data-bs-theme="dark"] .step-card {
    background: #1E293B !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .step-card:hover,
[data-bs-theme="dark"] .step-card:hover {
    border-color: #38BDF8 !important;
}

[data-theme="dark"] .step-number,
[data-bs-theme="dark"] .step-number {
    color: #334155 !important;
}

[data-theme="dark"] .step-card:hover .step-number,
[data-bs-theme="dark"] .step-card:hover .step-number {
    color: #1E3A8A !important;
}

[data-theme="dark"] .step-icon-wrap,
[data-bs-theme="dark"] .step-icon-wrap {
    background: rgba(8, 102, 232, 0.2) !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .step-card:hover .step-icon-wrap,
[data-bs-theme="dark"] .step-card:hover .step-icon-wrap {
    background: #0866E8 !important;
    color: #FFFFFF !important;
}

[data-theme="dark"] .step-title,
[data-bs-theme="dark"] .step-title {
    color: #F8FAFC !important;
}

[data-theme="dark"] .step-desc,
[data-bs-theme="dark"] .step-desc {
    color: #94A3B8 !important;
}

/* Dark Verification Spotlight */
[data-theme="dark"] .home-verify-section,
[data-bs-theme="dark"] .home-verify-section {
    background: linear-gradient(135deg, #0F172A 0%, #0B132B 100%) !important;
    border-color: #1E293B !important;
}

[data-theme="dark"] .verify-badge-pill,
[data-bs-theme="dark"] .verify-badge-pill {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34D399 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

[data-theme="dark"] .verify-preview-card,
[data-bs-theme="dark"] .verify-preview-card {
    background: #1E293B !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .verify-preview-card .bg-light,
[data-bs-theme="dark"] .verify-preview-card .bg-light {
    background-color: #162032 !important;
    border: 1px solid #334155 !important;
}

[data-theme="dark"] .verify-search-box,
[data-bs-theme="dark"] .verify-search-box {
    background: #1E293B !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .verify-search-box input,
[data-bs-theme="dark"] .verify-search-box input {
    background: transparent !important;
    color: #F8FAFC !important;
}

[data-theme="dark"] .verify-search-box input::placeholder,
[data-bs-theme="dark"] .verify-search-box input::placeholder {
    color: #64748B !important;
}

/* Dark Benefits */
[data-theme="dark"] .benefits-section,
[data-bs-theme="dark"] .benefits-section {
    background: #0F172A !important;
    border-color: #1E293B !important;
}

[data-theme="dark"] .benefit-item,
[data-bs-theme="dark"] .benefit-item {
    background: transparent !important;
}

[data-theme="dark"] .benefit-icon-box,
[data-bs-theme="dark"] .benefit-icon-box {
    background-color: rgba(8, 102, 232, 0.2) !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .benefit-title,
[data-bs-theme="dark"] .benefit-title {
    color: #F8FAFC !important;
}

[data-theme="dark"] .benefit-desc,
[data-bs-theme="dark"] .benefit-desc {
    color: #94A3B8 !important;
}

/* Dark Testimonials */
[data-theme="dark"] .testimonials-section,
[data-bs-theme="dark"] .testimonials-section {
    background: #0B132B !important;
}

[data-theme="dark"] .testimonial-card,
[data-bs-theme="dark"] .testimonial-card {
    background: #1E293B !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .testimonial-stars,
[data-bs-theme="dark"] .testimonial-stars {
    color: #FBBF24 !important;
}

[data-theme="dark"] .testimonial-quote,
[data-bs-theme="dark"] .testimonial-quote {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .testimonial-info h6,
[data-bs-theme="dark"] .testimonial-info h6 {
    color: #F8FAFC !important;
}

[data-theme="dark"] .testimonial-info span,
[data-bs-theme="dark"] .testimonial-info span {
    color: #94A3B8 !important;
}

/* Dark FAQ Accordion */
[data-theme="dark"] .faq-section,
[data-bs-theme="dark"] .faq-section {
    background: #0F172A !important;
    border-color: #1E293B !important;
}

[data-theme="dark"] .custom-faq-accordion .accordion-item,
[data-bs-theme="dark"] .custom-faq-accordion .accordion-item {
    background: #1E293B !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .custom-faq-accordion .accordion-button,
[data-bs-theme="dark"] .custom-faq-accordion .accordion-button {
    background: #1E293B !important;
    color: #F8FAFC !important;
}

[data-theme="dark"] .custom-faq-accordion .accordion-button:not(.collapsed),
[data-bs-theme="dark"] .custom-faq-accordion .accordion-button:not(.collapsed) {
    background-color: #1E3A8A !important;
    color: #FFFFFF !important;
}

[data-theme="dark"] .custom-faq-accordion .accordion-button::after,
[data-bs-theme="dark"] .custom-faq-accordion .accordion-button::after {
    filter: invert(1);
}

[data-theme="dark"] .custom-faq-accordion .accordion-body,
[data-bs-theme="dark"] .custom-faq-accordion .accordion-body {
    background: #1E293B !important;
    color: #CBD5E1 !important;
}

/* Dark CTA Banner Section */
[data-theme="dark"] .cta-banner-section,
[data-bs-theme="dark"] .cta-banner-section {
    background: #0B132B !important;
}

[data-theme="dark"] .cta-banner-card .btn-light,
[data-bs-theme="dark"] .cta-banner-card .btn-light {
    background-color: #FFFFFF !important;
    color: #0866E8 !important;
    border-color: #FFFFFF !important;
}

/* Dark Hero Stats & Badges */
[data-theme="dark"] .hero-badge,
[data-bs-theme="dark"] .hero-badge {
    background-color: #1E293B !important;
    color: #38BDF8 !important;
    border: 1px solid #334155 !important;
}

[data-theme="dark"] .hero-title,
[data-bs-theme="dark"] .hero-title {
    color: #F8FAFC !important;
}

[data-theme="dark"] .hero-title .highlight-blue,
[data-bs-theme="dark"] .hero-title .highlight-blue {
    color: #38BDF8 !important;
}

[data-theme="dark"] .stat-val,
[data-bs-theme="dark"] .stat-val {
    color: #F8FAFC !important;
}

[data-theme="dark"] .stat-lbl,
[data-bs-theme="dark"] .stat-lbl {
    color: #94A3B8 !important;
}

[data-theme="dark"] .stat-divider,
[data-bs-theme="dark"] .stat-divider {
    background-color: #334155 !important;
}

[data-theme="dark"] .trust-strip-title,
[data-bs-theme="dark"] .trust-strip-title {
    color: #94A3B8 !important;
}

/* Dark Footer Newsletter */
[data-theme="dark"] .newsletter-input-group,
[data-bs-theme="dark"] .newsletter-input-group {
    background: #1E293B !important;
    border: 1px solid #334155 !important;
}

[data-theme="dark"] .newsletter-input-group input,
[data-bs-theme="dark"] .newsletter-input-group input {
    background: transparent !important;
    color: #F8FAFC !important;
}

[data-theme="dark"] .newsletter-input-group input::placeholder,
[data-bs-theme="dark"] .newsletter-input-group input::placeholder {
    color: #64748B !important;
}

/* Dark Auth Cards */
[data-theme="dark"] .auth-wrapper,
[data-bs-theme="dark"] .auth-wrapper {
    background: #0B132B !important;
}

[data-theme="dark"] .auth-card,
[data-bs-theme="dark"] .auth-card {
    background: #1E293B !important;
    border-color: #334155 !important;
    box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] .auth-title,
[data-bs-theme="dark"] .auth-title {
    color: #F8FAFC !important;
}

/* Dark Footer */
[data-theme="dark"] .site-footer {
    background: #070D1B;
    border-top: 1px solid #1E293B;
}

/* Dark Offcanvas & Mobile Nav */
[data-theme="dark"] .offcanvas {
    background: #0F172A;
    color: #CBD5E1;
}

[data-theme="dark"] .offcanvas-header {
    border-bottom-color: #1E293B;
}

[data-theme="dark"] .theme-switch-box {
    background: #1E293B !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .mobile-bottom-nav {
    background: #0F172A;
    border-top-color: #1E293B;
}

[data-theme="dark"] .mobile-nav-item {
    color: #94A3B8;
}

[data-theme="dark"] .mobile-nav-item.active {
    color: #38BDF8;
}

/* Dark Toast */
[data-theme="dark"] .custom-flash-toast {
    background: #1E293B;
    border-color: #334155;
    box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .toast-title {
    color: #F8FAFC;
}

[data-theme="dark"] .toast-message {
    color: #CBD5E1;
}

[data-theme="dark"] .toast-close-btn:hover {
    background: #334155;
    color: #F8FAFC;
}

/* ==========================================================================
   COMPREHENSIVE DARK MODE SYSTEM - PORTALS & PUBLIC SITES
   ========================================================================== */

/* 1. Global Text Utilities & Contrast */
[data-theme="dark"] .text-dark,
[data-bs-theme="dark"] .text-dark,
[data-theme="dark"] .text-black,
[data-bs-theme="dark"] .text-black {
    color: #F8FAFC !important;
}

[data-theme="dark"] .text-muted,
[data-bs-theme="dark"] .text-muted {
    color: #94A3B8 !important;
}

[data-theme="dark"] .text-body,
[data-bs-theme="dark"] .text-body {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .text-secondary,
[data-bs-theme="dark"] .text-secondary {
    color: #94A3B8 !important;
}

[data-theme="dark"] .text-reset,
[data-bs-theme="dark"] .text-reset {
    color: inherit !important;
}

[data-theme="dark"] strong,
[data-theme="dark"] b,
[data-bs-theme="dark"] strong,
[data-bs-theme="dark"] b {
    color: #F8FAFC;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .h1,
[data-theme="dark"] .h2,
[data-theme="dark"] .h3,
[data-theme="dark"] .h4,
[data-theme="dark"] .h5,
[data-theme="dark"] .h6,
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6,
[data-bs-theme="dark"] .h1,
[data-bs-theme="dark"] .h2,
[data-bs-theme="dark"] .h3,
[data-bs-theme="dark"] .h4,
[data-bs-theme="dark"] .h5,
[data-bs-theme="dark"] .h6 {
    color: #F8FAFC;
}

[data-theme="dark"] .heading-font,
[data-bs-theme="dark"] .heading-font {
    color: #F8FAFC;
}

/* Maintain crisp accent colors */
[data-theme="dark"] .text-primary,
[data-bs-theme="dark"] .text-primary {
    color: #38BDF8 !important;
}
[data-theme="dark"] .text-success,
[data-bs-theme="dark"] .text-success {
    color: #34D399 !important;
}
[data-theme="dark"] .text-warning,
[data-bs-theme="dark"] .text-warning {
    color: #FBBF24 !important;
}
[data-theme="dark"] .text-danger,
[data-bs-theme="dark"] .text-danger {
    color: #F87171 !important;
}
[data-theme="dark"] .text-info,
[data-bs-theme="dark"] .text-info {
    color: #38BDF8 !important;
}

/* 2. Global Surface Backgrounds */
[data-theme="dark"] .bg-white,
[data-bs-theme="dark"] .bg-white {
    background-color: #1E293B !important;
    color: #CBD5E1;
}

[data-theme="dark"] .bg-light,
[data-bs-theme="dark"] .bg-light {
    background-color: #162032 !important;
    color: #CBD5E1;
}

/* Exceptions: Elements inside bright primary container */
[data-theme="dark"] .bg-primary .bg-white,
[data-bs-theme="dark"] .bg-primary .bg-white,
[data-theme="dark"] .bg-primary .badge.bg-white,
[data-bs-theme="dark"] .bg-primary .badge.bg-white {
    background-color: #FFFFFF !important;
    color: #0866E8 !important;
}

[data-theme="dark"] .bg-primary .btn-light,
[data-bs-theme="dark"] .bg-primary .btn-light {
    background-color: #FFFFFF !important;
    color: #0866E8 !important;
}

/* 3. Cards & Panels */
[data-theme="dark"] .card,
[data-bs-theme="dark"] .card {
    background-color: #1E293B !important;
    border-color: #334155 !important;
    color: #CBD5E1;
}

[data-theme="dark"] .card-header,
[data-bs-theme="dark"] .card-header,
[data-theme="dark"] .card-header.bg-white,
[data-bs-theme="dark"] .card-header.bg-white {
    background-color: #1E293B !important;
    border-bottom: 1px solid #334155 !important;
    color: #F8FAFC !important;
}

[data-theme="dark"] .card-footer,
[data-bs-theme="dark"] .card-footer,
[data-theme="dark"] .card-footer.bg-white,
[data-bs-theme="dark"] .card-footer.bg-white {
    background-color: #1E293B !important;
    border-top: 1px solid #334155 !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .card-title,
[data-bs-theme="dark"] .card-title {
    color: #F8FAFC !important;
}

/* 4. Tables (Index, Dashboard, Records) */
[data-theme="dark"] .table,
[data-bs-theme="dark"] .table {
    --bs-table-color: #CBD5E1;
    --bs-table-bg: transparent;
    --bs-table-border-color: #334155;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.04);
    --bs-table-hover-color: #F8FAFC;
    color: #CBD5E1 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .table > :not(caption) > * > *,
[data-bs-theme="dark"] .table > :not(caption) > * > * {
    background-color: transparent !important;
    border-bottom-color: #334155 !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .table thead,
[data-bs-theme="dark"] .table thead,
[data-theme="dark"] .table thead.table-light,
[data-bs-theme="dark"] .table thead.table-light,
[data-theme="dark"] .table-light,
[data-bs-theme="dark"] .table-light {
    --bs-table-bg: #162032 !important;
    --bs-table-color: #94A3B8 !important;
    background-color: #162032 !important;
    color: #94A3B8 !important;
}

[data-theme="dark"] .table thead th,
[data-bs-theme="dark"] .table thead th,
[data-theme="dark"] .table-light th,
[data-bs-theme="dark"] .table-light th {
    background-color: #162032 !important;
    color: #94A3B8 !important;
    border-bottom: 1px solid #334155 !important;
    font-weight: 600;
}

[data-theme="dark"] .table td,
[data-bs-theme="dark"] .table td {
    border-bottom: 1px solid #334155 !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .table td .fw-bold,
[data-bs-theme="dark"] .table td .fw-bold,
[data-theme="dark"] .table td .fw-semibold,
[data-bs-theme="dark"] .table td .fw-semibold {
    color: #F8FAFC !important;
}

[data-theme="dark"] .table-hover > tbody > tr:hover > *,
[data-bs-theme="dark"] .table-hover > tbody > tr:hover > * {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: #F8FAFC !important;
}

/* 5. List Groups */
[data-theme="dark"] .list-group-item,
[data-bs-theme="dark"] .list-group-item {
    background-color: #1E293B !important;
    border-color: #334155 !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .list-group-item:hover,
[data-bs-theme="dark"] .list-group-item:hover {
    background-color: #273549 !important;
}

[data-theme="dark"] .list-group-item .fw-bold,
[data-bs-theme="dark"] .list-group-item .fw-bold {
    color: #F8FAFC !important;
}

/* 6. Badges & Chips */
[data-theme="dark"] .badge.bg-light,
[data-bs-theme="dark"] .badge.bg-light {
    background-color: #162032 !important;
    color: #CBD5E1 !important;
    border: 1px solid #334155 !important;
}

[data-theme="dark"] .badge.bg-light.text-dark,
[data-bs-theme="dark"] .badge.bg-light.text-dark {
    background-color: #162032 !important;
    color: #E2E8F0 !important;
    border: 1px solid #334155 !important;
}

[data-theme="dark"] .badge.bg-white,
[data-bs-theme="dark"] .badge.bg-white {
    background-color: #162032 !important;
    color: #E2E8F0 !important;
    border: 1px solid #334155 !important;
}

[data-theme="dark"] .bg-primary-subtle,
[data-bs-theme="dark"] .bg-primary-subtle {
    background-color: rgba(8, 102, 232, 0.2) !important;
    color: #60A5FA !important;
}

[data-theme="dark"] .bg-success-subtle,
[data-bs-theme="dark"] .bg-success-subtle {
    background-color: rgba(16, 185, 129, 0.2) !important;
    color: #34D399 !important;
}

[data-theme="dark"] .bg-warning-subtle,
[data-bs-theme="dark"] .bg-warning-subtle {
    background-color: rgba(245, 158, 11, 0.2) !important;
    color: #FBBF24 !important;
}

[data-theme="dark"] .bg-danger-subtle,
[data-bs-theme="dark"] .bg-danger-subtle {
    background-color: rgba(239, 68, 68, 0.2) !important;
    color: #F87171 !important;
}

[data-theme="dark"] .bg-info-subtle,
[data-bs-theme="dark"] .bg-info-subtle {
    background-color: rgba(14, 165, 233, 0.2) !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .bg-secondary-subtle,
[data-bs-theme="dark"] .bg-secondary-subtle {
    background-color: rgba(148, 163, 184, 0.15) !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .badge.bg-secondary-subtle.text-dark,
[data-bs-theme="dark"] .badge.bg-secondary-subtle.text-dark {
    color: #E2E8F0 !important;
}

/* Ensure bright yellow warning buttons / badges have readable dark text */
[data-theme="dark"] .btn-warning,
[data-bs-theme="dark"] .btn-warning,
[data-theme="dark"] .btn-warning.text-dark,
[data-bs-theme="dark"] .btn-warning.text-dark,
[data-theme="dark"] .badge.bg-warning,
[data-bs-theme="dark"] .badge.bg-warning,
[data-theme="dark"] .badge.bg-warning.text-dark,
[data-bs-theme="dark"] .badge.bg-warning.text-dark {
    background-color: #F59E0B !important;
    border-color: #D97706 !important;
    color: #0F172A !important;
}

/* 7. Dropdown Menus */
[data-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .dropdown-menu {
    background-color: #1E293B !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="dark"] .dropdown-item,
[data-bs-theme="dark"] .dropdown-item {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus,
[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus {
    background-color: #273549 !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .dropdown-header,
[data-bs-theme="dark"] .dropdown-header {
    color: #94A3B8 !important;
}

[data-theme="dark"] .dropdown-divider,
[data-bs-theme="dark"] .dropdown-divider {
    border-color: #334155 !important;
}

/* 8. Buttons & Controls */
[data-theme="dark"] .btn-light,
[data-bs-theme="dark"] .btn-light {
    background-color: #1E293B !important;
    border-color: #334155 !important;
    color: #E2E8F0 !important;
}

[data-theme="dark"] .btn-light:hover,
[data-bs-theme="dark"] .btn-light:hover {
    background-color: #273549 !important;
    border-color: #38BDF8 !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .btn-outline-secondary,
[data-bs-theme="dark"] .btn-outline-secondary {
    border-color: #475569 !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .btn-outline-secondary:hover,
[data-bs-theme="dark"] .btn-outline-secondary:hover {
    background-color: #334155 !important;
    border-color: #38BDF8 !important;
    color: #F8FAFC !important;
}

/* 9. Forms, Inputs, Selects */
[data-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-bs-theme="dark"] .form-select {
    background-color: #1E293B !important;
    border-color: #334155 !important;
    color: #F8FAFC !important;
}

[data-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #1E293B !important;
    border-color: #38BDF8 !important;
    color: #F8FAFC !important;
    box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.15) !important;
}

[data-theme="dark"] .form-control::placeholder,
[data-bs-theme="dark"] .form-control::placeholder {
    color: #64748B !important;
}

[data-theme="dark"] .form-control:disabled,
[data-theme="dark"] .form-control[readonly],
[data-bs-theme="dark"] .form-control:disabled,
[data-bs-theme="dark"] .form-control[readonly] {
    background-color: #162032 !important;
    border-color: #334155 !important;
    color: #94A3B8 !important;
    opacity: 0.85;
}

[data-theme="dark"] .form-label,
[data-bs-theme="dark"] .form-label {
    color: #E2E8F0 !important;
}

[data-theme="dark"] .form-text,
[data-bs-theme="dark"] .form-text {
    color: #94A3B8 !important;
}

[data-theme="dark"] .input-group-text,
[data-bs-theme="dark"] .input-group-text {
    background-color: #162032 !important;
    border-color: #334155 !important;
    color: #94A3B8 !important;
}

/* 10. Student & Admin Portals */
[data-theme="dark"] .student-portal-wrapper,
[data-theme="dark"] .admin-portal-wrapper,
[data-bs-theme="dark"] .student-portal-wrapper,
[data-bs-theme="dark"] .admin-portal-wrapper {
    background-color: #0B132B !important;
}

[data-theme="dark"] .student-sidebar,
[data-bs-theme="dark"] .student-sidebar {
    background: #0F172A !important;
    border-right-color: #1E293B !important;
}

[data-theme="dark"] .student-topbar,
[data-bs-theme="dark"] .student-topbar,
[data-theme="dark"] .admin-topbar,
[data-bs-theme="dark"] .admin-topbar {
    background: #0F172A !important;
    border-bottom-color: #1E293B !important;
}

[data-theme="dark"] .student-sidebar-brand,
[data-bs-theme="dark"] .student-sidebar-brand {
    border-bottom-color: #1E293B !important;
}

[data-theme="dark"] .student-sidebar-brand .text-dark,
[data-bs-theme="dark"] .student-sidebar-brand .text-dark {
    color: #F8FAFC !important;
}

[data-theme="dark"] .sidebar-menu-link,
[data-bs-theme="dark"] .sidebar-menu-link {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .sidebar-menu-link:hover,
[data-bs-theme="dark"] .sidebar-menu-link:hover {
    background-color: #1E293B !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .sidebar-menu-link.active,
[data-bs-theme="dark"] .sidebar-menu-link.active {
    background-color: #0866E8 !important;
    color: #FFFFFF !important;
}

[data-theme="dark"] .student-sidebar .border-top.bg-light,
[data-bs-theme="dark"] .student-sidebar .border-top.bg-light {
    background-color: #0B132B !important;
    border-top-color: #1E293B !important;
}

[data-theme="dark"] #topbarUserDropdown,
[data-bs-theme="dark"] #topbarUserDropdown {
    background-color: #1E293B !important;
    border-color: #334155 !important;
    color: #F8FAFC !important;
}

/* 11. Alerts */
[data-theme="dark"] .alert-warning,
[data-bs-theme="dark"] .alert-warning {
    background-color: rgba(245, 158, 11, 0.15) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    color: #FEF3C7 !important;
}
[data-theme="dark"] .alert-warning .text-dark,
[data-bs-theme="dark"] .alert-warning .text-dark {
    color: #FEF3C7 !important;
}
[data-theme="dark"] .alert-warning .text-muted,
[data-bs-theme="dark"] .alert-warning .text-muted {
    color: #FCD34D !important;
}

[data-theme="dark"] .alert-info,
[data-bs-theme="dark"] .alert-info {
    background-color: rgba(14, 165, 233, 0.15) !important;
    border: 1px solid rgba(14, 165, 233, 0.35) !important;
    color: #E0F2FE !important;
}

[data-theme="dark"] .alert-success,
[data-bs-theme="dark"] .alert-success {
    background-color: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #D1FAE5 !important;
}

[data-theme="dark"] .alert-danger,
[data-bs-theme="dark"] .alert-danger {
    background-color: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #FEE2E2 !important;
}

/* 12. Modals */
[data-theme="dark"] .modal-content,
[data-bs-theme="dark"] .modal-content {
    background-color: #1E293B !important;
    border: 1px solid #334155 !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-header {
    border-bottom-color: #334155 !important;
}

[data-theme="dark"] .modal-footer,
[data-bs-theme="dark"] .modal-footer {
    border-top-color: #334155 !important;
}

[data-theme="dark"] .modal-title,
[data-bs-theme="dark"] .modal-title {
    color: #F8FAFC !important;
}

[data-theme="dark"] .btn-close,
[data-bs-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* 13. Search Overlay Bar */
.search-overlay-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    padding: 18px 0;
    z-index: 1050;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay-bar.active {
    transform: translateY(0);
}

[data-theme="dark"] .search-overlay-bar,
[data-bs-theme="dark"] .search-overlay-bar {
    background: #0F172A;
    border-bottom-color: #1E293B;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .search-overlay-bar input,
[data-bs-theme="dark"] .search-overlay-bar input {
    background: transparent !important;
    color: #F8FAFC !important;
}

/* 14. Accordions (FAQs, Curriculum, Modules) */
[data-theme="dark"] .accordion-item,
[data-bs-theme="dark"] .accordion-item {
    background-color: #1E293B !important;
    border-color: #334155 !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .accordion-button,
[data-bs-theme="dark"] .accordion-button {
    background-color: #1E293B !important;
    color: #F8FAFC !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .accordion-button:not(.collapsed),
[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: #1E3A8A !important;
    color: #FFFFFF !important;
}

[data-theme="dark"] .accordion-button::after,
[data-bs-theme="dark"] .accordion-button::after {
    filter: invert(1);
}

[data-theme="dark"] .accordion-body,
[data-bs-theme="dark"] .accordion-body {
    background-color: #1E293B !important;
    color: #CBD5E1 !important;
}

/* 15. Breadcrumbs & Pagination */
[data-theme="dark"] .breadcrumb-item,
[data-theme="dark"] .breadcrumb-item a,
[data-bs-theme="dark"] .breadcrumb-item,
[data-bs-theme="dark"] .breadcrumb-item a {
    color: #94A3B8 !important;
}

[data-theme="dark"] .breadcrumb-item.active,
[data-bs-theme="dark"] .breadcrumb-item.active {
    color: #F8FAFC !important;
}

[data-theme="dark"] .breadcrumb-item + .breadcrumb-item::before,
[data-bs-theme="dark"] .breadcrumb-item + .breadcrumb-item::before {
    color: #64748B !important;
}

[data-theme="dark"] .pagination .page-link,
[data-bs-theme="dark"] .pagination .page-link {
    background-color: #1E293B !important;
    border-color: #334155 !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .pagination .page-item.active .page-link,
[data-bs-theme="dark"] .pagination .page-item.active .page-link {
    background-color: #0866E8 !important;
    border-color: #0866E8 !important;
    color: #FFFFFF !important;
}

[data-theme="dark"] .pagination .page-item.disabled .page-link,
[data-bs-theme="dark"] .pagination .page-item.disabled .page-link {
    background-color: #0F172A !important;
    border-color: #1E293B !important;
    color: #64748B !important;
}

/* 16. Code, Borders, Progress */
[data-theme="dark"] code,
[data-bs-theme="dark"] code {
    background-color: #162032 !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .border,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom,
[data-theme="dark"] .border-start,
[data-theme="dark"] .border-end,
[data-bs-theme="dark"] .border,
[data-bs-theme="dark"] .border-top,
[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-start,
[data-bs-theme="dark"] .border-end {
    border-color: #334155 !important;
}

[data-theme="dark"] .vr,
[data-bs-theme="dark"] .vr {
    background-color: #334155 !important;
}

[data-theme="dark"] .progress,
[data-bs-theme="dark"] .progress {
    background-color: #334155 !important;
}

[data-theme="dark"] .stat-icon-wrap.bg-light,
[data-bs-theme="dark"] .stat-icon-wrap.bg-light {
    background-color: #162032 !important;
    color: #94A3B8 !important;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS ENHANCEMENTS
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .cta-banner-card {
        padding: 36px 24px;
    }

    .cta-banner-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 767.98px) {
    .site-header {
        padding: 4px 0;
    }

    .brand-title {
        font-size: 1.25rem;
    }

    .brand-subtitle {
        display: none !important;
    }

    .brand-icon-box {
        width: 36px;
        height: 36px;
    }

    .brand-icon-box svg {
        width: 32px;
        height: 32px;
    }

    .hero-section {
        padding: 24px 0 20px 0;
    }

    .hero-title {
        font-size: 2.15rem;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 24px;
    }

    .hero-cta-group a,
    .hero-cta-group button {
        width: 100%;
    }

    .stats-strip {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        text-align: center;
    }

    .stat-item {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .stat-divider {
        display: none;
    }

    .how-it-works-section {
        padding: 48px 0 32px 0;
    }

    .step-card {
        padding: 24px 20px;
    }

    .home-verify-section {
        padding: 48px 0;
    }

    .verify-search-box {
        flex-direction: column;
        gap: 8px;
        border-radius: var(--radius-lg);
        padding: 8px;
    }

    .verify-search-box input {
        width: 100%;
        text-align: center;
    }

    .verify-search-box button {
        width: 100%;
    }

    .testimonials-section {
        padding: 48px 0;
    }

    .faq-section {
        padding: 48px 0;
    }

    .custom-faq-accordion .accordion-button {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .custom-faq-accordion .accordion-body {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .cta-banner-section {
        padding: 20px 0 60px 0;
    }

    .cta-banner-card {
        padding: 32px 18px;
    }

    .cta-banner-title {
        font-size: 1.55rem;
    }

    .cta-banner-desc {
        font-size: 0.95rem;
    }

}

/* ==========================================================================
   ABOUT & CONTACT US PAGES - MODERN PROFESSIONAL STYLING
   ========================================================================== */

/* Inner Page Hero Banner */
.page-hero-section {
    position: relative;
    padding: 64px 0 52px;
    background: linear-gradient(135deg, rgba(8, 102, 232, 0.05) 0%, rgba(244, 248, 253, 0.95) 100%);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-light);
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    border: 1px solid rgba(8, 102, 232, 0.15);
}

.page-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--navy-heading);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.page-hero-desc {
    font-size: 1.12rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 24px;
}

.page-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.page-hero-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-heading);
}

.page-hero-stat-pill i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

/* About Story & Visual Section */
.about-story-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-card);
}

.about-image-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-card:hover img {
    transform: scale(1.03);
}

.floating-story-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.story-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary-blue);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.story-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.story-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--green-badge-bg);
    color: var(--green-badge-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Core Pillars */
.pillars-section {
    padding: 80px 0;
    background-color: var(--bg-gray);
}

.pillar-card {
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 34px 28px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 102, 232, 0.35);
    box-shadow: var(--shadow-card-hover);
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 22px;
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon-box {
    transform: scale(1.1);
}

.pillar-icon-blue {
    background: rgba(8, 102, 232, 0.12);
    color: var(--primary-blue);
}

.pillar-icon-emerald {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
}

.pillar-icon-indigo {
    background: rgba(99, 102, 241, 0.12);
    color: #6366F1;
}

.pillar-icon-amber {
    background: rgba(245, 158, 11, 0.12);
    color: #F59E0B;
}

.pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-heading);
    margin-bottom: 12px;
}

.pillar-desc {
    font-size: 0.94rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Mentors Showcase */
.mentors-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.mentor-card {
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mentor-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-card-hover);
}

.mentor-avatar-wrap {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 18px;
    border: 3.5px solid var(--primary-light);
    box-shadow: 0 4px 14px rgba(8, 102, 232, 0.15);
    transition: border-color 0.3s ease;
}

.mentor-card:hover .mentor-avatar-wrap {
    border-color: var(--primary-blue);
}

.mentor-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mentor-card:hover .mentor-avatar-img {
    transform: scale(1.08);
}

.mentor-name {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy-heading);
    margin-bottom: 4px;
}

.mentor-role {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.mentor-pedigree-badge {
    display: inline-block;
    background: var(--bg-gray);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    margin-bottom: 12px;
}

.mentor-bio {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.mentor-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    background: var(--primary-light);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.mentor-social-btn:hover {
    background: var(--primary-blue);
    color: #FFFFFF !important;
}

/* Timeline & Milestones */
.timeline-section {
    padding: 80px 0;
    background-color: var(--bg-gray);
}

.milestone-card {
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 30px 24px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.milestone-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(8, 102, 232, 0.3);
}

.milestone-year-pill {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E3A8A 100%);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.milestone-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-heading);
    margin-bottom: 8px;
}

.milestone-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact Channels Cards */
.contact-channels-section {
    padding: 60px 0 30px;
    background-color: var(--bg-white);
}

.contact-channel-card {
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 32px 26px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.contact-channel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary-blue);
}

.channel-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: transform 0.25s ease;
}

.contact-channel-card:hover .channel-icon-wrap {
    transform: scale(1.08);
}

.channel-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-heading);
    margin-bottom: 6px;
}

.channel-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.channel-val-link {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.channel-val-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Contact Main Section (Form & Info) */
.contact-main-section {
    padding: 40px 0 80px;
    background-color: var(--bg-white);
}

.contact-form-card {
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-label-custom {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-heading);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-icon-wrap textarea + i,
.input-icon-wrap.textarea-wrap i {
    top: 18px;
    transform: none;
}

.input-icon-wrap .form-control-custom,
.input-icon-wrap .form-select-custom {
    padding-left: 44px;
}

.input-icon-wrap .form-control-custom:focus + i,
.input-icon-wrap.active i {
    color: var(--primary-blue);
}

.form-select-custom {
    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='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 12px;
}

/* Contact Side Cards */
.contact-side-card {
    background: var(--bg-white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.contact-map-frame {
    width: 100%;
    height: 230px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    margin-top: 14px;
}

.guarantee-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(8, 102, 232, 0.08) 0%, rgba(235, 243, 254, 0.6) 100%);
    border: 1px solid rgba(8, 102, 232, 0.2);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
}

.guarantee-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Contact FAQ Section */
.contact-faq-section {
    padding: 70px 0;
    background-color: var(--bg-gray);
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   DARK MODE OVERRIDES FOR ABOUT & CONTACT PAGES
   ========================================================================== */

[data-theme="dark"] .page-hero-section,
[data-bs-theme="dark"] .page-hero-section {
    background: linear-gradient(135deg, #0B132B 0%, #0F172A 100%) !important;
    border-bottom-color: #1E293B !important;
}

[data-theme="dark"] .page-hero-badge,
[data-bs-theme="dark"] .page-hero-badge {
    background-color: #1E293B !important;
    color: #38BDF8 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .page-hero-title,
[data-bs-theme="dark"] .page-hero-title {
    color: #F8FAFC !important;
}

[data-theme="dark"] .page-hero-desc,
[data-bs-theme="dark"] .page-hero-desc {
    color: #94A3B8 !important;
}

[data-theme="dark"] .page-hero-stat-pill,
[data-bs-theme="dark"] .page-hero-stat-pill {
    background-color: #1E293B !important;
    color: #F8FAFC !important;
    border-color: #334155 !important;
    box-shadow: none !important;
}

[data-theme="dark"] .about-story-section,
[data-bs-theme="dark"] .about-story-section,
[data-theme="dark"] .mentors-section,
[data-bs-theme="dark"] .mentors-section,
[data-theme="dark"] .contact-channels-section,
[data-bs-theme="dark"] .contact-channels-section,
[data-theme="dark"] .contact-main-section,
[data-bs-theme="dark"] .contact-main-section {
    background-color: #0B132B !important;
}

[data-theme="dark"] .pillars-section,
[data-bs-theme="dark"] .pillars-section,
[data-theme="dark"] .timeline-section,
[data-bs-theme="dark"] .timeline-section,
[data-theme="dark"] .contact-faq-section,
[data-bs-theme="dark"] .contact-faq-section {
    background-color: #0F172A !important;
    border-top-color: #1E293B !important;
}

[data-theme="dark"] .about-image-card,
[data-bs-theme="dark"] .about-image-card {
    border-color: #334155 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .floating-story-badge,
[data-bs-theme="dark"] .floating-story-badge {
    background: rgba(30, 41, 59, 0.94) !important;
    border-color: #334155 !important;
    color: #F8FAFC !important;
}

[data-theme="dark"] .story-tag-pill,
[data-bs-theme="dark"] .story-tag-pill {
    background: rgba(8, 102, 232, 0.2) !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .pillar-card,
[data-bs-theme="dark"] .pillar-card,
[data-theme="dark"] .mentor-card,
[data-bs-theme="dark"] .mentor-card,
[data-theme="dark"] .milestone-card,
[data-bs-theme="dark"] .milestone-card,
[data-theme="dark"] .contact-channel-card,
[data-bs-theme="dark"] .contact-channel-card,
[data-theme="dark"] .contact-form-card,
[data-bs-theme="dark"] .contact-form-card,
[data-theme="dark"] .contact-side-card,
[data-bs-theme="dark"] .contact-side-card {
    background: #1E293B !important;
    border-color: #334155 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .pillar-card:hover,
[data-bs-theme="dark"] .pillar-card:hover,
[data-theme="dark"] .mentor-card:hover,
[data-bs-theme="dark"] .mentor-card:hover,
[data-theme="dark"] .contact-channel-card:hover,
[data-bs-theme="dark"] .contact-channel-card:hover {
    border-color: #38BDF8 !important;
    box-shadow: 0 16px 36px -6px rgba(8, 102, 232, 0.35) !important;
}

[data-theme="dark"] .pillar-title,
[data-bs-theme="dark"] .pillar-title,
[data-theme="dark"] .mentor-name,
[data-bs-theme="dark"] .mentor-name,
[data-theme="dark"] .milestone-title,
[data-bs-theme="dark"] .milestone-title,
[data-theme="dark"] .channel-title,
[data-bs-theme="dark"] .channel-title,
[data-theme="dark"] .form-label-custom,
[data-bs-theme="dark"] .form-label-custom {
    color: #F8FAFC !important;
}

[data-theme="dark"] .pillar-desc,
[data-bs-theme="dark"] .pillar-desc,
[data-theme="dark"] .mentor-bio,
[data-bs-theme="dark"] .mentor-bio,
[data-theme="dark"] .milestone-desc,
[data-bs-theme="dark"] .milestone-desc,
[data-theme="dark"] .channel-desc,
[data-bs-theme="dark"] .channel-desc {
    color: #94A3B8 !important;
}

[data-theme="dark"] .mentor-avatar-wrap,
[data-bs-theme="dark"] .mentor-avatar-wrap {
    border-color: #334155 !important;
}

[data-theme="dark"] .mentor-card:hover .mentor-avatar-wrap,
[data-bs-theme="dark"] .mentor-card:hover .mentor-avatar-wrap {
    border-color: #38BDF8 !important;
}

[data-theme="dark"] .mentor-role,
[data-bs-theme="dark"] .mentor-role,
[data-theme="dark"] .channel-val-link,
[data-bs-theme="dark"] .channel-val-link {
    color: #38BDF8 !important;
}

[data-theme="dark"] .mentor-pedigree-badge,
[data-bs-theme="dark"] .mentor-pedigree-badge {
    background: #0F172A !important;
    color: #94A3B8 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .mentor-social-btn,
[data-bs-theme="dark"] .mentor-social-btn {
    background: rgba(8, 102, 232, 0.2) !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .mentor-social-btn:hover,
[data-bs-theme="dark"] .mentor-social-btn:hover {
    background: #0866E8 !important;
    color: #FFFFFF !important;
}

[data-theme="dark"] .channel-icon-wrap,
[data-bs-theme="dark"] .channel-icon-wrap {
    background: rgba(8, 102, 232, 0.2) !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .guarantee-box,
[data-bs-theme="dark"] .guarantee-box {
    background: linear-gradient(135deg, rgba(8, 102, 232, 0.15) 0%, rgba(30, 41, 59, 0.6) 100%) !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .contact-map-frame,
[data-bs-theme="dark"] .contact-map-frame {
    border-color: #334155 !important;
    filter: invert(90%) hue-rotate(180deg) brightness(90%) contrast(85%);
}

@media (max-width: 768px) {
    .page-hero-title {
        font-size: 2.1rem;
    }

    .page-hero-section {
        padding: 44px 0 36px;
    }

    .page-hero-stats {
        gap: 12px;
    }

    .contact-form-card {
        padding: 24px 18px;
    }

    .about-story-section,
    .pillars-section,
    .mentors-section,
    .timeline-section {
        padding: 50px 0;
    }

    .floating-story-badge {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 14px;
    }

    /* Safe Area for Mobile Bottom Nav */
    body {
        padding-bottom: 70px;
    }

    .table-responsive {
        margin-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }
}




