/*
|--------------------------------------------------------------------------
| MyMBAPlan Hybrid Homepage
|--------------------------------------------------------------------------
| Scoped to .mp-homepage wherever possible. This stylesheet is loaded only
| on the homepage and intentionally avoids replacing global application CSS.
*/

.mp-homepage {
    --mph-ink: #102653;
    --mph-muted: #65738b;
    --mph-blue: #245fe5;
    --mph-blue-dark: #123b9b;
    --mph-cyan: #66e2e8;
    --mph-orange: #ff914d;
    --mph-line: #e5ebf4;
    --mph-soft: #f5f8fd;
    color: var(--mph-ink);
    overflow: clip;
}

.mp-homepage *,
.mp-homepage *::before,
.mp-homepage *::after {
    box-sizing: border-box;
}

.mp-homepage .mp-section {
    padding: clamp(58px, 6vw, 88px) 0;
    background: #fff;
}

.mp-homepage .mp-section-soft {
    background:
        radial-gradient(circle at 5% 5%, rgba(37, 99, 235, .055), transparent 28%),
        #f6f9fe;
}

.mp-homepage .mp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--mph-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.mp-homepage .mp-section-title {
    max-width: 780px;
    margin: 0 0 13px;
    color: var(--mph-ink);
    font-size: clamp(29px, 3vw, 42px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.mp-homepage .mp-section-copy {
    max-width: 720px;
    margin: 0;
    color: var(--mph-muted);
    font-size: 16px;
    line-height: 1.75;
}

.mp-homepage .mp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mph-blue);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.mp-homepage .mp-link:hover {
    color: var(--mph-blue-dark);
    gap: 12px;
}

.mp-homepage .mp-link,
.mp-homepage .mp-link i {
    transition: .2s ease;
}

/* Compact top bar and navigation: these classes are homepage-specific. */
.mp-site-topbar {
    padding: 7px 0 !important;
    background: linear-gradient(90deg, #123d78 0%, #245fe5 58%, #e87525 100%) !important;
}

.mp-site-topbar a,
.mp-site-topbar .mp-logout-link {
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600;
    text-decoration: none;
}

.mp-site-topbar a {
    margin-right: 20px;
}

.mp-site-topbar a:hover,
.mp-site-topbar .mp-logout-link:hover {
    color: #ffe0bd !important;
}

.mp-site-topbar .mp-logout-link {
    padding: 0;
    margin-left: 12px;
}

.mp-site-navbar {
    min-height: 78px;
    padding: 9px 0 !important;
    border-bottom: 1px solid rgba(16, 38, 83, .07);
    box-shadow: 0 5px 22px rgba(16, 38, 83, .055);
    z-index: 1030;
}

.mp-site-navbar .brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin: 0;
    padding: 0;
}

.mp-site-navbar .brand-logo {
    display: block;
    width: min(205px, 24vw);
    height: auto;
    max-height: 46px;
    object-fit: contain;
}

.mp-site-navbar .brand-byline {
    color: #33415d;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.mp-site-navbar .navbar-nav {
    gap: 3px;
}

.mp-site-navbar .nav-link {
    position: relative;
    margin: 0 3px !important;
    padding: 11px 10px !important;
    color: #17243d !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease;
}

.mp-site-navbar .nav-link::after {
    position: absolute;
    right: 10px;
    bottom: 4px;
    left: 10px;
    height: 2px;
    content: "";
    background: var(--mph-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.mp-site-navbar .nav-link:hover,
.mp-site-navbar .nav-link.active {
    color: var(--mph-blue) !important;
}

.mp-site-navbar .nav-link:hover::after,
.mp-site-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.mp-site-navbar .nav-compare {
    padding-inline: 13px !important;
    color: #fff !important;
    background: var(--mph-blue);
    border-radius: 10px;
}

.mp-site-navbar .nav-compare::after {
    display: none;
}

.mp-site-navbar .nav-compare:hover {
    color: #fff !important;
    background: var(--mph-blue-dark);
}

.mp-site-navbar .dropdown-menu {
    min-width: 220px;
    padding: 8px;
    border: 1px solid var(--mph-line);
    border-radius: 13px;
}

.mp-site-navbar .dropdown-item {
    border-radius: 8px;
    color: var(--mph-ink);
    font-size: 13px;
    font-weight: 600;
}

.mp-site-navbar .dropdown-item:hover {
    color: var(--mph-blue);
    background: #f0f5ff;
}

/* Hybrid cinematic hero. */
.mp-homepage .mp-slider-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 690px;
    padding: clamp(60px, 7vw, 88px) 0 58px;
    overflow: hidden;
    color: #fff;
    background: #0a285d;
}

.mp-homepage .mp-hero-backgrounds,
.mp-homepage .mp-hero-shade {
    position: absolute;
    z-index: -3;
    inset: 0;
}

.mp-homepage .mp-hero-bg {
    position: absolute;
    inset: 0;
    background-color: #163c7c;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.045);
    transition: opacity 1s ease, transform 7s ease;
}

.mp-homepage .mp-hero-bg.is-active {
    opacity: 1;
    transform: scale(1);
}

.mp-homepage .mp-hero-shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 24, 59, .94) 0%, rgba(10, 43, 94, .83) 52%, rgba(21, 39, 91, .76) 100%),
        linear-gradient(0deg, rgba(5, 19, 48, .36), transparent 58%);
}

