@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #1e3a8a;
    /* Deep educational blue */
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --secondary: #ff8c00;
    /* Subtle orange accent typical in edu */
    --accent: #f59e0b;
    --success: #10b981;
    --text-dark: #111827;
    --text-mid: #4b5563;
    --text-light: #9ca3af;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --border: #e2e8f0;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--bg-light);
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    padding-top: 115px;
    /* Tighter offset for fixed header */
}

@media (max-width: 1024px) {
    body {
        padding-top: 100px !important;
        /* Balanced offset to avoid hiding content */
    }
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .container {
        width: 96%;
    }
}

@media (max-width: 480px) {
    .container {
        width: 98%;
    }
}

/* Typography */
h1,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

a {
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

/* --- Admin Architecture & Design Tokens --- */
:root {
    --adm-sidebar: #0b1120;
    --adm-bg: #020617;
    --adm-card-bg: #0b1120;
    --adm-border: rgba(255, 255, 255, 0.05);
    --adm-accent: #f97316;
    --adm-accent-glow: rgba(249, 115, 22, 0.4);
    --adm-text: #94a3b8;
    --adm-muted: #64748b;
}

/* --- Admin Wrapper Layout --- */
.adm-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--adm-bg);
}

.adm-sidebar {
    width: 260px;
    background: var(--adm-sidebar);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-right: 1px solid var(--adm-border);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.adm-nav-group {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--adm-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 2rem 1rem 0.75rem;
    opacity: 0.6;
}

.adm-nav {
    list-style: none;
    padding: 0;
}

.adm-nav li {
    margin-bottom: 2px;
}

.adm-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--adm-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.adm-nav-link i {
    font-size: 0.8rem;
    width: 20px;
    text-align: center;
    opacity: 0.7;
}

.adm-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(4px);
}

