/* Medjections overrides for the EdCare theme */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;600;700;800;900&display=swap');

:root {
    --ed-ff-body: 'Open Sans', 'Montserrat', 'Segoe UI', Arial, sans-serif;
    --mj-ff-heading: 'Maven Pro', var(--ed-ff-heading);
    --mj-heading-color: #172953;
}
body {
    font-family: var(--ed-ff-body);
}
.hero-section {
    background: linear-gradient(180deg, #eef3fa 0%, #dfe8f4 100%);
    padding-bottom: 140px;
}
.hero-section::after {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: 0;
    height: 125px;
    background: #fff;
    border-radius: 50% 50% 0 0;
    z-index: -1;
}

.course-slider-section {
    position: relative;
    background: linear-gradient(180deg, #eef3fa 0%, #dfe8f4 100%);
}
.course-slider-section-white {
    background: #ffffff;
}

/* Dark animated gradient (Why Choose Us) */
.animated-gradient {
    background: linear-gradient(120deg, #0a1f4d, #0a3b83, #1d61aa, #0a3b83, #0a1f4d);
    background-size: 400% 400%;
    animation: mj-gradient-shift 16s ease infinite;
}
@keyframes mj-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.course-slider-section .section-heading .sub-heading,
.course-slider-section .section-heading .section-title {
    color: var(--ed-color-heading-primary);
}
.course-slider-section .section-heading .sub-heading {
    color: var(--ed-color-theme-primary);
}

/* Research expertise cards */
.research-course-slider {
    padding: 10px 4px 0;
}
.research-course-slider .swiper-slide {
    height: auto;
}
.research-course-slider .swiper-pagination {
    position: static;
    margin-top: 28px;
}
.research-course-slider .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--ed-color-theme-primary);
    opacity: 0.25;
    transition: all 0.3s ease;
}
.research-course-slider .swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 28px;
    border-radius: 100px;
}
.research-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(7, 30, 42, 0.1);
    transition: all 0.35s ease-in-out;
}
.research-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(10, 42, 94, 0.22);
}
.research-card-thumb {
    position: relative;
    margin: 12px 12px 0;
    height: 190px;
    overflow: hidden;
    border-radius: 14px;
}
.research-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.research-card:hover .research-card-thumb img {
    transform: scale(1.07);
}
.research-card-offer {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #fff;
    color: var(--ed-color-theme-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 6px 16px rgba(7, 30, 42, 0.2);
    letter-spacing: 0.02em;
    z-index: 2;
}
.research-card-body {
    padding: 18px 20px 12px;
    flex-grow: 1;
}
.research-card-title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}
.research-card-title a {
    color: var(--ed-color-heading-primary);
    transition: color 0.3s ease;
}
.research-card-title a:hover {
    color: var(--ed-color-theme-primary);
}
.research-card-desc {
    color: #5a6270;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
.research-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 20px 18px;
    border-top: 1px solid #eef2f7;
}
.research-card-price-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.research-card-price {
    color: var(--ed-color-theme-primary);
    font-size: 19px;
    font-weight: 800;
}
.research-card-old {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    text-decoration: line-through;
}
.research-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--ed-color-theme-primary), var(--mj-blue));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.research-card-btn:hover {
    background: var(--mj-accent);
    color: #fff;
    transform: translateX(3px);
}
.research-card-btn i {
    font-size: 12px;
}
@media (max-width: 991px) {
    .research-card-thumb { height: 170px; }
}


/* Sponsor / Trusted By Leading Organizations */
.sponsor-section {
    background-color: #ffffff;
    padding-top: 120px;
}
.sponsor-carousel {
    padding: 10px 4px 6px;
}
.sponsor-carousel .swiper-slide {
    height: auto;
}
.sponsor-carousel .swiper-pagination {
    position: static;
    margin-top: 30px;
}
.sponsor-carousel .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--ed-color-theme-primary);
    opacity: 0.25;
    transition: all 0.3s ease;
}
.sponsor-carousel .swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 28px;
    border-radius: 100px;
}
.sponsor-item {
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    height: 130px;
    padding: 0 30px;
    box-shadow: 0 6px 20px rgba(7, 30, 42, 0.06);
    transition: all 0.35s ease-in-out;
}
.sponsor-item:hover {
    border-color: var(--mj-blue);
    box-shadow: 0 14px 34px rgba(10, 59, 131, 0.16);
    transform: translateY(-6px);
}
.sponsor-item img {
    height: 64px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}
.sponsor-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.06);
}
.sponsor-item .sponsor-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ed-color-heading-primary);
}
@media (max-width: 767px) {
    .sponsor-item { height: 100px; padding: 0 18px; }
    .sponsor-item img { height: 44px; }
}