.mp-homepage .mp-hero-shade::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .26;
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.mp-homepage .mp-hero-orb {
    position: absolute;
    z-index: -1;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    pointer-events: none;
}

.mp-homepage .mp-hero-orb-one {
    top: -230px;
    right: 8%;
    box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.02);
}

.mp-homepage .mp-hero-orb-two {
    bottom: -280px;
    left: -130px;
    width: 480px;
    height: 480px;
    border-color: rgba(102,226,232,.16);
}

.mp-homepage .mp-hero-inner {
    position: relative;
    width: 100%;
    max-width: 1320px;
}

.mp-homepage .mp-hero-layout {
    width: 100%;
    text-align: center;
}

.mp-homepage .mp-slide-copy {
    position: relative;
    min-height: 285px;
    max-width: 1120px;
    margin: 0 auto;
}

.mp-homepage .mp-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s ease, transform .55s ease, visibility .55s;
}

.mp-homepage .mp-hero-slide.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mp-homepage .mp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    padding: 10px 18px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    background: rgba(255,255,255,.11);
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
    backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 750;
}

.mp-homepage .mp-hero-badge i {
    color: var(--mph-cyan);
}

.mp-homepage .mp-slider-hero h1 {
    max-width: 1050px;
    margin: 23px auto 15px;
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(40px, 5.1vw, 68px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.mp-homepage .mp-slider-hero h1 span {
    color: var(--mph-cyan);
    text-shadow: 0 8px 30px rgba(102,226,232,.2);
}

.mp-homepage .mp-hero-copy {
    max-width: 790px;
    margin: 0 auto;
    color: rgba(255,255,255,.84);
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.7;
}

.mp-homepage .mp-hero-copy p {
    margin-bottom: 0;
    color: inherit;
}

.mp-homepage .mp-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.mp-homepage .mp-slide-cta:hover {
    color: var(--mph-cyan);
}

/* Search bar */
.mp-homepage .mp-premium-search {
    position: relative;
    z-index: 5;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 220px 170px;
    align-items: center;
    gap: 0;
    max-width: 1120px !important;
    margin: 28px auto 0 !important;
    padding: 10px !important;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 25px 65px rgba(0, 12, 40, .32) !important;
}

.mp-homepage .mp-premium-search .mp-search-field,
.mp-homepage .mp-premium-search .mp-location-field {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    height: 58px;
    padding: 0 17px;
    margin: 0;
}

.mp-homepage .mp-premium-search .mp-search-field {
    border-right: 1px solid #e4eaf3;
}

.mp-homepage .mp-premium-search i {
    flex: 0 0 auto;
    color: var(--mph-blue);
    font-size: 18px;
}

.mp-homepage .mp-premium-search .mp-location-field i {
    color: #ed4d85;
}

.mp-homepage .mp-premium-search input,
.mp-homepage .mp-premium-search select {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    color: #1b2942 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px !important;
}

.mp-homepage .mp-premium-search input::placeholder {
    color: #7b879a;
}

.mp-homepage .mp-premium-search .mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    height: 58px;
    padding: 0 20px;
    color: #fff;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #2c6df4, #1748b8);
    box-shadow: 0 10px 24px rgba(36,95,229,.28);
    font-size: 15px;
    font-weight: 850;
    transition: transform .2s ease, box-shadow .2s ease;
}

.mp-homepage .mp-premium-search .mp-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(36,95,229,.36);
}

