/*
Theme Name: MMBS Theme
Theme URI: https://example.com/
Author: MMBS
Author URI: https://example.com/
Description: An Elementor-compatible starter theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mmbs
*/

/* Header Layout */
.site-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

/* Site Branding */
.site-branding img {
    max-height: 60px;
    width: auto;
}
.site-title {
    margin: 0;
    font-size: 24px;
}
.site-title a {
    text-decoration: none;
    color: #333;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: #1a2b4c;
    font-weight: 600;
    font-family: sans-serif;
    font-size: 15px;
    padding: 5px 0;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #0056b3;
}

/* Active Menu Item Underline */
.main-navigation .current-menu-item > a {
    position: relative;
    color: #0056b3;
}
.main-navigation .current-menu-item > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: #0056b3;
}

/* Dropdown indication */
.main-navigation .menu-item-has-children > a::after {
    content: '\25BC'; /* Down arrow */
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

/* CTA Button */
.header-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: sans-serif;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
}

.header-cta-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cta-icon {
    width: 16px;
    height: 16px;
}

/* Elementor Hero Widget Styles */
.mmbs-hero-wrapper {
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 80px 50px 80px 5%;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mmbs-hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 40%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.mmbs-hero-content-area {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.mmbs-hero-badge {
    display: inline-block;
    background-color: #1a498b;
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.mmbs-hero-headline {
    font-size: 48px;
    font-weight: 800;
    color: #0c1f4e;
    line-height: 1.2;
    margin: 0 0 10px 0;
    font-family: sans-serif;
    text-transform: uppercase;
}

.mmbs-text-orange {
    color: #f78d1e;
}

.mmbs-hero-subheadline {
    font-size: 28px;
    font-weight: 700;
    color: #0c1f4e;
    margin: 0 0 20px 0;
    font-family: sans-serif;
}

.mmbs-hero-desc {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    font-family: sans-serif;
}

.mmbs-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.mmbs-hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    font-family: sans-serif;
}

.mmbs-hero-feature-item svg, .mmbs-hero-feature-item i {
    color: #f78d1e;
    fill: #f78d1e;
    width: 20px;
    height: 20px;
}

.mmbs-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mmbs-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    font-family: sans-serif;
    transition: transform 0.2s, opacity 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mmbs-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.mmbs-btn-primary {
    background-color: #0c1f4e;
    color: #fff;
}

.mmbs-btn-orange {
    background-color: #f78d1e;
    color: #fff;
}

.mmbs-btn-white-green {
    background-color: #fff;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Foreground Doctor Image */
.mmbs-hero-fg-image {
    position: absolute;
    bottom: 0;
    right: 25%;
    z-index: 2;
    max-width: 450px;
}
.mmbs-hero-fg-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Floating Right Buttons */
.mmbs-hero-floating-right {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.float-btn {
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-family: sans-serif;
    font-weight: 600;
    padding: 15px 10px;
    border-radius: 8px 0 0 8px;
    width: 70px;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.2);
    transition: margin-right 0.3s;
    margin-right: -20px;
}
.float-btn:hover {
    margin-right: -10px;
}

.float-call {
    background-color: #0c1f4e;
}
.float-whatsapp {
    background-color: #25d366;
}

/* Basic Responsiveness */
@media (max-width: 1024px) {
    .mmbs-hero-fg-image {
        right: 5%;
        max-width: 350px;
        opacity: 0.8;
    }
}
@media (max-width: 768px) {
    .mmbs-hero-wrapper {
        padding: 40px 20px;
    }
    .mmbs-hero-headline {
        font-size: 32px;
    }
    .mmbs-hero-subheadline {
        font-size: 20px;
    }
    .mmbs-hero-fg-image {
        display: none;
    }
    .mmbs-hero-wrapper::before {
        background: rgba(255,255,255,0.9);
    }
    .mmbs-hero-floating-right {
        display: none;
    }
}

/* Elementor Stats Widget */
.mmbs-stats-bar-wrapper {
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.mmbs-stats-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 25px 30px;
    max-width: 100%;
    margin: 0 auto;
}

.mmbs-stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 15px;
}

.mmbs-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mmbs-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #1a498b;
    fill: #1a498b;
}

.mmbs-stat-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mmbs-stat-icon svg {
    width: 32px;
    height: 32px;
}

.mmbs-stat-content {
    display: flex;
    flex-direction: column;
}

.mmbs-stat-number {
    font-size: 22px;
    font-weight: 800;
    color: #0c1f4e;
    line-height: 1.1;
    font-family: sans-serif;
}

.mmbs-stat-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.3;
    font-weight: 500;
    font-family: sans-serif;
    margin-top: 2px;
    max-width: 110px;
}