/* About / Owner section */
.about-owner-wrap {
    max-width: 460px;
    width: 100%;
    position: relative;
    padding: 16px;
}
.about-owner-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--ed-color-theme-primary);
    border-radius: 24px;
    transform: translate(18px, 18px);
    opacity: 0.35;
}
.about-owner-img {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 50px rgba(23, 41, 83, 0.18);
    aspect-ratio: 1 / 1.05;
    background: #eef3fa;
}
.about-owner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-owner-info {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 26px;
    background: linear-gradient(135deg, var(--ed-color-theme-primary), var(--mj-blue));
    color: #fff;
    border-radius: 14px;
    margin-top: 10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 30px rgba(10, 59, 131, 0.25);
}
.about-owner-info .owner-name {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.about-owner-info .owner-post {
    font-size: 13.5px;
    opacity: 0.9;
    color: #fff;
}
@media (max-width: 991px) {
    .about-owner-wrap {
        margin: 0 auto 40px;
    }
}


.course-thumb img,
.post-thumb img,
.about-img-1 img,
.about-img-2 img,
.content-img-1 img,
.content-img-2 img,
.content-img-3 img,
.promo-thumb .main-img,
.faq-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.course-thumb {
    display: block;
    overflow: hidden;
}

.mj-logo {
    max-height: 56px;
    width: auto;
}

.request-form-wrapper .form-control,
.footer-form .form-control {
    background: #fff;
    border: 1px solid #e0e5eb;
}

.header-logo img {
    max-height: 56px;
    width: auto;
}

.sponsor-item {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.sponsor-name {
    font-weight: 600;
    font-size: 18px;
    color: var(--ed-color-heading-primary);
    line-height: 1.3;
}

/* Buttons & prices */
.ed-outline-btn {
    display: inline-block;
    padding: 16px 32px;
    border: 1px solid var(--ed-color-theme-primary);
    color: var(--ed-color-theme-primary);
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    background: transparent;
}
.ed-outline-btn:hover {
    background: var(--ed-color-theme-primary);
    color: #fff;
    border-color: var(--ed-color-theme-primary);
}
.old-price {
    text-decoration: line-through;
    color: #8b9290;
    font-size: 18px;
}
.price-box { margin-bottom: 20px; }
.price-box .price { font-size: 28px; font-weight: 700; color: var(--ed-color-theme-primary); margin-right: 10px; }

/* Thumbs */
.course-details-thumb img,
.blog-details-thumb img,
.event-details-thumb img,
.page-thumb img,
.event-thumb img {
    width: 100%;
    border-radius: 16px;
}

/* Cards (custom page sections) */
.video-card,
.event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(23, 41, 83, 0.08);
    height: 100%;
}
.video-thumb iframe { width: 100%; height: 100%; border: 0; }
.video-content { padding: 20px; }
.video-content .title,
.event-card .title { font-size: 20px; line-height: 1.4; margin-bottom: 10px; }
.video-content .title a,
.event-card .title a { color: var(--ed-color-heading-primary); transition: color 0.3s ease; }
.video-content .title a:hover,
.event-card .title a:hover { color: var(--ed-color-theme-primary); }
.event-content { padding: 24px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.event-meta span { color: #6c706f; font-size: 14px; }
.event-meta i { color: var(--ed-color-theme-primary); margin-right: 6px; }
.event-card .desc { color: #6c706f; margin-bottom: 12px; }
.event-card .location { color: #6c706f; margin-bottom: 20px; }
.event-card .location i { color: var(--ed-color-theme-primary); margin-right: 6px; }
.event-info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.event-info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e5eb;
    color: #6c706f;
    display: flex;
    align-items: center;
    gap: 12px;
}
.event-info-list li i { color: var(--ed-color-theme-primary); }

/* Contact page */
.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-list .icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(10, 59, 131, 0.1);
    color: var(--ed-color-theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-info-list .content span { display: block; color: #8b9290; margin-bottom: 4px; }
.contact-info-list .content a { color: var(--ed-color-heading-primary); font-weight: 600; }
.contact-info-list .content a:hover { color: var(--ed-color-theme-primary); }
.contact-info-list .content p { margin: 0; color: var(--ed-color-heading-primary); font-weight: 600; }
.contact-form-wrap,
.appointment-form-wrap {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(23, 41, 83, 0.08);
    padding: 40px;
}
.form-item .form-label { font-weight: 600; color: var(--ed-color-heading-primary); margin-bottom: 8px; }

/* Team testimonial cards */
.team-content p { color: #6c706f; font-size: 15px; margin-bottom: 12px; }
.team-content .course-review { justify-content: center; padding: 0; list-style: none; }
.team-content .course-review li { margin-right: 4px; }
.team-content .course-review li i { color: #f59e0b; }

/* Testimonials grid: creative cards, 4 per row, stars one line */
.tcard {
    position: relative;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 18px;
    padding: 28px 26px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 24px rgba(23, 41, 83, 0.06);
    transition: all 0.35s ease;
    overflow: hidden;
}
.tcard:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ed-color-theme-primary) 0%, #38bdf8 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.tcard:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(23, 41, 83, 0.12);
    border-color: transparent;
}
.tcard:hover:before { transform: scaleX(1); }
.tcard-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f1c33;
    margin: 0 0 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tcard-stars {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    gap: 3px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.tcard-stars li i { color: #f59e0b; font-size: 13px; }
.tcard-text {
    color: #6c706f;
    font-size: 15px;
    line-height: 1.85;
    margin: 0 0 20px;
    flex: 1 1 auto;
}
.tcard-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #eef2f7;
}
.tcard-avatar { flex-shrink: 0; }
.tcard-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2eaf6;
}
.tcard-initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ed-color-theme-primary), #38bdf8);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tcard-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f1c33;
    margin: 0;
    line-height: 1.3;
}
.tcard-role {
    display: block;
    color: var(--ed-color-theme-primary);
    font-size: 13px;
    font-weight: 500;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Contact panel: gradient card + social icons */
.contact-panel {
    position: relative;
    background: linear-gradient(150deg, #0a3b83 0%, #1759b8 55%, #2b7bd8 100%);
    border-radius: 20px;
    padding: 44px 40px;
    color: #fff;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(10, 59, 131, 0.28);
}
.contact-panel:before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -90px;
    right: -90px;
}
.contact-panel:after {
    content: '';
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -60px;
    left: -50px;
}
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel .section-heading .section-title { color: #fff; }
.contact-panel .contact-info-list li { margin-bottom: 22px; }
.contact-panel .contact-info-list .icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.contact-panel .contact-info-list .content span { color: rgba(255, 255, 255, 0.7); }
.contact-panel .contact-info-list .content a,
.contact-panel .contact-info-list .content p { color: #fff; }
.contact-panel .contact-info-list .content a:hover { color: #ffd76a; }
.contact-panel-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    margin: 6px 0 24px;
}
.contact-follow-title {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}
.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-social li a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 17px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.contact-social li a:hover {
    background: #fff;
    color: var(--ed-color-theme-primary);
    transform: translateY(-4px);
    border-color: #fff;
}

/* Contact form inputs */
.contact-form-wrap .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 15px;
    color: var(--ed-color-heading-primary);
    background: #f9fbfd;
    transition: all 0.3s ease;
}
.contact-form-wrap .form-control:focus {
    background: #fff;
    border-color: var(--ed-color-theme-primary);
    box-shadow: 0 0 0 4px rgba(10, 59, 131, 0.08);
}
.contact-form-wrap .form-control::placeholder { color: #9aa5b5; }
@media (max-width: 575px) {
    .contact-panel { padding: 34px 24px; }
}

/* ===== Public Speaking & Mentoring page ===== */
.ps-hero {
    position: relative;
    background: linear-gradient(160deg, #082b62 0%, #0a3b83 45%, #1759b8 100%);
    padding: 110px 0 150px;
    overflow: hidden;
    color: #fff;
}
.ps-hero:before {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -1px;
    height: 130px;
    background: #fff;
    border-radius: 50% 50% 0 0;
    z-index: 2;
}
.ps-hero-decor-1 {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -120px;
    right: -90px;
}
.ps-hero-decor-2 {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    bottom: 70px;
    left: -60px;
}
.ps-hero-decor-3 {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    top: 30%;
    right: 12%;
    transform: rotate(45deg);
}
.ps-hero-inner {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.ps-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}
.ps-hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 20px;
}
.ps-hero-desc {
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    max-width: 780px;
    margin: 0 auto 34px;
}
.ps-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.ps-hero-btn {
    font-size: 15px;
    padding: 15px 30px;
    background: #fff;
    color: var(--ed-color-theme-primary);
}
.ps-hero-btn:hover { color: #fff; }
.ps-hero-btn-ghost {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    font-size: 15px;
    padding: 15px 30px;
}
.ps-hero-btn-ghost:hover { color: #fff; }
.ps-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ps-hero-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    padding: 9px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
}
.ps-hero-chips li i { color: #ffd76a; }
.ps-section { background: #fff; }
.ps-lead {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.ps-lead p {
    font-size: 16px;
    line-height: 1.9;
    color: #5a6474;
    margin: 0 0 18px;
}
.ps-card {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 18px;
    padding: 32px 28px;
    height: 100%;
    box-shadow: 0 6px 24px rgba(23, 41, 83, 0.06);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.ps-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ed-color-theme-primary) 0%, #38bdf8 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.ps-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(23, 41, 83, 0.12);
    border-color: transparent;
}
.ps-card:hover:before { transform: scaleX(1); }
.ps-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0a3b83 0%, #2b7bd8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px rgba(10, 59, 131, 0.25);
}
.ps-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f1c33;
    margin: 0 0 14px;
}
.ps-card p {
    font-size: 15px;
    line-height: 1.85;
    color: #5a6474;
    margin: 0 0 12px;
}
.ps-card p:last-child { margin-bottom: 0; }

/* Booking section */
.ps-book-section {
    background: linear-gradient(180deg, #eef3fa 0%, #dfe8f4 100%);
}
.ps-book-wrap {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(10, 42, 94, 0.14);
}
.ps-book-info {
    height: 100%;
    background: linear-gradient(160deg, #082b62 0%, #0a3b83 45%, #1759b8 100%);
    color: #fff;
    padding: 48px 42px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.ps-book-info:after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -70px;
    right: -60px;
}
.ps-book-info > * { position: relative; z-index: 1; }
.ps-book-info-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
}
.ps-book-info-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.3;
}
.ps-book-info > p {
    font-size: 15.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 26px;
}
.ps-book-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}
.ps-book-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
}
.ps-book-list li i { color: #ffd76a; font-size: 16px; margin-top: 2px; }
.ps-book-contact {
    margin-top: auto;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.ps-book-contact span {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13.5px;
    margin-bottom: 12px;
}
.ps-book-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.ps-book-contact a i { color: #ffd76a; }
.ps-book-contact a:hover { color: #ffd76a; }
.ps-book-form {
    padding: 48px 42px;
}
.ps-book-form .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--ed-color-heading-primary);
    background: #f9fbfd;
    transition: all 0.3s ease;
}
.ps-book-form .form-control:focus {
    background: #fff;
    border-color: var(--ed-color-theme-primary);
    box-shadow: 0 0 0 4px rgba(10, 59, 131, 0.08);
}
.ps-book-form .form-control::placeholder { color: #9aa5b5; }
.ps-book-form .nice-select {
    width: 100%;
    height: 50px;
    line-height: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 15px;
    color: var(--ed-color-heading-primary);
    background: #f9fbfd;
    float: none;
    transition: all 0.3s ease;
}
.ps-book-form .nice-select:focus,
.ps-book-form .nice-select:hover {
    background: #fff;
    border-color: var(--ed-color-theme-primary);
}
.ps-book-form .nice-select .current { color: var(--ed-color-heading-primary); }
.ps-book-form .nice-select .list {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 34px rgba(23, 41, 83, 0.14);
    max-height: 230px;
    overflow-y: auto;
    margin-top: 4px;
}
.ps-book-form .nice-select .list li {
    min-height: 42px;
    line-height: 42px;
    font-size: 14.5px;
    padding-left: 16px;
    color: #172953;
}
.ps-book-form .nice-select .option.focus,
.ps-book-form .nice-select .option.selected.focus,
.ps-book-form .nice-select .option:hover {
    background: #eef3fa;
}
.ps-book-form .nice-select .option.selected { font-weight: 600; }
.ps-book-submit {
    font-size: 15px;
    padding: 15px 32px;
    width: 100%;
    justify-content: center;
}
.ps-book-fee {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eef3fa;
    border: 1px dashed #b9cbe4;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    color: #5a6474;
}
.ps-book-fee strong {
    font-family: var(--mj-ff-heading);
    color: var(--ed-color-theme-primary);
    font-size: 20px;
}

/* Appointment success */
.ap-success-box {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 22px;
    padding: 60px 50px;
    box-shadow: 0 18px 48px rgba(23, 41, 83, 0.1);
    border: 1px solid #e9eef5;
}
.ap-success-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 34px rgba(22, 163, 74, 0.3);
}
.ap-success-title {
    font-family: var(--mj-ff-heading);
    font-size: 34px;
    font-weight: 800;
    color: var(--ed-color-heading-primary);
    margin: 0 0 12px;
}
.ap-success-text {
    color: #5a6474;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}
.ap-success-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #eef3fa;
    border-radius: 14px;
    overflow: hidden;
    text-align: left;
    margin-bottom: 32px;
}
.ap-success-details > div {
    background: #fff;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ap-success-details span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9aa5b5;
}
.ap-success-details strong {
    font-size: 15px;
    color: var(--ed-color-heading-primary);
}
.ap-success-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 575px) {
    .ap-success-details { grid-template-columns: 1fr; }
    .ap-success-box { padding: 40px 22px; }
}
@media (max-width: 767px) {
    .ps-hero { padding: 80px 0 130px; }
    .ps-hero-title { font-size: 34px; }
    .ps-hero-desc { font-size: 15.5px; }
    .ps-book-info,
    .ps-book-form { padding: 34px 24px; }
}

/* Blog list excerpt */
.post-card .excerpt { color: #6c706f; margin: 10px 0 14px; }
.post-card .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Misc */
.mt-120 { margin-top: 120px; }
.mb-40 { margin-bottom: 40px; }
.about-founder { display: flex; align-items: center; gap: 18px; }
.about-founder .title { font-size: 24px; font-weight: 700; color: var(--ed-color-heading-primary); }
.about-founder .designation { color: var(--ed-color-theme-primary); font-weight: 500; }
.course-details-content .content-body,
.blog-details-content .content-body,
.event-details-content .content-body,
.page-content-section .content-body {
    font-size: 16px;
    line-height: 1.9;
    color: #6c706f;
}
.content-body h1, .content-body h2, .content-body h3, .content-body h4, .content-body h5 {
    color: var(--ed-color-heading-primary);
    margin: 1.2em 0 0.5em;
}
.content-body img { max-width: 100%; border-radius: 12px; }

/* Instagram section (index-4 style) */
.insta-item .insta-thumb {
    height: 307px;
    overflow: hidden;
    border-radius: 10px;
}
.insta-item .insta-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.insta-section .section-heading { margin-bottom: 45px; }

/* CTA section-3 (index-3 style) */
.cta-section-3 .cta-btn-wrap {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Why Choose Us / Promo section */
.promo-section .promo-thumb .icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ed-color-theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.promo-section .promo-thumb .icon i {
    font-size: 24px;
    color: #fff;
}

/* Achievements carousel */
.achievement-carousel {
    padding: 4px 4px 6px;
}
.achievement-carousel .swiper-slide {
    height: auto;
}
.achievement-carousel .swiper-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    transition: transform 0.4s ease;
}
.achievement-carousel .swiper-slide:hover img {
    transform: scale(1.03);
}
.achievement-carousel .swiper-button-next,
.achievement-carousel .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(7, 30, 42, 0.14);
    transition: all 0.3s ease;
}
.achievement-carousel .swiper-button-next:after,
.achievement-carousel .swiper-button-prev:after {
    font-size: 16px;
    color: var(--ed-color-theme-primary);
    font-weight: 700;
}
.achievement-carousel .swiper-button-next:hover,
.achievement-carousel .swiper-button-prev:hover {
    background: var(--ed-color-theme-primary);
}
.achievement-carousel .swiper-button-next:hover:after,
.achievement-carousel .swiper-button-prev:hover:after {
    color: #fff;
}
.achievement-carousel .swiper-pagination {
    position: static;
    margin-top: 28px;
}
.achievement-carousel .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--ed-color-theme-primary);
    opacity: 0.25;
    transition: all 0.3s ease;
}
.achievement-carousel .swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 28px;
    border-radius: 100px;
}
.achievement-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
}
.achievement-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(23, 41, 83, 0) 0%, var(--ed-color-heading-primary) 100%);
    padding: 40px 20px 18px;
    color: #fff;
}
.achievement-overlay .title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #fff;
}
.achievement-overlay p {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
}
@media (max-width: 767px) {
    .achievement-carousel .swiper-slide img { height: 220px; }
}

