:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --blue-soft: #eaf3ff;
    --text-dark: #12324f;
    --text-muted: #5f7285;
    --white: #ffffff;
    --bg: #f5f9ff;
    --border: #dbe7f5;
    --shadow: 0 18px 45px rgba(13, 110, 253, 0.12);
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    color: var(--text-dark);
    overflow-x: hidden;
}

img,
iframe {
    max-width: 100%;
}

main {
    min-height: 70vh;
}

.site-navbar {
    background: linear-gradient(90deg, #0d6efd 0%, #1976d2 100%);
}

.site-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 3px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.site-logo-nav {
    width: 38px;
    height: 38px;
}

.nav-login-btn {
    white-space: nowrap;
}

.site-logo-footer {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.brand-title {
    line-height: 1.15;
    font-size: 1.02rem;
}

.navbar-brand span,
.hero-badge,
.section-label {
    color: #bfe0ff;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #ffffff;
}

.hero-section {
    position: relative;
    padding: 6rem 0 5rem;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(13, 110, 253, 0.18), transparent 30%),
                radial-gradient(circle at bottom left, rgba(25, 118, 210, 0.18), transparent 28%);
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.08);
    filter: blur(4px);
}

.hero-section::before {
    width: 240px;
    height: 240px;
    top: -70px;
    right: -40px;
}

.hero-section::after {
    width: 180px;
    height: 180px;
    bottom: 10px;
    left: -40px;
}

.hero-card,
.feature-card,
.course-card,
.service-card,
.contact-panel,
.form-card,
.auth-card,
.info-card,
.gallery-item {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.05;
    font-weight: 800;
}

.hero-right-lift {
    margin-top: -28px;
}

.hero-media-card {
    padding-bottom: 1rem !important;
}

.hero-media-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    display: block;
}

.hero-carousel-control {
    width: 2.8rem;
    height: 2.8rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    background: rgba(13, 110, 253, 0.92);
    border-radius: 50%;
    margin: 0 0.65rem;
}

.hero-carousel-control:hover {
    background: rgba(10, 88, 202, 0.98);
}

.hero-text,
.section-text {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.glow-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: .9rem;
}

.section-heading {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 700;
}

.section-space {
    padding: 5rem 0;
}

.card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(25, 118, 210, 0.2));
    color: var(--primary);
    font-size: 1.55rem;
}

.course-card,
.service-card,
.feature-card,
.gallery-item,
.auth-card,
.info-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.course-card:hover,
.service-card:hover,
.feature-card:hover,
.gallery-item:hover,
.auth-card:hover,
.info-card:hover {
    transform: translateY(-7px);
    border-color: rgba(13, 110, 253, 0.25);
    box-shadow: 0 22px 50px rgba(13, 110, 253, 0.16);
}

.course-tag {
    display: inline-block;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: #eef5ff;
    color: var(--primary-dark);
    font-size: .82rem;
    font-weight: 600;
}

.mode-highlight {
    display: inline-flex;
    align-items: center;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #e8f1ff 0%, #d4e8ff 100%);
    color: #0a58ca;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.16);
}

.mode-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .36rem .78rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #0d6efd 0%, #1976d2 100%);
    color: #fff;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .02em;
}

.mode-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.mode-dual {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.mode-chip {
    display: inline-flex;
    align-items: center;
    padding: .36rem .78rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
    border: 1px solid transparent;
}

.mode-chip-online {
    color: #0a58ca;
    background: #e7f0ff;
    border-color: #bdd8ff;
}

.mode-chip-offline {
    color: #0d4f2f;
    background: #e9f9ef;
    border-color: #bce9cd;
}

.mode-plus {
    font-weight: 800;
    color: #0d6efd;
    line-height: 1;
}

.course-image-wrap {
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.blur-gap-wrap,
.course-image-wrap.blur-fill {
    position: relative;
    background: #eaf2ff;
}

.blur-gap-wrap::before,
.course-image-wrap.blur-fill::before {
    content: '';
    position: absolute;
    inset: -14px;
    background-image: var(--course-bg, var(--blur-bg));
    background-position: center;
    background-size: cover;
    filter: blur(14px) saturate(1.08);
    transform: scale(1.08);
    opacity: 0.52;
    z-index: 0;
    pointer-events: none;
}

.course-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    display: block;
    transition: none;
}

.blur-gap-wrap > img,
.course-image-wrap.blur-fill .course-image {
    position: relative;
    z-index: 1;
    background: transparent;
}

.course-card:hover .course-image {
    transform: none;
}

.coaching-photo-card {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #fff;
}

.coaching-photo-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    display: block;
    transition: none;
}