/* Responsive Stats Grid */
@media (max-width: 1024px) {
    .mmbs-stats-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    .mmbs-stat-item {
        width: 30%;
    }
}
@media (max-width: 768px) {
    .mmbs-stat-item {
        width: 45%;
    }
}
@media (max-width: 480px) {
    .mmbs-stat-item {
        width: 100%;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 5px;
    }
    .mmbs-stat-content {
        align-items: center;
    }
}

/* Elementor Top Countries Widget */
.mmbs-countries-wrapper {
    padding: 60px 20px;
    background-color: #f8fbff;
}

.mmbs-countries-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #0c1f4e;
    margin-bottom: 40px;
    font-family: sans-serif;
}

.mmbs-countries-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto 40px auto;
}

.mmbs-country-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
    width: calc(20% - 16px);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.mmbs-country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.mmbs-country-flag {
    width: 100%;
    height: 120px;
}

.mmbs-country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.mmbs-flag-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e2e8f0;
    border-radius: 12px 12px 0 0;
}

.mmbs-country-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mmbs-country-title {
    font-size: 20px;
    font-weight: 800;
    color: #0c1f4e;
    text-align: center;
    margin: 0 0 10px 0;
    font-family: sans-serif;
}

.mmbs-country-features {
    text-align: center;
    margin-bottom: 20px;
    min-height: 45px;
}

.mmbs-country-features p {
    margin: 0 0 2px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    font-family: sans-serif;
}

.mmbs-country-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    margin-top: auto;
}

.mmbs-country-detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mmbs-country-detail-row .mmbs-detail-icon {
    color: #1a498b;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mmbs-country-detail-row .mmbs-detail-text {
    display: flex;
    flex-direction: column;
}

.mmbs-country-detail-row .mmbs-detail-label {
    font-size: 12px;
    color: #666;
    line-height: 1.2;
    font-family: sans-serif;
}

.mmbs-country-detail-row .mmbs-detail-value {
    font-size: 14px;
    font-weight: 700;
    color: #0c1f4e;
    line-height: 1.2;
    font-family: sans-serif;
}

.mmbs-explore-btn {
    display: block;
    text-align: center;
    background-color: #0c1f4e;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.3s;
    font-family: sans-serif;
}

.mmbs-explore-btn:hover {
    background-color: #1a498b;
    color: #fff;
}

.mmbs-view-all-container {
    text-align: center;
}

/* Responsive Top Countries Grid */
@media (max-width: 1200px) {
    .mmbs-country-card {
        width: calc(25% - 15px); /* 4 columns */
    }
}

@media (max-width: 992px) {
    .mmbs-country-card {
        width: calc(33.333% - 14px); /* 3 columns */
    }
}

@media (max-width: 768px) {
    .mmbs-countries-heading {
        font-size: 28px;
    }
    .mmbs-country-card {
        width: calc(50% - 10px); /* 2 columns */
    }
}

@media (max-width: 480px) {
    .mmbs-country-card {
        width: 100%; /* 1 column */
    }
}


/* Elementor Top Universities Widget */
.mmbs-unis-wrapper {
    padding: 60px 20px;
    background-color: #ffffff;
}

.mmbs-unis-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #0c1f4e;
    margin-bottom: 40px;
    font-family: sans-serif;
}