/* Video Home Section */
.video-home-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(7, 30, 42, 0.08);
    transition: all 0.3s ease;
}
.video-home-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 38px rgba(10, 42, 94, 0.16);
}
.video-home-thumb {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.video-home-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.video-home-card:hover .video-home-thumb img {
    transform: scale(1.05);
}
.video-home-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}
.video-home-play i {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ed-color-theme-primary);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.video-home-play:hover {
    background: rgba(0, 0, 0, 0.5);
}
.video-home-play:hover i {
    transform: scale(1.1);
}
.video-home-body {
    padding: 16px 18px;
}
.video-home-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}
.video-home-title a {
    color: var(--ed-color-heading-primary);
    transition: color 0.3s ease;
}
.video-home-title a:hover {
    color: var(--ed-color-theme-primary);
}

/* NGO Section */
.ngo-section {
    position: relative;
    z-index: 1;
}
.ngo-section .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 30, 70, 0.92) 0%, rgba(23, 41, 83, 0.88) 100%);
    z-index: 0;
}
.ngo-section .container {
    position: relative;
    z-index: 1;
}
.ngo-content {
    max-width: 720px;
    margin: 0 auto;
}
.ngo-content p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}
.ngo-badge {
    display: inline-block;
    background: var(--mj-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 30px;
    margin-left: 12px;
    vertical-align: middle;
}
@media (max-width: 767px) {
    .ngo-content { text-align: center; }
}

/* Book / How We Start Journey */
.book-section {
    background: linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%);
}
.book-img-wrap {
    text-align: center;
}
.book-img-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(10, 42, 94, 0.18);
}
.book-content {
    max-width: 560px;
}
.book-author {
    color: var(--ed-color-theme-primary);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 14px;
}
.book-content p {
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--ed-color-text-body);
    margin-bottom: 22px;
}
@media (max-width: 767px) {
    .book-img-wrap { margin-bottom: 30px; }
    .book-content { text-align: center; margin: 0 auto; }
}

/* FAQ category tabs */
.faq-tabs-wrap {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 6px 24px rgba(23, 41, 83, 0.06);
}
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 24px;
    margin-bottom: 28px;
}
.faq-tabs .nav-item { margin: 0; }
.faq-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3f6fa;
    color: #5a6474;
    border: 1px solid #e4eaf2;
    border-radius: 100px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.faq-tabs .nav-link i { color: var(--ed-color-theme-primary); }
.faq-tabs .nav-link .faq-tab-count {
    background: #e4eaf2;
    color: #5a6474;
    font-size: 12px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}