.mp-homepage .mp-trending {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 17px;
    color: rgba(255,255,255,.8);
    font-size: 12px;
}

.mp-homepage .mp-trending-label {
    margin-right: 3px;
    font-weight: 700;
}

.mp-homepage .mp-trending a {
    padding: 7px 12px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    font-size: 12px;
    text-decoration: none;
    transition: .2s ease;
}

.mp-homepage .mp-trending a:hover {
    color: var(--mph-blue-dark);
    background: #fff;
}

.mp-homepage .mp-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 17px 0 0;
}

.mp-homepage .mp-slider-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255,255,255,.45);
    transition: width .2s ease, background .2s ease;
}

.mp-homepage .mp-slider-dots button.is-active {
    width: 26px;
    background: var(--mph-cyan);
}

/* Hero stats */
.mp-homepage .mp-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 25px auto 0;
}

.mp-homepage .mp-stat {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    column-gap: 10px;
    min-width: 0;
    padding: 13px 15px;
    text-align: left;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 15px;
    background: rgba(255,255,255,.095);
    backdrop-filter: blur(12px);
}

.mp-homepage .mp-stat-icon {
    display: grid;
    grid-row: span 2;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--mph-cyan);
    border-radius: 11px;
    background: rgba(255,255,255,.11);
}

.mp-homepage .mp-stat strong {
    display: block;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.2;
}

.mp-homepage .mp-stat > span:last-child {
    color: rgba(255,255,255,.72);
    font-size: 11px;
}

/* Quick action strip */
.mp-homepage .mp-quick-wrap {
    position: relative;
    z-index: 4;
    margin-top: -1px;
    padding: 0 0 22px;
    background: #f6f9fe;
}

.mp-homepage .mp-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 17px;
    border: 1px solid #e7edf6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(16,38,83,.08);
}

.mp-homepage .mp-quick-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 13px;
    color: var(--mph-ink);
    border: 1px solid transparent;
    border-radius: 13px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.mp-homepage .mp-quick-card:hover {
    color: var(--mph-blue);
    border-color: #e0eaff;
    background: #f5f8ff;
    transform: translateY(-2px);
}

.mp-homepage .mp-quick-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 47px;
    height: 47px;
    color: var(--mph-blue);
    border-radius: 13px;
    background: #edf3ff;
    font-size: 18px;
}

.mp-homepage .mp-quick-card strong,
.mp-homepage .mp-quick-card small {
    display: block;
}

.mp-homepage .mp-quick-card strong {
    color: inherit;
    font-size: 14px;
    font-weight: 800;
}

.mp-homepage .mp-quick-card small {
    margin-top: 3px;
    color: var(--mph-muted);
    font-size: 11px;
}

/* Featured colleges use the existing reusable .mbap component. */
.mp-homepage .mbap-section {
    padding: clamp(58px, 6vw, 82px) 0;
    background: #fff;
}

.mp-homepage .mbap-heading {
    align-items: end;
    margin-bottom: 23px;
}

.mp-homepage .mbap-heading h2 {
    margin: 0 0 7px;
    color: var(--mph-ink);
    font-size: clamp(29px, 3vw, 40px);
    font-weight: 850;
    letter-spacing: -.04em;
}

.mp-homepage .mbap-heading p {
    margin: 0;
    color: var(--mph-muted);
    font-size: 15px;
}

/* Specialization cards */
.mp-homepage .mp-speciality-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    min-height: 150px;
    padding: 23px;
    overflow: hidden;
    color: var(--mph-ink);
    border: 1px solid var(--mph-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16,38,83,.045);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.mp-homepage .mp-speciality-card:hover {
    color: var(--mph-ink);
    border-color: #c9d9fb;
    box-shadow: 0 18px 38px rgba(29,78,170,.11);
    transform: translateY(-5px);
}

.mp-homepage .mp-speciality-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 52px;
    height: 52px;
    color: #fff;
    border-radius: 15px;
    background: linear-gradient(135deg, #2869ef, #55a3ff);
    box-shadow: 0 9px 18px rgba(37,99,235,.18);
    font-size: 20px;
}