.mmbs-unis-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto 40px auto;
}

.mmbs-uni-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
    width: calc(25% - 15px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mmbs-uni-image {
    width: 100%;
    height: 160px;
}

.mmbs-uni-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mmbs-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e2e8f0;
}

.mmbs-uni-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mmbs-uni-title {
    font-size: 18px;
    font-weight: 800;
    color: #0c1f4e;
    text-align: center;
    margin: 0 0 10px 0;
    font-family: sans-serif;
    line-height: 1.3;
}

.mmbs-uni-country {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    font-family: sans-serif;
}
.mmbs-uni-country svg {
    width: 14px;
    height: 14px;
    color: #1a498b;
}

.mmbs-uni-recognition {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.mmbs-uni-icon-col {
    color: #1a498b;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.mmbs-uni-text-col {
    display: flex;
    flex-direction: column;
}

.mmbs-uni-label {
    font-size: 11px;
    color: #666;
    line-height: 1.2;
    font-family: sans-serif;
}

.mmbs-uni-val {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    font-family: sans-serif;
    margin-top: 2px;
}

.mmbs-uni-meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: auto;
}

.mmbs-uni-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    width: 48%;
}

.mmbs-uni-outline-btn {
    display: block;
    text-align: center;
    background-color: transparent;
    color: #0c1f4e;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 10px;
    border-radius: 6px;
    border: 1.5px solid #0c1f4e;
    transition: all 0.3s;
    font-family: sans-serif;
}

.mmbs-uni-outline-btn:hover {
    background-color: #0c1f4e;
    color: #fff;
}


/* Responsive Universities Grid */
@media (max-width: 1024px) {
    .mmbs-uni-card {
        width: calc(33.333% - 14px); /* 3 columns */
    }
}

@media (max-width: 768px) {
    .mmbs-unis-heading {
        font-size: 28px;
    }
    .mmbs-uni-card {
        width: calc(50% - 10px); /* 2 columns */
    }
}

@media (max-width: 480px) {
    .mmbs-uni-card {
        width: 100%; /* 1 column */
    }
}

/* Elementor Features Widget */
.mmbs-features-wrapper {
    background-color: #0c1f4e; /* Dark Blue */
    padding: 60px 20px;
}

.mmbs-features-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
    font-family: sans-serif;
}

.mmbs-text-white {
    color: #ffffff;
}

.mmbs-features-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.mmbs-features-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.mmbs-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 130px; /* Adjust based on 8 items fitting on screen */
    gap: 15px;
}

.mmbs-feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid #f78d1e;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.mmbs-feature-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mmbs-feature-icon-wrapper svg, 
.mmbs-feature-icon-wrapper i {
    color: #f78d1e;
    fill: #f78d1e;
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.mmbs-feature-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    font-family: sans-serif;
}

/* Responsive Features Grid */
@media (max-width: 1200px) {
    .mmbs-feature-item {
        width: 100px;
    }
}
@media (max-width: 992px) {
    .mmbs-feature-item {
        width: calc(25% - 25px); /* 4 columns */
    }
}
@media (max-width: 768px) {
    .mmbs-features-heading {
        font-size: 28px;
    }
    .mmbs-feature-item {
        width: calc(33.333% - 20px); /* 3 columns */
    }
}
@media (max-width: 480px) {
    .mmbs-feature-item {
        width: calc(50% - 15px); /* 2 columns */
    }
}

/* Elementor Admission Process Widget */
.mmbs-process-wrapper {
    background-color: #ffffff;
    padding: 60px 20px;
}

.mmbs-process-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 60px;
    font-family: sans-serif;
}

.mmbs-text-blue {
    color: #0c1f4e;
}

.mmbs-process-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.mmbs-process-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.mmbs-process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    flex: 1;
}

.mmbs-process-icon-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.mmbs-process-icon-inner {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid #d4deef; /* Light blue/grey border */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    position: relative;
    z-index: 2;
}