.coaching-photo-card:hover .coaching-photo-img {
    transform: none;
}

.branch-card,
.teacher-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.branch-card:hover,
.teacher-card:hover {
    transform: translateY(-7px);
    border-color: rgba(13, 110, 253, 0.25);
    box-shadow: 0 22px 50px rgba(13, 110, 253, 0.16);
}

.branch-image-wrap,
.teacher-image-wrap {
    overflow: hidden;
}

.branch-image,
.teacher-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    display: block;
    transition: none;
}

.branch-card:hover .branch-image,
.teacher-card:hover .teacher-image {
    transform: none;
}

.teacher-profile-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
}

.teacher-profile-image-wrap {
    background: #ffffff;
}

.teacher-profile-image-wrap.blur-gap-wrap::before {
    display: none;
}

.teacher-profile-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center top;
    background: #ffffff;
}

.teacher-profile-content h3 {
    font-size: clamp(1.5rem, 2.1vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
}

.teacher-profile-content .course-tag {
    font-size: .95rem;
    padding: .5rem 1rem;
}

@media (max-width: 767.98px) {
    .teacher-profile-image {
        min-height: 280px;
    }
}

.placement-photo-card {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #0d6efd;
}

.placement-photo-img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    display: block;
    filter: saturate(0.98);
}

.placement-photo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(8, 25, 54, 0.06) 0%, rgba(8, 25, 54, 0.78) 100%);
}

.placement-carousel-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: #fff;
}

.placement-carousel-card .carousel-inner {
    padding: 1rem 1rem 1rem;
}

.placement-student-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 12px 26px rgba(13, 110, 253, 0.08);
}

.placement-student-card.blur-gap-wrap {
    background: #ffffff;
}

.placement-student-card.blur-gap-wrap::before {
    display: none;
}

.placement-student-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    display: block;
    transition: none;
}

.placement-student-card:hover .placement-student-img {
    transform: none;
}

.placement-student-info {
    border-top: 1px solid var(--border);
    background: #ffffff;
}

.placement-student-name {
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.placement-student-meta {
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: .15rem;
}

.placement-student-detail {
    font-size: .75rem;
    line-height: 1.35;
    color: var(--text-muted);
    margin-top: .2rem;
}

.placement-carousel-control {
    width: 3.25rem;
    height: 3.25rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    background: rgba(13, 110, 253, 0.9);
    border-radius: 50%;
    margin: 0 0.75rem;
}

.placement-carousel-control.carousel-control-prev {
    left: -0.5rem;
}

.placement-carousel-control.carousel-control-next {
    right: -0.5rem;
}

.placement-carousel-control:hover {
    background: rgba(10, 88, 202, 0.98);
}

.placement-students-heading {
    padding: .95rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(13, 110, 253, 0.08), rgba(25, 118, 210, 0.02));
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.placement-students-kicker {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0a58ca;
    margin-bottom: .22rem;
}

.placement-students-heading h4 {
    color: var(--text-dark);
    font-weight: 700;
}

.placement-students-heading p {
    color: var(--text-muted);
    font-size: .9rem;
}

@media (max-width: 991.98px) {
    .placement-student-img {
        height: 170px;
    }
}

@media (max-width: 575.98px) {
    .placement-carousel-card .carousel-inner {
        padding: .75rem .75rem 0;
    }

    .placement-carousel-control {
        width: 2.7rem;
        height: 2.7rem;
    }

    .placement-student-img {
        height: 145px;
    }

}

.stat-card,
.content-panel,
.step-box,
.testimonial-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
}