.faq-tabs .nav-link:hover {
    background: #eef3fb;
    color: var(--ed-color-theme-primary);
    border-color: #cfe0f6;
}
.faq-tabs .nav-link.active {
    background: linear-gradient(135deg, #0a3b83 0%, #2b7bd8 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(10, 59, 131, 0.28);
}
.faq-tabs .nav-link.active i { color: #ffd76a; }
.faq-tabs .nav-link.active .faq-tab-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.faq-tab-content .tab-pane { min-height: 200px; }
.faq-tabs-wrap .accordion-item {
    border: 1px solid #e4eaf2;
    border-radius: 12px;
    overflow: hidden;
}
.faq-tabs-wrap .accordion-item:not(:last-of-type) {
    margin-bottom: 14px;
}
.faq-tabs-wrap .accordion-button {
    font-size: 16px;
    font-weight: 600;
    color: #0f1c33;
    padding: 18px 22px;
    border-radius: 12px;
}
.faq-tabs-wrap .accordion-button:not(.collapsed) {
    color: var(--ed-color-theme-primary);
    background: #f3f7fc;
    box-shadow: none;
}
.faq-tabs-wrap .accordion-button span {
    color: var(--ed-color-theme-primary);
    font-weight: 700;
    margin-right: 12px;
    font-size: 14px;
}
.faq-tabs-wrap .accordion-body {
    color: #5a6474;
    font-size: 15.5px;
    line-height: 1.85;
    padding: 6px 22px 20px;
}
@media (max-width: 575px) {
    .faq-tabs-wrap { padding: 22px 16px; }
    .faq-tabs { gap: 8px; }
    .faq-tabs .nav-link { padding: 9px 14px; font-size: 13px; }
}

/* FAQ + Contact Section */
.faq-contact-section {
    background: #f6f9fd;
}
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 34px 30px;
    box-shadow: 0 8px 32px rgba(7, 30, 42, 0.08);
}
.contact-form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ed-color-heading-primary);
    margin-bottom: 22px;
}
.contact-form-card .form-control {
    border: 1px solid #dde4f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}
.contact-form-card .form-control:focus {
    border-color: var(--ed-color-theme-primary);
    box-shadow: 0 0 0 3px rgba(10, 59, 131, 0.1);
}
.contact-form-card textarea.form-control {
    resize: none;
}

/* Product detail page (services) — image left / content right + full width tabs */
.product-top .product-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(7, 30, 42, 0.12);
}
.product-top .product-image img {
    width: 100%;
    height: auto;
    display: block;
}
.product-info .product-category {
    display: inline-block;
    background: rgba(10, 59, 131, 0.08);
    color: var(--ed-color-theme-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.product-info .title {
    font-size: 34px;
    font-weight: 700;
    color: var(--ed-color-heading-primary);
    margin-bottom: 16px;
}
.product-info .product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}
.product-info .product-price .js-price-amount {
    font-size: 30px;
    font-weight: 800;
    color: var(--ed-color-theme-primary);
}
.product-info .product-price .old-price {
    font-size: 18px;
    color: #9aa3b2;
    text-decoration: line-through;
}
.product-info .product-price .discount-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
}
.product-short-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ed-color-text-body);
    margin: 0 0 26px;
}
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.product-actions .ed-primary-btn {
    min-width: 180px;
    justify-content: center;
}
.full-width-tabs {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}
.full-width-tabs .nav-tabs {
    background: transparent;
    border-bottom: 1px solid #e6ebf2;
    flex-wrap: nowrap;
    overflow: visible;
    justify-content: center;
    gap: 6px;
}
.full-width-tabs .nav-tabs::-webkit-scrollbar,
.full-width-tabs .nav-tabs::-webkit-scrollbar-thumb {
    display: none;
}
.full-width-tabs .nav-tabs .nav-item {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    border: none;
}
.full-width-tabs .nav-tabs .nav-item:not(:last-of-type) {
    border-right: none;
}
.full-width-tabs .nav-tabs .nav-link {
    white-space: nowrap;
    border: none;
    border-radius: 10px 10px 0 0;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    color: #5a6474;
    column-gap: 8px;
    position: relative;
    background: transparent;
    width: auto;
}
.full-width-tabs .nav-tabs .nav-link i {
    font-size: 14px;
}
.full-width-tabs .nav-tabs .nav-link:before {
    background-color: var(--ed-color-theme-primary);
    content: "";
    width: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    position: absolute;
    top: auto;
    bottom: -1px;
    left: 0;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.full-width-tabs .nav-tabs .nav-link:hover {
    color: var(--ed-color-theme-primary);
}
.full-width-tabs .nav-tabs .nav-link.active {
    background: #f7fafd;
    color: var(--ed-color-theme-primary);
    border: 1px solid #e6ebf2;
    border-bottom-color: #f7fafd;
}
.full-width-tabs .nav-tabs .nav-link.active:before {
    width: 100%;
}
.full-width-tabs .tab-content {
    padding: 34px 10px 10px;
}
.full-width-tabs .tab-content .tab-overview,
.full-width-tabs .tab-content .curriculam-area {
    padding: 0;
}
.full-width-tabs .tab-content p,
.full-width-tabs .tab-content li {
    color: #5a6474;
    font-size: 15.5px;
    line-height: 1.9;
}
.full-width-tabs .tab-content h2,
.full-width-tabs .tab-content h3,
.full-width-tabs .tab-content h4,
.full-width-tabs .tab-content h5 {
    color: #0f1c33;
    font-weight: 700;
    margin: 0 0 14px;
}
.full-width-tabs .tab-content ul:not(.nav),
.full-width-tabs .tab-content ol {
    margin: 0 0 16px;
    padding-left: 22px;
}
.full-width-tabs .tab-content ul:not(.nav) li,
.full-width-tabs .tab-content ol li {
    margin-bottom: 8px;
}
@media (max-width: 767px) {
    .full-width-tabs .nav-tabs {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    .full-width-tabs .nav-tabs .nav-link {
        padding: 9px 16px;
        font-size: 13.5px;
        border-radius: 30px;
    }
    .full-width-tabs .nav-tabs .nav-link.active {
        border: 1px solid #e6ebf2;
        border-bottom-color: #e6ebf2;
    }
    .full-width-tabs .nav-tabs .nav-link:before {
        display: none;
    }
    .full-width-tabs .tab-content {
        padding: 24px 4px 8px;
    }
}
@media (max-width: 991px) {
    .product-top .product-image {
        max-width: 560px;
        margin: 0 auto;
    }
}
@media (max-width: 575px) {
    .product-info .title {
        font-size: 26px;
    }
    .product-actions .ed-primary-btn {
        width: 100%;
        min-width: 0;
    }
    .full-width-tabs {
        padding: 24px 18px;
    }
}

/* Home product grid � 4 col, square images, tighter gap */
.product-grid .col {
    display: flex;
}
.product-grid .research-card {
    width: 100%;
}
.research-card-thumb-square {
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 12px 12px 0;
}
.research-card-thumb-square img {
    height: 100%;
}
.research-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 991px) {
    .product-grid .research-card-thumb-square {
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/* ===== Header / topbar overrides ===== */

/* Keep topbar visible on smaller screens */
@media (max-width: 1200px) {
    .header .top-bar {
        display: block;
    }
    .header .top-bar .top-bar-left {
        display: none;
    }
}

/* Topbar: smaller font + height */
.header .top-bar {
    font-size: 12px;
    line-height: 1.2;
}
.header .top-bar .top-bar-inner {
    row-gap: 6px;
}
.header .top-bar .top-bar-inner .top-bar-left .top-bar-list li {
    padding: 6px 0;
    column-gap: 7px;
    font-size: 12px;
}
.header .top-bar .top-bar-inner .top-bar-left .top-bar-list li:not(:last-of-type) {
    margin-right: 14px;
    padding-right: 14px;
}
.header .top-bar .top-bar-inner .top-bar-right {
    min-height: 34px;
}
.header .top-bar .top-bar-inner .top-bar-right .currency-wrap {
    padding: 6px 0;
    margin-right: 14px;
    padding-right: 14px;
}
.header .top-bar .top-bar-inner .top-bar-right .currency-wrap .icon {
    font-size: 12px;
}
.header .top-bar .top-bar-inner .top-bar-right .currency-wrap .currency-select {
    font-size: 12px;
    padding: 2px 6px;
}
.header .top-bar .top-bar-inner .top-bar-right .top-social-wrap .social-list {
    margin-left: 0;
}
.header .top-bar .top-bar-inner .top-bar-right .top-social-wrap .social-list li a {
    font-size: 12px;
}

/* Header: smaller height + menu font */
.header .primary-header-inner .header-menu-wrap .sub-menu li {
    margin: 0 11px;
}
.header .primary-header-inner .header-menu-wrap .sub-menu > li > a {
    font-size: 14px;
    padding: 28px 0;
}
.header .primary-header-inner .header-menu-wrap .sub-menu > li > ul {
    top: 76px;
}
.header .primary-header-inner .header-menu-wrap .sub-menu .menu-item-has-children:first-child:after {
    transform: translateY(-50%) translateX(-7px);
}

/* Header: smaller book appointment button */
.header .primary-header-inner .header-right .header-btn {
    font-size: 14px;
    padding: 10px 22px;
}

/* ===== Dropdown sub-menu: professional ===== */
.header .primary-header-inner .header-menu-wrap .sub-menu li ul {
    width: 265px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid #eef2f7;
    box-shadow: 0 20px 50px rgba(10, 42, 94, 0.16);
    top: 100%;
    left: 0;
    z-index: 100;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all 0.3s ease;
}
.header .primary-header-inner .header-menu-wrap .sub-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header .primary-header-inner .header-menu-wrap .sub-menu li li {
    display: block;
    padding-left: 0;
    background: transparent;
}
.header .primary-header-inner .header-menu-wrap .sub-menu li li:not(:last-of-type) {
    border-bottom: 1px solid #eef2f7;
}
.header .primary-header-inner .header-menu-wrap .sub-menu li li a {
    font-family: var(--ed-ff-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #334155;
    text-transform: none;
    padding: 11px 14px;
    border-radius: 8px;
    width: 100%;
}
.header .primary-header-inner .header-menu-wrap .sub-menu li li a:hover {
    color: var(--ed-color-theme-primary);
    background: #f0f5ff;
    padding-left: 18px;
}
.header .primary-header-inner .header-menu-wrap .sub-menu li li:hover {
    background: transparent;
}
.header .primary-header-inner .header-menu-wrap .sub-menu li li:hover a {
    color: var(--ed-color-theme-primary);
}
.header .primary-header-inner .header-menu-wrap .sub-menu li li.active {
    background: transparent;
}
.header .primary-header-inner .header-menu-wrap .sub-menu li li.active a {
    color: var(--ed-color-theme-primary) !important;
    background: transparent;
}
.header .primary-header-inner .header-menu-wrap .sub-menu li li ul {
    top: 0;
    left: 100%;
}
.header .primary-header-inner .header-menu-wrap .sub-menu .menu-item-has-children:after {
    font-size: 11px;
}

/* Header user icon + dropdown */
.header-user {
    position: relative;
    display: flex;
    align-items: center;
}
.header-user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 4px;
    color: var(--ed-color-heading-primary);
}
.header-user-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    border-radius: 50%;
    border: 1px solid #E0E5EB;
    color: var(--ed-color-theme-primary);
    font-size: 15px;
}
.header-user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ed-color-heading-primary);
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-user-caret {
    font-size: 10px;
    color: #94a3b8;
    transition: transform 0.3s ease;
}
.header-user:hover .header-user-caret {
    transform: rotate(180deg);
}
.header-user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 190px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(10, 42, 94, 0.18);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 120;
    text-align: left;
}
.header-user:hover .header-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header-user-dropdown a,
.header-user-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--ed-color-heading-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}
.header-user-dropdown a:hover,
.header-user-dropdown button:hover {
    background: #f0f5ff;
    color: var(--ed-color-theme-primary);
}
.header-user-dropdown form {
    margin: 0;
}
.header-user-login {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ed-color-heading-primary);
}
.header-user-login:hover {
    color: var(--ed-color-theme-primary);
}
@media (max-width: 767px) {
    .header-user-name,
    .header-user-caret {
        display: none;
    }
}