.mmbs-process-icon-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mmbs-process-icon-inner svg, 
.mmbs-process-icon-inner i {
    color: #0c1f4e;
    fill: #0c1f4e;
    font-size: 36px;
    width: 36px;
    height: 36px;
}

/* The Dashed Connecting Line */
.mmbs-process-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    border-top: 2px dashed #d4deef;
    z-index: 1;
    transform: translateY(-50%);
}

/* Hide the line on the very last item */
.mmbs-process-item:last-child .mmbs-process-line {
    display: none;
}

.mmbs-process-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mmbs-process-label {
    color: #0c1f4e;
    font-size: 14px;
    font-weight: 800;
    font-family: sans-serif;
}

.mmbs-process-title {
    color: #0c1f4e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    font-family: sans-serif;
}

/* Responsive Process Grid */
@media (max-width: 992px) {
    .mmbs-process-grid {
        flex-wrap: wrap;
        row-gap: 40px;
    }
    .mmbs-process-item {
        flex: 0 0 33.333%;
    }
    .mmbs-process-line {
        display: none; /* Hide lines when wrapping starts */
    }
}
@media (max-width: 768px) {
    .mmbs-process-heading {
        font-size: 28px;
    }
    .mmbs-process-item {
        flex: 0 0 50%;
    }
}
@media (max-width: 480px) {
    .mmbs-process-grid {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .mmbs-process-item {
        width: 100%;
        flex: none;
        padding-bottom: 40px;
    }
    .mmbs-process-item:last-child {
        padding-bottom: 0;
    }
    .mmbs-process-line {
        display: block;
        width: 2px;
        height: 100%;
        border-top: none;
        border-left: 2px dashed #d4deef;
        left: 50%;
        top: 50%;
        transform: translateX(-50%);
    }
}

/* Elementor Testimonials Widget */
.mmbs-testimonials-wrapper {
    background-color: #ffffff;
    padding: 60px 20px;
}

.mmbs-testimonials-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 40px;
    font-family: sans-serif;
}

.mmbs-testimonials-bg-shape {
    background-color: #f7f9fc;
    border-radius: 40px 10px 40px 10px; /* Big rounded top-left and bottom-right */
    padding: 50px 40px 50px 40px; /* Extra padding on bottom for button overlap */
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.mmbs-testimonials-slider {
    padding-bottom: 40px; /* Space for pagination */
}

.mmbs-testimonial-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.mmbs-testimonials-slider .swiper-pagination-bullet-active {
    background: #f78d1e;
}

.mmbs-testimonials-slider .swiper-slide {
    height: auto; /* To make cards equal height */
}

.mmbs-testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.mmbs-testimonial-photo {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.mmbs-testimonial-photo img,
.mmbs-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.mmbs-photo-placeholder {
    background-color: #e2e8f0;
}

.mmbs-testimonial-info {
    display: flex;
    flex-direction: column;
}

.mmbs-testimonial-name {
    font-size: 16px;
    font-weight: 800;
    color: #0c1f4e;
    margin-bottom: 4px;
    font-family: sans-serif;
}

.mmbs-testimonial-uni {
    font-size: 12px;
    color: #0c1f4e;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 2px;
    font-family: sans-serif;
}

.mmbs-testimonial-country {
    font-size: 12px;
    color: #0c1f4e;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: sans-serif;
}

.mmbs-testimonial-stars {
    display: flex;
    gap: 2px;
}

.mmbs-testimonial-stars svg {
    width: 14px;
    height: 14px;
}

.star-filled {
    fill: #f78d1e;
}

.star-empty {
    fill: #e2e8f0;
}

.mmbs-testimonial-text {
    font-size: 14px;
    color: #0c1f4e;
    line-height: 1.6;
    font-family: sans-serif;
    position: relative;
    z-index: 2;
}

.mmbs-testimonial-quote-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1;
}

.mmbs-testimonial-quote-icon svg {
    width: 60px;
    height: 60px;
    fill: #f0f4f8; /* Very faint gray */
}

.mmbs-testimonials-footer {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
}

.mmbs-btn-with-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.mmbs-btn-with-arrow svg {
    width: 18px;
    height: 18px;
}

/* Responsive Testimonials Grid */
@media (max-width: 768px) {
    .mmbs-testimonials-heading {
        font-size: 28px;
    }
    .mmbs-testimonials-bg-shape {
        padding: 40px 20px 60px 20px; /* More bottom padding for absolute button */
    }
}

/* Elementor CTA Form Widget */
.mmbs-cta-form-wrapper {
    padding: 60px 20px;
}

.mmbs-cta-banner {
    background-color: #0c1f4e; /* Dark Blue */
    border-radius: 20px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 60px 50px;
    overflow: visible; /* To allow doctor image to stick out */
}

/* Optional faint map background on the blue banner */
.mmbs-cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.05) 0%, transparent 60%);
    border-radius: 20px;
    z-index: 0;
}