.mp-homepage .mp-speciality-card h3 {
    margin: 2px 0 7px;
    color: var(--mph-ink);
    font-size: 17px;
    font-weight: 800;
}

.mp-homepage .mp-speciality-card p {
    margin: 0;
    color: var(--mph-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* Exam cards */
.mp-homepage .mp-exam-card {
    height: 100%;
    padding: 22px;
    border: 1px solid var(--mph-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16,38,83,.045);
    transition: transform .25s ease, box-shadow .25s ease;
}

.mp-homepage a:hover .mp-exam-card {
    box-shadow: 0 17px 34px rgba(29,78,170,.1);
    transform: translateY(-4px);
}

.mp-homepage .mp-exam-top {
    display: flex;
    align-items: center;
    gap: 13px;
}

.mp-homepage .mp-exam-logo {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 51px;
    height: 51px;
    overflow: hidden;
    color: var(--mph-blue);
    border-radius: 14px;
    background: #edf3ff;
    font-size: 19px;
}

.mp-homepage .mp-exam-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mp-homepage .mp-exam-card h3 {
    margin: 0 0 4px;
    color: var(--mph-ink);
    font-size: 17px;
    font-weight: 850;
}

.mp-homepage .mp-exam-card p {
    color: var(--mph-muted);
    font-size: 13px;
    line-height: 1.65;
}

.mp-homepage .mp-date {
    display: inline-flex;
    padding: 7px 10px;
    color: #2053b8;
    border-radius: 8px;
    background: #eef4ff;
    font-size: 11px;
    font-weight: 750;
}

/* Course cards */
.mp-homepage .mp-course-card {
    height: 100%;
    padding: 25px;
    border: 1px solid var(--mph-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16,38,83,.045);
    transition: transform .25s ease, box-shadow .25s ease;
}

.mp-homepage .mp-course-card:hover {
    box-shadow: 0 18px 36px rgba(29,78,170,.1);
    transform: translateY(-4px);
}

.mp-homepage .mp-course-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    margin-bottom: 17px;
    color: var(--mph-blue);
    border-radius: 14px;
    background: #edf3ff;
    font-size: 20px;
}

.mp-homepage .mp-course-card h3 {
    margin-bottom: 8px;
    color: var(--mph-ink);
    font-size: 18px;
    font-weight: 850;
}

.mp-homepage .mp-course-card p {
    color: var(--mph-muted);
    font-size: 13px;
}

.mp-homepage .mp-course-fee {
    color: #1d4eaa;
    font-size: 14px;
    font-weight: 850;
}

/* City cards */
.mp-homepage .mp-city-card {
    position: relative;
    height: 270px;
    overflow: hidden;
    border-radius: 17px;
    background: #173a75;
    box-shadow: 0 12px 28px rgba(16,38,83,.12);
    text-decoration: none;
}

.mp-homepage .mp-city-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(5,19,48,.86), rgba(5,19,48,.02) 75%);
}

.mp-homepage .mp-city-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.mp-homepage .mp-city-card:hover img {
    transform: scale(1.07);
}

.mp-homepage .mp-city-content {
    position: absolute;
    z-index: 1;
    right: 19px;
    bottom: 18px;
    left: 19px;
    color: #fff;
}

.mp-homepage .mp-city-content h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 23px;
    font-weight: 850;
}

.mp-homepage .mp-city-content > span {
    color: rgba(255,255,255,.82);
    font-size: 12px;
}

/* Blog cards */
.mp-homepage .mp-blog-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--mph-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16,38,83,.045);
    transition: transform .25s ease, box-shadow .25s ease;
}

.mp-homepage .mp-blog-card:hover {
    box-shadow: 0 18px 36px rgba(29,78,170,.1);
    transform: translateY(-4px);
}

.mp-homepage .mp-blog-card > img {
    display: block;
    width: 100%;
    height: 205px;
    object-fit: cover;
}

.mp-homepage .mp-blog-body {
    padding: 21px;
}