/* ===== Header in one single line ===== */
.header .primary-header-inner {
    flex-wrap: nowrap;
    gap: 32px;
}
.header .primary-header-inner .header-logo {
    flex-shrink: 0;
}
.header .primary-header-inner .header-menu-wrap {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}
.header .primary-header-inner .header-menu-wrap .sub-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.header .primary-header-inner .header-menu-wrap .sub-menu > li {
    margin: 0 14px;
    white-space: nowrap;
}
.header .primary-header-inner .header-menu-wrap .sub-menu > li > a {
    font-size: 13px;
    padding: 28px 0;
}
.header .primary-header-inner .header-right-wrap {
    flex-shrink: 0;
}
.header .primary-header-inner .header-right {
    column-gap: 26px;
}
@media (max-width: 1399px) {
    .header .primary-header-inner .header-logo img {
        max-width: 150px;
    }
    .header .primary-header-inner .header-menu-wrap .sub-menu > li {
        margin: 0 10px;
    }
}
@media (max-width: 1199px) {
    .header .primary-header-inner .header-logo img {
        max-width: 130px;
    }
    .header .primary-header-inner .header-menu-wrap .sub-menu > li > a {
        font-size: 12px;
    }
}

/* ===== Inner page header: gradient + centered title only ===== */
.page-header {
    background: linear-gradient(180deg, #eef3fa 0%, #dfe8f4 100%);
    padding: 90px 0;
}
.page-header .page-header-content {
    padding-left: 0;
    text-align: center;
}
.page-header-content .title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 0;
}
@media (max-width: 575px) {
    .page-header {
        padding: 60px 0;
    }
    .page-header-content .title {
        font-size: 30px;
    }
}

/* ===== About pages: Maven Pro headings + brand color ===== */
body.about-page .page-header-content .title,
body.about-page h1,
body.about-page h2,
body.about-page h3,
body.about-page h4 {
    font-family: var(--mj-ff-heading);
    color: var(--mj-heading-color);
}
body.about-page .content-body h2 {
    font-size: 30px;
    font-weight: 700;
    margin: 1.4em 0 0.6em;
}
body.about-page .content-body h2:first-child {
    margin-top: 0;
}
body.about-page .ps-hero-title,
body.about-page .ps-book-info-title,
body.about-page .ps-hero .ps-hero-badge {
    color: #fff;
}
body.about-page .ps-hero-chips li { color: rgba(255, 255, 255, 0.92); }

/* About Dr. Srijamya: founder card */
.about-page-section { background: #fff; }
.about-founder-card {
    display: flex;
    align-items: center;
    gap: 34px;
    background: linear-gradient(160deg, #082b62 0%, #0a3b83 45%, #1759b8 100%);
    border-radius: 22px;
    padding: 44px 46px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(10, 42, 94, 0.22);
    position: relative;
    overflow: hidden;
}
.about-founder-card:after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -90px;
    right: -70px;
}
.about-founder-card > * { position: relative; z-index: 1; }
.about-founder-avatar {
    flex-shrink: 0;
}
.about-founder-avatar span {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8 0%, #2b7bd8 100%);
    color: #fff;
    font-family: var(--mj-ff-heading);
    font-size: 42px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.about-founder-info { flex: 1 1 auto; }
.about-founder-name {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
}
.about-founder-desg {
    color: #ffd76a;
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 16px;
    letter-spacing: 0.3px;
}
.about-founder-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15.5px;
    line-height: 1.85;
    margin: 0;
}
.about-founder-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    display: block;
}
.about-founder-photo {
    flex-shrink: 0;
}
.about-founder-photo img {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #dce6f4;
    box-shadow: 0 10px 26px rgba(10, 42, 94, 0.16);
}
.about-founder-meta { flex: 1 1 auto; }

.founder-cred-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 26px;
}
.founder-cred-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ed-color-heading-primary);
    box-shadow: 0 6px 18px rgba(23, 41, 83, 0.06);
}
.founder-cred-item i {
    color: var(--ed-color-theme-primary);
}