.mmbs-cta-left-col {
    position: relative;
    z-index: 2;
    max-width: 500px;
    color: #ffffff;
}

.mmbs-cta-heading {
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.mmbs-text-orange {
    color: #f78d1e;
}

.mmbs-cta-desc {
    font-size: 16px;
    color: #f0f4f8;
    line-height: 1.5;
    margin-bottom: 30px;
    font-family: sans-serif;
}

.mmbs-cta-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.mmbs-cta-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: sans-serif;
}

.mmbs-cta-check-icon {
    width: 20px;
    height: 20px;
    fill: #f78d1e;
}

.mmbs-cta-trust {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mmbs-cta-avatars {
    display: flex;
    align-items: center;
}

.mmbs-cta-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #0c1f4e; /* Border to match background */
    margin-left: -15px; /* Overlap */
    background-color: #e2e8f0;
    overflow: hidden;
}
.mmbs-cta-avatar:first-child {
    margin-left: 0;
}
.mmbs-cta-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mmbs-cta-trust-text {
    font-size: 13px;
    line-height: 1.4;
    font-family: sans-serif;
    color: #f0f4f8;
}

.mmbs-cta-right-col {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 550px;
    /* Adjust margin to make space for the doctor image on the right */
    margin-right: 180px; 
}

.mmbs-cta-form-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.mmbs-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.mmbs-form-group {
    width: calc(50% - 7.5px);
}

.mmbs-form-group input,
.mmbs-form-group select,
.mmbs-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-family: sans-serif;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
    background-color: #ffffff;
    box-sizing: border-box;
}

.mmbs-form-group input::placeholder,
.mmbs-form-group textarea::placeholder {
    color: #a0aec0;
}

.mmbs-form-group input:focus,
.mmbs-form-group select:focus,
.mmbs-form-group textarea:focus {
    border-color: #0c1f4e;
}

.mmbs-cta-submit-btn {
    width: 100%;
    background-color: #f78d1e;
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s, transform 0.2s;
    font-family: sans-serif;
}

.mmbs-cta-submit-btn:hover {
    background-color: #e57c15;
    transform: translateY(-2px);
}

.mmbs-cta-submit-btn svg {
    width: 18px;
    height: 18px;
}

/* Doctor Image */
.mmbs-cta-doctor {
    position: absolute;
    bottom: 0;
    right: 20px;
    z-index: 3;
    max-width: 280px;
}
.mmbs-cta-doctor img {
    display: block;
    width: 100%;
    height: auto;
}

/* Responsive CTA Form */
@media (max-width: 1200px) {
    .mmbs-cta-right-col {
        margin-right: 150px;
        max-width: 480px;
    }
    .mmbs-cta-doctor {
        max-width: 240px;
        right: 0px;
    }
}
@media (max-width: 1024px) {
    .mmbs-cta-banner {
        flex-direction: column;
        padding: 50px 40px;
        gap: 40px;
        overflow: hidden; /* Hide doctor overhang to prevent layout breaking */
    }
    .mmbs-cta-left-col {
        max-width: 100%;
    }
    .mmbs-cta-right-col {
        margin-right: 0;
        max-width: 100%;
    }
    .mmbs-cta-doctor {
        display: none; /* Hide doctor on smaller screens to prioritize form */
    }
}
@media (max-width: 600px) {
    .mmbs-cta-heading {
        font-size: 32px;
    }
    .mmbs-cta-banner {
        padding: 40px 20px;
    }
    .mmbs-form-group {
        width: 100%; /* Switch to 1 column */
    }
    .mmbs-cta-form-card {
        padding: 20px;
    }
}


