/* ================= GLOBAL ================= */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
}

.mx-auto {
    margin-right: 50px !important;
}

/* ================= TOP BAR ================= */
.top-bar {
    background: #7b2c83;
    /* red tone */
    color: #fff;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.top-item i {
    font-size: 14px;
}

.social-icons a {
    color: #fff;
    margin-left: 12px;
    font-size: 14px;
    transition: 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.8;
}

.phone {
    font-weight: 600;
}

/* Mobile View */
@media (max-width: 991px) {

    .top-bar {
        text-align: center;
    }

    .top-bar .row {
        justify-content: center;
    }

    .top-item {
        justify-content: center;
        width: 100%;
    }
}

/* ================= HEADER ================= */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;

    background: transparent;
}



/* When Scrolled */

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Change text color when scrolled */
.main-header.scrolled .nav-link {
    color: #333;
}

.main-header.scrolled .btn-consult {
    background: linear-gradient(90deg, #7b2c83, #a24fb2);
    color: #fff;
}

/* .navbar {
    padding: 18px 0;
} */

.nav-link {
    font-weight: 500;
    color: #333;
    margin: 0 8px;
}

.logo-purple {
    color: #7b2c83;
}

.logo-green {
    color: #6dbb4b;
}

.btn-consult {
    background: linear-gradient(90deg, #7b2c83, #a24fb2);
    color: #fff;
    border: none;
}

.btn-consult:hover {
    background: linear-gradient(90deg, #66256d, #8e3f9c);
    color: #fff;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    min-height: 90vh;
    background: url("images/mi-bg.jpg") center/cover no-repeat;
    padding-top: 50px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
}

.hero-inner {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
}

.hero-sub {
    font-size: 1.1rem;
    margin: 20px 0;
    max-width: 600px;
}

.hero-list {
    list-style: none;
    padding: 0;
}

.hero-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.hero-list li::before {
    content: "✔";
    margin-right: 8px;
    color: #6dbb4b;
}

/* ================= RATINGS ================= */
.rating-row {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.rating-box {
    background: #fff;
    color: #333;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ================= FORM BAR ================= */
.consultation-form {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    margin-top: 60px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
}

.consultation-form .form-control {
    padding: 12px;
    border-radius: 8px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .consultation-form {
        margin-top: 40px;
    }
}

/* ================= SERVICES ================= */
.services-section {
    padding: 100px 0;
    background: #f8f9ff;
}

.section-header h2 {
    font-size: 24px !important;
    font-weight: 700;
    color: #1f2937;
}

.section-header p {
    /* max-width: 700px; */
    margin: 12px auto 0;
    color: #6b7280;
    font-size: 1.05rem;
}

/* Card */
.service-box {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 18px;
    height: 100%;
    border: 1px solid #eef0fb;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    transition: all 0.35s ease;
    text-align: center;
}

/* Icon */
.service-box .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(123, 44, 131, 0.12);
    color: #7b2c83;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

/* Text */
.service-box h5 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
}

.service-box p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Hover */
.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 55px rgba(123, 44, 131, 0.25);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .service-box {
        padding: 30px 22px;
    }
}

/* ================= TRUST STRIP ================= */
.trust-strip {
    padding: 20px 0;
    background: linear-gradient(135deg, #5a1572, #7b2c83);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Soft wave glow effect */
.trust-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.08), transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.08), transparent 40%);
    opacity: 0.6;
}

.trust-strip .container {
    position: relative;
    z-index: 2;
}

.trust-item img {
    width: 86px;
    height: 86px;
    margin-bottom: 18px;
    transition: 0.3s ease;
}

.trust-item p {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

.trust-item:hover img {
    transform: translateY(-8px);
}

/* Custom 5 column layout for large screens */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .trust-strip {
        padding: 60px 0;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .trust-item {
        margin-bottom: 30px;
    }

    .trust-item p {
        font-size: 1rem;
    }
}

/* ================= BENEFITS SECTION ================= */
.benefits-section {
    padding: 90px 0;
    /* background: #f5f5f5; */
}

.benefits-title {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.benefits-title span {
    color: #7b2c83;
}

.benefits-text {
    margin-top: 20px;
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Right Title */
.key-title {
    font-weight: 700;
    font-size: 2rem;
}

/* Benefit Box */
.benefit-box {
    background: #eaeaea;
    padding: 18px 20px;
    border-radius: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.benefit-box i {
    color: #a24fb2;
    font-size: 20px;
}

.benefit-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Schedule Button */
.schedule-btn {
    background: #7b2c83;
    color: #fff;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
}

.schedule-btn:hover {
    background: #a24fb2;
    color: #fff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .benefits-title {
        font-size: 2.1rem;
    }

    .key-title {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 60px 0;
    }

    .benefits-title {
        font-size: 1.8rem;
    }

    .key-title {
        font-size: 1.6rem;
    }
}

/* Footer Logo Styles */
.footer-logo .logo-image {
    height: 40px;
    /* Slightly smaller for footer */
}

.footer-logo .logo-main {
    color: white;
    font-size: 1.5rem;
}

.footer-logo .logo-sub {
    background: var(--secondary-color);
}

.footer-logo .logo-tagline {
    color: rgba(255, 255, 255, 0.8);
}

.footer-logo .logo-main {
    color: white;
}

.footer-logo .logo-sub {
    background: var(--secondary-color);
}

.footer-logo .logo-tagline {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    /* background-color: #1a1a2e; */
    /* background: rgba(255, 255, 255, 0.7); */
    background: #eaeaea;
    /* background-color:
        color-mix(in oklab, var(--primary) 10%, transparent); */
    color: black;
    padding: 5rem 0 2rem;
}

.footer-text {
    color: black;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: black;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: black;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    color: #7b2c83 !important;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: black;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: black;
    text-decoration: none;
    transform: translateY(-3px);
}

.newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: black;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.newsletter .form-control::placeholder {
    color: black;
}

.newsletter .btn-primary {
    border-radius: 8px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 2rem;
}

.copyright {
    color: black;
    margin-bottom: 0;
}

.footer-link {
    color: black;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: black;
    text-decoration: underline;
}

/* ================= EHR SECTION ================= */
.ehr-section {
    padding: 20px 0;
    background: #f8f9fb;
}

.ehr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Card */
.ehr-card {
    background: #fff;
    border-radius: 14px;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 170px; */
    border: 1px solid #e6e6e6;
    transition: 0.3s ease;
}

.ehr-card img {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: 0.3s ease;
}

.ehr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.ehr-card:hover img {
    filter: grayscale(0%);
}

/* Hidden initially */
.hidden {
    display: none;
}

/* Button */
.explore-btn {
    background: linear-gradient(90deg, #7b2c83, #a24fb2);
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.explore-btn:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
    .ehr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ehr-grid {
        grid-template-columns: 1fr;
    }
}

.process-section {
    padding: 60px 0;
    /* background: #f8f8f8; */
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-card {
    position: relative;
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-6px);
}

.process-card .icon {
    font-size: 26px;
    color: #7b2c83;
    /* pink tone like your design */
    background: rgba(214, 51, 132, 0.08);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
}


.process-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.process-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.step-number {
    position: absolute;
    right: 25px;
    bottom: 20px;
    font-size: 70px;
    font-weight: 700;
    color: rgba(220, 0, 120, 0.08);
}

/* Responsive */

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

.specialties-section {
    padding: 40px 0;
    background: #f6f6f6;
}

.section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 18px;
}

.section-header p {
    font-size: 16px;
    color: #666;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
    margin-bottom: 50px;
}

.specialty-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #7a1f66;
    font-weight: 600;
    transition: 0.3s ease;
}

.specialty-item img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.specialty-item:hover {
    transform: translateX(5px);
    color: #a00078;
}

/* Button */
.specialty-btn-wrap {
    text-align: center;
}

.specialty-btn {
    background: linear-gradient(90deg, #7b2c83, #a24fb2);
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.specialty-btn:hover {
    opacity: 0.9;
}

/* Responsive */

@media (max-width: 992px) {
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .specialties-grid {
        grid-template-columns: 1fr;
    }
}

.specialty-hero {
    text-align: center;
    padding: 36px 15px 32px;
}

/* .specialty-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
} */

.specialty-hero p {
    color: #666;
    font-size: 16px;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 40px 40px 80px;
}
.specialty-grid-h {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 0px 0px 40px;
}

.specialty-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: #7b2c83;
}

@media(max-width:992px) {
    .specialty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:576px) {
    .specialty-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
@media(max-width:576px) {
    .specialty-grid-h {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media(max-width:576px) {
    .specialty-card {
        padding: 15px;
        font-size: 14px;
    }
}

.mi-blogs-section {
    /* background: #f8f8f8; */
    padding: 50px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.mi-blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.mi-blog-header h2 {
    font-size: 34px;
    margin-bottom: 15px;
}

.mi-blog-header p {
    color: #666;
    font-size: 16px;
}

.mi-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.mi-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.mi-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.mi-blog-image img {
    width: 100%;
    /* height: 220px; */
    object-fit: cover;
}

.mi-blog-content {
    padding: 25px;
}

.mi-blog-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.mi-blog-content h3 a {
    text-decoration: none;
    color: #222;
}

.mi-blog-content h3 a:hover {
    color: #8e2de2;
}

.mi-blog-date {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.mi-blog-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

.mi-read-more {
    color: #7b2c83;
    text-decoration: none;
    font-weight: 600;
}

.mi-read-more:hover {
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 992px) {
    .mi-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .mi-blog-grid {
        grid-template-columns: 1fr;
    }
}

.specialties-hero {
    position: relative;
    background: url('images/specialties-bg.jpeg') center center / cover no-repeat;
    padding: 15px 20px;
    text-align: center;
    color: #7b2c83;
    overflow: hidden;
}

/* Dark Overlay */
.specialties-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.65); */
}

/* Content */
.specialties-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
}

.specialties-hero h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}

.specialties-hero p {
    font-size: 18px;
    opacity: 0.9;
    color: black;
}

/* Responsive */
@media (max-width: 768px) {
    /* .specialties-hero {
        padding: 80px 20px;
    } */

    .specialties-hero h1 {
        font-size: 23px;
    }

    .specialties-hero p {
        font-size: 16px;
    }

}

.contact-section {
    padding: 80px 0px;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

/* LEFT SIDE */
.contact-form-box {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.contact-form-box h2 {
    margin-bottom: 10px;
    font-size: 28px;
}

.contact-form-box p {
    margin-bottom: 25px;
    color: #666;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #7b2c83;
    outline: none;
}

.contact-btn {
    background: #7b2c83;
    color: #fff;
    border: none;
    padding: 14px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #5e1a66;
}

/* RIGHT SIDE */
.contact-info-box {
    flex: 0.8;
    background: #fff;
    /* color: #fff; */
    padding: 20px;
    border-radius: 10px;
}

.contact-info-box h3 {
    margin-bottom: 30px;
    font-size: 24px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 20px;
    color: #7b2c83;
    margin-top: 4px;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
    }
}