.logo {
    width: 120px;
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 50px;
}
.logo_footer {
    width: 150px;
    display: block;
}
.logo img,
.logo_footer img {
    width: 100%;
    height: auto;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    position: relative;
}
nav ul li a.active,
nav ul li a:hover {
    color: #2f66d5;
}
.mx-auto-nw {
    margin-left: auto !important;
    margin-right: 0 !important
}
.btn_element {
    padding: 10px 30px;
    font-size: 1.5rem;
    border-radius: 50px;
}
h1,
h2,
h3,
.font-weight-bold {
    font-weight: 300 !important;
}
h6.text-uppercase.text-white.mb-0 {
    padding: 20px 10px;
}
h2.text-white.mb-2 {
    min-height: 80px;
    max-height: 100px;
}
.image_block {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.max_min_h432 {
    max-height: 432px;
    min-height: 432px;
}
.teacher_content {
    max-height: 344px;
    min-height: 344px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blk {
    color: #000;
}
nav ul li a {
    font-family: 'Jost', sans-serif;
    padding: 12px 12px;
    font-size: 15px;
    font-weight: 500;
    color: #120F2D;
    outline: none;
}
nav ul li a:hover {
    text-decoration: none;
}
nav ul li.active a {
    color: #1e73be;
}
.navbar {
    padding: 8px 0;
}

.navbar .dropdown-menu {
    margin-top: 0;
    border: 1px solid #e6e8f0;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(18, 15, 45, 0.08);
}

.navbar .nav-item.dropdown {
    position: relative;
}

.navbar .nav-item.dropdown > .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 2px;
}

.navbar .dropdown-menu .dropdown-item {
    padding: 8px 14px;
    font-size: 14px;
    color: #120F2D;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background: #f4f7ff;
    color: #1e73be;
}

.navbar .dropdown-menu.teachers-nav-dropdown {
    min-width: 280px;
    max-height: 70vh;
    overflow-y: auto;
}

.navbar .dropdown-menu.teachers-nav-dropdown .dropdown-item.teachers-dropdown-tab {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
    padding-top: 10px;
    padding-bottom: 4px;
}

.navbar .dropdown-menu.teachers-nav-dropdown .dropdown-item.teachers-dropdown-tab:first-child {
    padding-top: 6px;
}

.navbar .dropdown-menu.teachers-nav-dropdown .dropdown-item.teachers-dropdown-tab:hover,
.navbar .dropdown-menu.teachers-nav-dropdown .dropdown-item.teachers-dropdown-tab:focus {
    color: #1e73be;
}

.navbar .dropdown-menu.teachers-nav-dropdown .dropdown-item.teachers-dropdown-teacher {
    padding-left: 22px;
    font-size: 13px;
}

.teachers-page-tabs-wrapper {
    border-bottom: 2px solid #e9edf5;
}

.teachers-page-tabs {
    border-bottom: 0;
    flex-wrap: nowrap;
}

.teachers-page-tabs .nav-item {
    flex-shrink: 0;
}

.teachers-page-tabs .nav-link {
    font-weight: 600;
    color: #120f2d;
    border: 0;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    margin-bottom: -2px;
    white-space: nowrap;
}

.teachers-page-tabs .nav-link:hover,
.teachers-page-tabs .nav-link:focus {
    color: #1e73be;
    border-color: transparent;
}

.teachers-page-tabs .nav-link.active {
    color: #1e73be;
    background: transparent;
    border-bottom-color: #1e73be;
}

.teachers-tab-content {
    padding-top: 10px;
}

@media (max-width: 767.98px) {
    .teachers-page-tabs-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
        scrollbar-width: none;
    }

    .teachers-page-tabs-wrapper::-webkit-scrollbar {
        display: none;
    }

    .teachers-page-tabs {
        width: max-content;
        min-width: 100%;
    }

    .teachers-page-tabs .nav-link {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* Desktop hover dropdown only */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
    }

    .container-fluid.bg-dark .d-inline-flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .container-fluid.bg-dark small {
        font-size: 11px;
        line-height: 1.4;
    }

    .logo {
        width: 88px;
        position: static;
        top: auto;
        left: auto;
        margin: 0 0 0 12px;
    }

    .navbar .navbar-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
        border: 1px solid #d7dce8;
        border-radius: 6px;
        padding: 6px 8px;
    }

    .navbar .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
        background-image: none !important;
        position: relative;
    }

    .navbar .navbar-toggler-icon::before {
        content: "\f0c9";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        color: #120f2d;
        font-size: 18px;
        line-height: 1.2;
    }

    .navbar .navbar-collapse {
        margin-top: 8px;
        background: #fff;
        border-top: 1px solid #eceff5;
        padding: 8px 12px 10px;
    }

    .mx-auto-nw {
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        gap: 2px;
        width: 100%;
    }

    .navbar .nav-item,
    .navbar .nav-link {
        width: 100%;
    }

    .navbar .nav-link {
        padding: 10px 6px;
        font-size: 15px;
    }

    .navbar .dropdown-menu {
        position: static !important;
        float: none;
        border: 0;
        box-shadow: none;
        padding: 2px 0 4px 12px;
        margin: 0;
        min-width: 100%;
    }

    .navbar .dropdown-menu .dropdown-item {
        padding: 7px 6px;
        white-space: normal;
    }

    h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    h2.text-white.mb-2 {
        min-height: auto;
        max-height: none;
    }

    .btn_element {
        padding: 8px 20px;
        font-size: 1rem;
    }

    .max_min_h432,
    .teacher_content {
        max-height: none;
        min-height: auto;
    }

    .row.pt-3.mx-0 > [class*="col-"] .text-center {
        min-height: 130px;
    }
}