.sitemap-link-card {
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sitemap-link-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 110, 253, 0.28);
    box-shadow: 0 18px 34px rgba(13, 110, 253, 0.14);
}

.sitemap-link-card .text-dark {
    color: var(--text-dark) !important;
}

.step-box {
    border-left: 4px solid var(--primary);
}

.step-number {
    min-width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--blue-soft);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.faq-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.06);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    background: #fff;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--blue-soft);
    color: var(--primary-dark);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.btn-primary,
.btn-outline-primary:hover {
    background: linear-gradient(90deg, #0d6efd 0%, #1976d2 100%);
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(13, 110, 253, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(90deg, #0a58ca 0%, #145ea8 100%);
}

.btn-outline-primary {
    border-color: rgba(13, 110, 253, 0.35);
    color: var(--primary);
}

.section-divider {
    width: 90px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0d6efd, #67a9ff);
}

.gallery-item img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    border-radius: 18px;
    transition: none;
}

.gallery-item:hover img {
    transform: none;
}

.contact-panel .map-frame {
    min-height: 360px;
    border-radius: 18px;
    overflow: hidden;
}

.form-control,
.form-select {
    border-radius: 14px;
    padding: .85rem 1rem;
    border-color: #d9e6f4;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, 0.12);
}

.site-footer {
    background: linear-gradient(110deg, #181b24 0%, #222832 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease;
    line-height: 1.5;
}

.footer-link:hover {
    color: #ff4f87;
}

.footer-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.65;
}

.footer-social {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ff4f87;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.footer-social:hover {
    transform: translateY(-2px);
    background: #ff2f73;
    color: #111;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
}

.footer-contact-item:hover {
    color: #ff7aa6;
}

.footer-contact-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ff4f87;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-portal-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 198, 255, 0.16), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(101, 61, 255, 0.16), transparent 32%),
        radial-gradient(circle at 72% 88%, rgba(255, 145, 77, 0.14), transparent 30%),
        linear-gradient(180deg, #f3f9ff 0%, #edf4ff 100%);
}

.login-portal-section::before,
.login-portal-section::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(12px);
    pointer-events: none;
}

.login-portal-section::before {
    background: rgba(13, 110, 253, 0.14);
    top: -80px;
    left: -40px;
}

.login-portal-section::after {
    background: rgba(122, 82, 255, 0.14);
    bottom: -90px;
    right: -50px;
}

.login-portal-hero {
    position: relative;
    z-index: 1;
}

.login-portal-kicker {
    color: #0a58ca;
}

.login-portal-title {
    color: #112f52;
}

.login-portal-subtitle {
    color: #4d6480;
}

.login-portal-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 36px rgba(28, 87, 166, 0.16);
}

.login-portal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.82;
    pointer-events: none;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
}

.login-portal-card > * {
    position: relative;
    z-index: 1;
}

.login-portal-section .row > div:nth-child(3n + 1) .login-portal-icon {
    background: linear-gradient(135deg, rgba(0, 147, 233, 0.22), rgba(37, 117, 252, 0.3));
}

.login-portal-section .row > div:nth-child(3n + 2) .login-portal-icon {
    background: linear-gradient(135deg, rgba(255, 142, 83, 0.24), rgba(255, 86, 134, 0.26));
}

.login-portal-section .row > div:nth-child(3n + 3) .login-portal-icon {
    background: linear-gradient(135deg, rgba(106, 130, 251, 0.24), rgba(252, 92, 125, 0.22));
}

.login-portal-card-title {
    color: #163458;
}

.login-portal-card-desc {
    color: #537091;
}