/* Why Medjections (About) */
.why-card { height: 100%; }
.why-card p { margin-bottom: 0; }
.why-quote {
    position: relative;
    border-left: 4px solid var(--ed-color-theme-primary);
    background: #f2f6fc;
    border-radius: 0 14px 14px 0;
    padding: 22px 26px;
    margin: 0;
}
.why-quote p {
    font-family: var(--mj-ff-heading);
    font-size: 17px;
    font-style: italic;
    color: var(--ed-color-heading-primary);
    margin: 0 0 8px;
}
.why-quote cite {
    font-style: normal;
    font-size: 13.5px;
    color: var(--ed-color-theme-primary);
    font-weight: 600;
}

/* Our Collaborations: logo cards */
.collab-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 16px;
    padding: 28px 18px;
    height: 100%;
    box-shadow: 0 6px 24px rgba(23, 41, 83, 0.06);
    transition: all 0.35s ease;
}
.collab-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(23, 41, 83, 0.12);
    border-color: #cfe0f6;
}
.collab-logo {
    width: 100%;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.collab-logo img {
    max-width: 100%;
    max-height: 74px;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: filter 0.3s ease;
}
.collab-card:hover .collab-logo img { filter: grayscale(0); }
.collab-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #5a6474;
    line-height: 1.4;
}

/* Our Achievements: image gallery */
.achieve-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(23, 41, 83, 0.08);
    aspect-ratio: 4 / 3;
}
.achieve-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.achieve-card:hover img { transform: scale(1.06); }
.achieve-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 18px 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 42, 94, 0.85) 70%);
    color: #fff;
}
.achieve-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}
.achieve-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}
@media (max-width: 767px) {
    .about-founder-card { flex-direction: column; text-align: center; padding: 34px 24px; }
    .about-founder-name { font-size: 26px; }
}

/* ===== Footer compact left column ===== */
.footer-section .footer-logo img {
    width: 165px;
    height: auto;
}
.footer-section .footer-widget > p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    max-width: 280px;
    margin-bottom: 18px;
}
.footer-section .footer-widget .footer-contact .number {
    font-size: 14px;
}
.footer-section .footer-widget .footer-contact .number i {
    font-size: 15px;
}
.footer-section .footer-widget .footer-contact .mail {
    font-size: 13.5px;
}
.footer-section .footer-widget .footer-social li a {
    width: 34px;
    height: 34px;
    font-size: 14px;
}
@media (max-width: 991px) {
    .footer-section .footer-logo img { width: 150px; }
}
.footer-section .footer-widget.widget-2 {
    padding-left: 0;
}
.footer-widget.widget-2 .footer-list li a {
    position: relative;
    padding-left: 16px;
}
.footer-widget .footer-list li:not(:last-of-type) {
    margin-bottom: 4px;
}
.footer-widget .footer-list li a {
    font-family: var(--ed-ff-body);
    color: var(--ed-color-common-white);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

/* ===== Book page ===== */
.book-page-wrap {
    background: linear-gradient(180deg, #eef3fa 0%, #dfe8f4 100%);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 18px 48px rgba(23, 41, 83, 0.08);
}
.book-page-cover {
    display: flex;
    justify-content: center;
}
.book-page-cover-inner {
    position: relative;
    width: 280px;
    min-height: 400px;
    border-radius: 14px 22px 22px 14px;
    background: linear-gradient(160deg, #0a3b83 0%, #1759b8 55%, #38bdf8 160%);
    box-shadow: 12px 18px 40px rgba(10, 42, 94, 0.35), inset 6px 0 14px rgba(255, 255, 255, 0.18);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
}
.book-page-cover-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.25);
}
.book-page-cover-tag {
    display: inline-block;
    background: #ffd76a;
    color: #172953;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    padding: 6px 16px;
    margin-bottom: 26px;
}
.book-page-cover-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin-bottom: 14px;
    font-family: var(--mj-ff-heading);
}
.book-page-cover-sub {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}
.book-page-cover-author {
    font-size: 16px;
    font-weight: 700;
    color: #ffd76a;
    margin-top: auto;
}
.book-page-cover-md {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}
.book-page-content .content-body p {
    font-size: 15.5px;
    line-height: 1.9;
    color: #5a6474;
}
.book-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.mj-btn-ghost {
    background: transparent;
    border: 2px solid rgba(23, 41, 83, 0.35);
    color: var(--ed-color-heading-primary);
}
.mj-btn-ghost:hover {
    background: var(--ed-color-heading-primary);
    border-color: var(--ed-color-heading-primary);
    color: #fff;
}
.mj-btn-ghost:hover:before { display: none; }
@media (max-width: 767px) {
    .book-page-wrap { padding: 36px 22px; }
    .book-page-cover-inner { width: 230px; min-height: 340px; padding: 30px 22px; }
    .book-page-cover-title { font-size: 40px; }
}





/* ---- Hero heading single consistent color ---- */
.hero-content .section-heading .section-title span,
.hero-content .section-heading .section-title h2,
.hero-content .section-heading .section-title .title {
    color: inherit;
    font-weight: inherit;
}

/* ---- Achievement gallery prominence ---- */
.achievement-carousel .swiper-slide img {
    height: 360px;
    border-radius: 14px;
}
.achievement-carousel .achievement-item {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(23, 41, 83, 0.12);
}

/* ---- Instagram (Medjections) section prominence ---- */
.insta-section .section-heading .section-title {
    font-size: 46px;
    line-height: 1.2;
}
.mj-insta-embed {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}
.insta-carousel {
    overflow: hidden;
}
.insta-carousel .swiper-slide {
    min-width: 0;
    height: auto;
}
.insta-carousel .swiper-slide .instagram-media {
    margin: 0 auto !important;
}
.insta-carousel .swiper-pagination {
    position: static;
    margin-top: 26px;
}
.insta-carousel .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--ed-color-theme-primary);
    opacity: 0.25;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.insta-carousel .swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 28px;
    border-radius: 100px;
}
.insta-section .mt-40 {
    margin-top: 30px;
}

/* ---- Auth (Login / Register) ---- */
.mj-auth-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #F2F4F7 0%, #ffffff 100%);
}
.mj-auth-card {
    display: flex;
    max-width: 1020px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(23, 41, 83, 0.14);
}
.mj-auth-brand {
    flex: 0 0 46%;
    max-width: 46%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 45px;
    color: #ffffff;
    background: linear-gradient(140deg, #172953 0%, #0a3b83 55%, #1d61aa 100%);
    position: relative;
    overflow: hidden;
}
.mj-auth-brand::before,
.mj-auth-brand::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}
.mj-auth-brand::before {
    width: 260px;
    height: 260px;
    top: -80px;
    right: -80px;
}
.mj-auth-brand::after {
    width: 340px;
    height: 340px;
    bottom: -140px;
    left: -120px;
}
.mj-auth-brand-top,
.mj-auth-brand-content,
.mj-auth-brand-bottom {
    position: relative;
    z-index: 1;
}
.mj-auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.mj-auth-logo img {
    max-height: 44px;
    width: auto;
}
.mj-auth-logo-text {
    font-family: var(--ed-ff-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--ed-color-heading-primary);
    letter-spacing: 0.5px;
}
.mj-auth-brand-title {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px;
}
.mj-auth-brand-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 26px;
}
.mj-auth-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mj-auth-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 14px;
}
.mj-auth-features li i {
    color: #ffc14d;
    font-size: 16px;
    margin-top: 2px;
}
.mj-auth-brand-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 30px;
}
.mj-auth-brand-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}
.mj-auth-brand-bottom a {
    color: #ffc14d;
    font-weight: 600;
}
.mj-auth-form {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 55px;
}
.mj-auth-form-inner {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}
.mj-auth-heading-block {
    margin-bottom: 30px;
}
.mj-auth-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--mj-accent);
    margin-bottom: 8px;
}
.mj-auth-heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--ed-color-heading-primary);
    margin: 0 0 6px;
}
.mj-auth-subheading {
    font-size: 14px;
    color: var(--ed-color-text-body);
    margin: 0;
}
.mj-field-label {
    font-weight: 600;
    color: var(--ed-color-heading-primary);
}
.mj-input-wrap {
    position: relative;
}
.mj-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #8f96a8;
    font-size: 15px;
    pointer-events: none;
}
.mj-input-wrap .form-control {
    padding-left: 44px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid #E0E5EB;
    background: #FBFCFE;
    font-size: 14px;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.mj-input-wrap .form-control:focus {
    border-color: var(--ed-color-theme-primary);
    box-shadow: 0 0 0 3px rgba(10, 59, 131, 0.12);
    background: #ffffff;
}
.mj-input-wrap .form-control.is-invalid {
    border-color: #dc3545;
}
.mj-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #8f96a8;
    font-size: 15px;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}