/* Elementor Footer Widget */
.mmbs-footer-wrapper {
    background-color: #0c1f4e; /* Dark Blue */
    color: #ffffff;
    font-family: sans-serif;
}

.mmbs-footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 40px;
    gap: 30px;
}

.mmbs-footer-col {
    flex: 1;
    min-width: 180px; /* Base min width */
}

.mmbs-footer-brand-col {
    flex: 1.5; /* Slightly larger */
}
.mmbs-footer-rating-col {
    flex: 1.2;
}

/* Brand & Socials */
.mmbs-footer-logo {
    margin-bottom: 25px;
}
.mmbs-footer-logo img {
    max-width: 180px;
    height: auto;
}

.mmbs-footer-socials {
    display: flex;
    gap: 12px;
}

.mmbs-social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    transition: transform 0.3s;
}
.mmbs-social-link:hover {
    transform: translateY(-3px);
}
.mmbs-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Brand Colors for standard icons */
.social-icon-facebook { background-color: #1877F2; }
.social-icon-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-icon-youtube { background-color: #FF0000; }
.social-icon-linkedin { background-color: #0A66C2; }
.social-icon-twitter { background-color: #1DA1F2; }

/* Headings */
.mmbs-footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    margin-top: 0;
}

/* Lists */
.mmbs-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mmbs-footer-list li {
    margin-bottom: 15px;
}
.mmbs-footer-list li:last-child {
    margin-bottom: 0;
}

.mmbs-footer-list a {
    color: #d4deef; /* Light blueish gray */
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.mmbs-footer-list a:hover {
    color: #f78d1e;
}

/* Contact List */
.mmbs-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mmbs-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: #d4deef;
    font-size: 14px;
    line-height: 1.5;
}
.mmbs-footer-contact-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Google Rating */
.mmbs-rating-block {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.mmbs-google-icon svg {
    display: block;
}
.mmbs-rating-info {
    display: flex;
    flex-direction: column;
}
.mmbs-rating-score {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}
.mmbs-score-number {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}
.mmbs-score-stars {
    display: flex;
    gap: 2px;
}
.mmbs-score-stars svg {
    width: 16px;
    height: 16px;
}
.mmbs-rating-desc {
    font-size: 12px;
    color: #d4deef;
}
.mmbs-footer-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #0c1f4e;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
}
.mmbs-footer-btn:hover {
    background-color: #f78d1e;
    color: #ffffff;
}

/* Bottom Bar */
.mmbs-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.mmbs-footer-copy {
    font-size: 13px;
    color: #d4deef;
}

.mmbs-footer-legal {
    font-size: 13px;
    color: #d4deef;
}
.mmbs-footer-legal a {
    color: #d4deef;
    text-decoration: none;
    transition: color 0.3s;
}
.mmbs-footer-legal a:hover {
    color: #ffffff;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .mmbs-footer-top {
        gap: 40px 20px;
    }
    .mmbs-footer-col {
        flex: 0 0 calc(33.333% - 14px); /* 3 columns on tablet */
    }
    .mmbs-footer-brand-col,
    .mmbs-footer-rating-col {
        flex: 0 0 calc(50% - 10px);
    }
}
@media (max-width: 768px) {
    .mmbs-footer-col,
    .mmbs-footer-brand-col,
    .mmbs-footer-rating-col {
        flex: 0 0 100%; /* 1 column on mobile */
    }
    .mmbs-footer-top {
        padding: 40px 20px;
        gap: 40px;
    }
    .mmbs-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