.login-portal-open-btn {
    border: 0;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(90deg, #1664d9 0%, #5b5eff 52%, #0fa9d8 100%);
    box-shadow: 0 10px 24px rgba(22, 100, 217, 0.26);
}

.login-portal-open-btn:hover,
.login-portal-open-btn:focus {
    color: #fff;
    background: linear-gradient(90deg, #0f59c9 0%, #504df3 52%, #0b9bc8 100%);
}

.login-portal-note {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.62);
}

.site-footer .site-logo-footer {
    width: 42px;
    height: 42px;
}

.badge-soft {
    background: #eef5ff;
    color: var(--primary-dark);
}

.fade-in-up {
    animation: fadeInUp .75s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .site-navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar-brand {
        max-width: calc(100% - 70px);
    }

    .hero-section {
        padding: 4.8rem 0 4rem;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3.3rem);
    }

    .hero-right-lift {
        margin-top: 0;
    }

    .brand-title {
        font-size: .93rem;
    }

    .navbar-nav {
        margin-top: .75rem;
        gap: .2rem;
    }

    .navbar .nav-link {
        padding-top: .55rem;
        padding-bottom: .55rem;
    }

    .nav-login-btn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: .8rem !important;
        margin-left: 0 !important;
    }

    .section-space {
        padding: 4rem 0;
    }

    .section-text,
    .hero-text {
        font-size: .97rem;
        line-height: 1.7;
    }

    .hero-media-image,
    .course-image,
    .coaching-photo-img,
    .branch-image,
    .teacher-image,
    .gallery-item img {
        height: 210px;
    }

    .contact-panel .map-frame {
        min-height: 300px;
    }

    .btn.btn-lg {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .site-logo-nav {
        width: 34px;
        height: 34px;
    }

    .brand-title {
        font-size: .84rem;
        line-height: 1.2;
    }

    .hero-title {
        font-size: clamp(1.8rem, 9.5vw, 2.6rem);
        line-height: 1.12;
    }

    .section-heading {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

    .section-space {
        padding: 3.25rem 0;
    }

    .hero-card,
    .feature-card,
    .course-card,
    .service-card,
    .contact-panel,
    .form-card,
    .content-panel,
    .step-box,
    .info-card,
    .testimonial-card,
    .gallery-item {
        border-radius: 16px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        font-size: 1.3rem;
    }

    .hero-carousel-control,
    .placement-carousel-control {
        width: 2.5rem;
        height: 2.5rem;
        margin: 0 .3rem;
    }

    .feature-card,
    .course-card,
    .service-card,
    .content-panel,
    .step-box,
    .form-card,
    .contact-panel {
        padding: 1rem !important;
    }

    .coaching-photo-img,
    .course-image,
    .gallery-item img,
    .hero-media-image,
    .branch-image,
    .teacher-image {
        height: 190px;
    }

    .placement-photo-card,
    .placement-photo-img {
        min-height: 220px;
    }

    .d-flex.flex-wrap.gap-3 > .btn,
    .d-grid.gap-3 > .btn {
        width: 100%;
    }

    .faq-accordion .accordion-button {
        padding: .85rem 1rem;
        font-size: .96rem;
    }

    .faq-accordion .accordion-body {
        padding: .85rem 1rem 1rem;
    }

    .contact-panel .map-frame {
        min-height: 250px;
    }

    .site-footer .row {
        text-align: center;
    }

    .site-footer .d-flex {
        justify-content: center !important;
    }

    .site-footer .col-md-4 {
        text-align: center !important;
    }

    .footer-title {
        font-size: 1.7rem;
    }

    .footer-contact-item {
        justify-content: center;
        font-size: 1.05rem;
    }

    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .container,
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .brand-title {
        font-size: .78rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 10vw, 2.2rem);
    }

    .section-heading {
        font-size: clamp(1.28rem, 8vw, 1.75rem);
    }

    .hero-section {
        padding: 3.8rem 0 3rem;
    }

    .section-space {
        padding: 2.8rem 0;
    }

    .course-tag {
        font-size: .76rem;
        padding: .3rem .65rem;
    }

    .placement-student-name {
        font-size: .9rem;
    }

    .placement-student-meta {
        font-size: .78rem;
    }

    .placement-student-detail {
        font-size: .72rem;
    }

    .footer-link {
        display: inline-block;
        margin-bottom: .45rem;
    }

    .mode-highlight {
        font-size: .82rem;
        padding: .5rem .8rem;
    }

    .mode-dual {
        gap: .35rem;
    }

    .mode-chip {
        padding: .32rem .68rem;
        font-size: .74rem;
    }
}