.mj-password-toggle:hover {
    color: var(--ed-color-theme-primary);
}
.mj-auth-form .form-check-input:checked {
    background-color: var(--ed-color-theme-primary);
    border-color: var(--ed-color-theme-primary);
}
.mj-auth-form .form-check-label {
    font-size: 14px;
    color: var(--ed-color-text-body);
}
.mj-auth-form .ed-primary-btn {
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 30px;
}
.mj-auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0;
}
.mj-auth-divider::before,
.mj-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #E0E5EB;
}
.mj-auth-divider span {
    font-size: 13px;
    color: #8f96a8;
}
.mj-auth-switch {
    font-size: 14px;
    color: var(--ed-color-text-body);
}
.mj-auth-switch a {
    color: var(--ed-color-theme-primary);
}
@media only screen and (max-width: 991px) {
    .mj-auth-card {
        flex-direction: column;
    }
    .mj-auth-brand {
        flex: none;
        max-width: 100%;
        padding: 40px 30px;
    }
    .mj-auth-brand-content {
        margin: 28px 0;
    }
    .mj-auth-form {
        padding: 40px 30px;
    }
}

/* ---- Form selects & phone country-code (checkout / register) ---- */
.mj-input-wrap .form-select {
    height: 52px;
    border-radius: 10px;
    border: 1px solid #E0E5EB;
    background: #FBFCFE;
    font-size: 14px;
    padding-left: 44px;
    color: var(--ed-color-heading-primary);
    transition: border-color 0.25s, box-shadow 0.25s;
}
.mj-input-wrap .form-select:focus {
    border-color: var(--ed-color-theme-primary);
    box-shadow: 0 0 0 3px rgba(10, 59, 131, 0.12);
    background: #ffffff;
}
.mj-field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13.5px;
    letter-spacing: .2px;
}
.mj-input-wrap select.form-select {
    padding-right: 40px;
}
.mj-input-wrap select.form-select + .form-control,
.mj-input-wrap .form-control.d-none + .form-control {
    padding-left: 44px;
}
.mj-input-wrap .form-control.d-none {
    display: none !important;
}
.mj-cc-apply-btn {
    border: 1px solid var(--ed-color-theme-primary);
    color: var(--ed-color-theme-primary);
    background: #fff;
    font-weight: 600;
    border-left: 0;
    border-radius: 0 10px 10px 0 !important;
    padding: 0 18px;
    transition: background .25s, color .25s;
}
.mj-cc-apply-btn:hover {
    background: var(--ed-color-theme-primary);
    color: #fff;
}
.mj-zip-hint {
    font-size: 12px;
    color: #8f96a8;
    margin-top: 5px;
}
.mj-zip-hint i {
    color: var(--ed-color-theme-primary);
}
.mj-checkout-section {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 16px;
    padding: 28px 30px;
    box-shadow: 0 6px 24px rgba(20, 40, 80, .06);
}
.mj-checkout-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ed-color-heading-primary);
    margin-bottom: 4px;
}
.mj-checkout-subtitle {
    font-size: 13px;
    color: #8f96a8;
    margin-bottom: 24px;
}
.mj-phone-code {
    flex: 0 0 116px;
    width: 116px;
    height: 52px;
    border-radius: 10px 0 0 10px;
    border: 1px solid #E0E5EB;
    border-right: 0;
    background: #FBFCFE;
    font-size: 13px;
    font-weight: 600;
    color: var(--ed-color-heading-primary);
    padding-left: 12px;
    transition: border-color 0.25s;
}
.mj-phone-code:focus {
    border-color: var(--ed-color-theme-primary);
    outline: none;
}
.mj-phone-input .form-control {
    border-radius: 0 10px 10px 0;
    border-left: 1px solid #E0E5EB !important;
}
.mj-phone-input .form-control:focus {
    border-left-color: var(--ed-color-theme-primary) !important;
}

/* ============================================
   Home Testimonial Section — Dark + Animated
   ============================================ */