/* Tight mobile spacing across all pages */
@media (max-width: 767.98px) {
    .jumbotron {
        margin-bottom: 30px !important;
    }

    .container-fluid.py-5,
    .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .container.mt-5.pt-5 {
        margin-top: 1.5rem !important;
        padding-top: 1.5rem !important;
    }

    .my-5,
    .mt-5,
    .mb-5 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .pt-5,
    .pb-5,
    .py-5 {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    .mb-4 {
        margin-bottom: 0.75rem !important;
    }

    .section-title {
        margin-bottom: 0.75rem !important;
    }

    .container-fluid.bg-image {
        margin: 30px 0 !important;
    }

    .about-image-wrap {
        display: none !important;
    }

    .image_block {
        border: 1px solid #c4c4c4;
    }

    .col-lg-5[style*="min-height: 500px"] {
        min-height: auto !important;
    }

    .col-lg-5[style*="min-height: 500px"] .position-relative.h-100 {
        min-height: 260px;
    }
}
.txt-designation {
    font-size: 14px;
}

/* Reusable course template styles */
.course-template-wrap .course-content {
    max-width: 1080px;
}

.course-section {
    background: #fff;
    border: 1px solid #edf1f7;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}

.course-section h2,
.course-section h3 {
    margin-bottom: 12px;
}

.course-section ul {
    margin-bottom: 0;
}

.course-cta-group .btn {
    min-width: 190px;
}

.course-related-link {
    display: block;
    background: #f8faff;
    border: 1px solid #e6edf9;
    border-radius: 8px;
    padding: 10px 12px;
    color: #120f2d;
    font-weight: 500;
    text-decoration: none;
}

.course-related-link:hover {
    background: #eef5ff;
    color: #1e73be;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .course-section {
        padding: 16px;
        margin-bottom: 14px;
    }

    .course-cta-group .btn {
        width: 100%;
        min-width: 0;
    }
}

/* Premium coaching UI polish (layout-safe) */
body {
    color: #1f2430;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #101528;
    line-height: 1.25;
}

h1,
.display-1,
.display-4 {
    letter-spacing: -0.02em;
}

h2,
h3 {
}

p {
    line-height: 1.7;
}

.section-title {
    margin-bottom: 1.25rem !important;
}

.section-title h6 {
    font-weight: 600 !important;
    letter-spacing: 0.06em;
}

.navbar {
    border-bottom: 1px solid #e9edf5;
    box-shadow: 0 4px 20px rgba(16, 21, 40, 0.04);
}

.navbar .nav-link {
    font-weight: 600;
}

.navbar .dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(16, 21, 40, 0.12);
}

.btn {
    font-weight: 600;
    border-radius: 8px;
}

.btn-primary,
.btn-secondary,
.btn_element {
    box-shadow: 0 8px 18px rgba(30, 115, 190, 0.22);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn_element:hover {
    transform: translateY(-1px);
}

.course-section-cta {
    border: 1px solid #dbe7ff;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.course-section-cta h3 {
    color: #0f4f9c;
}

.course-cta-group .btn {
    min-height: 44px;
}

.container-fluid.py-5 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

@media (max-width: 991.98px) {
    .container-fluid.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .btn-primary,
    .btn-secondary,
    .btn_element {
        box-shadow: 0 6px 14px rgba(30, 115, 190, 0.16);
    }
}

.jumbotron.page-header {
    background: linear-gradient(rgb(0 0 0 / 90%), rgba(40, 120, 235, 0.9)), url(../img/page-header.jpg) no-repeat center center;
}

.partner-highlight {
    padding: 50px 20px;
    background: #f9fafb;
    text-align: center;
}

.footer-partners {
    margin-top: 20px;
}

.footer-partner-logo {
    max-width: 130px;
    opacity: 1;
    transition: 0.3s;
}

.footer-partner-logo:hover {
    opacity: 1;
}

@media (max-width: 767.98px) {
    .footer-partners {
        text-align: center;
    }
}