.adm-nav-link.active {
    background: linear-gradient(135deg, var(--adm-accent) 0%, #ea580c 100%);
    color: #fff;
    box-shadow: 0 4px 12px var(--adm-accent-glow);
    font-weight: 600;
}

.adm-nav-link.active i {
    opacity: 1;
}

.adm-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.adm-topbar {
    height: 64px;
    background: #0b1120;
    border-bottom: 1px solid var(--adm-border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.adm-content-area {
    padding: 2.5rem;
}

.adm-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Admin Cards */
.adm-card {
    background: var(--adm-card-bg);
    border: 1px solid var(--adm-border);
    border-radius: 24px;
    overflow: hidden;
}

.adm-card-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--adm-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.adm-card-body {
    padding: 30px;
}

.adm-table {
    width: 100%;
    border-collapse: collapse;
}

.adm-table th {
    padding: 1rem 12px;
    text-align: left;
    color: var(--adm-accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--adm-border);
}

.adm-table td {
    padding: 1.25rem 12px;
    border-bottom: 1px solid var(--adm-border);
    color: var(--adm-text);
    font-size: 0.85rem;
}

.adm-btn-primary {
    background: linear-gradient(135deg, var(--adm-accent) 0%, #ea580c 100%);
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px var(--adm-accent-glow);
    transition: all 0.3s ease;
}

.adm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px var(--adm-accent-glow);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-weight: 600;
}

/* --- Header --- */
.hdr-new {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hdr-topbar {
    background: rgba(248, 250, 252, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 8px 0;
}

.hdr-top-inner {
    display: flex;
    justify-content: flex-end;
}

.hdr-top-links {
    display: flex;
    gap: 22px;
    align-items: center;
}

.hdr-tl-item {
    font-size: 0.75rem;
    color: #4b5563;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.hdr-tl-item:hover {
    color: #f97316;
}

.badge-red {
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 900;
    margin-right: 6px;
    letter-spacing: 0.5px;
}

.hdr-main {
    padding: 12px 0;
}

.hdr-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.main-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (min-width: 1025px) {
    .main-logo-img {
        height: 60px;
    }
}

.hdr-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 40px;
}

.hdr-nav-btn {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hdr-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

.hdr-nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    text-decoration: none;
}

.hdr-nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f97316;
    transition: width 0.3s ease;
}

.hdr-nav-link:hover {
    color: #111827;
}

.hdr-nav-link:hover::after {
    width: 100%;
}

.hdr-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.hdr-compare-btn {
    border: 1.5px dashed #f97316;
    background: rgba(249, 115, 22, 0.05);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ea580c;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hdr-compare-btn:hover {
    background: rgba(249, 115, 22, 0.1);
    transform: scale(1.02);
}

.hdr-ai-tag {
    position: absolute;
    top: -12px;
    right: 15px;
    background: #f97316;
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
    animation: aiPulse 2s infinite;
}

@keyframes aiPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 2px 14px rgba(249, 115, 22, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
    }
}

.hdr-signin {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
}

.red-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border: 2px solid #fff;
    border-radius: 50%;
}

.arrow-down-white {
    border: solid #fff;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    margin-top: -3px;
    display: inline-block;
}

.arrow-down-gray {
    border: solid #6b7280;
    border-width: 0 2px 2px 0;
    padding: 2.5px;
    transform: rotate(45deg);
    margin-bottom: 2px;
    display: inline-block;
}

/* Header Left block overrides */
.hdr-left {
    display: flex;
    align-items: center;
}

.hdr-logo-area {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

/* Consolidated logo styling moved up */


/* Header Nav Middle */
.hdr-nav {
    display: none;
}

@media (min-width: 1024px) {
    .hdr-nav {
        display: flex;
        align-items: center;
        gap: 20px;
    }
}

.hdr-nav-btn {
    background: #f59e0b;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hdr-nav-btn:hover {
    background: #d97706;
}

.arrow-down-white {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid white;
}

.hdr-nav-link {
    color: #4b5563;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hdr-nav-link:hover {
    color: #f59e0b;
}

.arrow-down-gray {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #9ca3af;
}

/* Header Right Actions */
.hdr-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hdr-compare-btn {
    position: relative;
    border: 1.5px dashed #ea580c;
    border-radius: 6px;
    padding: 8px 16px;
    color: #ea580c;
    font-weight: 700;
    font-size: 0.95rem;
    display: none;
}

@media (min-width: 1024px) {
    .hdr-compare-btn {
        display: flex;
        align-items: center;
    }
}

.hdr-compare-btn:hover {
    background: #fff7ed;
}

.hdr-ai-tag {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #ea580c;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 800;
}

.red-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
}

.hdr-signin {
    color: #374151;
    font-weight: 700;
    font-size: 0.95rem;
    display: none;
}

@media (min-width: 1024px) {
    .hdr-signin {
        display: block;
    }
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle .bar {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
}

@media (max-width: 1024px) {
    .hdr-topbar {
        display: none;
    }

    .hdr-divider,
    .hdr-explore-text {
        display: none;
    }

    .hdr-actions {
        gap: 12px;
    }
}

/* Animation Keyframes for Zero-Gravity Float */
@keyframes zeroGravityFloat {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes zeroGravityInvert {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.rep-video-card {
    background: #111827;
    /* Near black */
    border-radius: 24px;
    padding: 12px;
    color: #fff;
    position: relative;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 1px solid #1f2937;
    animation: zeroGravityFloat 6s ease-in-out infinite;
    max-width: 520px;
    width: 100%;
}

@keyframes luxuryPulse {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    70% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.rep-video-play {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #ffffff;
    color: #111827;
    padding: 12px 32px 12px 12px;
    border-radius: 100px;
    gap: 14px;
    font-weight: 800;
    margin: 40px auto 0;
    width: fit-content;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: luxuryPulse 3s infinite;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.rep-video-play:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: #fff;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: #e07b00;
    transform: translateY(-1px);
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Hide in Edge/IE */
    cursor: grab;
    /* Show grabbing hand on desktop */
}

.scroll-container:active {
    cursor: grabbing;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Hide in Chrome/Safari/Edge */

.college-card-ref {
    flex: 0 0 calc(50% - 0.75rem);
    /* 2 columns mobile */
    min-width: 280px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

@media (min-width: 1024px) {
    .college-card-ref {
        flex: 0 0 calc(25% - 1.125rem);
        /* 4 columns desktop */
    }
}

.college-card-ref:hover {
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.cc-header {
    position: relative;
    height: 140px;
    background-size: cover;
    background-position: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cc-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 10%, rgba(0, 0, 0, 0.85) 100%);
}

.cc-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #1f2937;
    color: white;
    padding: 2px 6px 2px 3px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cc-badge-ad {
    background: #ea580c;
    border-radius: 3px;
    padding: 1px 3px;
    font-size: 0.6rem;
}

.cc-header-text {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 12px 32px 12px;
}

.cc-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cc-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The logo hangs outside the card header slightly */
.cc-logo-circle {
    position: absolute;
    bottom: -20px;
    left: 12px;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    padding: 3px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cc-logo-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.cc-body {
    padding: 28px 12px 8px 12px;
    /* 28px top padding to clear the overflowing logo */
}

.cc-row-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cc-col-left {
    flex: 1;
}

.cc-course {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 4px;
}

.cc-fees-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cc-fees-amt {
    font-weight: 800;
    color: #ea580c;
    font-size: 0.82rem;
}

.cc-fees-lbl {
    color: #6b7280;
    font-size: 0.8rem;
}

.cc-col-right {
    text-align: right;
}

.cc-rating-score {
    font-size: 0.95rem;
    font-weight: 800;
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.cc-star {
    font-size: 0.82rem;
}

.cc-reviews {
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 0;
}

.cc-ranking {
    margin-top: 10px;
    padding: 8px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 500;
}

.cc-actions {
    padding: 0 12px;
}

.cc-btn-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.cc-btn-link:last-child {
    border-bottom: none;
}

.cc-btn-link:hover {
    color: #ea580c;
}

.cc-chevron {
    color: #ea580c;
    font-weight: bold;
    font-size: 1rem;
}

/* --- Footer Restored & Stylized --- */
.main-footer {
    background: #111827;
    /* Dark elegant footer */
    color: #f3f4f6;
    padding: 4rem 0 2rem;
    font-size: 0.82rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-info .logo {
    color: #fff;
    font-size: 1.5rem;
}

.footer-info p {
    color: #9ca3af;
    margin-top: 1rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
}

/* --- Mobile App-Grade Enhancements --- */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    /* Shrink the Hero Padding on Mobile */
    section[style*="padding: 10rem"] {
        padding: 7rem 0 4rem !important;
    }

    section[style*="padding: 10rem"] h1 {
        font-size: 2.2rem !important;
    }

    /* Make the Search Bar compact */
    input[name="search"] {
        padding: 0.8rem 0.8rem 0.8rem 2.8rem !important;
        font-size: 0.95rem !important;
    }

    form .btn-primary {
        padding: 0 1.25rem !important;
        font-size: 0.95rem !important;
    }

    /* Why Choose Us to Stack Efficiently */
    section[style*="padding: 2rem 0"]>.container>div {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Tighten up spacing in cards container */
    .scroll-container {
        padding-bottom: 1rem;
        gap: 1rem;
    }

    .college-card-ref {
        min-width: 250px;
        /* Slimmer for compact phones */
    }

    .cc-title {
        font-size: 0.95rem;
    }

    .cc-subtitle {
        font-size: 0.7rem;
    }

    .cc-body {
        padding: 24px 10px 4px 10px;
    }

    .cc-course,
    .cc-fees-amt,
    .cc-rating-score {
        font-size: 0.85rem;
    }

    .cc-logo-circle {
        width: 44px;
        height: 44px;
        bottom: -20px;
        left: 8px;
    }

    .cc-header {
        height: 120px;
    }

    .cc-header-text {
        padding: 0 10px 26px 10px;
    }

    .cc-actions {
        padding: 0 10px;
    }

    .cc-btn-link {
        padding: 10px 0;
        font-size: 0.8rem;
    }
}

/* =========================================
   HERO REPLICA SECTION 
   ========================================= */
.hero-replica {
    padding: 60px 0 100px;
    /* Significantly reduced top padding */
    background: linear-gradient(to bottom, #fff0e0 0%, #fffbf5 60%, #ffffff 100%);
    overflow: hidden;
    color: #111827;
}

.hero-rep-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

@media (max-width: 1100px) {
    .br-desktop {
        display: none;
    }

    .hero-rep-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-rep-left,
    .hero-rep-right {
        max-width: 100% !important;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rep-stats {
        justify-content: center;
        width: 100%;
    }

    .rep-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
        font-size: 2.2rem;
    }

    .rep-subtitle {
        margin: 0 auto 30px;
        font-size: 0.95rem;
    }
}

.br-desktop {
    display: inline;
}

.hero-rep-left {
    flex: 1;
    max-width: 45%;
}

.rep-badge {
    display: inline-block;
    background: #111827;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 6px 14px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-transform: uppercase;
}

.rep-title {
    font-size: clamp(2rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 900;
    color: #111827;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.br-desktop {
    display: inline;
}

.rep-highlight {
    color: #f97316;
    position: relative;
    display: inline-block;
    padding: 0 5px;
}

.rep-highlight::after {
    content: '';
    position: absolute;
    bottom: 8%;
    left: 0;
    width: 100%;
    height: 35%;
    background: rgba(249, 115, 22, 0.2);
    z-index: -1;
    transform: rotate(-1deg);
    border-radius: 2px;
}

.rep-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    color: #4b5563;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 650px;
    opacity: 0.85;
}

@media (max-width: 1100px) {
    .rep-subtitle {
        margin: 0 auto 40px auto;
    }
}

.rep-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.rep-stat-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.icon-yellow {
    background: #fef08a;
}

.icon-orange {
    background: #fed7aa;
}

.icon-green {
    background: #bbf7d0;
    color: #166534;
    font-size: 1.4rem;
}

.stat-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-text strong {
    font-size: 1.1rem;
    color: #111827;
    line-height: 1.2;
    font-weight: 800;
}

.stat-text span {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.hero-rep-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 55%;
}

.vid-inner {
    background: #111828;
    border-radius: 20px;
    padding: 40px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vid-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(circle, #fff 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    background-position: center;
}

/* Glass Shine Moving Overlay */
@keyframes glassShine {
    0% {
        transform: translateX(-150%) skewX(-30deg);
    }

    30% {
        transform: translateX(150%) skewX(-30deg);
    }

    100% {
        transform: translateX(150%) skewX(-30deg);
    }
}

.vid-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: glassShine 4s ease-in-out infinite;
    z-index: 3;
}

.rep-video-card {
    background: #111827;
    border-radius: 16px;
    padding: 10px;
    color: #fff;
    position: relative;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 1px solid #1f2937;
    animation: zeroGravityFloat 6s ease-in-out infinite;
    max-width: 620px;
    width: 100%;
    overflow: hidden;
}

.vid-top {
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.vt-orange {
    color: #f97316;
}

.vt-gray {
    color: #9ca3af;
}

.vt-season {
    position: absolute;
    top: 25px;
    right: -45px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 8px 50px;
    transform: rotate(35deg);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.vid-center {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
    text-align: center;
}

.vc-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0;
}

.vc-word {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: 6px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #d1d5db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.vc-script {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: #f97316;
    font-weight: normal;
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    letter-spacing: 0;
    text-transform: lowercase;
    line-height: 1;
    margin: -3px 0;
    z-index: 2;
}

.vc-sub {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 85%;
    margin: 30px auto 0;
    font-weight: 500;
}

.vid-play {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.play-circle {
    width: 44px;
    height: 44px;
    background: #ea580c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding-left: 4px;
}

.play-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: center;
}

.play-text span {
    font-size: 0.6rem;
    color: #48515e;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 0.5;
    margin: 0;
}

.play-text strong {
    font-size: 1.25rem;
    color: #111827;
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.5px;
    margin-top: -12px;
}

.rep-video-sub span {
    color: #6b7280;
}

/* Floating Elements Styling */
.rep-float-top {
    position: absolute;
    top: -30px;
    right: -40px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    border: 1px solid #f3f4f6;
    animation: zeroGravityInvert 5s ease-in-out infinite;
}

.float-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.float-lbl {
    font-size: 0.65rem;
    color: #6b7280;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

.float-text strong {
    font-size: 1rem;
    color: #111827;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 4px;
}

.rep-float-bottom {
    position: absolute;
    bottom: -30px;
    left: -50px;
    background: #111827;
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4);
    z-index: 10;
    border: 1px solid #1f2937;
    animation: zeroGravityInvert 4.5s ease-in-out infinite reverse;
}

.float-dark-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    color: #fff;
}

.float-dark-text span {
    font-size: 0.65rem;
    color: #9ca3af;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

.float-dark-text strong {
    font-size: 1rem;
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 4px;
}

.float-dark-icon {
    width: 36px;
    height: 36px;
    background: #1f2937;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ea580c;
}

@media (max-width: 768px) {

    .rep-float-top,
    .rep-float-bottom {
        display: none;
    }

    .hero-replica {
        padding: 25px 0 50px;
    }

    .rep-stats {
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
        gap: 6px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .rep-stat-card {
        flex: 1;
        min-width: 0;
        padding: 6px 4px;
        gap: 6px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    .stat-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
        border-radius: 5px;
        flex-shrink: 0;
    }

    .stat-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .stat-text strong {
        font-size: 0.7rem;
        line-height: 1;
        display: block;
    }

    .stat-text span {
        font-size: 0.5rem;
        line-height: 1;
        letter-spacing: -0.2px;
        opacity: 0.8;
    }

    .vid-inner {
        padding: 30px 20px;
    }

    .vc-word {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .vc-script {
        font-size: 1rem;
        margin: -2px 0;
    }

    .vt-season {
        top: 10px;
        right: -40px;
        padding: 4px 35px;
        font-size: 0.55rem;
    }

    .rep-video-play {
        padding: 8px 20px 8px 8px;
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .rep-title {
        font-size: 1.5rem !important;
        line-height: 1.1;
        margin-bottom: 12px;
        white-space: normal !important;
        text-align: center;
    }

    .rep-subtitle {
        font-size: 0.8rem !important;
        line-height: 1.5;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .vid-inner {
        padding: 25px 15px;
    }

    .vc-word {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .vc-sub {
        font-size: 0.75rem;
        margin-top: 15px;
    }
}

.float-icon {
    width: 36px;
    height: 36px;
    background: #ffedd5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #111827;
}

.float-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.float-lbl {
    font-size: 0.6rem;
    color: #9ca3af;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.float-text strong {
    font-size: 0.95rem;
    color: #111827;
    font-weight: 800;
    line-height: 1.2;
}

.float-dark-icon {
    width: 36px;
    height: 36px;
    background: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 2px solid #ea580c;
    color: #ea580c;
}

.float-dark-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.float-dark-text span {
    font-size: 0.6rem;
    color: #9ca3af;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.float-dark-text strong {
    font-size: 1rem;
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
}

/* =========================================
   EXPLORE TABS SECTION 
   ========================================= */
.explore-tabs-section {
    padding: 60px 0;
    background: #fff;
    font-family: inherit;
}

@media (max-width: 800px) {
    .explore-tabs-section {
        padding: 30px 0;
    }

    .ex-panel-header {
        margin: 0 !important;
        padding: 0 !important;
    }

    .ex-panel-header h2 {
        font-size: 18px !important;
        margin: 0 !important;
        line-height: 1.2;
    }

    .ex-panel-header p {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
        margin-top: 2px !important;
    }
}

.explore-tabs-container {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .explore-tabs-container {
        flex-direction: column;
    }
}

/* Sidebar structure */
.explore-sidebar {
    width: 250px;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

@media (max-width: 1024px) {
    .explore-sidebar {
        width: 100%;
        display: flex;
        flex-direction: column;
        border: none;
        background: transparent;
        margin-bottom: 8px;
    }

    .ex-sb-header {
        display: none;
        /* Hide the sidebar header on mobile to match image */
    }

    .ex-sb-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none;
        gap: 12px;
        padding: 4px 15px;
        width: 100%;
        max-width: 100vw;
        -webkit-overflow-scrolling: touch;
        list-style: none;
        margin: 0;
        cursor: grab;
    }

    .ex-sb-list::-webkit-scrollbar {
        display: none;
    }

    .ex-tab {
        border: 1px solid #e5e7eb !important;
        border-radius: 50px !important;
        min-width: max-content;
        flex: 0 0 auto;
        padding: 8px 20px !important;
        background: #fff;
        height: auto;
        display: grid !important;
        place-items: center !important;
    }

    .ex-tab::after {
        display: none;
    }

    .ex-tab.active {
        background: #ea580c !important;
        border-color: #ea580c !important;
        color: #fff !important;
        border-bottom: none !important;
    }

    .ex-tab-text {
        display: grid !important;
        place-items: center !important;
        width: 100%;
        text-align: center;
    }

    .ex-tab-text strong {
        font-size: 0.8rem;
        color: #4b5563;
        font-weight: 700;
        margin: 0;
        line-height: 1;
        text-align: center;
        display: block;
    }

    .ex-tab.active .ex-tab-text strong {
        color: #fff !important;
    }

    .ex-tab-text span {
        display: none !important;
    }
}

.ex-sb-header {
    background: #ea580c;
    color: #fff;
    padding: 16px 20px;
    font-weight: 800;
    font-size: 1.15rem;
}

@media (max-width: 1024px) {
    .ex-sb-header {
        text-align: center;
    }
}

.ex-sb-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ex-tab {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    background: #fff;
    border-left: 4px solid transparent;
}

.ex-tab:last-child {
    border-bottom: none;
}

.ex-tab-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.ex-tab-text strong {
    color: #4b5563;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.ex-tab-text span {
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 500;
}

.ex-tab::after {
    content: "›";
    font-size: 1.5rem;
    color: transparent;
    transition: color 0.2s;
    font-family: monospace;
}

/* Active State */
.ex-tab.active {
    background: #fff7ed;
    border-left: 4px solid #ea580c;
}

@media (max-width: 1024px) {
    .ex-tab.active {
        border-left: none;
        border-bottom: 4px solid #ea580c;
    }
}

.ex-tab.active .ex-tab-text strong {
    color: #ea580c;
    font-weight: 800;
}

.ex-tab.active .ex-tab-text span {
    color: #f97316;
}

.ex-tab.active::after {
    color: #ea580c;
}

.ex-tab:hover:not(.active) {
    background: #f9fafb;
}


/* Main content / right column */
.explore-content {
    flex: 1;
    min-width: 0;
    /* fixes flex blowout */
}

.ex-panel {
    display: none;
    animation: fadeInTab 0.3s ease-out;
}

.ex-panel.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ex-panel-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}

.ex-panel-header p {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.ex-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Mobile: Below 767px -> 3 Columns */
@media (max-width: 767px) {
    .ex-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

.ex-card {
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 24px 16px 16px 16px;
    background: #fff;
    position: relative;
    text-align: center;
    transition: box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}

@media (max-width: 800px) {
    .ex-card {
        padding: 20px 20px;
        min-width: 0;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        height: 100%;
    }

    .ex-card-icon {
        width: 48px !important;
        height: 48px !important;
        margin: 0 auto 12px !important;
    }

    .ex-card-icon i {
        font-size: 18px !important;
    }

    .ex-card-title {
        font-size: 0.85rem !important;
        font-weight: 800 !important;
        margin-bottom: 4px !important;
        color: #111827 !important;
        min-height: 2.2em !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        line-height: 1.1;
    }

    .ex-card-sub {
        display: block !important;
        font-size: 0.7rem !important;
        color: #6b7280 !important;
        margin-bottom: 12px !important;
        font-weight: 500 !important;
        min-height: 2.4em;
    }

    .ex-card-btn {
        padding: 10px 0 !important;
        font-size: 0.65rem !important;
        font-weight: 800 !important;
        border-radius: 8px !important;
    }

    .ex-card-tag {
        font-size: 0.45rem !important;
        padding: 2px 4px !important;
        top: 6px !important;
        right: 6px !important;
        z-index: 10;
    }
}

@media (max-width: 380px) {
    .ex-card {
        padding: 12px 4px;
    }

    .ex-card-title {
        font-size: 0.75rem !important;
    }

    .ex-card-sub {
        font-size: 0.65rem !important;
    }

    .ex-card-btn {
        font-size: 0.6rem !important;
        padding: 8px 0 !important;
    }
}

.ex-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
}

.ex-card-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.ex-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 10px auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ex-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 6px;
}

.ex-card-sub {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.ex-card-btn {
    display: block;
    width: 100%;
    background: #ea580c;
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 12px 0;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.ex-card-btn:hover {
    background: #c2410c;
}

.ex-view-all {
    text-align: center;
    margin-top: 30px;
}

.btn-view-all {
    display: inline-block;
    background: #fff7ed;
    color: #ea580c;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-view-all:hover {
    background: #ffedd5;
}

/* --- Mega Menu & Navigation Icons --- */
.hdr-nav-item.has-mega {
    padding-bottom: 10px;
}

.hdr-megamenu {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff !important;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 50px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.hdr-nav-item.has-mega:hover .hdr-megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1.2fr;
    gap: 50px;
    align-items: stretch;
}

.mega-col {
    display: flex;
    flex-direction: column;
}

.mega-categories {
    border-right: 1px solid #f1f5f9;
    padding-right: 30px;
}

.mega-featured {
    border-right: 1px solid #f1f5f9;
    padding-right: 30px;
}

.mega-title {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 800;
}

.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-list li {
    margin-bottom: 15px;
}

.mega-list a {
    color: #334155;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mega-list a:hover {
    color: #f97316;
}

.mega-icon-box {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #f1f5f9;
    border-radius: 10px;
    display: grid !important;
    place-items: center !important;
    color: #475569;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0 !important;
    margin: 0 !important;
}

.mega-icon-box i {
    font-size: 1.1rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.mega-list a:hover .mega-icon-box {
    background: #fff7ed;
    color: #f97316;

}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mega-grid-item {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.22s ease-in-out;
    height: 100%;
}

.mgi-badge {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.7rem;
    color: #f97316;
}

.mgi-info {
    display: flex;
    flex-direction: column;
}

.mgi-id {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
}

.mgi-name {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
}

.mega-promo-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.mega-promo-card h3 {
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 800;
}

.mega-promo-card p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 25px;
    line-height: 1.5;
}

.mega-promo-btn {
    background: #f97316;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- Admin Dashboard - Executive Studio Dark Overhaul --- */
:root {
    --adm-bg: #0b1120;
    --adm-sidebar: #0f172a;
    --adm-card: #111827;
    --adm-accent: #f97316;
    --adm-accent-glow: rgba(249, 115, 22, 0.2);
    --adm-text: #f1f5f9;
    --adm-muted: #94a3b8;
    --adm-border: rgba(255, 255, 255, 0.1);
    --adm-radius: 12px;
}

.adm-body {
    background: var(--adm-bg);
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--adm-text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

.adm-sidebar {
    width: 260px;
    background: var(--adm-sidebar);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-right: 1px solid var(--adm-border);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.adm-nav-group {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--adm-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 2rem 1rem 0.75rem;
    opacity: 0.6;
}

.adm-nav {
    list-style: none;
    padding: 0;
}

.adm-nav li {
    margin-bottom: 2px;
}

.adm-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--adm-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.adm-nav-link i {
    font-size: 0.8rem;
    width: 20px;
    text-align: center;
    opacity: 0.7;
}

.adm-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(4px);
}

.adm-nav-link.active {
    background: linear-gradient(135deg, var(--adm-accent) 0%, #ea580c 100%);
    color: #fff;
    box-shadow: 0 4px 12px var(--adm-accent-glow);
    font-weight: 600;
}

.adm-nav-link.active i {
    opacity: 1;
}

.adm-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}


.adm-topbar {
    height: 64px;
    background: #0b1120;
    border-bottom: 1px solid var(--adm-border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.adm-content-area {
    padding: 2.5rem;
}

.adm-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.025em;
}

.adm-sub {
    color: var(--adm-muted);
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 4px;
}

.adm-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 3rem;
}

.adm-stat-card {
    background: var(--adm-card);
    padding: 1.75rem;
    border-radius: var(--adm-radius);
    border: 1px solid var(--adm-border);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.adm-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.adm-stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--adm-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.adm-stat-val {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.adm-stat-label {
    font-size: 0.8rem;
    color: var(--adm-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.adm-card {
    background: var(--adm-card);
    backdrop-filter: blur(12px);
    border-radius: var(--adm-radius);
    padding: 2.5rem;
    border: 1px solid var(--adm-border);
    box-shadow: var(--adm-shadow);
}

.adm-table {
    width: 100%;
    border-collapse: collapse;
}

.adm-table th {
    padding: 0.75rem 12px;
    text-align: left;
    color: var(--adm-accent);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--adm-border);
}

.adm-table td {
    padding: 1rem 12px;
    border-bottom: 1px solid var(--adm-border);
    color: var(--adm-text);
    font-size: 0.75rem;
    font-weight: 400;
}

.adm-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

.adm-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    border: 1px solid currentColor;
}


.adm-badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.adm-btn-primary {
    background: transparent;
    color: var(--adm-accent);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 400;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--adm-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.adm-btn-primary:hover {
    background: var(--adm-accent);
    color: #fff;
    box-shadow: 0 0 20px var(--adm-accent-glow);
}

/* Form Polish */
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--adm-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1.5px solid var(--adm-border) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    color: #fff !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

.form-control:focus {
    outline: none !important;
    border-color: var(--adm-accent) !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1) !important;
    background: rgba(15, 23, 42, 0.8) !important;
}

.adm-search-box {
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid var(--adm-border);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 350px;
    transition: all 0.3s ease;
}

.adm-search-box:focus-within {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.05);
}

.adm-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    width: 100%;
    font-weight: 500;
}

.adm-search-box input::placeholder {
    color: #475569;
}

/* --- Profile Dropdown --- */
.adm-profile-wrapper {
    position: relative;
    cursor: pointer;
}

.adm-profile-trigger {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 6px 6px 14px;
    border-radius: 14px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.adm-profile-trigger:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--adm-border);
}


.adm-profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    padding: 8px;
    display: none;
    z-index: 1000;
    animation: slideUp 0.2s ease-out;
}

.adm-profile-dropdown.show {
    display: block;
}

.adm-profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--adm-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.adm-profile-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.adm-profile-dropdown i {
    width: 18px;
    text-align: center;
    font-size: 0.82rem;
}

.adm-profile-divider {
    height: 1px;
    background: #334155;
    margin: 8px 0;
}

.profile-img-preview {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid var(--adm-border);
    background: #1e293b;
    margin-bottom: 20px;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.profile-img-preview:hover {
    transform: scale(1.02);
    border-color: var(--adm-accent);
}

.alert-success {
    background: rgba(16, 185, 129, 0.08) !important;
    border: 1px solid rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
    padding: 1rem 1.5rem !important;
    border-radius: 14px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    margin-bottom: 2.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.alert-success::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--adm-bg);
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
    border: 2px solid var(--adm-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* --- Institutional Premium Footer --- */
.main-footer {
    background: #fff;
    border-top: 1px solid #f1f5f9;
    padding: 5rem 0 2rem;
    color: #475569;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-brand .footer-logo .logo-icon {
    width: 38px;
    height: 38px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
    font-size: 1.25rem;
    border: 3px solid #f97316;
}

.footer-brand .footer-logo span {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.footer-brand .footer-logo span em {
    color: #f97316;
    font-style: normal;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 32px;
    height: 32px;
    background: #cbd5e1;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.82rem;
}

.social-link:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #475569;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #2563eb;
}

.footer-support {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.support-item {
    display: flex;
    gap: 15px;
}

.support-item i {
    font-size: 1.1rem;
    color: #f59e0b;
    margin-top: 4px;
}

.support-info b {
    display: block;
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.support-info span {
    font-size: 0.8rem;
    color: #94a3b8;
}

.support-item.email i {
    color: #f59e0b;
}

.support-item.email a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.download-wrap p {
    font-size: 0.82rem;
    margin-bottom: 1.5rem;
}

.app-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e293b;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s;
}

.app-btn:hover {
    background: #0f172a;
    transform: scale(1.02);
}

.app-btn i {
    font-size: 1.5rem;
}

.app-btn-text span {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.7;
}

.app-btn-text b {
    font-size: 0.82rem;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid #f1f5f9;
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

/* --- Horizontal Institutional Cards (Compact Pro) --- */
.horiz-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.horiz-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: #e2e8f0;
}

.horiz-img-wrap {
    width: 260px;
    height: auto;
    min-height: 220px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    background: #f8fafc;
}

.horiz-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.horiz-card:hover .horiz-img {
    transform: scale(1.1);
}

.featured-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #facc15;
    color: #451a03;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.horiz-logo-overlap {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Gradient Border Trick */
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, 
                linear-gradient(135deg, #f97316, #fb923c) border-box;
    z-index: 10;
    overflow: hidden;
}

.horiz-logo-overlap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.horiz-content {
    flex: 1;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
}

.horiz-rating-box {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    text-align: right;
}

.rating-badge {
    background: #fffbeb;
    color: #f59e0b;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #fef3c7;
}

.review-count {
    display: block;
    font-size: 0.65rem;
    color: #94a3b8;
    margin-top: 2px;
}

.horiz-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    padding-right: 70px;
    line-height: 1.2;
}

.horiz-meta {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 1rem;
}

.meta-sep {
    margin: 0 10px;
    opacity: 0.5;
}

.horiz-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem;
    margin-top: auto;
}

.stat-item {
    padding: 0 1.5rem;
    border-right: 1px solid #f1f5f9;
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.stat-item label {
    display: block;
    font-size: 0.6rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
    font-weight: 700;
}

.stat-item .val {
    font-weight: 700;
    color: #2563eb;
    font-size: 1rem;
}

.stat-item .val.dark {
    color: #475569;
}

.horiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px dotted #f1f5f9;
}

.tag-list {
    display: flex;
    gap: 6px;
}

.tag-item {
    background: #f8fafc;
    color: #64748b;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid #f1f5f9;
}

.footer-actions {
    display: flex;
    gap: 12px;
}

.btn-brochure {
    background: #f8fafc;
    color: #475569;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-brochure:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.btn-apply-now {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-apply-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.3);
    color: #fff !important;
    filter: brightness(1.05);
}

/* --- Clean Institutional Premium Aesthetics --- */
.page-hero {
    position: relative;
    padding: 80px 0 80px;
    /* Adjusted for tighter header */
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    color: #0f172a;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.section-padding {
    padding: 100px 0;
}

/* Grid Systems */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

/* Contact Page Layouts */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 40px;
}

.info-items {
    display: flex;
    flex-wrap: wrap;
    /* Allows wrapping on small screens */
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    flex: 1;
    /* Makes them equal width in one line */
    min-width: 200px;
    /* Prevents being too narrow */
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.info-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .info-items {
        flex-direction: column;
    }

    .page-hero {
        padding: 40px 0 40px;
        /* Optimized mobile padding */
    }

    .page-hero h1 {
        font-size: 1.8rem;
        letter-spacing: -0.5px;
    }

    .page-hero p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-tag {
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .responsive-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .responsive-grid .premium-card:last-child {
        grid-column: span 2;
    }

    .premium-card {
        padding: 20px 15px !important;
        border-radius: 12px !important;
    }

    .premium-card h3 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }

    .premium-card p {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }

    .premium-card div:first-child {
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }

    .legal-wrap {
        padding: 40px 20px;
    }
}

/* Legal Page Layouts */
.legal-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.03);
}

.legal-content h2 {
    font-size: 1.75rem;
    color: #0f172a;
    margin: 3rem 0 1.5rem;
    letter-spacing: -0.5px;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin: 2rem 0 1.25rem;
}

.legal-content p {
    color: #475569;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.legal-content ul {
    margin-bottom: 2rem;
    padding-left: 20px;
}

.legal-content li {
    color: #475569;
    margin-bottom: 12px;
    line-height: 1.7;
}

.legal-summary-box {
    background: #f8fafc;
    border-left: 4px solid #f97316;
    padding: 30px;
    border-radius: 0 16px 16px 0;
    margin-bottom: 40px;
}

.legal-summary-box p {
    margin-bottom: 0;
    font-style: italic;
    font-weight: 500;
}

.hero-tag {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.page-hero p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-wrap h2 {
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title-wrap p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Professional Card System */
.premium-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-align: left;
}

.premium-card:hover {
    transform: translateY(-8px);
    border-color: #f97316;
    box-shadow: 0 20px 40px -15px rgba(249, 115, 22, 0.1);
}

/* Clean Contact Wrap */
.glass-contact-wrap {
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.04);
}

/* Stat Box Refinement */
.stat-box {
    padding: 25px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: 0.3s;
}

.stat-box:hover {
    background: #fff;
    border-color: #f97316;
    transform: scale(1.05);
}

.stat-box b {
    font-size: 2.2rem;
    display: block;
    color: #f97316;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.stat-box span {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 80px;
        /* Adjusted for mobile header */
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title-wrap h2 {
        font-size: 2rem;
    }

    .glass-contact-wrap {
        padding: 30px 20px;
    }

    .responsive-grid {
        grid-template-columns: 1fr;
    }

    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .responsive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Premium Filter Sidebar --- */
/* Sidebar styling moved to end of file for responsive handling */

.prem-sidebar::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.filter-group {
    margin-bottom: 0;
    border-bottom: 1px solid #f1f5f9;
    padding: 2rem 1.5rem;
}

.filter-group:first-child {
    padding-top: 1.5rem;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-item:hover {
    color: #2563eb;
}

.filter-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #2563eb;
    border-radius: 6px;
    cursor: pointer;
}

.listing-header {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 2rem;
    border: 1px solid #eef2f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

@media (max-width: 768px) {
    .listing-header { 
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 1.25rem;
    }
    
    .sort-wrap {
        width: 100%;
        justify-content: flex-end;
    }
    
    .sort-select {
        flex: 0 1 auto;
        min-width: 130px;
    }
}

.results-count {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.sort-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-lbl {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C2.185 5.355 2.401 5 2.815 5h10.37a.823.823 0 0 1 .564 1.417l-4.796 5.483a.823.823 0 0 1-1.206 0z'/%3E%3C/svg%3E") no-repeat right 15px center;
    padding: 10px 40px 10px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    border: 1.5px solid #eef2f6;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
    min-width: 130px;
}

.sort-select:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.sort-select:focus {
    border-color: #f97316;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.listing-top-bar {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 0;
}

.listing-top-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-btn {
    color: #475569;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.back-btn:hover {
    color: #f97316;
    transform: translateX(-3px);
}

.listing-top-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Pagination Styles */
.listing-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 4rem 0;
    padding-top: 2.5rem;
    border-top: 1px solid #f1f5f9;
    grid-column: 1 / -1;
}

.pg-numbers {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pg-link, .pg-btn {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #eef2f6;
    background: #fff;
    color: #475569;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.pg-link {
    width: 46px;
}

.pg-btn {
    padding: 0 1.5rem;
    gap: 10px;
    color: var(--primary, #1e3a8a);
}

.pg-link:hover, .pg-btn:hover {
    border-color: var(--secondary, #ff8c00);
    color: var(--secondary, #ff8c00);
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(255, 140, 0, 0.1);
}

.pg-link.active {
    background: linear-gradient(135deg, var(--secondary, #ff8c00) 0%, var(--accent, #f59e0b) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
    transform: scale(1.08);
}

@media (max-width: 600px) {
    .listing-pagination {
        flex-direction: column;
        gap: 1.5rem;
    }
    .pg-numbers {
        order: 2;
    }
    .pg-next {
        width: 100%;
        order: 1;
    }
    .pg-prev {
        width: 100%;
        order: 3;
    }
}

/* --- Institutional Premium Footer --- */
.main-footer {
    background: #fff;
    border-top: 1px solid #f1f5f9;
    padding: 5rem 0 2rem;
    color: #475569;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-brand .footer-logo .logo-icon {
    width: 80px;
    height: 80px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
    font-size: 2.2rem;
    border: 5px solid #f97316;
}

.footer-brand .footer-logo span {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    line-height: 1;
}

.footer-brand .footer-logo span em {
    color: #f97316;
    font-style: normal;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 32px;
    height: 32px;
    background: #cbd5e1;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.82rem;
}

.social-link:hover {
    background: #f97316;
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #475569;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #f97316;
}

.footer-support {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.support-item {
    display: flex;
    gap: 15px;
}

.support-item i {
    font-size: 1.1rem;
    color: #f97316;
    margin-top: 4px;
}

.support-info b {
    display: block;
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.support-info span {
    font-size: 0.8rem;
    color: #94a3b8;
}

.support-item.email i {
    color: #f97316;
}

.support-item.email a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.support-item.email a:hover {
    color: #f97316;
}

.download-wrap p {
    font-size: 0.82rem;
    margin-bottom: 1.5rem;
}

.app-btns {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1e293b;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s;
}

.app-btn:hover {
    background: #0f172a;
    transform: scale(1.02);
}

.app-btn i {
    font-size: 1rem;
}

.app-btn-text span {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.7;
}

.app-btn-text b {
    font-size: 0.75rem;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid #f1f5f9;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 25px;
}

.footer-legal-links a {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: #f97316;
}

/* Footer Responsiveness */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .main-footer {
        padding: 3rem 0 1.5rem;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .footer-brand .footer-logo {
        justify-content: flex-start;
    }

    .footer-brand .footer-logo .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        border-width: 4px;
    }

    .footer-brand .footer-logo span {
        font-size: 2rem;
    }

    .footer-brand p {
        margin: 0 0 1.5rem;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-support {
        align-items: flex-start;
    }

    .support-item {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
    }

    .app-btns {
        justify-content: flex-start;
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-top: 1.5rem;
        align-items: center;
    }

    .footer-legal-links {
        width: 100%;
        justify-content: center;
        gap: 20px;
        margin-top: 10px;
    }
}

/* --- Comparison Platform High-Fidelity UI --- */
.page-hero.compare-hero {
    background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
    padding: 140px 0 120px;
}

.compare-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: -100px;
    position: relative;
    z-index: 20;
    align-items: stretch;
}

.compare-slot-box {
    background: #fff;
    border-radius: 20px;
    border: 2px dashed #e2e8f0;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-height: 250px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.compare-slot-box.filled {
    border: 1px solid #f1f5f9;
    border-style: solid;
    box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.1);
}

.compare-slot-box:hover {
    border-color: #f97316;
    transform: translateY(-5px);
}

.slot-icon-add {
    width: 50px;
    height: 50px;
    background: #fff7ed;
    color: #f97316;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.slot-selector {
    width: 100%;
    margin-top: 10px;
    border: 1.5px solid #f1f5f9;
    border-radius: 10px;
    padding: 8px;
    font-size: 0.85rem;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}

.filled-slot-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 15px;
}

.filled-slot-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slot-remove-btn {
    margin-top: auto;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.compare-table-container {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin: 60px 0;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1000px;
}

.compare-table th {
    background: #fcfcfc;
    padding: 30px;
    border-bottom: 2px solid #f1f5f9;
    font-weight: 800;
    color: #0f172a;
    font-size: 1.1rem;
}

.compare-table td {
    padding: 25px 30px;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
    font-size: 0.95rem;
    color: #475569;
}

.compare-table tr td:first-child {
    text-align: left;
    background: #fafafb;
    font-weight: 700;
    color: #0f172a;
    width: 260px;
    position: sticky;
    left: 0;
    z-index: 10;
    border-right: 1px solid #f1f5f9;
}

.badge-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fef3c7;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

.compare-fees {
    font-size: 1.1rem;
    font-weight: 800;
    color: #f97316;
}

@media (max-width: 1024px) {
    .compare-slots-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .compare-slots-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: -50px;
    }

    .compare-slot-box {
        padding: 20px 10px;
        min-height: 180px;
        border-radius: 10px;
    }

    .slot-icon-add {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .filled-slot-img {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .filled-slot-name {
        font-size: 0.75rem;
    }

    .slot-selector {
        font-size: 0.75rem;
        padding: 6px;
    }

    .slot-remove-btn {
        font-size: 0.65rem;
        padding: 5px;
    }

    .compare-hero {
        padding: 80px 0 60px !important;
    }

    .compare-table-container {
        margin: 30px 0;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .compare-table {
        min-width: 750px;
    }

    .compare-table th {
        padding: 20px 10px;
        font-size: 0.85rem;
    }

    .compare-table td {
        padding: 15px 10px;
        font-size: 0.8rem;
    }

    .compare-table tr td:first-child {
        width: 100px;
        font-size: 0.75rem;
        padding: 15px 10px;
        line-height: 1.3;
    }

    .badge-rating {
        padding: 2px 6px;
        font-size: 0.75rem;
    }

    .compare-fees {
        font-size: 0.82rem;
    }
}

/* --- Search Modal UI --- */
.hdr-search-trigger {
    background: #f8fafc;
    border: 1.5px solid #eef2f6;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 15px;
}

.hdr-search-trigger:hover {
    background: #fff7ed;
    color: #f97316;
    border-color: #fdba74;
    transform: translateY(-2px);
}

.hdr-search-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.hdr-search-modal.active {
    display: flex;
}

.search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.search-modal-content {
    position: relative;
    width: 92%;
    max-width: 700px;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.25);
    animation: searchSlideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes searchSlideDown {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.search-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.search-close {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.search-close:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #eef2f6;
    border-radius: 16px;
    padding: 8px 8px 8px 24px;
    transition: all 0.3s;
}

.search-input-wrapper:focus-within {
    border-color: #f97316;
    background: white;
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.1);
}

.search-input-wrapper i {
    font-size: 1.2rem;
    color: #94a3b8;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: #1e293b;
    outline: none;
}

.search-input-wrapper button {
    background: #ea580c;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.search-input-wrapper button:hover {
    background: #c2410c;
    transform: scale(1.05);
}

.search-suggestions {
    margin-top: 30px;
}

.suggestion-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-tags a {
    background: #f8fafc;
    color: #475569;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid #eef2f6;
    transition: all 0.2s;
}

.suggestion-tags a:hover {
    background: #fff7ed;
    color: #f97316;
    border-color: #fdba74;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hdr-search-trigger {
        margin-right: 8px;
        width: 40px;
        height: 40px;
    }

    .search-modal-content {
        padding: 25px;
        margin-top: -20px;
        width: 95%;
    }

    .search-input-wrapper {
        padding: 4px 4px 4px 15px;
    }

    .search-input-wrapper input {
        padding: 10px;
        font-size: 1rem;
    }

    .search-input-wrapper button {
        padding: 8px 15px;
        font-size: 0.82rem;
    }
}

/* --- Mobile Header Overhaul --- */
@media (max-width: 1024px) {
    .hdr-new {
        padding-bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .hdr-main {
        padding: 5px 0;
    }

    .hdr-main-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0;
        padding: 0 8px;
    }

    .hdr-left {
        display: flex !important;
        align-items: center !important;
        gap: 6px;
    }

    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        padding: 2px !important;
    }

    .menu-toggle .bar {
        width: 18px !important;
        height: 1.5px !important;
        background: #0f172a !important;
        border-radius: 10px !important;
    }

    .hdr-logo-area {
        display: flex !important;
        align-items: center !important;
    }

    .main-logo-img {
        height: 42px !important;
        width: auto !important;
        margin: 0 !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.02));
    }

    /* User Profile Slimming */
    .hdr-user-name,
    .hdr-user-btn i,
    .hdr-user-dropdown {
        display: none !important;
    }

    .hdr-user-btn {
        padding: 0 !important;
        background: none !important;
        box-shadow: none !important;
    }

    .hdr-avatar {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.8rem !important;
    }

    .hdr-actions {
        display: flex !important;
        align-items: center !important;
        gap: 15px;
    }

    /* Sign In Pill */
    .hdr-signup-pill {
        background: #f97316;
        color: #fff;
        padding: 9px 20px;
        border-radius: 10px;
        font-weight: 700;
        font-size: 0.85rem;
        text-decoration: none;
        white-space: nowrap;
        box-shadow: 0 4px 10px rgba(249, 115, 22, 0.15);
        transition: all 0.2s ease;
    }

    /* Mobile Persistent Search */
    .hdr-mobile-search {
        display: block !important;
        padding: 4px 14px 5px;
        background: transparent;
    }

    .mob-search-input-wrap {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
    }

    .mob-search-input-wrap i {
        position: absolute;
        left: 16px;
        color: #64748b;
        font-size: 0.82rem;
        z-index: 2;
    }

    .mob-search-form input {
        width: 100%;
        background: #f8fafc;
        border: 1px solid #eef2f6;
        border-radius: 14px;
        padding: 12px 18px 12px 42px;
        font-size: 0.82rem;
        font-weight: 500;
        color: #1e293b;
        outline: none;
        transition: all 0.2s ease;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    }

    .mob-search-form input:focus {
        border-color: #f97316;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }
}

@media (min-width: 1025px) {

    .hdr-mobile-search,
    .hdr-notif-btn,
    .hdr-signup-pill {
        display: none !important;
    }
}

/* --- Global Responsive Utilities --- */
.responsive-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.text-success {
    color: #10b981;
}

/* --- Platform Features Section --- */
.platform-features-section {
    padding: 3rem 0 5rem 0;
    background: #fff;
}

.platform-title {
    font-size: 24px;
    color: #1e293b;
    font-weight: 800;
    margin-bottom: 4rem;
}

.platform-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px 20px;
}

.platform-feature-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.platform-feature-item:hover {
    transform: translateY(-8px);
}

.platform-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.platform-feature-label {
    font-weight: 700;
    color: #334155;
    font-size: 1rem;
}

/* --- Expert Counseling CTA --- */
.expert-counseling-section {
    padding: 5rem 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.counseling-cta-card {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.counseling-cta-content {
    flex: 1.2;
    padding: 5rem 4rem;
}

.counseling-cta-title {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.counseling-cta-desc {
    color: var(--text-mid);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

`n.counseling-cta-list {
    list-style: none;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.counseling-cta-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.counseling-cta-btn {
    padding: 1.2rem 2.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
}

.counseling-cta-image {
    flex: 0.8;
    background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=800&q=80') center/cover;
}

@media (max-width: 1024px) {
    .counseling-cta-card {
        flex-direction: column;
    }

    .counseling-cta-image {
        height: 300px;
        order: -1;
    }

    .counseling-cta-content {
        padding: 3rem 2rem;
        text-align: center;
    }

    .counseling-cta-list {
        display: inline-block;
        text-align: left;
    }

    .platform-title {
        font-size: 1.75rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 640px) {
    .counseling-cta-title {
        font-size: 1.75rem;
    }

    .counseling-cta-desc {
        font-size: 1rem;
    }

    .platform-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px 10px;
    }

    .platform-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .platform-feature-label {
        font-size: 0.8rem;
    }
}

/* Defaults for mobile-specific elements */
.sidebar-mobile-header, 
.mobile-filter-trigger, 
.filter-overlay {
    display: none !important;
}

/* Base Sidebar Styles (Desktop) */
.prem-sidebar {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 115px;
    height: calc(100vh - 115px);
    border-radius: 10px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border: 1px solid #f1f5f9;
}

    .prem-sidebar::-webkit-scrollbar {
        display: none;
    }

    /* Responsive Grid Configuration */
    .listing-main-grid {
        display: grid;
        grid-template-columns: 320px 1fr;
        gap: 2.5rem;
        align-items: start;
    }

    @media (max-width: 991px) {
        .listing-main-grid {
            grid-template-columns: 1fr;
        }

        .mobile-filter-trigger {
            display: flex !important;
        }

        .prem-sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: 320px;
            max-width: 85%;
            height: 100dvh; 
            z-index: 2000;
            background: #fff;
            transform: translateX(-100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: block !important;
            visibility: visible;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            box-shadow: 15px 0 30px rgba(0,0,0,0.1);
            border-radius: 0 15px 15px 0; /* Only right corners for a slide-out look */
        }

    .prem-sidebar.active {
        transform: translateX(0);
    }

    .sidebar-mobile-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        background: #fff;
        border-bottom: 1px solid #f1f5f9;
        position: sticky;
        top: 0;
        z-index: 2001;
    }

    .sidebar-mobile-header h3 {
        margin: 0;
        font-size: 1rem;
        font-weight: 800;
        color: #0f172a;
    }

    .close-sidebar {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        background: #fff;
        border: 1.5px solid #f1f5f9;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1e293b;
        cursor: pointer;
        padding: 0;
        font-size: 1.1rem;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2010;
    }

    .close-sidebar:active {
        transform: scale(0.9);
        background: #f8fafc;
    }

    .sidebar-content {
        padding: 0 0 100px 0; /* Extra space for mobile bottom bar */
    }

    .filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        z-index: 1000;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .filter-overlay.active {
        display: block !important;
        opacity: 1;
    }

    .mobile-filter-trigger {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #fff;
        border: 1.5px solid #eef2f6;
        padding: 10px 15px;
        border-radius: 10px;
        font-size: 0.85rem;
        font-weight: 700;
        color: #1e293b;
        cursor: pointer;
    }

    .listing-h-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .listing-top-bar {
        display: block !important;
        padding: 0.85rem 0;
        border-bottom: 1px solid #f1f5f9;
        background: #fff;
    }

    .listing-top-title {
        font-size: 0.95rem !important;
    }

    .back-btn {
        font-size: 0.9rem;
    }

    .listing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Tablet Optimizations (Keep sidebar but narrower) */
@media (min-width: 992px) and (max-width: 1200px) {
    .listing-main-grid {
        grid-template-columns: 260px 1fr;
        gap: 1.5rem;
    }
    
    .horiz-img-wrap {
        width: 200px;
    }
    
    .horiz-content {
        padding: 1rem 1.25rem;
    }

    .horiz-title {
        font-size: 1.1rem;
    }
    
    .horiz-stats {
        gap: 1.25rem;
    }

    .footer-actions {
        gap: 8px;
    }
}

.horiz-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid #f1f5f9;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .horiz-card {
        flex-direction: column;
    }

    .horiz-img-wrap {
        width: 100%;
        height: 200px;
        min-height: auto;
    }

    .horiz-content {
        padding: 1.5rem;
    }

    .horiz-meta {
        flex-wrap: wrap;
        gap: 0;
    }

    .meta-sep {
        display: none;
    }

    .horiz-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .horiz-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding-top: 1rem;
    }

    .stat-item {
        padding: 0 5px;
        border-right: 1px solid #f1f5f9;
        text-align: center;
    }

    .stat-item:last-child {
        border-right: none;
    }

    .footer-actions {
        flex-direction: row;
        width: 100%;
        gap: 8px;
    }

    .btn-brochure,
    .btn-apply-now {
        flex: 1;
        padding: 8px 10px;
        font-size: 0.75rem;
        border-radius: 8px;
        justify-content: center;
        white-space: nowrap;
    }
}

/* Mobile Typography Overrides */
@media (max-width: 767px) {

    h2,
    .ex-panel-header h2,
    .section-title-wrap h2,
    .platform-title,
    .counseling-cta-title {
        font-size: clamp(1.1rem, 4vw, 1.5rem) !important;
    }
}

.mob-drw-nav-wrap {
    padding: 10px 20px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.mob-drw-nav-wrap .mob-nav-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
}


/* Hide desktop-only line breaks on mobile */
@media (max-width: 1024px) {
    .br-desktop {
        display: none;
    }
}

/* --- Professional Mobile Bottom Navigation --- */
.mob-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    display: none;
    /* Hidden on desktop */
    justify-content: space-around;
    align-items: center;
    padding: 10px 0 12px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.06);
    z-index: 5000; /* Always on top of drawers */
    border-top: 1px solid #f1f5f9;
}

.mb-nav-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
    color: #64748b;
    transition: all 0.2s;
}

.mb-nav-item i {
    font-size: 1.3rem;
}

.mb-nav-item span {
    font-size: 0.75rem;
    font-weight: 600;
}

.mb-nav-item.active,
.mb-nav-item:hover {
    color: #f97316;
}

.mb-nav-item.active i,
.mb-nav-item:hover i {}

.mb-nav-item.active::after {
    content: '';
    width: 5px;
    height: 5px;
    background: #f97316;
    border-radius: 50%;
    margin-top: 2px;
}

/* Call Us (Center Item) */
.center-item {
    color: #059669 !important;
}

.mb-call-icon {
    width: 48px;
    height: 48px;
    background: #059669;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-top: -30px;
    box-shadow: 0 -4px 15px rgba(5, 150, 105, 0.2);
    border: 4px solid #fff;
}

.mb-free-badge {
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 5px;
    white-space: nowrap;
}

.mb-free-badge::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #10b981;
}

@media (max-width: 768px) {
    .mob-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 75px;
    }
}

/* Call Icon Animation */
.mb-call-icon {
    animation: ringPulse 2.5s infinite;
}

@keyframes ringPulse {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    15% {
        transform: translateY(-5px) scale(1.1) rotate(15deg);
    }

    30% {
        transform: translateY(-5px) scale(1.1) rotate(-15deg);
    }

    45% {
        transform: translateY(-5px) scale(1.1) rotate(0);
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }

    60% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

/* --- Clean Desktop Header Search --- */
.hdr-desktop-search {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
}

.dsk-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.dsk-search-form i {
    position: absolute;
    left: 20px;
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
}

.dsk-search-form input {
    width: 100%;
    height: 48px;
    padding: 12px 20px 12px 50px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.95rem;
    color: #334155;
    outline: none;
    transition: all 0.2s ease;
}

.dsk-search-form input:focus {
    border-color: #f97316;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-kbd {
    display: none;
    /* Removed for cleaner look */
}

@media (max-width: 1400px) {
    .hdr-desktop-search {
        max-width: 400px;
        margin: 0 30px;
    }
}

@media (max-width: 1240px) {
    .hdr-desktop-search {
        max-width: 320px;
        margin: 0 20px;
    }
}

@media (max-width: 1024px) {
    .hdr-desktop-search {
        display: none;
    }
}

/* --- Full Screen Search Overlay --- */
.hdr-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.hdr-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-header {
    padding: 20px 5%;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.search-back-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #475569;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.2s;
}

.search-back-btn:hover {
    background: #f1f5f9;
}

.overlay-search-form {
    flex: 1;
    max-width: 800px;
    position: relative;
    display: flex;
    align-items: center;
}

.overlay-search-form i {
    position: absolute;
    left: 20px;
    color: #94a3b8;
    font-size: 1.1rem;
}

.overlay-search-form input {
    width: 100%;
    padding: 14px 20px 14px 55px;
    background: #f1f5f9;
    border: 2.5px solid transparent;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    transition: all 0.3s;
}

.overlay-search-form input:focus {
    background: #fff;
    border-color: #f97316;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.search-overlay-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 100px;
    text-align: center;
}

.search-hero-icon {
    margin-bottom: 25px;
}

.hero-icon-circle {
    width: 80px;
    height: 80px;
    background: #fff8f1;
    color: #f97316;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.1);
}

.search-overlay-body h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.search-overlay-body p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 40px;
}

.popular-searches {
    width: 100%;
    max-width: 600px;
}

.popular-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.popular-tags a {
    padding: 10px 22px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}

.popular-tags a:hover {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(249, 115, 22, 0.2);
}

.mob-drw-search-input-placeholder {
    width: 100%;
    padding: 14px 18px 14px 48px;
    background: #ffffff;
    border: 1.5px solid #f1f5f9;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #94a3b8;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.mob-drw-search-input-placeholder i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

/* --- Overriding and Refining Search Overlay --- */
.hdr-search-overlay {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.search-overlay-body {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    justify-content: flex-start !important;
    padding-top: 80px !important;
}

@media (max-width: 768px) {
    .search-overlay-header {
        padding: 15px 20px;
    }

    .search-overlay-body h2 {
        font-size: 1.6rem;
    }

    .search-overlay-body p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .hero-icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .popular-tags a {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

.search-overlay-header {
    justify-content: center;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.search-overlay-body {
    padding: 100px 20px !important;
}

/* --- Highly Attractive Search Overlay Design --- */
.hdr-search-overlay {
    background: radial-gradient(circle at top right, #fffdfa 0%, #ffffff 100%);
}

.search-overlay-header {
    padding: 30px 5%;
    border-bottom: none;
    background: transparent;
}

.overlay-search-form input {
    height: 60px;
    padding: 0 30px 0 65px;
    background: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 1.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.overlay-search-form input:focus {
    box-shadow: 0 20px 50px rgba(249, 115, 22, 0.1);
    transform: translateY(-2px);
}

.hero-icon-circle {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #f97316;
    font-size: 3rem;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.15);
    border: 4px solid #fff;
    animation: heroIconFloat 4s ease-in-out infinite;
}

@keyframes heroIconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.search-overlay-body h2 {
    font-size: 2.8rem;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.popular-tags a {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1.5px solid #f1f5f9;
    border-radius: 16px;
    font-size: 1rem;
    color: #475569;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popular-tags a:hover {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.3);
}

@media (max-width: 768px) {
    .search-overlay-body h2 {
        font-size: 2rem;
    }

    .overlay-search-form input {
        height: 55px;
        font-size: 1.1rem;
    }
}

/* --- Minimalist & Compact Search Overlay --- */
.overlay-search-form input {
    height: 48px !important;
    font-size: 0.95rem !important;
    border-radius: 12px !important;
    max-width: 600px;
    margin: 0 auto;
}

.hero-icon-circle {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
}

.search-overlay-body h2 {
    font-size: 1.5rem !important;
    margin-bottom: 8px !important;
}

.search-overlay-body p {
    font-size: 0.9rem !important;
    margin-bottom: 30px !important;
}

.popular-label {
    font-size: 0.7rem !important;
    margin-bottom: 15px !important;
}

.popular-tags a {
    padding: 8px 18px !important;
    font-size: 0.85rem !important;
    border-radius: 12px !important;
}

/* --- Separated Search Icon Styles --- */
.overlay-search-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    max-width: 800px;
}

.overlay-search-icon {
    font-size: 1.2rem;
    color: #94a3b8;
    flex-shrink: 0;
}

.overlay-search-form {
    flex: 1;
}

.overlay-search-form input {
    padding: 0 20px !important;
    text-align: center;
    background: #f8fafc !important;
    box-shadow: none !important;
    border: 1px solid transparent !important;
}

.overlay-search-form input:focus {
    background: #fff !important;
    border-color: #f1f5f9 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

.overlay-search-form {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.overlay-search-form i {
    position: absolute;
    left: 18px;
    z-index: 5;
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
}

.overlay-search-form input {
    padding-left: 50px !important;
}

.overlay-search-form i {
    top: 50%;
    transform: translateY(-50%);
    left: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-search-form i {
    left: 24px !important;
}

.overlay-search-form i {
    left: 15px !important;
}

.overlay-search-form i {
    left: 28px !important;
}

.overlay-search-form i {
    left: 40px !important;
}

.overlay-search-form input {
    padding-left: 75px !important;
}

.footer-main-logo {
    height: 85px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
}

.footer-main-logo:hover {
    transform: scale(1.05);
}

.footer-main-logo {
    height: 65px !important;
}

.footer-logo {
    display: block;
    margin-bottom: 25px !important;
}

.footer-main-logo {
    margin-bottom: 0px !important;
}

.footer-logo {
    margin-bottom: 5px !important;
    display: inline-block;
}

.vid-center {
    margin-bottom: 20px !important;
}

.vc-sub {
    margin: 10px auto 0 !important;
}

.vid-center {
    margin-bottom: 5px !important;
}

.vc-sub {
    margin: 5px auto 0 !important;
}

.vc-sub {
    margin: 25px auto 0 !important;
}

.vc-sub {
    margin: 35px auto 0 !important;
}

/* --- PDF Rendering Overrides --- */
.pdf-render-mode {
    font-size: 13px !important;
}

.pdf-render-mode h2 {
    font-size: 22px !important;
}

.pdf-render-mode .compare-table th {
    padding: 10px !important;
    font-size: 12px !important;
}

.pdf-render-mode .compare-table td {
    padding: 8px !important;
    font-size: 11px !important;
}

.pdf-render-mode .badge-rating {
    padding: 4px 8px !important;
    font-size: 10px !important;
}

.pdf-render-mode i {
    font-size: 12px !important;
}

.pdf-render-mode .pdf-only-header img {
    height: 40px !important;
}


/* --- Ultramini PDF Mode for 4-way comparisons --- */
.pdf-render-mode {
    width: 100% !important;
    min-width: auto !important;
}

.pdf-render-mode .compare-table {
    min-width: auto !important;
    width: 100% !important;
    table-layout: fixed !important;
}

.pdf-render-mode .compare-table th,
.pdf-render-mode .compare-table td {
    padding: 6px 4px !important;
    font-size: 10px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.pdf-render-mode .compare-table tr td:first-child {
    width: 140px !important;
    font-size: 10px !important;
}

.pdf-render-mode .pdf-only-header h2 {
    font-size: 18px !important;
}

.pdf-render-mode .badge-rating {
    font-size: 9px !important;
    padding: 2px 5px !important;
}


/* --- Mentor Section --- */
.mentors-section {
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.05), transparent 40%),
        #020617;
    padding: 2rem 0 6rem 0;
    /* Reduced top padding */
    color: white;
    overflow: hidden;
    position: relative;
}

/* Premium Grid Pattern Overlay */
.mentors-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(148, 163, 184, 0.05) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.mnt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.mnt-title-area .mnt-subtitle {
    display: block;
    color: #f97316;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.mnt-title-area h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.mnt-title-area h2 span {
    color: #f97316;
}

.mnt-title-area p {
    color: #94a3b8;
    font-size: 1.1rem;
}

.mnt-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fffafa;
    color: #f97316;
    padding: 5px 14px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    margin-top: -5px;
}

@media (max-width: 768px) {
    .mnt-view-all {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
}

.mnt-view-all i {
    font-size: 0.75rem;
    line-height: 1;
}

.mnt-view-all:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mentor-card-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
}

.mentor-card-grid::-webkit-scrollbar {
    display: none;
}

.mentor-card {
    flex: 0 0 280px;
    background: #1e293b;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

.mentor-card:hover {
    background: #232f44;
    transform: translateY(-8px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mnt-img-wrap {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    position: relative;
    border-radius: 20px;
    padding: 4px;
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.mnt-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #1e293b;
}

.mnt-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border: 2px solid #1e293b;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.mentor-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mnt-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.mnt-meta {
    margin-bottom: 1.5rem;
}

.mnt-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #f97316;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.mnt-exp {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
}

.mnt-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #f97316;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mnt-btn:hover {
    background: #ea580c;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

/* Mentor Profile Hero Styles */
.mnt-hero-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.mnt-hero-img-box {
    width: 130px;
    height: 130px;
    position: relative;
    border-radius: 20px;
    padding: 4px;
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.mnt-hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #020617;
}

.mnt-hero-status {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    background: #22c55e;
    border: 3px solid #020617;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.mnt-hero-info {
    color: white;
}

.mnt-hero-info h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mnt-hero-info h1 i {
    color: #3b82f6;
    font-size: 1.2rem;
}

.mnt-hero-meta-title {
    font-size: 1rem;
    font-weight: 600;
    color: #f97316;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.mnt-hero-badges {
    display: flex;
    gap: 10px;
}

.mnt-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mnt-badge i.fa-star {
    color: #fbbf24;
    font-size: 0.75rem;
}

.mnt-badge i.fa-briefcase {
    color: #f97316;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .mnt-hero-wrapper {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 1.5rem;
    }

    .mnt-hero-info h1 {
        justify-content: center;
    }

    .mnt-hero-badges {
        justify-content: center;
    }

    .mentors-section {
        padding: 4.5rem 0 4rem 0 !important;
    }
}

/* Mentor Profile Main Content Styles */
.mnt-profile-main {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.mnt-tabs-container {
    display: flex;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    padding: 0 1rem;
}

.mnt-tab-btn {
    padding: 16px 30px;
    background: none;
    border: none;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.2s;
}

.mnt-tab-btn.active {
    color: #f97316;
    font-weight: 800;
}

.mnt-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f97316;
}

@media (max-width: 768px) {
    .mnt-tabs-container {
        justify-content: center;
        padding: 0;
    }

    .mnt-tab-btn {
        padding: 16px 15px;
        flex: 1;
        font-size: 0.85rem;
    }
}

/* Mentor Profile Sidebar Options */
.booking-option {
    background: #fff;
    border: 1.5px solid #f1f5f9;
    padding: 1rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-option:hover,
.booking-option.active {
    border-color: #f97316;
    background: #fdf2f2;
}

.booking-option.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1);
}

.bo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.3s;
}

.booking-option:hover .bo-icon,
.booking-option.active .bo-icon {
    background: #f97316;
    color: white;
}

.bo-title {
    display: block;
    font-size: 0.95rem;
    color: #1e293b;
}

.bo-meta {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.mnt-slot-trigger {
    width: 100%;
    padding: 15px;
    background: #f97316;
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
    transition: all 0.3s ease;
}

.mnt-slot-trigger:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(249, 115, 22, 0.35);
}

/* --- Mentor Selection Modal --- */
.mnt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mnt-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mnt-modal-content {
    background: white;
    width: 92%;
    max-width: 500px;
    border-radius: 30px;
    overflow: hidden;
    transform: translateY(40px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.mnt-modal-overlay.active .mnt-modal-content {
    transform: translateY(0);
}

.modal-h {
    padding: 1.25rem 1.5rem 1rem;
    /* Reduced header padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-h h2 {
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 800;
}

/* Slightly smaller header title */

.modal-close {
    width: 32px;
    /* Smaller close button */
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.modal-b {
    padding: 0 1.5rem 1.5rem;
}

/* Reduced body padding */

.modal-label {
    display: block;
    font-size: 0.65rem;
    /* Smaller label */
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    /* Tighter margin */
}

.modal-type-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    /* Tighter margin */
}

.type-opt {
    flex: 1;
    padding: 10px;
    /* Reduced padding */
    background: #f8fafc;
    border: 1.5px solid #f1f5f9;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.type-opt i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.type-opt.active {
    background: #fdf2f2;
    border-color: #f97316;
    color: #f97316;
}

.type-opt.active i {
    color: #f97316;
    opacity: 1;
}

.modal-date-row {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    /* Tighter margin */
}

.date-card {
    flex: 1;
    background: #f8fafc;
    border: 1.5px solid #f1f5f9;
    padding: 8px 6px;
    /* Reduced padding */
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.date-card .dc-m {
    display: block;
    font-size: 0.6rem;
    font-weight: 800;
    color: #94a3b8;
}

.date-card .dc-d {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin: 1px 0;
}

.date-card .dc-w {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
}

.date-card.active {
    background: #f97316;
    border-color: #f97316;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.date-card.active span {
    color: white !important;
}

.modal-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 1.5rem;
    /* Tighter margin */
}

.time-slot {
    padding: 10px;
    /* Reduced padding */
    background: #f8fafc;
    border: 1.5px solid #f1f5f9;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.time-slot.active {
    background: #f97316;
    border-color: #f97316;
    color: white;
    box-shadow: 0 8px 15px rgba(249, 115, 22, 0.25);
}

.modal-confirm-btn {
    width: 100%;
    padding: 14px;
    /* Reduced padding */
    background: #f97316;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
    transition: all 0.3s;
}
}

.modal-confirm-btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.5);
}

@media (max-width: 768px) {
    .modal-time-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .date-card .dc-d {
        font-size: 1.1rem;
    }

    .modal-b {
        padding: 0 1.5rem 2rem;
    }
}

/* Fixed Mobile Booking Bar */
.mnt-mobile-book-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 0.75rem 1.25rem calc(75px + 0.75rem);
    /* Slimmer padding */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
}

.mbb-info {
    display: flex;
    flex-direction: column;
}

.mbb-label {
    font-size: 0.6rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.mbb-value {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1e293b;
}

.mbb-btn {
    padding: 9px 20px;
    /* Reduced button padding */
    background: #f97316;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.85rem;
    /* Smaller button text */
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

@media (max-width: 768px) {
    .mnt-mobile-book-bar {
        display: flex;
    }

    /* Ensure page is not hidden behind the bars */
    body {
        padding-bottom: 80px;
        /* Aligns footer with mobile nav bar */
    }

    .mnt-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Searchable Dropdown Component */
.search-dropdown-wrap {
    position: relative;
    width: 100%;
    margin-top: 15px;
}

.search-dropdown-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.search-dropdown-input-wrap i {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 0.85rem;
}

.search-dropdown-input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    transition: all 0.3s;
    background: #fff;
}

.search-dropdown-input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.05);
}

.search-dropdown-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1.5px solid #edf2f7;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    z-index: 100;
    display: none;
    scrollbar-width: thin;
}

.search-dropdown-list.open {
    display: block;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-dropdown-item {
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #f8fafc;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.search-dropdown-item:last-child {
    border-bottom: none;
}

.search-dropdown-item:hover {
    background: #fff7ed;
    color: #f97316;
}

.search-dropdown-item i {
    font-size: 0.75rem;
    opacity: 0.6;
    flex-shrink: 0;
}

.search-dropdown-no-results {
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
}