.testi-dark-section {
    position: relative;
    background: linear-gradient(135deg, #060e2b 0%, #0a1a4a 30%, #0f2b6b 60%, #0a1a4a 100%);
    background-size: 300% 300%;
    animation: testi-gradient-drift 18s ease infinite;
    padding: 120px 0 160px;
    overflow: hidden;
    z-index: 1;
}
@keyframes testi-gradient-drift {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 100% 0%; }
    50%  { background-position: 100% 100%; }
    75%  { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}
.testi-dark-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -5%;
    right: -5%;
    height: 100px;
    background: #fff;
    border-radius: 0 0 50% 50%;
    z-index: 3;
}
.testi-dark-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: -5%;
    right: -5%;
    height: 100px;
    background: #f8fafd;
    border-radius: 50% 50% 0 0;
    z-index: 3;
}
.testi-dark-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.testi-dark-orbs .orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: orb-float 14s ease-in-out infinite;
}
.testi-dark-orbs .orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #38bdf8, transparent 70%);
    top: -120px; right: -100px;
    animation-delay: 0s;
}
.testi-dark-orbs .orb-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #818cf8, transparent 70%);
    bottom: -80px; left: -60px;
    animation-delay: 5s;
}
.testi-dark-orbs .orb-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--mj-accent, #D77E15), transparent 70%);
    top: 40%; right: 30%;
    animation-delay: 9s;
}
.testi-dark-orbs .orb-4 {
    width: 160px; height: 160px;
    background: radial-gradient(circle, #4ade80, transparent 70%);
    top: 20%; left: 10%;
    animation-delay: 2s;
}
@keyframes orb-float {
    0%,100% { transform: translate(0,0) scale(1); }
    33%    { transform: translate(30px,-40px) scale(1.15); }
    66%    { transform: translate(-20px,30px) scale(0.9); }
}
.testi-dark-container { position: relative; z-index: 4; }
.testi-dark-left { color: #fff; }
.testi-dark-quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px; height: 70px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.12);
    color: var(--mj-accent, #D77E15);
    font-size: 30px;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}
.testi-dark-left .section-heading .sub-heading {
    color: rgba(255,255,255,0.65);
    background: none;
}
.testi-dark-left .section-heading .sub-heading .heading-icon {
    color: var(--mj-accent, #D77E15);
}
.testi-dark-left .section-heading .section-title {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
}
.testi-dark-left p {
    color: rgba(255,255,255,0.7);
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 30px;
}
.testi-dark-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.testi-dark-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 16px 20px;
    min-width: 100px;
    backdrop-filter: blur(6px);
}
.testi-dark-stat .stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.testi-dark-stat .stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}
.testi-dark-carousel-wrap { position: relative; }
.testi-dark-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 34px 30px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}
.testi-dark-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--mj-accent, #D77E15), #fbbf24, #38bdf8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.testi-dark-swiper .swiper-slide-active .testi-dark-card::before { transform: scaleX(1); }
.testi-dark-card-quote {
    position: absolute;
    top: 16px; right: 22px;
    font-size: 60px;
    color: rgba(255,255,255,0.08);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.testi-dark-card .testi-stars {
    list-style: none;
    display: flex;
    gap: 3px;
    padding: 0;
    margin: 0 0 16px;
}
.testi-dark-card .testi-stars li i {
    color: #f59e0b;
    font-size: 14px;
}
.testi-dark-card .testi-text {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 22px;
    font-style: italic;
}
.testi-dark-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testi-dark-avatar {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
}
.testi-dark-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.testi-dark-initial {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mj-accent, #D77E15), #fbbf24);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.2);
}
.testi-dark-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}
.testi-dark-role {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    margin-top: 2px;
}
.testi-dark-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}
.testi-dark-nav button {
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testi-dark-nav button:hover {
    background: var(--mj-accent, #D77E15);
    border-color: var(--mj-accent, #D77E15);
    transform: scale(1.1);
}
.testi-dark-pagination {
    display: flex;
    gap: 8px;
}
.testi-dark-pagination .swiper-pagination-bullet {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.25);
    opacity: 1;
    margin: 0 !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.testi-dark-pagination .swiper-pagination-bullet-active {
    background: var(--mj-accent, #D77E15);
    width: 28px;
    border-radius: 100px;
}
@media (max-width: 1199px) {
    .testi-dark-left { text-align: center; margin-bottom: 50px; }
    .testi-dark-stats { justify-content: center; }
    .testi-dark-nav { justify-content: center; }
    .testi-dark-left .section-heading .section-title { font-size: 28px; }
}
@media (max-width: 575px) {
    .testi-dark-section { padding: 80px 0 130px; }
    .testi-dark-card { padding: 24px 20px 22px; }
    .testi-dark-stats { gap: 12px; }
    .testi-dark-stat { padding: 12px 14px; min-width: 80px; }
    .testi-dark-stat .stat-number { font-size: 22px; }
}

/* ============================================
   Home FAQ + Contact — Creative Section
   ============================================ */
.faq-creative-section {
    position: relative;
    background: #f8fafd;
    padding: 120px 0;
    overflow: hidden;
    z-index: 1;
}
.faq-creative-section::before {
    content: '';
    position: absolute;
    top: -60px; left: -120px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,0.12), transparent 70%);
    z-index: 0;
}
.faq-creative-section::after {
    content: '';
    position: absolute;
    bottom: -80px; right: -100px;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129,140,248,0.10), transparent 70%);
    z-index: 0;
}
.faq-creative-bg-dots {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(10,59,131,0.06) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 40%, transparent 100%);
}
.faq-creative-container { position: relative; z-index: 2; }
.faq-creative-card {
    background: #fff;
    border-radius: 20px;
    padding: 34px 30px;
    box-shadow: 0 10px 40px rgba(10,29,71,0.07);
    border: 1px solid #ecf0f6;
    height: 100%;
}
.faq-creative-card .accordion-item {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f9fbfe;
    transition: all 0.35s ease;
}
.faq-creative-card .accordion-item:hover {
    background: #fff;
    box-shadow: 0 6px 22px rgba(10,42,94,0.08);
}
.faq-creative-card .accordion-item:last-of-type { margin-bottom: 0; }
.faq-creative-card .accordion-button {
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #1a2a4a;
    padding: 18px 20px;
    border-radius: 14px;
    gap: 14px;
    box-shadow: none;
    transition: all 0.3s ease;
}
.faq-creative-card .accordion-button .faq-num {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--ed-color-theme-primary), #2b7bd8);
    transition: all 0.3s ease;
}
.faq-creative-card .accordion-button:not(.collapsed) .faq-num {
    background: linear-gradient(135deg, var(--mj-accent, #D77E15), #f59e0b);
    transform: rotate(6deg);
}
.faq-creative-card .accordion-button:not(.collapsed) {
    color: var(--ed-color-theme-primary);
    background: #fff;
}
.faq-creative-card .accordion-button::after {
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #eef2f8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-image: none !important;
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    content: '\f078';
    font-size: 12px;
    color: #5a6474;
    transition: all 0.35s ease;
    transform: none !important;
}
.faq-creative-card .accordion-button:not(.collapsed)::after {
    background: linear-gradient(135deg, var(--ed-color-theme-primary), #2b7bd8);
    color: #fff;
    content: '\f077';
}
.faq-creative-card .accordion-body {
    color: #5a6474;
    font-size: 15px;
    line-height: 1.85;
    padding: 4px 20px 20px;
    background: #fff;
    border-radius: 0 0 14px 14px;
}
.contact-creative-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(10,29,71,0.10);
    position: relative;
    height: 100%;
}
.contact-creative-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ed-color-theme-primary), var(--mj-accent, #D77E15), #38bdf8);
    z-index: 2;
}
.contact-creative-top {
    background: linear-gradient(160deg, #0a1a4a 0%, #0a3b83 50%, #1d61aa 100%);
    color: #fff;
    padding: 30px 32px;
    position: relative;
    overflow: hidden;
}
.contact-creative-top::after {
    content: '';
    position: absolute;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -60px; right: -50px;
}
.contact-creative-top > * { position: relative; z-index: 1; }
.contact-creative-icon {
    width: 54px; height: 54px;
    border-radius: 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}
.contact-creative-top h4 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.contact-creative-top p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.contact-creative-body {
    padding: 30px 32px;
}
.contact-creative-body .form-control {
    border: 1.5px solid #e4eaf2;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 15px;
    color: var(--ed-color-heading-primary);
    background: #f9fbfe;
    transition: all 0.3s ease;
}
.contact-creative-body .form-control:focus {
    background: #fff;
    border-color: var(--ed-color-theme-primary);
    box-shadow: 0 0 0 4px rgba(10,59,131,0.08);
}
.contact-creative-body .form-control::placeholder { color: #aab4c2; }
.contact-creative-body textarea.form-control { resize: none; }
.contact-creative-submit {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ed-color-theme-primary), var(--mj-blue, #1D61AA));
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(10,59,131,0.28);
}
.contact-creative-submit:hover {
    background: linear-gradient(135deg, var(--mj-accent, #D77E15), #f59e0b);
    box-shadow: 0 14px 34px rgba(215,126,21,0.32);
    transform: translateY(-2px);
}
@media (max-width: 991px) {
    .faq-creative-card { margin-bottom: 30px; }
}

/* ===== Student Gallery Section ===== */
.student-gallery-section {
    position: relative;
    padding: 100px 0 110px;
    background: #ffffff;
    overflow: hidden;
}
.student-gallery-section .section-heading { margin-bottom: 55px; }
.student-gallery-carousel-wrap { position: relative; }
.student-gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15,45,54,.12);
    background: #fff;
}
.student-gallery-photo { width: 100%; padding-bottom: 100%; position: relative; }
.student-gallery-photo img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.student-gallery-video { position: relative; width: 100%; padding-bottom: 75%; background:#000; }
.student-gallery-video iframe {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.student-gallery-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 30px 16px 14px;
    font-size: 14px; font-weight: 600; color: #fff;
    background: linear-gradient(to top, rgba(10,59,131,.85), transparent);
}
.student-gallery-nav {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    margin-top: 40px;
}
.student-gallery-prev,
.student-gallery-next {
    width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(10,59,131,.2);
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: #0A3B83; cursor: pointer; transition: all .3s ease;
    font-size: 16px;
}
.student-gallery-prev:hover,
.student-gallery-next:hover { background: #0A3B83; color: #fff; border-color: #0A3B83; }
.student-gallery-pagination {
    display: flex !important; gap: 8px;
}
.student-gallery-pagination .swiper-pagination-bullet {
    width: 10px; height: 10px; border-radius: 20px; background: #c7d3da;
    opacity: 1; transition: all .3s ease;
}
.student-gallery-pagination .swiper-pagination-bullet-active {
    width: 26px; background: #0A3B83;
}
@media (max-width: 991px) {
    .student-gallery-section { padding: 70px 0 80px; }
}

/* ===== Header: menu normal case (remove UPPERCASE) ===== */
.header .primary-header-inner .header-menu-wrap .sub-menu > li > a {
    text-transform: none;
    letter-spacing: 0;
}

/* ===== Header: Login link moved to top bar ===== */
.top-bar-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 22px;
    transition: color .3s ease;
}
.top-bar-login i { font-size: 13px; }
.top-bar-login:hover { color: var(--mj-accent, #D77E15); }
.top-bar-right { display: flex; align-items: center; }

/* ===== Student Gallery: 4 columns desktop / responsive ===== */
.student-gallery-item { box-shadow: 0 14px 34px rgba(15,45,54,.12); }

/* ===== Header uppercase override for other menu re-renders ===== */
.header-menu-wrap ul.sub-menu > li > a { text-transform: none; }