.mp-homepage .mp-blog-date {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--mph-blue);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.mp-homepage .mp-blog-body h3 {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 9px;
    overflow: hidden;
    color: var(--mph-ink);
    font-size: 17px;
    font-weight: 850;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mp-homepage .mp-blog-body p {
    min-height: 62px;
    margin-bottom: 14px;
    color: var(--mph-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* Why choose us and FAQ */
.mp-homepage .why-section {
    padding: clamp(58px, 6vw, 82px) 0 !important;
    background: #fff;
}

.mp-homepage .why-section h2,
.mp-homepage .faq-section h2 {
    color: var(--mph-ink);
    font-size: clamp(29px, 3vw, 40px);
    font-weight: 850;
    letter-spacing: -.04em;
}

.mp-homepage .why-card {
    height: 100%;
    padding: 27px;
    border: 1px solid var(--mph-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16,38,83,.055) !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

.mp-homepage .why-card:hover {
    box-shadow: 0 18px 38px rgba(29,78,170,.1) !important;
    transform: translateY(-4px);
}

.mp-homepage .why-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 0 17px !important;
    color: #fff;
    border-radius: 15px;
    background: linear-gradient(135deg, #2869ef, #55a3ff) !important;
    font-size: 21px;
}

.mp-homepage .why-card h4 {
    color: var(--mph-ink);
    font-size: 17px;
    font-weight: 850;
}

.mp-homepage .why-card p {
    color: var(--mph-muted);
    font-size: 13px;
    line-height: 1.7;
}

.mp-homepage .faq-section {
    padding: clamp(58px, 6vw, 82px) 0 !important;
    background: #f5f8fd;
}

.mp-homepage .faq-section .accordion {
    max-width: 900px;
    margin: 0 auto;
}

.mp-homepage .faq-section .accordion-item {
    overflow: hidden;
    border: 1px solid var(--mph-line) !important;
    border-radius: 13px !important;
    background: #fff;
}

.mp-homepage .faq-section .accordion-button {
    padding: 19px 21px;
    color: var(--mph-ink);
    background: #fff;
    font-size: 15px;
    font-weight: 750;
    box-shadow: none;
}

.mp-homepage .faq-section .accordion-button:not(.collapsed) {
    color: var(--mph-blue);
    background: #f1f6ff;
}

.mp-homepage .faq-section .accordion-body {
    color: var(--mph-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* Footer styling is intentionally limited to the homepage. */
body:has(.mp-homepage) .footer {
    padding: 68px 0 25px;
    background: #0c1938 !important;
}

body:has(.mp-homepage) .footer-logo {
    font-size: 31px;
}

body:has(.mp-homepage) .footer h5 {
    font-size: 15px;
}

body:has(.mp-homepage) .footer-text,
body:has(.mp-homepage) .footer p,
body:has(.mp-homepage) .footer ul li a {
    font-size: 13px;
}

/* Tablet */
@media (max-width: 1199.98px) {
    .mp-site-navbar .brand-logo {
        width: 185px;
    }

    .mp-site-navbar .brand-byline {
        font-size: 12px;
    }

    .mp-site-navbar .nav-link {
        margin-inline: 1px !important;
        padding-inline: 7px !important;
        font-size: 13px;
    }

    .mp-homepage .mp-slider-hero {
        min-height: 650px;
    }
}

@media (max-width: 991.98px) {
    .mp-site-topbar {
        display: none;
    }

    .mp-site-navbar {
        min-height: 70px;
    }

    .mp-site-navbar .brand-logo {
        width: 190px;
    }

    .mp-site-navbar .navbar-collapse {
        margin-top: 12px;
        padding: 12px;
        border: 1px solid var(--mph-line);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 15px 30px rgba(16,38,83,.09);
    }

    .mp-site-navbar .nav-link {
        margin: 2px 0 !important;
        padding: 10px 12px !important;
    }

    .mp-site-navbar .nav-link::after {
        display: none;
    }

    .mp-site-navbar .nav-compare {
        display: inline-block;
        margin-top: 6px !important;
    }

    .mp-homepage .mp-slider-hero {
        min-height: 0;
        padding: 65px 0 48px;
    }

    .mp-homepage .mp-slide-copy {
        min-height: 300px;
    }

    .mp-homepage .mp-premium-search {
        grid-template-columns: minmax(0, 1fr) 190px;
    }

    .mp-homepage .mp-premium-search .mp-btn {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 8px;
    }

    .mp-homepage .mp-premium-search .mp-search-field {
        border-right: 1px solid #e4eaf3;
    }

    .mp-homepage .mp-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 620px;
    }

    .mp-homepage .mp-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .mp-site-navbar .brand-lockup {
        gap: 7px;
    }

    .mp-site-navbar .brand-logo {
        width: 165px;
        max-height: 40px;
    }

    .mp-site-navbar .brand-byline {
        display: none;
    }

    .mp-homepage .mp-slider-hero {
        padding: 48px 0 38px;
    }

    .mp-homepage .mp-slide-copy {
        min-height: 315px;
    }

    .mp-homepage .mp-hero-badge {
        max-width: 94%;
        padding: 9px 12px;
        font-size: 11px;
    }

    .mp-homepage .mp-slider-hero h1 {
        margin-top: 20px;
        font-size: clamp(35px, 9vw, 49px);
        letter-spacing: -.045em;
    }

    .mp-homepage .mp-hero-copy {
        font-size: 14px;
        line-height: 1.6;
    }

    .mp-homepage .mp-premium-search {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        padding: 9px !important;
        border-radius: 16px !important;
    }

    .mp-homepage .mp-premium-search .mp-search-field,
    .mp-homepage .mp-premium-search .mp-location-field {
        width: 100%;
        height: 51px;
        border-right: 0;
        border-bottom: 1px solid #e8edf5;
    }

    .mp-homepage .mp-premium-search .mp-btn {
        width: 100%;
        height: 50px;
        margin-top: 8px;
    }

    .mp-homepage .mp-premium-search input,
    .mp-homepage .mp-premium-search select {
        font-size: 14px !important;
    }

    .mp-homepage .mp-trending {
        gap: 7px;
        font-size: 11px;
    }

    .mp-homepage .mp-trending a {
        padding: 6px 9px;
        font-size: 10px;
    }

    .mp-homepage .mp-stats {
        gap: 8px;
        margin-top: 20px;
    }

    .mp-homepage .mp-stat {
        grid-template-columns: 31px 1fr;
        gap: 8px;
        padding: 11px 9px;
    }

    .mp-homepage .mp-stat-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .mp-homepage .mp-stat strong {
        font-size: 15px;
    }

    .mp-homepage .mp-stat > span:last-child {
        font-size: 10px;
    }

    .mp-homepage .mp-quick-wrap {
        padding-bottom: 12px;
    }

    .mp-homepage .mp-quick-grid {
        gap: 6px;
        padding: 8px;
        border-radius: 14px;
    }

    .mp-homepage .mp-quick-card {
        gap: 8px;
        padding: 9px 7px;
    }

    .mp-homepage .mp-quick-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 14px;
    }

    .mp-homepage .mp-quick-card strong {
        font-size: 11px;
    }

    .mp-homepage .mp-quick-card small {
        font-size: 9px;
    }

    .mp-homepage .mp-section {
        padding: 54px 0;
    }

    .mp-homepage .mp-section-title,
    .mp-homepage .mbap-heading h2 {
        font-size: 29px;
    }

    .mp-homepage .mp-section-copy {
        font-size: 14px;
    }

    .mp-homepage .mp-speciality-card {
        min-height: 125px;
        padding: 17px;
    }

    .mp-homepage .mp-city-card {
        height: 230px;
    }

    .mp-homepage .mp-blog-card > img {
        height: 190px;
    }

    .mp-homepage .why-section,
    .mp-homepage .faq-section {
        padding: 54px 0 !important;
    }

    body:has(.mp-homepage) .footer {
        padding-top: 52px;
    }
}

@media (max-width: 420px) {
    .mp-site-navbar .brand-logo {
        width: 148px;
    }

    .mp-homepage .mp-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mp-homepage .mp-stat strong {
        font-size: 14px;
    }

    .mp-homepage .mp-quick-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .mp-homepage .mp-quick-card small {
        display: none;
    }

    .mp-homepage .mp-trending-label {
        width: 100%;
        text-align: center;
    }
}

/* Accessibility: avoid motion when the visitor requests reduced motion. */
@media (prefers-reduced-motion: reduce) {
    .mp-homepage *,
    .mp-homepage *::before,
    .mp-homepage *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
