:root {
    --md-blue: #12B8ED;
    --md-dark: #002D4B;
    --md-text: #444;
}

/* Poori website ke text (paragraphs) ke liye Open Sans */
body {
    font-family: 'Open Sans';
    line-height: 1.6; /* Behtar reading experience ke liye */
}
/* Sabhi buttons ke liye Open Sans */
button, 
.md-btn-white, 
.md-btn-hero, 
.mc-btn-primary, 
.mc-btn-outline, 
.mc-btn-blue,
.ma-btn-more,
.mt-btn-dark {
    font-family: 'Open Sans', sans-serif !important;
    /* font-weight: 700 !important;  */
    text-transform: uppercase; /* Agar aap saare buttons capital mein chahte hain */
    letter-spacing: 1px;
    font-size: 16px;
}
span{
    font-family: 'Open Sans' !important;
}

/* Headings ke liye DM Serif Display */
h1, h2, h3, h4, h5, h6, .md-logo, .md-dr-name {
    font-family: 'DM Serif Display';
    font-weight: 400; /* Serif fonts hamesha 400 par ache lagte hain */
    letter-spacing: 0.5px;
}

/* Specific classes (agar headings body tag ke andar hain) */
.md-hero-text h1, 
.mc-about-title, 
.mc-srv-header h2, 
.ma-news-title {
    font-family: 'DM Serif Display';
}
.md-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



* {
    box-sizing: border-box; /* Isse padding width ke andar rehti hai */
}
/* Header & Top Bar */
.md-top-bar {
    background: var(--md-blue);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.md-top-bar .md-container {
    display: flex;
    gap: 30px;
}

.md-navbar {
    background: var(--md-blue);
    padding: 15px 0;
}

.md-nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.md-logo {
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.md-nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.md-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
}

.md-nav-links a.active {
    opacity: 1;
    font-weight: 600;
}

.md-nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.md-cart {
    color: white;
    position: relative;
    font-size: 1.2rem;
    cursor: pointer;
}

.md-cart span {
    position: absolute;
    top: -8px;
    right: -10px;
    background: white;
    color: var(--md-blue);
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 50%;
    font-weight: bold;
}

.md-btn-white {
    background: white;
    color: var(--md-dark);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}
/* =========================
   MOBILE HEADER BASE
========================= */

.md-mobile-header {
    display: none;
    background: var(--md-blue);
    padding: 15px 0;
}

.md-mobile-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hide checkbox */
.md-mobile-toggle {
    display: none;
}

/* Hamburger */
.md-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.md-hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* =========================
   SIDEBAR
========================= */

.md-mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 260px;
    height: 100vh;
    background: var(--md-blue);
    padding: 70px 20px 20px;
    transition: 0.35s ease;
    z-index: 999;
}

/* Open Sidebar */
.md-mobile-toggle:checked ~ .md-mobile-sidebar {
    left: 0;
}

/* Close Button */
.md-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* Links */
.md-mobile-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.md-mobile-links li {
    margin-bottom: 20px;
}

.md-mobile-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Actions */
.md-mobile-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* =========================
   RESPONSIVE SWITCH
========================= */

@media (max-width: 991px) {
    .md-header {
        display: none;
    }

    .md-mobile-header {
        display: block;
    }
}

/* Hero Section */
.md-hero {
    background: var(--md-blue);
    padding: 60px 0 0;
    color: white;
    margin-bottom: -80px;
}

.md-hero-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.md-hero-text {
    flex: 1;
    padding-bottom: 80px;
}

.md-dr-name {
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
    color: #000;
}

.md-hero-text h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 500;
}

.md-hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 35px;
}

.md-btn-hero {
    background: white;
    color: var(--md-dark);
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.md-hero-image {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.md-hero-image img {
    width: 500px;
    height: 500px;
    display: block;
    object-fit: cover;
    margin-top: 100px;
}

/* Info Cards */
.md-info-cards {
    padding: 80px 0;
    background: #f8f9fa;
    padding-top: 150px;
}

.md-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.md-info-card {
    background: white;
    padding: 35px;
    border-radius: 4px;
    display: flex;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.md-card-icon {
    width: 60px;
    height: 60px;
    background: #e1f5fe;
    color: var(--md-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.md-card-content h3 {
    font-size: 1.3rem;
    margin: 0 0 12px;
    color: var(--md-dark);
}

.md-card-content p {
    color: var(--md-text);
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .md-hero-flex {
        flex-direction: column;
        text-align: center;
    }

    .md-info-grid {
        grid-template-columns: 1fr;
    }

    .md-hero-text h1 {
        font-size: 2.8rem;
    }
}

/* --- Medicure About Styling --- */
.mc-about-section {
    padding: 100px 0;
    background-color: #ffffff;
    /* font-family: 'Inter', sans-serif; */
}

.mc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.mc-about-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Overlapping Image Logic */
.mc-about-image-side {
    flex: 1;
    position: relative;
    padding: 40px 0;
}

.mc-image-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background-color: #B2EBF2;
    /* Light Blue Accent */
    z-index: 1;
}

.mc-portrait-wrapper {
    position: relative;
    z-index: 2;
    margin-left: 40px;
}

.mc-portrait-wrapper img {
    width: 100%;
    max-width: 500px;
    height: 500px;
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Content Styling */
.mc-about-content {
    flex: 1;
}

.mc-about-badge {
    color: #007BFF;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 20px;
}

.mc-about-title {
    /* font-family: 'Playfair Display', serif; */
    /* Or similar serif font */
    font-size: 3rem;
    color: #002D4B;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 500;
}

.mc-about-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Button Group */
.mc-about-btns {
    display: flex;
    gap: 20px;
}

.mc-btn-primary {
    background-color: #12B8ED;
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.mc-btn-outline {
    background: transparent;
    color: #333;
    border: 1px solid #333;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.mc-btn-primary:hover {
    background-color: #0da3d4;
}

.mc-btn-outline:hover {
    background: #333;
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .mc-about-flex {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .mc-about-btns {
        justify-content: center;
    }

    .mc-image-accent {
        left: 50%;
        transform: translateX(-50%);
    }

    .mc-portrait-wrapper {
        margin-left: 0;
    }
}

.mc-services-section {
    background-color: #0b1120;
    /* Dark navy background */
    padding: 100px 0;
    color: white;
    /* font-family: 'Inter', sans-serif; */
    overflow: hidden;
}

input[name="mc-srv"] {
    display: none;
}

.mc-srv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.mc-srv-badge {
    color: #12B8ED;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.mc-srv-title-area h2 {
    font-size: 2.8rem;
    margin: 15px 0 0;
    max-width: 500px;
    line-height: 1.2;
}

/* Navigation Styling */
.mc-srv-nav {
    display: flex;
    gap: 15px;
}

.mc-nav-group {
    display: none;
    gap: 15px;
}

.mc-prev,
.mc-next {
    border: 1px solid #ffffff;
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.3s;
}

.mc-prev:hover,
.mc-next:hover {
    background: white;
    color: #0b1120;
    border-color: white;
}

/* Show active Nav Group */
#rs1:checked~.mc-container .ng1,
#rs2:checked~.mc-container .ng2,
#rs3:checked~.mc-container .ng3,
#rs4:checked~.mc-container .ng4,
#rs5:checked~.mc-container .ng5,
#rs6:checked~.mc-container .ng6 {
    display: flex;
}

/* Carousel Track */
.mc-srv-viewport {
    overflow: visible;
}

.mc-srv-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    width: 200%;
    /* Enough room for cards */
}

.mc-srv-card {
    flex: 0 0 350px;
    /* Fixed width for cards */
    background: white;
    padding: 50px 40px;
    margin-right: 30px;
    color: #333;
    text-align: center;
    border-radius: 4px;
}

.mc-srv-icon {
    width: 80px;
    height: 80px;
    background: #e1f5fe;
    color: #12B8ED;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.mc-srv-card h3 {
    color: #002D4B;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.mc-srv-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.mc-learn-more {
    color: #12B8ED;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Slide Movement Logic (Sliding 1 by 1) */
#rs1:checked~.mc-container .mc-srv-track {
    transform: translateX(0);
}

#rs2:checked~.mc-container .mc-srv-track {
    transform: translateX(-380px);
}

#rs3:checked~.mc-container .mc-srv-track {
    transform: translateX(-760px);
}

#rs4:checked~.mc-container .mc-srv-track {
    transform: translateX(-1140px);
}

#rs5:checked~.mc-container .mc-srv-track {
    transform: translateX(-1520px);
}

#rs6:checked~.mc-container .mc-srv-track {
    transform: translateX(-1900px);
}

/* Footer Buttons */
.mc-srv-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.mc-btn-blue {
    background: #12B8ED;
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.mc-btn-white {
    background: white;
    color: #333;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.mc-about-content {
    flex: 1;
}

/* Appointment Section */
.mc-appointment-section {
    padding: 0;
    background-color: #0CB9F1;
    /* font-family: 'Inter', sans-serif; */
    overflow: hidden;
}

.mc-appointment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mc-appointment-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.mc-appointment-content {
    height: 100%;
    width: 50%;
    flex: 1;
    background-color: #0CB9F1;
}

.mc-appointment-badge {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 20px;
}

.mc-appointment-title {
    /* font-family: 'Playfair Display', serif; */
    /* Or similar serif font */
    font-size: 3rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 500;
}

.mc-appointment-text {
    font-size: 1.1rem;
    color: white;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Button Group */
.mc-appointment-btns {
    display: flex;
    gap: 20px;
}

.mc-appointment-btns .mc-btn-primary {
    background-color: #13182F;
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.mc-appointment-btns .mc-btn-outline {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.mc-appointment-image-side {
    width: 50%;
    height: 500px;
    overflow: hidden;
    background-image: url(https://t4.ftcdn.net/jpg/07/66/58/59/360_F_766585943_0hz6eoMmVgWPJBOvscSjLlsGgniJUwql.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    padding: 0;
}

.mc-appointment-btns .mc-btn-primary:hover {
    background-color: #13182F;
}

.mc-appointment-btns .mc-btn-outline:hover {
    background: white;
    color: #0CB9F1;
}

/* Responsive */
@media (max-width: 992px) {
    .mc-appointment-flex {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .mc-appointment-btns {
        justify-content: center;
    }

    .mc-appointment-portrait-wrapper {
        margin-left: 0;
    }
}

/* --- Video Section Styling --- */
.md-video-section {
    padding: 100px 0;
    background-color: #ffffff;
    /* font-family: 'Inter', sans-serif; */
}

.md-video-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.md-video-badge {
    color: #007BFF;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.md-video-main-title {
    /* font-family: 'Playfair Display', serif; */
    font-size: 2.8rem;
    color: #002D4B;
    margin-top: 15px;
    line-height: 1.2;
}

/* Video Wrapper & Positioning */
.md-video-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.md-video-placeholder {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 550px;
}

.md-video-placeholder img {
    width: 90%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    border-radius: 10px;
}

/* Play Button */
.md-play-btn {
    position: absolute;
    top: 50%;
    left: 40%;
    /* Offset to make room for the card */
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: white;
    color: #12B8ED;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.md-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Overlapping Card */
.md-doctor-info-card {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    background: #F3F9FF;
    /* Very light blue tint */
    padding: 50px;
    width: 420px;
    border-radius: 4px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.md-doctor-info-card h3 {
    /* font-family: 'Playfair Display', serif; */
    font-size: 1.8rem;
    color: #002D4B;
    margin-bottom: 20px;
}

.md-doctor-info-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Checklist */
.md-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.md-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #002D4B;
    font-size: 0.95rem;
}

.md-feature-list i {
    color: #002D4B;
    font-size: 1.1rem;
}

/* Dark Button */
.md-btn-book {
    background-color: #0b1120;
    color: white;
    border: none;
    padding: 18px 0;
    width: 100%;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.md-btn-book:hover {
    background-color: #1a2235;
    transform: translateY(-3px);
}

/* Responsive Logic */
@media (max-width: 1100px) {
    .md-doctor-info-card {
        right: 20px;
        /* width: 380px; */
    }

    .md-play-btn {
        left: 35%;
    }
}

@media (max-width: 992px) {
    .md-video-placeholder {
        height: 400px;
    }

    .md-doctor-info-card {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        margin-top: 30px;
        box-shadow: none;
    }

    .md-play-btn {
        left: 50%;
    }
}

.mt-testimonial-section {
    padding: 100px 0;
    background-color: #ffffff;
    /* font-family: 'Inter', sans-serif; */
    overflow: hidden;
}

.mt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styling */
.mt-testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

.mt-badge {
    color: #12B8ED;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.mt-title {
    /* font-family: 'Playfair Display', serif; */
    font-size: 2.8rem;
    color: #002D4B;
    margin-top: 10px;
    max-width: 600px;
}

.mt-header-right p {
    color: #666;
    max-width: 400px;
    line-height: 1.6;
    font-size: 1rem;
}

/* Auto-Scroll Logic */
.mt-testimonial-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.mt-testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 40s linear infinite;
    /* Adjust time for speed */
}

/* Pause on hover so users can read */
.mt-testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-430px * 6));
    }

    /* Card width + gap * total unique cards */
}

/* Card Styling */
.mt-card {
    width: 400px;
    /* Fixed width for calculation */
    background: #f8fbff;
    padding: 50px 40px;
    border-bottom: 4px solid #002D4B;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

.mt-card h3 {
    color: #12B8ED;
    font-size: 1.5rem;
    margin-bottom: 20px;
    /* font-family: 'Playfair Display', serif; */
}

.mt-card p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 30px;
    height: 100px;
    overflow: hidden;
}

.mt-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mt-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.mt-user span {
    font-weight: 700;
    color: #002D4B;
    font-size: 1.1rem;
}

/* Footer */
.mt-footer {
    text-align: center;
    margin-top: 60px;
}

.mt-btn-dark {
    background-color: #0b1120;
    color: white;
    border: none;
    padding: 20px 45px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.mt-btn-dark:hover {
    transform: translateY(-3px);
    background-color: #1a2235;
}

/* Mobile */
@media (max-width: 768px) {
    .mt-testimonial-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .mt-card {
        width: 300px;
    }

    @keyframes scroll {
        100% {
            transform: translateX(calc(-330px * 6));
        }
    }
}


/* --- NEWSLETTER CONTAINER --- */
.md-newsletter {
    width: 370px; /* Container ki fixed width desktop par */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Newsletter form layout - buttons aur input ko control karne ke liye */
.md-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start; /* Isse button aur input sirf utni width lenge jitni unhe chahiye */
}

/* Input aur Button ki apni width (equal nahi hongi agar aap nahi chahte) */
.md-newsletter-form input {
    width: 100%; /* Input field container ke mutabiq */
    padding: 12px;
}

.md-newsletter-form button {
    width: auto; /* Button sirf text ke mutabiq width lega */
    padding: 10px 25px;
}

/* --- FOOTER BOTTOM & SOCIALS --- */
.md-footer .md-footer-bottom {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    width: 100%;
}

.md-footer .md-footer-socials {
    display: flex !important;
    gap: 12px;
}

.md-footer .md-footer-socials a {
    width: 38px !important;
    height: 38px !important;
    background-color: #ffffff !important;
    color: #656565 !important; 
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* transition: all 0.3s ease; */
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    /* Newsletter mobile par center aur responsive */
    .md-newsletter {
        width: 100%; 
        max-width: 370px;
        margin: 0 auto;
        text-align: center;
    }

    .md-newsletter-form {
        align-items: center; /* Mobile par button center ho jaye */
    }

    .md-footer .md-footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
    }
    
    .md-footer .md-footer-socials {
        justify-content: center;
    }

    .md-footer .md-footer-socials{
      flex-wrap: wrap;
    }
}
/* --- Medicure Articles Styling --- */
.ma-news-section {
    padding: 100px 0;
    background-color: #ffffff;
    /* font-family: 'Inter', sans-serif; */
}

.ma-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.ma-news-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.ma-news-badge {
    color: #12B8ED;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.ma-news-title {
    /* font-family: 'Playfair Display', serif; */
    font-size: 2.8rem;
    color: #002D4B;
    margin: 15px 0;
}

.ma-news-subtitle {
    color: #666;
    line-height: 1.6;
}

/* Article Grid & Overlap */
.ma-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.ma-news-item {
    position: relative;
    padding-bottom: 60px;
    /* Space for the overlapping content */
}

.ma-image-wrapper {
    width: 100%;
    height: 350px;
    border-radius: 4px;
    overflow: hidden;
}

.ma-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ma-news-item:hover .ma-image-wrapper img {
    transform: scale(1.05);
}

.ma-content-box {
    background: white;
    width: 90%;
    margin: -100px auto 0;
    /* The magic overlap */
    position: relative;
    z-index: 2;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

/* Meta Data (Category & Date) */
.ma-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ma-cat {
    color: #12B8ED;
}

.ma-date {
    color: #999;
}

.ma-content-box h3 {
    /* font-family: 'Playfair Display', serif; */
    font-size: 1.6rem;
    color: #002D4B;
    margin-bottom: 15px;
    line-height: 1.3;
}

.ma-content-box p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.ma-read-more {
    color: #12B8ED;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    transition: 0.3s;
}

.ma-read-more:hover {
    color: #002D4B;
}

/* Footer Button */
.ma-news-footer {
    text-align: center;
    margin-top: 40px;
}

.ma-btn-more {
    background: transparent;
    border: 1px solid #333;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.ma-btn-more:hover {
    background: #002D4B;
    color: white;
    border-color: #002D4B;
}

/* Responsive */
@media (max-width: 992px) {
    .ma-news-grid {
        grid-template-columns: 1fr;
    }

    .ma-news-title {
        font-size: 2.2rem;
    }

    .ma-content-box {
        width: 95%;
        padding: 30px;
    }
}

/* Footer */
.md-footer {
    background-color: #0b1120;
    /* Deep Navy Background */
    color: #ffffff;
    padding: 80px 0 30px;
    /* font-family: 'Inter', sans-serif; */
}

.md-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.md-footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.md-footer-tagline {
    max-width: 500px;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

.md-footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

.md-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 2fr;
    gap: 40px;
}

.md-footer-col h4 {
    /* font-family: 'Playfair Display', serif; */
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.md-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.md-footer-col ul li {
    margin-bottom: 12px;
}

.md-footer-col ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: 0.3s;
}

.md-footer-col ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.md-footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 15px;
}

/* Newsletter Form */
.md-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.md-newsletter-form input {
    background: white;
    border: none;
    padding: 18px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: 'Open Sans';
}

.md-newsletter-form button {
    background: #f0f7ff;
    /* Light blue/white tint */
    color: #0b1120;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
    width: 60%;
    /* As per screenshot */
}

.md-newsletter-form button:hover {
    background: #12B8ED;
    color: white;
}

.md-footer-bottom {
    text-align: left;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 992px) {
    .md-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .md-footer-top {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .md-footer-grid {
        grid-template-columns: 1fr;
    }

    .md-newsletter-form button {
        width: 100%;
    }
}

/* --- About Hero Styling --- */
.mh-about-hero {
    background-color: #ffffff;
    overflow: hidden;
    padding-bottom: 50px;
    /* Space for the image overlap */
}

.mh-hero-container {
    display: flex;
    min-height: 600px;
    position: relative;
    background-color: #12B8ED;
    /* Medicure Cyan */
}

/* Content Side (Cyan Block) */
.mh-content-side {
    flex: 1.2;
    background-color: #12B8ED;
    /* Medicure Cyan */
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 5% 80px 10%;
    color: white;
}

/* The Background Line Pattern */
.mh-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    pointer-events: none;
}

.mh-pattern svg {
    height: 100%;
    width: auto;
}

.mh-inner-text {
    position: relative;
    z-index: 2;
    max-width: 550px;
}

.mh-badge {
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 20px;
    color: black;
}

.mh-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.mh-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Button */
.mh-btn-white {
    background-color: white;
    color: #333;
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.mh-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Image Side */
.mh-image-side {
    flex: 1;
    position: relative;
    z-index: 5;
}

.mh-image-side img {
    width: 90%;
    height: 110%;
    /* Makes the image taller than the cyan box */
    object-fit: cover;
    display: block;
    position: absolute;
    top: 50px;
    left: -50px;
    /* Overlaps into the cyan section */
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .mh-title {
        font-size: 3rem;
    }

    .mh-image-side img {
        left: 0;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .mh-hero-container {
        flex-direction: column;
    }

    .mh-content-side {
        padding: 80px 20px;
        text-align: center;
    }

    .mh-image-side {
        height: 500px;
    }

    .mh-image-side img {
        position: relative;
        top: -50px;
        width: 90%;
        margin: 0 auto;
        left: 0;
    }

    .mh-pattern {
        display: none;
    }

    /* Clean up mobile view */
}

/* --- Story & Expertise Styling --- */
.ms-story-section {
    padding: 120px 0;
    background-color: #fdfdfd;
    position: relative;
    overflow: hidden;
}

.ms-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.ms-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 40px;
}

/* Reverses the order for the bottom row */
.ms-reverse {
    flex-direction: row-reverse;
}

/* Image Styling */
.ms-image-box {
    flex: 1;
    z-index: 2;
}

.ms-image-box img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Text Content */
.ms-text-box {
    flex: 1;
}

.ms-badge {
    color: #12B8ED;
    font-weight: 600;
    font-size:1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ms-text-box h2 {
    /* font-family: 'Playfair Display', serif; */
    font-size: 2.5rem;
    color: #002D4B;
    margin: 15px 0 25px;
    line-height: 1.2;
}

.ms-text-box p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* The Central Navy Square (The Anchor) */
.ms-anchor-square {
    position: absolute;
    width: 250px;
    height: 250px;
    background-color: #0b1120;
    /* Dark Navy from Medicure footer */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* --- Responsive Layout --- */
@media (max-width: 992px) {

    .ms-row,
    .ms-reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .ms-anchor-square {
        display: none;
        /* Remove for cleaner mobile scroll */
    }

    .ms-image-box img {
        height: 350px;
    }

    .ms-text-box h2 {
        font-size: 2.1rem;
    }
}

/* --- Values Section Styling --- */
.mv-values-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.mv-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.mv-header {
    text-align: center;
    margin-bottom: 60px;
}

.mv-badge {
    color: #12B8ED;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mv-title {
    font-size: 2.8rem;
    color: #002D4B;
    margin-top: 15px;
}

/* Grid Layout */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2x2 on desktop */
    gap: 30px;
}

.mv-card {
    background-color: #f4f9ff;
    /* Soft blue tint */
    padding: 40px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
}

/* Icon Container */
.mv-icon {
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.mv-icon i {
    font-size: 1.5rem;
    color: #12B8ED;
}

/* Text inside card */
.mv-text h3 {
    font-size: 1.6rem;
    color: #002D4B;
    margin-bottom: 12px;
}

.mv-text p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Button */
.mv-footer {
    text-align: center;
    margin-top: 60px;
}

.mv-btn-cyan {
    background-color: #12B8ED;
    color: white;
    border: none;
    padding: 20px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(18, 184, 237, 0.2);
    transition: 0.3s;
}

.mv-btn-cyan:hover {
    background-color: #0ea2d1;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 850px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .mv-title {
        font-size: 2.2rem;
    }

    .mv-card {
        padding: 30px;
    }
}

/* --- Experience & Formation Styling --- */
.me-experience-section {
    background-color: #0b1120;
    /* Deep Navy Background */
    padding: 120px 0;
    color: white;
}

.me-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Header left, Timeline right */
    gap: 80px;
    align-items: start;
}

/* Left Content Side */
.me-header-side {
    position: sticky;
    top: 100px;
}

.me-badge {
    color: #4a90e2;
    /* Softer Blue for Dark Background */
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 20px;
}

.me-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

.me-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 450px;
}

.me-btn-blue {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.me-btn-blue:hover {
    background-color: #357abd;
    transform: translateY(-2px);
}

/* Right Timeline Side */
.me-timeline-side {
    position: relative;
    padding-left: 40px;
}

/* The Vertical Line */
.me-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #4a90e2;
    opacity: 0.5;
}

/* The Individual Cards */
.me-timeline-card {
    background: white;
    color: #333;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* The connector dot on the line */
.me-timeline-card::before {
    content: '';
    position: absolute;
    left: -44px;
    /* Align with me-line */
    top: 50px;
    width: 10px;
    height: 10px;
    background-color: #4a90e2;
    border-radius: 50%;
    z-index: 2;
}

.me-year {
    color: #4a90e2;
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.me-timeline-card h3 {
    font-size: 1.8rem;
    color: #002D4B;
    margin-bottom: 20px;
}

.me-timeline-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .me-container {
        grid-template-columns: 1fr;
    }

    .me-header-side {
        position: relative;
        top: 0;
        margin-bottom: 60px;
        text-align: center;
    }

    .me-description {
        margin: 0 auto 40px;
    }
}

/* --- Specialties Styling --- */
.mc-specialties {
    background-color: #0b1120;
    /* Deep Dark Navy */
    padding: 100px 0;
    color: white;
}

.mc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Area */
.mc-specialties-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.mc-badge {
    color: #4a90e2;
    /* Medical Blue */
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mc-title {
    font-size: 2.8rem;
    margin-top: 12px;
    line-height: 1.2;
}

.mc-btn-pill {
    background: white;
    color: #0b1120;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.3s;
}

.mc-btn-pill:hover {
    background: #4a90e2;
    color: white;
}

/* Grid and Cards */
.mc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mc-card {
    background: white;
    color: #333;
    padding: 60px 40px;
    text-align: center;
    border-radius: 4px;
    transition: 0.3s ease;
}

.mc-card:hover {
    transform: translateY(-10px);
}

.mc-icon-circle {
    width: 100px;
    height: 100px;
    background: #f0f7ff;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a90e2;
}

.mc-icon-circle svg {
    width: 45px;
    height: 45px;
}

.mc-card h3 {
    font-size: 1.8rem;
    color: #002D4B;
    margin-bottom: 20px;
}

.mc-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.mc-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.mc-link:hover {
    border-bottom: 2px solid #4a90e2;
}

/* Responsive */
@media (max-width: 992px) {
    .mc-grid {
        grid-template-columns: 1fr;
    }

    .mc-specialties-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .mc-title {
        font-size: 2.2rem;
    }
}

/* Service Page */
.svc-hero {
    background-color: #12B8ED;
    /* Medicure Cyan */
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;

}

.svc-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.svc-hero-text {
    padding: 80px 10%;
}

.svc-badge {
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 20px;
}

.svc-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.svc-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
}

.svc-hero-btns {
    display: flex;
    gap: 15px;
}

.svc-btn-dark {
    background-color: #0b1120;
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}

.svc-btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}

.svc-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .svc-hero-container {
        grid-template-columns: 1fr;
    }

    .svc-hero-image {
        display: none;
    }

    .svc-title {
        font-size: 2.5rem;
    }
}

/* Services List */
.svc-grid-section {
    margin-top: -250px;
    padding: 100px 0;
    /* background-color: #f8fbff; */
}

.svc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.svc-header {
    text-align: center;
    margin-bottom: 60px;
}

.svc-badge {
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.svc-section-title {
    font-size: 3rem;
    color: white;
    margin-top: 15px;
}

.svc-main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.svc-card {
    background: white;
    padding: 50px 35px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.svc-card:hover {
    transform: translateY(-10px);
}

.svc-icon-wrapper {
    width: 90px;
    height: 90px;
    background: #eef7ff;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svc-icon-wrapper img {
    width: 45px;
    filter: invert(56%) sepia(85%) saturate(1832%) hue-rotate(167deg);
    /* Cyan tone */
}

.svc-card h3 {
    font-size: 1.6rem;
    color: #002D4B;
    margin-bottom: 15px;
}

.svc-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.svc-link {
    color: #12B8ED;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .svc-main-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .svc-main-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Service Detail Styles --- */
.sd-service-hero {
    background-color: #12B8ED;
    /* Medicure Cyan */
    padding: 100px 0 150px;
    position: relative;
    overflow: hidden;

}

/* Container */
.sd-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* Abstract Waves (SVG or CSS pseudo-elements) */
.sd-wave {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    opacity: 0.5;
}

.sd-wave-left {
    left: -150px;
    top: 100px;
    background: radial-gradient(circle, transparent 40%, rgba(255, 255, 255, 0.1) 100%);
}

.sd-wave-right {
    right: -150px;
    top: -50px;
    background: radial-gradient(circle, transparent 40%, rgba(255, 255, 255, 0.1) 100%);
}

/* Hero Header */
.sd-hero-header {
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.sd-main-title {
    font-size: 4rem;
    margin-bottom: 20px;
}

.sd-subtitle {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.95;
}

.sd-card-container-parent {
    background-color: #F3F8FF;
}

/* White Content Card */
.sd-content-card {
    background: white;
    padding: 80px 10%;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.sd-card-container {
    margin-top: -150px;
    padding-bottom: 100px;
}

.sd-icon-box {
    width: 80px;
    height: 80px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #12B8ED;
    margin-bottom: 30px;
}

.sd-icon-box svg {
    width: 40px;
}

.sd-card-title {
    font-size: 2.2rem;
    color: #0b1120;
    margin-bottom: 30px;
}

.sd-text-block p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 25px;
}

/* Feature List */
.sd-feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.sd-feature-list li {
    color: #555;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.sd-feature-list li::before {
    content: "•";
    color: #12B8ED;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    top: -4px;
}

/* Responsive */
@media (max-width: 768px) {
    .sd-main-title {
        font-size: 3rem;
    }

    .sd-content-card {
        padding: 40px 20px;
    }

    .sd-wave {
        display: none;
    }
}

/* --- Other Services Styling --- */
.other-services {
    background-color: #ffffff;
    padding: 100px 0;
}

.os-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Logic */
.os-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.os-main-title {
    font-size: 2.8rem;
    color: #0b1120;
    margin: 0;
}

.os-btn-cyan {
    background-color: #59bef0;
    /* Specific Light Cyan from image */
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
}

.os-btn-cyan:hover {
    background-color: #12B8ED;
}

/* Grid & Card Styling */
.os-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.os-card {
    border: 1px solid #f0f0f0;
    /* Subtle border from screenshot */
    padding: 60px 40px;
    text-align: center;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.os-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.os-icon-circle {
    width: 110px;
    height: 110px;
    background-color: #f0f7ff;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.os-icon-circle img {
    width: 50px;
    height: auto;
}

.os-card h3 {
    font-size: 1.8rem;
    color: #0b1120;
    margin-bottom: 20px;
}

.os-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.os-link {
    color: #59bef0;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.os-link:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .os-grid {
        grid-template-columns: 1fr;
    }

    .os-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Contact Page */
.contact-hero {
    background-color: #12B8ED;
    /* Medicure Cyan */
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

/* Background Waves (Exact Match for Screenshot) */
.bg-wave {
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    z-index: 1;
}

.wave-left {
    left: -200px;
    top: 50px;
}

.wave-right {
    right: -200px;
    top: -100px;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* Header */
.contact-header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.contact-badge {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.contact-main-title {
    font-size: 3.5rem;
    margin-top: 10px;
}
.contact-card-section{
    margin-top: -100px;
    padding-bottom: 100px;
}
/* The Card */
.contact-card {
    background: #F8FAFC;
    /* Off-white from image */
    padding: 60px;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

/* Info Side */
.info-title {
    font-size: 2.2rem;
    color: #0b1120;
    margin-bottom: 20px;
}

.info-text {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #475569;
    font-weight: 500;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: #12B8ED;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle svg {
    width: 18px;
}

/* Form Side */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #12B8ED;
    margin-bottom: 8px;
}

.input-group input{
    width: 100%;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    /* Highly rounded */
    background: white;
    color: #333;
    font-family: inherit;
    font-size: 0.85rem;
}
.input-group textarea {
    width: 100%;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    /* Highly rounded */
    background: white;
    color: #333;
    font-family: inherit;
    font-size: 0.85rem;
}

.input-group textarea {
    border-radius: 20px;
    height: 120px;
    resize: none;
}

.btn-send {
    background: #12B8ED;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send:hover {
    background: #0ea5d1;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-main-title {
        font-size: 2.5rem;
    }

    .contact-card {
        padding: 30px;
    }
}
/* --- FAQ Layout --- */
.faq-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-badge {
    color: #12B8ED;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.faq-main-title {
    font-size: 3rem;
    color: #0b1120;
    margin-top: 10px;
}

/* Grid Logic */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* --- Functional Accordion CSS --- */
.faq-item {
    background-color: #f8fbff; /* Soft blue background from screenshot */
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.faq-toggle {
    display: none; /* Hide the actual checkbox */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    cursor: pointer;
    font-weight: 700;
    color: #0b1120;
    font-size: 1.1rem;
    transition: background 0.3s;
}

/* Plus/Minus Icon using CSS pseudo-elements */
.faq-icon {
    position: relative;
    width: 35px;
    height: 35px;
    background-color: #0b1120;
    border-radius: 50%;
    transition: transform 0.3s;
}

.faq-icon::before, .faq-icon::after {
    content: "";
    position: absolute;
    background-color: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Horizontal line */
.faq-icon::before { width: 14px; height: 2px; }
/* Vertical line (makes it a plus) */
.faq-icon::after { width: 2px; height: 14px; transition: transform 0.3s; }

/* The Answer Content */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 30px;
}

.faq-answer p {
    padding-bottom: 30px;
    color: #64748b;
    line-height: 1.6;
}

/* --- Functional Toggles --- */

/* Rotate the vertical line to hide it, leaving only the horizontal (minus) */
.faq-toggle:checked + .faq-question .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* Expand the answer container */
.faq-toggle:checked ~ .faq-answer {
    max-height: 500px; /* Large enough to fit content */
    transition: max-height 0.4s ease-in-out;
}

/* Responsive */
@media (max-width: 992px) {
    .faq-grid { grid-template-columns: 1fr; }
    .faq-main-title { font-size: 2.2rem; }
}
/* Details and Map */
/* Container Logic */
.contact-map-wrapper {
    position: relative;
    width: 100%;
    margin-top: 50px;
}

/* The Floating Cyan Bar */
.info-bar-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%); /* Moves it up to overlap the top */
    z-index: 10;
    width: 90%;
    max-width: 1000px;
}

.info-bar {
    background-color: #12B8ED; /* Medicure Cyan */
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    color: white;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

/* Icon Styling */
.info-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 28px;
    height: 28px;
}

/* Text & Hours Styling */
.info-text h4 {
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    color: white;
}

.info-text p, .hours-row {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    color: white;
}

.hours-row {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;
}

.dots {
    flex-grow: 1;
    border-bottom: 2px dotted rgba(255, 255, 255, 0.4);
    margin: 0 10px;
    position: relative;
    top: -4px;
}

/* Map Styling */
.map-container {
    width: 100%;
    height: 500px;
    background: #eee;
    filter: grayscale(0.2); /* Optional: makes map look more professional */
}

/* Mobile Responsiveness */
@media (max-width: 850px) {
    .info-bar {
        flex-direction: column;
        padding: 30px;
        transform: translateY(20%); /* Sit below on mobile for better visibility */
    }
    .info-bar-container {
        position: relative;
        transform: none;
        left: 0;
        width: 100%;
        margin-bottom: -50px;
    }
}
/* --- Plans Page Base --- */
.plans-hero {
    background-color: #12B8ED;
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.plans-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}
.plans-parent{
    margin-top: -200px;
    padding: 100px 0;
}

.plans-header { text-align: center; color: white; margin-bottom: 60px; }
.plans-badge { font-weight:600; font-size: 1rem; letter-spacing: 1.5px; opacity: 0.9; color: #000; }
.plans-main-title {  font-size: 3.5rem; margin-top: 15px; line-height: 1.2; }

/* Pricing Cards */
.plan-card {
    background: #F3F8FF; /* Light off-white background */
    margin-bottom: 25px;
    padding: 50px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.plan-content { flex: 1; }

.plan-name {  color: #3b82f6; font-size: 1.8rem; margin-bottom: 10px; }

.plan-price { font-size: 2rem; font-weight: 800; color: #1e3a8a; }
.plan-price span { font-size: 0.9rem; color: #64748b; font-weight: 400; }

.plan-desc { color: #64748b; margin: 15px 0; font-size: 0.95rem; }

.plan-divider { border: 0; border-top: 1px solid #e2e8f0; margin: 25px 0; }

.plan-features { list-style: none; padding: 0; }
.plan-features li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    color: #0b1120;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Custom Blue Checkmarks */
.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    background: #3b82f6;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Buttons */
.btn-plan {
    background-color: #59bef0;
    color: white;
    text-decoration: none;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-plan:hover { background-color: #12B8ED; }

/* Questions Section (Bottom CTA) */
.questions-section {
    text-align: center;
    margin-top: 100px;
    padding-top: 50px;
}

.questions-title {  font-size: 2.5rem; color: #1e3a8a; }
.questions-subtitle { color: #64748b; font-style: italic; margin: 15px 0 30px; }

.btn-contact {
    display: inline-block;
    background-color: #59bef0;
    color: white;
    text-decoration: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .plan-card { flex-direction: column; text-align: left; padding: 30px; }
    .btn-plan { margin-top: 30px; width: 100%; text-align: center; }
    .plans-main-title { font-size: 2.5rem; }
}
/* Plan Checkout */
.checkout-section {
    background-color: #F4F8FB;
    padding: 60px 0;
    margin-top: -150px;
}

.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
}
.checkout-forms{
    z-index: 1;
}
.checkout-block {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.block-title {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 25px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 8px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #edf2f7;
    background: #fdfdfd;
    border-radius: 50px;
    font-size: 0.9rem;
}

.full-width { margin-bottom: 20px; }

/* Sidebar Summary */
.summary-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    position: sticky;
    top: 20px;
}

.summary-card h3 {   margin-bottom: 20px; }

.plan-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.plan-img { width: 50px; height: 50px; border-radius: 4px; object-fit: cover; }
.plan-info { flex: 1; display: flex; flex-direction: column; }
.plan-qty { background: #f1f5f9; padding: 5px 12px; border-radius: 4px; font-size: 0.8rem; }

.summary-line {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    font-weight: 600;
}

.summary-line.total {
    font-size: 1.2rem;
    color: #1e3a8a;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* Button */
.btn-checkout {
    width: 100%;
    background-color: #59bef0;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
}
/* Responsive */
/* Homepage */
/* =========================
   Large laptops / small desktops
========================= */
@media (max-width: 1200px) {
    .md-hero-text h1 {
        font-size: 3.2rem;
    }

    .md-hero-image img {
        width: 360px;
        height: 460px;
        margin-top: 80px;
    }
}

/* =========================
   Tablets (landscape & portrait)
========================= */
@media (max-width: 991px) {
    .md-hero {
        padding: 50px 0 0;
        margin-bottom: -60px;
    }

    .md-hero-flex {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .md-hero-text {
        padding-bottom: 40px;
    }

    .md-hero-text h1 {
        font-size: 2.8rem;
    }

    .md-hero-text p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .md-hero-image {
        justify-content: center;
        align-items: center;
    }

    .md-hero-image img {
        width: 340px;
        height: 420px;
        margin-top: 0;
    }
}

/* =========================
   Mobile devices
========================= */
@media (max-width: 576px) {
    .md-hero {
        padding: 40px 0 0;
        /*margin-bottom: 0;*/
    }

    .md-hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .md-dr-name {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .md-hero-text p {
        font-size: 0.95rem;
    }

    .md-btn-hero {
        padding: 14px 26px;
        font-size: 0.9rem;
    }

    .md-hero-image img {
        width: 100%;
        max-width: 300px;
        height: 380px;
    }
}

/* =========================
   Extra small phones
========================= */
@media (max-width: 375px) {
    .md-hero-text h1 {
        font-size: 2rem;
    }

    .md-hero-image img {
        height: 300px;
    }
}
/* =========================
   Large laptops / small desktops
========================= */
@media (max-width: 1200px) {
    .md-info-cards {
        padding-top: 130px;
    }

    .md-info-card {
        padding: 30px;
    }
}

/* =========================
   Tablets (landscape & portrait)
========================= */
@media (max-width: 991px) {
    .md-info-cards {
        padding: 70px 0;
        padding-top: 110px;
    }

    .md-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .md-info-card {
        padding: 28px;
        gap: 18px;
    }

    .md-card-content h3 {
        font-size: 1.2rem;
    }
}

/* =========================
   Mobile devices
========================= */
@media (max-width: 576px) {
    .md-info-cards {
        padding: 60px 0;
        padding-top: 90px;
    }

    .md-info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .md-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 26px 22px;
    }

    .md-card-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .md-card-content h3 {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .md-card-content p {
        font-size: 0.88rem;
    }
}

/* =========================
   Extra small phones
========================= */
@media (max-width: 375px) {
    .md-info-card {
        padding: 22px 18px;
    }

    .md-card-content h3 {
        font-size: 1.05rem;
    }
}
/* =========================
   Large laptops / small desktops
========================= */
@media (max-width: 1200px) {
    .mc-about-flex {
        gap: 60px;
    }

    .mc-about-title {
        font-size: 2.6rem;
    }

    .mc-portrait-wrapper img {
        max-width: 420px;
        height: 470px;
    }

    .mc-image-accent {
        width: 280px;
        height: 360px;
    }
}

/* =========================
   Tablets (landscape & portrait)
========================= */
@media (max-width: 991px) {
    .mc-about-section {
        padding: 80px 0;
    }

    .mc-about-flex {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .mc-about-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .mc-about-title {
        font-size: 2.4rem;
    }

    .mc-about-text {
        font-size: 1.05rem;
    }

    .mc-about-btns {
        justify-content: center;
    }

    .mc-about-image-side {
        padding: 20px 0;
    }

    .mc-image-accent {
        left: 50%;
        transform: translateX(-50%);
    }

    .mc-portrait-wrapper {
        margin-left: 0;
    }
}

/* =========================
   Mobile devices
========================= */
@media (max-width: 576px) {
    .mc-about-section {
        padding: 60px 0;
    }

    .mc-about-title {
        font-size: 2rem;
        line-height: 1.25;
    }

    .mc-about-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .mc-about-btns {
        flex-direction: column;
        gap: 15px;
    }

    .mc-btn-primary,
    .mc-btn-outline {
        width: 100%;
        padding: 16px 0;
    }

    .mc-image-accent {
        width: 220px;
        height: 300px;
        top: 10px;
    }

    .mc-portrait-wrapper img {
        max-width: 100%;
        height: 380px;
    }
}

/* =========================
   Extra small phones
========================= */
@media (max-width: 375px) {
    .mc-about-title {
        font-size: 1.8rem;
    }

    .mc-image-accent {
        width: 200px;
        height: 260px;
    }

    .mc-portrait-wrapper img {
        height: 340px;
    }
}
/* =========================
   Large laptops / small desktops
========================= */
@media (max-width: 1200px) {
    .mc-srv-title-area h2 {
        font-size: 2.4rem;
    }

    .mc-srv-card {
        flex: 0 0 320px;
        padding: 45px 35px;
    }

    .mc-srv-track {
        width: 220%;
    }

    #rs2:checked ~ .mc-container .mc-srv-track { transform: translateX(-350px); }
    #rs3:checked ~ .mc-container .mc-srv-track { transform: translateX(-700px); }
    #rs4:checked ~ .mc-container .mc-srv-track { transform: translateX(-1050px); }
    #rs5:checked ~ .mc-container .mc-srv-track { transform: translateX(-1400px); }
    #rs6:checked ~ .mc-container .mc-srv-track { transform: translateX(-1750px); }
}

/* =========================
   Tablets (landscape & portrait)
========================= */
@media (max-width: 991px) {
    .mc-services-section {
        padding: 80px 0;
    }

    .mc-srv-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .mc-srv-title-area h2 {
        font-size: 2.2rem;
        max-width: 100%;
    }

    .mc-srv-nav {
        align-self: flex-start;
    }

    .mc-srv-card {
        flex: 0 0 300px;
        padding: 40px 30px;
    }

    .mc-srv-track {
        width: 260%;
    }

    #rs2:checked ~ .mc-container .mc-srv-track { transform: translateX(-330px); }
    #rs3:checked ~ .mc-container .mc-srv-track { transform: translateX(-660px); }
    #rs4:checked ~ .mc-container .mc-srv-track { transform: translateX(-990px); }
    #rs5:checked ~ .mc-container .mc-srv-track { transform: translateX(-1320px); }
    #rs6:checked ~ .mc-container .mc-srv-track { transform: translateX(-1650px); }
}

/* =========================
   Mobile devices
========================= */
@media (max-width: 576px) {
    .mc-services-section {
        padding: 60px 0;
    }

    .mc-srv-header {
        gap: 25px;
        margin-bottom: 40px;
    }

    .mc-srv-title-area h2 {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    .mc-srv-nav {
        width: 100%;
        justify-content: space-between;
    }

    .mc-prev,
    .mc-next {
        padding: 10px 18px;
        font-size: 0.75rem;
    }

    .mc-srv-card {
        flex: 0 0 260px;
        padding: 35px 25px;
        margin-right: 20px;
    }

    .mc-srv-icon {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
        margin-bottom: 25px;
    }

    .mc-srv-track {
        width: 350%;
    }

    #rs2:checked ~ .mc-container .mc-srv-track { transform: translateX(-280px); }
    #rs3:checked ~ .mc-container .mc-srv-track { transform: translateX(-560px); }
    #rs4:checked ~ .mc-container .mc-srv-track { transform: translateX(-840px); }
    #rs5:checked ~ .mc-container .mc-srv-track { transform: translateX(-1120px); }
    #rs6:checked ~ .mc-container .mc-srv-track { transform: translateX(-1400px); }

    .mc-srv-footer {
        flex-direction: column;
        gap: 15px;
    }

    .mc-btn-blue,
    .mc-btn-white {
        width: 100%;
        padding: 16px 0;
    }
}

/* =========================
   Extra small phones
========================= */
@media (max-width: 375px) {
    .mc-srv-title-area h2 {
        font-size: 1.7rem;
    }

    .mc-srv-card {
        flex: 0 0 240px;
    }

    #rs2:checked ~ .mc-container .mc-srv-track { transform: translateX(-260px); }
    #rs3:checked ~ .mc-container .mc-srv-track { transform: translateX(-520px); }
    #rs4:checked ~ .mc-container .mc-srv-track { transform: translateX(-780px); }
    #rs5:checked ~ .mc-container .mc-srv-track { transform: translateX(-1040px); }
    #rs6:checked ~ .mc-container .mc-srv-track { transform: translateX(-1300px); }
}
/* =====================================================
   DESKTOP NORMALIZATION (≤ 1280px)
===================================================== */
@media (max-width: 1280px) {
    .mc-appointment-flex {
        gap: 60px;
    }

    .mc-appointment-content {
        width: 55%;
        flex: none;
    }

    .mc-appointment-image-side {
        width: 45%;
        height: 460px;
        background-position: center;
    }

    .mc-appointment-title {
        font-size: 2.6rem;
    }
}

/* =====================================================
   LAPTOPS (≤ 1200px)
===================================================== */
@media (max-width: 1200px) {
    .mc-appointment-section {
        padding: 80px 0;
    }

    .mc-appointment-flex {
        align-items: stretch;
        gap: 50px;
    }

    .mc-appointment-content,
    .mc-appointment-image-side {
        flex: none;
    }

    .mc-appointment-title {
        font-size: 2.4rem;
    }

    .mc-appointment-text {
        font-size: 1.05rem;
    }

    .mc-appointment-image-side {
        height: 420px;
    }
}

/* =====================================================
   TABLETS (≤ 992px)
   HARD STACK RESET
===================================================== */
@media (max-width: 992px) {
    .mc-appointment-section {
        padding: 70px 0;
    }

    .mc-appointment-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 50px;
        text-align: center;
    }

    /* 🔒 FORCE FULL WIDTH WHEN STACKED */
    .mc-appointment-content,
    .mc-appointment-image-side {
        width: 100%;
        flex: none;
    }

    .mc-appointment-content {
        max-width: 720px;
        margin: 0 auto;
    }

    .mc-appointment-btns {
        justify-content: center;
    }

    .mc-appointment-image-side {
        height: 380px;
        background-position: center;
    }
}

/* =====================================================
   MOBILE (≤ 576px)
===================================================== */
@media (max-width: 576px) {
    .mc-appointment-section {
        padding: 60px 0;
    }

    .mc-appointment-flex {
        gap: 40px;
    }

    .mc-appointment-content,
    .mc-appointment-image-side {
        width: 100%;
    }

    .mc-appointment-title {
        font-size: 2rem;
        line-height: 1.25;
    }

    .mc-appointment-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .mc-appointment-btns {
        flex-direction: column;
        gap: 15px;
    }

    .mc-appointment-btns .mc-btn-primary,
    .mc-appointment-btns .mc-btn-outline {
        width: 100%;
        padding: 16px 0;
    }

    .mc-appointment-image-side {
        height: 300px;
    }
}

/* =====================================================
   SMALL PHONES (≤ 375px)
===================================================== */
@media (max-width: 375px) {
    .mc-appointment-title {
        font-size: 1.75rem;
    }

    .mc-appointment-image-side {
        height: 260px;
    }
}
/* ----------- Large Tablets & Small Laptops (≤ 1200px) ----------- */
@media (max-width: 1200px) {
    .mc-appointment-flex {
        gap: 50px !important;
    }

    .mc-appointment-title {
        font-size: 2.6rem !important;
    }

    .mc-appointment-text {
        font-size: 1.05rem !important;
    }

    .mc-appointment-image-side {
        height: 460px !important;
    }
}

/* ----------- Tablets (≤ 992px) ----------- */
@media (max-width: 992px) {
    .mc-appointment-flex {
        flex-direction: column !important;
        text-align: center !important;
        gap: 50px !important;
    }

    .mc-appointment-content,
    .mc-appointment-image-side {
        width: 100% !important;
    }

    .mc-appointment-title {
        font-size: 2.4rem !important;
    }

    .mc-appointment-text {
        font-size: 1rem !important;
    }

    .mc-appointment-btns {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .mc-appointment-image-side {
        height: 420px !important;
        background-position: center !important;
    }
}

/* ----------- Mobile Devices (≤ 768px) ----------- */
@media (max-width: 768px) {
    .mc-appointment-section {
        padding: 60px 0 !important;
    }

    .mc-appointment-title {
        font-size: 2rem !important;
        line-height: 1.25 !important;
    }

    .mc-appointment-text {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .mc-appointment-btns {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }

    .mc-appointment-btns button {
        width: 100% !important;
        max-width: 280px !important;
        padding: 16px 20px !important;
    }

    .mc-appointment-image-side {
        height: 360px !important;
    }
}

/* ----------- Small Phones (≤ 480px) ----------- */
@media (max-width: 480px) {
    .mc-appointment-container {
        padding: 0 15px !important;
    }

    .mc-appointment-badge {
        font-size: 0.75rem !important;
    }

    .mc-appointment-title {
        font-size: 1.7rem !important;
    }

    .mc-appointment-text {
        font-size: 0.9rem !important;
    }

    .mc-appointment-image-side {
        height: 300px !important;
    }
}

/* ----------- Extra Small Devices (≤ 360px) ----------- */
@media (max-width: 360px) {
    .mc-appointment-title {
        font-size: 1.5rem !important;
    }

    .mc-appointment-text {
        font-size: 0.85rem !important;
    }

    .mc-appointment-btns button {
        font-size: 0.9rem !important;
        padding: 14px 18px !important;
    }

    .mc-appointment-image-side {
        height: 260px !important;
    }
}
/* ===============================
   LARGE TABLETS & SMALL LAPTOPS
   =============================== */
@media (max-width: 1100px) {
    .md-video-main-title {
        font-size: 2.4rem !important;
    }

    .md-video-placeholder {
        height: 480px !important;
    }

    .md-video-placeholder img {
        width: 100% !important;
    }

    .md-play-btn {
        left: 50% !important;
    }

    .md-doctor-info-card {
        right: 10px !important;
        width: 380px !important;
        padding: 40px !important;
    }
}

/* ===============================
   TABLETS (≤ 992px)
   =============================== */
@media (max-width: 992px) {
    .md-video-header {
        margin-bottom: 40px !important;
        padding: 0 15px !important;
    }

    .md-video-main-title {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
    }

    .md-video-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    .md-video-placeholder {
        height: 400px !important;
    }

    .md-play-btn {
        width: 75px !important;
        height: 75px !important;
        font-size: 20px !important;
    }

    .md-doctor-info-card {
        position: relative !important;
        top: 0 !important;
        left: 50% !important;
        transform: none !important;
        transform: translateX(-50%) !important;
        padding: 35px !important;
        box-shadow: none !important;
    }
}


/*  */

/* ===============================
   MOBILE DEVICES (≤ 768px)
   =============================== */
@media (max-width: 768px) {
    .md-video-section {
        padding: 20px !important;
    }

    .md-video-badge {
        font-size: 0.75rem !important;
    }

    .md-video-main-title {
        font-size: 1.9rem !important;
    }

    .md-video-placeholder {
        height: 320px !important;
    }

    .md-play-btn {
        width: 65px !important;
        height: 65px !important;
        font-size: 18px !important;
    }

    .md-doctor-info-card h3 {
        font-size: 1.6rem !important;
    }

    .md-doctor-info-card p {
        font-size: 0.9rem !important;
    }

    .md-feature-list li {
        font-size: 0.9rem !important;
    }

    .md-btn-book {
        padding: 16px 0 !important;
        font-size: 0.95rem !important;
    }
}

/* ===============================
   SMALL PHONES (≤ 480px)
   =============================== */
@media (max-width: 480px) {
    .md-video-header {
        margin-bottom: 30px !important;
    }

    .md-video-main-title {
        font-size: 1.6rem !important;
    }

    .md-video-placeholder {
        height: 260px !important;
    }

    .md-doctor-info-card {
        padding: 28px !important;
        padding-left: 44px !important;
        padding-right: 40px !important;
    }

    .md-doctor-info-card h3 {
        font-size: 1.4rem !important;
    }

    .md-feature-list li {
        gap: 10px !important;
    }
}

/* ===============================
   EXTRA SMALL DEVICES (≤ 360px)
   =============================== */
@media (max-width: 360px) {
    .md-video-main-title {
        font-size: 1.45rem !important;
    }

    .md-video-placeholder {
        height: 230px !important;
    }

    .md-play-btn {
        width: 55px !important;
        height: 55px !important;
        font-size: 16px !important;
    }

    .md-btn-book {
        font-size: 0.9rem !important;
    }
}
/* ===============================
   LARGE TABLETS & SMALL LAPTOPS
   =============================== */
@media (max-width: 1100px) {
    .mt-title {
        font-size: 2.4rem !important;
        max-width: 520px !important;
    }

    .mt-header-right p {
        font-size: 0.95rem !important;
    }

    .mt-card {
        width: 360px !important;
        padding: 45px 35px !important;
    }

    @keyframes scroll {
        100% {
            transform: translateX(calc(-390px * 6));
        }
    }
}

/* ===============================
   TABLETS (≤ 992px)
   =============================== */
@media (max-width: 992px) {
    .mt-testimonial-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px !important;
        margin-bottom: 45px !important;
    }

    .mt-title {
        font-size: 2.2rem !important;
        max-width: 100% !important;
    }

    .mt-header-right p {
        max-width: 100% !important;
        font-size: 0.95rem !important;
    }

    .mt-card {
        width: 340px !important;
        padding: 40px 30px !important;
    }

    @keyframes scroll {
        100% {
            transform: translateX(calc(-370px * 6));
        }
    }
}

/* ===============================
   MOBILE DEVICES (≤ 768px)
   =============================== */
@media (max-width: 768px) {
    .mt-testimonial-section {
        padding: 80px 0 !important;
    }

    .mt-badge {
        font-size: 0.75rem !important;
    }

    .mt-title {
        font-size: 1.9rem !important;
        line-height: 1.25 !important;
    }

    .mt-header-right p {
        font-size: 0.9rem !important;
    }

    .mt-card {
        width: 300px !important;
        padding: 35px 25px !important;
    }

    .mt-card h3 {
        font-size: 1.35rem !important;
    }

    .mt-card p {
        font-size: 0.9rem !important;
        height: auto !important;
    }

    .mt-user span {
        font-size: 1rem !important;
    }

    @keyframes scroll {
        100% {
            transform: translateX(calc(-330px * 6));
        }
    }
}

/* ===============================
   SMALL PHONES (≤ 480px)
   =============================== */
@media (max-width: 480px) {
    .mt-testimonial-section {
        padding: 70px 0 !important;
    }

    .mt-title {
        font-size: 1.6rem !important;
    }

    .mt-card {
        width: 260px !important;
        padding: 30px 22px !important;
    }

    .mt-card h3 {
        font-size: 1.2rem !important;
    }

    .mt-card p {
        font-size: 0.85rem !important;
    }

    .mt-user img {
        width: 45px !important;
        height: 45px !important;
    }

    .mt-user span {
        font-size: 0.95rem !important;
    }

    .mt-btn-dark {
        padding: 18px 38px !important;
        font-size: 0.9rem !important;
    }

    @keyframes scroll {
        100% {
            transform: translateX(calc(-290px * 6));
        }
    }
}

/* ===============================
   EXTRA SMALL DEVICES (≤ 360px)
   =============================== */
@media (max-width: 360px) {
    .mt-title {
        font-size: 1.45rem !important;
    }

    .mt-card {
        width: 230px !important;
        padding: 26px 20px !important;
    }

    .mt-card h3 {
        font-size: 1.1rem !important;
    }

    .mt-card p {
        font-size: 0.82rem !important;
    }

    @keyframes scroll {
        100% {
            transform: translateX(calc(-260px * 6));
        }
    }
}
/* =====================================================
   PERFECT RESPONSIVE SYSTEM (≤ 1399px ONLY)
   ===================================================== */

/* ---------- 1200px–1399px ---------- */
@media (max-width: 1399px) {

    .ma-news-grid {
        gap: 32px;
    }

    .ma-image-wrapper {
        height: 320px;
    }

    .ma-content-box {
        width: 92%;
        padding: 36px;
        margin-top: -90px;
    }

    .ma-news-title {
        font-size: 2.5rem;
    }
}

/* ---------- 992px–1199px ---------- */
@media (max-width: 1199px) {

    .ma-news-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .ma-image-wrapper {
        height: 300px;
    }

    .ma-news-item {
        padding-bottom: 0;
    }

    .ma-content-box {
        /* width: 100%; */
        margin: 0;
        padding: 34px;
        box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    }

    .ma-news-title {
        font-size: 2.2rem;
    }
}

/* ---------- 768px–991px ---------- */
@media (max-width: 991px) {

    .ma-news-section {
        padding: 80px 0;
    }

    .ma-news-header {
        margin-bottom: 50px;
    }

    .ma-image-wrapper {
        height: 260px;
    }

    .ma-content-box {
        padding: 30px;
    }

    .ma-content-box h3 {
        font-size: 1.45rem;
    }

    .ma-content-box p {
        font-size: 0.9rem;
    }
}

/* ---------- 576px–767px ---------- */
@media (max-width: 767px) {

    .ma-news-section {
        padding: 65px 0;
    }

    .ma-news-title {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .ma-news-subtitle {
        font-size: 0.88rem;
    }

    .ma-image-wrapper {
        height: 230px;
    }

    .ma-meta {
        font-size: 0.7rem;
    }

    .ma-content-box {
        padding: 26px;
    }
}

/* ---------- ≤ 575px (Small Phones) ---------- */
@media (max-width: 575px) {

    .ma-news-section {
        padding: 55px 0;
    }

    .ma-news-title {
        font-size: 1.55rem;
    }

    .ma-news-subtitle {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .ma-image-wrapper {
        height: 210px;
    }

    .ma-meta {
        flex-direction: column;
        gap: 6px;
    }

    .ma-content-box {
        padding: 22px;
    }

    .ma-content-box h3 {
        font-size: 1.25rem;
    }

    .ma-content-box p {
        font-size: 0.85rem;
    }

    .ma-btn-more {
        padding: 14px 30px;
        font-size: 0.85rem;
    }
}

/* ---------- ≤ 360px (Ultra Small) ---------- */
@media (max-width: 360px) {

    .ma-news-title {
        font-size: 1.45rem;
    }

    .ma-image-wrapper {
        height: 190px;
    }

    .ma-content-box {
        padding: 20px;
    }
}
/* =====================================================
   MEDICURE FOOTER – PIXEL PERFECT RESPONSIVE (≤1399px)
   ===================================================== */

/* ---------- 1200px–1399px ---------- */
@media (max-width: 1399px) {

    .md-footer {
        padding: 70px 0 28px;
    }

    .md-footer-grid {
        grid-template-columns: 1fr 1fr 1.3fr 1.8fr;
        gap: 36px;
    }

    .md-footer-tagline {
        max-width: 460px;
        font-size: 0.88rem;
    }
}

/* ---------- 992px–1199px ---------- */
@media (max-width: 1199px) {

    .md-footer-top {
        gap: 30px;
    }

    .md-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px 40px;
    }

    .md-footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .md-footer-col ul li a,
    .md-footer-col p {
        font-size: 0.9rem;
    }

    .md-newsletter-form button {
        width: 70%;
    }
}

/* ---------- 768px–991px ---------- */
@media (max-width: 991px) {

    .md-footer {
        padding: 65px 0 25px;
    }

    .md-footer-top {
        flex-direction: column;
        gap: 25px;
    }

    .md-footer-logo {
        font-size: 1.4rem;
    }

    .md-footer-tagline {
        max-width: 100%;
        font-size: 0.88rem;
    }

    .md-footer-grid {
        gap: 45px 35px;
    }

    .md-newsletter-form input {
        padding: 16px 22px;
    }

    .md-newsletter-form button {
        padding: 14px;
    }
}

/* ---------- 576px–767px ---------- */
@media (max-width: 767px) {

    .md-footer {
        padding: 55px 0 22px;
    }

    .md-footer-divider {
        margin: 30px 0;
    }

    .md-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .md-footer-col h4 {
        font-size: 1.05rem;
        margin-bottom: 18px;
    }

    .md-footer-col ul li {
        margin-bottom: 10px;
    }

    .md-footer-col ul li a {
        font-size: 0.88rem;
    }

    .md-footer-col p {
        font-size: 0.88rem;
    }

    .md-newsletter-form {
        gap: 12px;
    }

    .md-newsletter-form button {
        width: 100%;
    }
}

/* ---------- ≤ 575px (Small Phones) ---------- */
@media (max-width: 575px) {

    .md-footer {
        padding: 50px 0 20px;
    }

    .md-footer-logo {
        font-size: 1.3rem;
    }

    .md-footer-tagline {
        font-size: 0.85rem;
        line-height: 1.55;
    }

    .md-footer-col h4 {
        font-size: 1rem;
    }

    .md-newsletter-form input {
        font-size: 0.8rem;
        padding: 15px 20px;
    }

    .md-newsletter-form button {
        font-size: 0.8rem;
        padding: 13px;
    }

    .md-footer-bottom {
        text-align: center;
        font-size: 0.8rem;
    }
}

/* ---------- ≤ 360px (Ultra Small Screens) ---------- */
@media (max-width: 360px) {

    .md-footer {
        padding: 45px 0 18px;
    }

    .md-footer-logo {
        font-size: 1.2rem;
    }

    .md-footer-col p,
    .md-footer-col ul li a {
        font-size: 0.82rem;
    }

    .md-newsletter-form input {
        padding: 14px 18px;
    }
}
/* --- Pixel Perfect Responsive Adjustments --- */

/* 1. Large Desktops (Fixing overlap & font scaling) */
@media (max-width: 1400px) {
    .mh-title {
        font-size: 3.5rem !important;
    }
    .mh-content-side {
        padding-left: 5% !important;
    }
}

/* 2. Tablets & Small Laptops (Refining the 2-column layout) */
@media (max-width: 1100px) {
    .mh-hero-container {
        min-height: 500px !important;
    }
    .mh-title {
        font-size: 2.8rem !important;
    }
    .mh-image-side img {
        width: 100% !important;
        left: -20px !important; /* Reduced overlap for tighter screens */
        height: 105% !important;
    }
}

/* 3. Tablets - Portrait (Switching to Stacked Layout) */
@media (max-width: 992px) {
    .mh-hero-container {
        flex-direction: column !important;
        min-height: auto !important;
    }

    .mh-content-side {
        flex: none !important;
        padding: 60px 30px 100px 30px !important; /* Extra bottom padding for image overlap */
        text-align: center !important;
    }

    .mh-inner-text {
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .mh-title {
        font-size: 2.5rem !important;
    }

    .mh-image-side {
        flex: none !important;
        height: 400px !important;
        order: 2 !important;
    }

    .mh-image-side img {
        position: relative !important;
        top: -60px !important; /* Pulls image up into the cyan section */
        left: 0 !important;
        width: 85% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
        height: auto !important;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    }

    .mh-pattern {
        display: none !important;
    }
}

/* 4. Mobile Devices (Optimization for small screens) */
@media (max-width: 576px) {
    .mh-content-side {
        padding: 50px 20px 80px 20px !important;
    }

    .mh-title {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }

    .mh-description {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }

    .mh-btn-white {
        padding: 15px 30px !important;
        width: 100% !important; /* Full width button for better UX on mobile */
        max-width: 280px !important;
    }

    .mh-image-side {
        height: 350px !important;
    }

    .mh-image-side img {
        width: 90% !important;
        top: 0 !important;
    }
}
/* --- Pixel Perfect Story Section Responsive Adjustments --- */

/* 1. Large Screen Adjustments (Ensuring the Anchor Square stays centered) */
@media (min-width: 1200px) {
    .ms-container {
        padding: 0 !important;
    }
}

/* 2. Tablet / Small Laptops (Tightening gaps and font sizes) */
@media (max-width: 1100px) {
    .ms-row {
        gap: 40px !important;
    }
    
    .ms-text-box h2 {
        font-size: 2.2rem !important;
    }

    .ms-anchor-square {
        width: 180px !important;
        height: 180px !important;
    }
}

/* 3. Tablets - Portrait (Switching to Stacked) */
@media (max-width: 992px) {
    .ms-story-section {
        padding: 80px 0 !important;
    }

    .ms-row {
        flex-direction: column !important; /* Stack vertically */
        gap: 30px !important;
        margin-bottom: 80px !important;
        text-align: center !important;
    }

    /* Force image to top for reversed row on mobile */
    .ms-reverse {
        flex-direction: column !important; 
    }

    .ms-image-box {
        width: 100% !important;
    }

    .ms-image-box img {
        height: 380px !important;
        border-radius: 8px !important; /* Optional: adds a cleaner mobile look */
    }

    .ms-anchor-square {
        display: none !important; /* Prevents visual clutter behind text */
    }

    .ms-text-box {
        padding: 0 10px !important;
    }

    .ms-text-box h2 {
        font-size: 2rem !important;
        margin: 10px 0 20px !important;
    }
}

/* 4. Mobile Phones (Optimization for narrow viewports) */
@media (max-width: 576px) {
    .ms-story-section {
        padding: 60px 0 !important;
    }

    .ms-row {
        margin-bottom: 60px !important;
    }

    .ms-image-box img {
        height: 280px !important;
    }

    .ms-text-box h2 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }

    .ms-text-box p {
        font-size: 0.95rem !important;
        padding: 0 5px !important;
    }
}
/* --- Pixel Perfect Values Section Responsive Adjustments --- */

/* 1. Medium Screens (Adjusting Title & Grid Spacing) */
@media (max-width: 1100px) {
    .mv-values-section {
        padding: 80px 0 !important;
    }
    
    .mv-title {
        font-size: 2.4rem !important;
    }
}

/* 2. Tablets (Switching Grid to 1 Column) */
@media (max-width: 850px) {
    .mv-header {
        margin-bottom: 40px !important;
    }

    .mv-grid {
        grid-template-columns: 1fr !important; /* Stack cards vertically */
        gap: 20px !important;
    }

    .mv-card {
        padding: 30px !important;
    }

    .mv-title {
        font-size: 2rem !important;
    }
}

/* 3. Small Mobile Devices (Improving Card Internal Layout) */
@media (max-width: 576px) {
    .mv-values-section {
        padding: 60px 0 !important;
    }

    .mv-card {
        flex-direction: column !important; /* Icon on top, text below */
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
        padding: 40px 25px !important;
    }

    .mv-icon {
        width: 60px !important;
        height: 60px !important;
    }

    .mv-text h3 {
        font-size: 1.4rem !important;
        margin-bottom: 10px !important;
    }

    .mv-text p {
        font-size: 0.9rem !important;
    }

    .mv-footer {
        margin-top: 40px !important;
    }

    .mv-btn-cyan {
        width: 100% !important; /* Full width for mobile accessibility */
        padding: 18px 30px !important;
    }
    
    .mv-title {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }
}
/* --- Pixel Perfect Experience Section Responsive Adjustments --- */

/* 1. Large Screen Optimization */
@media (max-width: 1200px) {
    .me-container {
        gap: 40px !important;
    }
    
    .me-title {
        font-size: 2.5rem !important;
    }
}

/* 2. Tablets (Switching from 2-Column to Stacked) */
@media (max-width: 992px) {
    .me-experience-section {
        padding: 80px 0 !important;
    }

    .me-container {
        grid-template-columns: 1fr !important; /* Forces vertical stack */
    }

    .me-header-side {
        position: relative !important; /* Disables sticky for mobile */
        top: 0 !important;
        text-align: center !important;
        margin-bottom: 60px !important;
    }

    .me-description {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .me-timeline-side {
        padding-left: 30px !important; /* Tighter padding for tablets */
    }

    .me-timeline-card::before {
        left: -34px !important; /* Realignment with the line */
    }
}

/* 3. Mobile Devices (Typography and Card Spacing) */
@media (max-width: 576px) {
    .me-experience-section {
        padding: 60px 0 !important;
    }

    .me-title {
        font-size: 2rem !important;
    }

    .me-timeline-side {
        padding-left: 20px !important;
    }

    .me-line {
        left: 0 !important;
    }

    .me-timeline-card {
        padding: 25px !important; /* More space for text on narrow screens */
        margin-bottom: 25px !important;
    }

    .me-timeline-card::before {
        left: -24px !important; /* Precision alignment for the dot */
        width: 8px !important;
        height: 8px !important;
        top: 35px !important; /* Moves dot slightly up for better visual balance */
    }

    .me-timeline-card h3 {
        font-size: 1.4rem !important;
        margin-bottom: 10px !important;
    }

    .me-year {
        margin-bottom: 8px !important;
    }

    .me-btn-blue {
        width: 100% !important;
        max-width: 300px !important;
    }
}

/* 4. Extra Small Devices (Fixing potential overflow) */
@media (max-width: 380px) {
    .me-timeline-card {
        padding: 20px !important;
    }
    
    .me-timeline-card h3 {
        font-size: 1.25rem !important;
    }
}
/* --- Pixel Perfect Specialties Responsive Adjustments --- */

/* 1. Tablet & Small Laptops (Adjusting Grid to 2-columns or smaller gaps) */
@media (max-width: 1100px) {
    .mc-grid {
        gap: 20px !important;
    }

    .mc-title {
        font-size: 2.4rem !important;
    }

    .mc-card {
        padding: 40px 30px !important;
    }
}

/* 2. Tablets - Portrait (Stacking Layout) */
@media (max-width: 992px) {
    .mc-specialties {
        padding: 80px 0 !important;
    }

    .mc-specialties-header {
        flex-direction: column !important;
        align-items: center !important; /* Center for mobile aesthetics */
        text-align: center !important;
        gap: 25px !important;
        margin-bottom: 50px !important;
    }

    .mc-grid {
        grid-template-columns: 1fr !important; /* Single column stack */
        max-width: 600px !important; /* Keeps cards from getting too wide */
        margin: 0 auto !important;
    }

    .mc-card:hover {
        transform: translateY(-5px) !important; /* Softer hover on touch devices */
    }
}

/* 3. Mobile Devices (Fine-tuning card elements) */
@media (max-width: 576px) {
    .mc-specialties {
        padding: 60px 0 !important;
    }

    .mc-title {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
    }

    .mc-card {
        padding: 50px 25px !important;
    }

    .mc-icon-circle {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 20px !important;
    }

    .mc-icon-circle svg {
        width: 35px !important;
        height: 35px !important;
    }

    .mc-card h3 {
        font-size: 1.5rem !important;
        margin-bottom: 15px !important;
    }

    .mc-card p {
        font-size: 0.9rem !important;
        margin-bottom: 25px !important;
    }

    .mc-btn-pill {
        width: 100% !important; /* Full width button for easier tapping */
        text-align: center !important;
        padding: 14px !important;
    }
}

/* 4. Small Mobile Devices (Fixing card width) */
@media (max-width: 400px) {
    .mc-container {
        padding: 0 15px !important;
    }
    
    .mc-card {
        padding: 40px 20px !important;
    }
}
/* --- Pixel Perfect Services Hero Responsive Adjustments --- */

/* 1. Large Screens (Ensuring consistency with your grid classes) */
@media (min-width: 993px) {
    .svc-hero-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        align-items: center !important;
    }
}

/* 2. Tablet & Medium Screens */
@media (max-width: 1100px) {
    .svc-hero {
        min-height: 500px !important;
    }

    .svc-title {
        font-size: 2.8rem !important;
    }

    .svc-hero-text {
        padding: 60px 5% !important;
    }
}

/* 3. Portrait Tablets (Stacking and Image Management) */
@media (max-width: 992px) {
    .svc-hero {
        min-height: auto !important;
        padding: 60px 0 !important;
    }

    .svc-hero-container {
        grid-template-columns: 1fr !important; /* Stack vertically */
    }

    .svc-hero-text {
        padding: 40px 20px !important;
        text-align: center !important;
    }

    .svc-title {
        font-size: 2.5rem !important;
        margin-bottom: 20px !important;
    }

    .svc-hero-btns {
        justify-content: center !important;
    }

    /* Option: Instead of display:none, we can make the image a fixed height below text */
    .svc-hero-image {
        display: block !important; 
        height: 350px !important;
        order: 2 !important;
    }

    .svc-hero-image img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }
}

/* 4. Small Mobile Devices */
@media (max-width: 576px) {
    .svc-hero {
        padding: 40px 0 !important;
    }

    .svc-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .svc-description {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }

    .svc-hero-btns {
        flex-direction: column !important; /* Stack buttons on very small screens */
        gap: 12px !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }

    .svc-btn-dark, 
    .svc-btn-outline {
        width: 100% !important;
        padding: 15px 20px !important;
        font-size: 0.9rem !important;
    }

    .svc-hero-image {
        height: 250px !important;
    }
}
/* --- Pixel Perfect Services Grid Responsive Adjustments --- */

/* 1. Large Laptops (Scaling down gaps) */
@media (max-width: 1200px) {
    .svc-main-grid {
        gap: 20px !important;
    }
    
    .svc-card {
        padding: 40px 25px !important;
    }
}

/* 2. Tablets (Adjusting the overlap and switching to 2 columns) */
@media (max-width: 992px) {
    .svc-grid-section {
        margin-top: -150px !important; /* Reduced overlap for smaller hero heights */
        padding: 60px 0 !important;
    }

    .svc-main-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }

    .svc-section-title {
        font-size: 2.5rem !important;
    }
}

/* 3. Small Tablets & Large Phones (Refining the 2-column view) */
@media (max-width: 768px) {
    .svc-grid-section {
        margin-top: -100px !important; /* Minimal overlap */
    }

    .svc-card {
        padding: 35px 20px !important;
    }

    .svc-card h3 {
        font-size: 1.4rem !important;
    }
}

/* 4. Mobile Devices (Single Column and Resetting Overlap) */
@media (max-width: 600px) {
    .svc-grid-section {
        margin-top: 0 !important; /* Remove overlap to prevent text clashing on mobile */
        padding: 50px 0 !important;
        background-color: #f8fbff !important; /* Adding background back for contrast */
    }

    .svc-main-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .svc-card {
        padding: 40px 25px !important;
        max-width: 450px !important; /* Prevents cards from becoming too wide */
        margin: 0 auto !important;
    }

    .svc-icon-wrapper {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 20px !important;
    }

    .svc-icon-wrapper img {
        width: 38px !important;
    }

    .svc-card:hover {
        transform: translateY(-5px) !important; /* Subtle hover for touch screens */
    }
}

/* 5. Extra Small Devices (Fixing typography) */
@media (max-width: 400px) {
    .svc-section-title {
        font-size: 2rem !important;
    }

    .svc-card h3 {
        font-size: 1.3rem !important;
    }

    .svc-card p {
        font-size: 0.9rem !important;
    }
}
/* --- Pixel Perfect Service Detail Hero Responsive Adjustments --- */

/* 1. Large Screen Refinements */
@media (max-width: 1200px) {
    .sd-main-title {
        font-size: 3.5rem !important;
    }
}

/* 2. Tablets (Adjusting Waves and Typography) */
@media (max-width: 992px) {
    .sd-service-hero {
        padding: 80px 0 120px !important;
    }

    .sd-main-title {
        font-size: 3rem !important;
    }

    .sd-wave {
        width: 300px !important;
        height: 300px !important;
    }

    .sd-wave-left {
        left: -100px !important;
    }

    .sd-wave-right {
        right: -100px !important;
    }
}

/* 3. Mobile Devices (Crucial for Overflow and Text Scaling) */
@media (max-width: 576px) {
    .sd-service-hero {
        padding: 60px 0 100px !important;
        /* Ensures the circles never cause horizontal scroll */
        overflow: hidden !important; 
    }

    .sd-main-title {
        font-size: 2.2rem !important;
        margin-bottom: 15px !important;
    }

    .sd-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        padding: 0 10px !important;
    }

    /* Moving waves to be less intrusive on small screens */
    .sd-wave {
        width: 200px !important;
        height: 200px !important;
        opacity: 0.3 !important; /* Lowering opacity for better text contrast */
    }

    .sd-wave-left {
        left: -50px !important;
        top: 150px !important;
    }

    .sd-wave-right {
        right: -50px !important;
        top: -80px !important;
    }
}

/* 4. Extra Small Devices (Fixing potential Title break) */
@media (max-width: 380px) {
    .sd-main-title {
        font-size: 1.8rem !important;
    }
}
/* --- Pixel Perfect Service Content Card Responsive Adjustments --- */

/* 1. Large Tablets & Laptops */
@media (max-width: 1024px) {
    .sd-content-card {
        padding: 60px 8% !important;
    }
}

/* 2. Tablets (Adjusting overlap and typography) */
@media (max-width: 768px) {
    .sd-card-container {
        margin-top: -100px !important; /* Reduced overlap for tablet hero */
        padding-bottom: 60px !important;
    }

    .sd-content-card {
        padding: 50px 30px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    }

    .sd-card-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
    }

    .sd-icon-box {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 25px !important;
    }
}

/* 3. Mobile Devices (Resetting overlap and maximizing space) */
@media (max-width: 576px) {
    .sd-card-container {
        margin-top: -60px !important; /* Minimal overlap to maintain style without hiding text */
        padding-bottom: 40px !important;
    }

    .sd-content-card {
        padding: 40px 20px !important;
        border-radius: 8px !important; /* Softer look for mobile */
    }

    .sd-card-title {
        font-size: 1.6rem !important;
        text-align: center !important;
    }

    .sd-icon-box {
        margin: 0 auto 20px !important; /* Centers icon for mobile aesthetic */
    }

    .sd-text-block p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        text-align: left !important;
    }

    .sd-feature-list li {
        font-size: 0.9rem !important;
        padding-left: 20px !important;
    }
}

/* 4. Extra Small Devices (320px - 400px) */
@media (max-width: 400px) {
    .sd-card-container {
        margin-top: -40px !important;
    }

    .sd-card-title {
        font-size: 1.4rem !important;
    }

    .sd-content-card {
        padding: 30px 15px !important;
    }
}
/* --- Pixel Perfect Other Services Responsive Adjustments --- */

/* 1. Large Screen Refinement */
@media (max-width: 1200px) {
    .os-grid {
        gap: 20px !important;
    }
    
    .os-card {
        padding: 50px 30px !important;
    }
}

/* 2. Tablets (Adjusting Grid and Header) */
@media (max-width: 992px) {
    .other-services {
        padding: 80px 0 !important;
    }

    .os-header {
        flex-direction: column !important;
        align-items: center !important; /* Center for a balanced mobile look */
        text-align: center !important;
        gap: 25px !important;
        margin-bottom: 50px !important;
    }

    .os-main-title {
        font-size: 2.2rem !important;
    }

    .os-grid {
        grid-template-columns: 1fr !important; /* Stack cards vertically */
        max-width: 500px !important; /* Prevent cards from being too wide on tablets */
        margin: 0 auto !important;
    }
}

/* 3. Mobile Devices (Scaling Icons and Typography) */
@media (max-width: 576px) {
    .other-services {
        padding: 60px 0 !important;
    }

    .os-main-title {
        font-size: 1.8rem !important;
    }

    .os-btn-cyan {
        text-align: center !important;
        padding: 15px 25px !important;
    }

    .os-card {
        padding: 40px 20px !important;
    }

    .os-icon-circle {
        width: 90px !important;
        height: 90px !important;
        margin-bottom: 20px !important;
    }

    .os-icon-circle img {
        width: 40px !important;
    }

    .os-card h3 {
        font-size: 1.5rem !important;
        margin-bottom: 15px !important;
    }

    .os-card p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
}

/* 4. Extra Small Devices (320px - 400px) */
@media (max-width: 400px) {
    .os-container {
        padding: 0 15px !important;
    }

    .os-card {
        padding: 35px 15px !important;
    }
}
/* --- Pixel Perfect Contact Hero Responsive Adjustments --- */

/* 1. Large Screen Adjustments */
@media (max-width: 1100px) {
    .contact-main-title {
        font-size: 3rem !important;
    }
}

/* 2. Tablets (Adjusting Wave Positions) */
@media (max-width: 992px) {
    .contact-hero {
        padding: 70px 0 100px !important;
    }

    .bg-wave {
        width: 400px !important;
        height: 400px !important;
    }

    .wave-left {
        left: -150px !important;
    }

    .wave-right {
        right: -150px !important;
    }

    .contact-main-title {
        font-size: 2.8rem !important;
    }
}

/* 3. Mobile Devices (Strict Overflow and Title Scaling) */
@media (max-width: 576px) {
    .contact-hero {
        padding: 60px 0 80px !important;
        /* Critical to prevent horizontal scrolling from the waves */
        overflow: hidden !important; 
    }

    .contact-main-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-top: 15px !important;
    }

    .contact-badge {
        font-size: 0.75rem !important;
    }

    /* Scaling waves down so they don't clutter the small screen */
    .bg-wave {
        width: 250px !important;
        height: 250px !important;
        opacity: 0.4 !important;
    }

    .wave-left {
        left: -80px !important;
        top: 20px !important;
    }

    .wave-right {
        right: -80px !important;
        top: -50px !important;
    }
}

/* 4. Small Phones (Optimizing Title) */
@media (max-width: 400px) {
    .contact-main-title {
        font-size: 1.8rem !important;
    }
}
/* --- Pixel Perfect Contact Card Responsive Adjustments --- */

/* 1. Large Tablets (Reducing Gaps) */
@media (max-width: 1100px) {
    .contact-grid {
        gap: 40px !important;
    }
    
    .form-row {
        gap: 20px !important;
    }

    .contact-card {
        padding: 40px !important;
    }
    .input-group input{
        width: 85%;
    } 
    .input-group textarea {
        width: 93%;
    }
}

/* 2. Tablets (Stacking Information and Form) */
@media (max-width: 900px) {
    .contact-card-section {
        margin-top: -60px !important; /* Adjust overlap to match mobile hero */
        padding-bottom: 60px !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important; /* Info on top, Form on bottom */
        gap: 50px !important;
    }

    .info-title {
        font-size: 1.8rem !important;
        text-align: center !important;
    }

    .info-text {
        text-align: center !important;
        margin-bottom: 25px !important;
    }

    .contact-item {
        justify-content: center !important; /* Center contact info for mobile balance */
    }
}

/* 3. Small Mobile Devices (Form Refinement) */
@media (max-width: 600px) {
    .contact-card-section {
        margin-top: -40px !important;
    }

    .contact-card {
        padding: 30px 20px !important;
        border-radius: 8px !important;
    }

    .form-row {
        grid-template-columns: 1fr !important; /* Stack name/email and phone/service fields */
        gap: 0 !important;
    }

    .input-group label {
        font-size: 0.7rem !important;
        margin-bottom: 5px !important;
    }

    .input-group input, 
    .input-group textarea {
        padding: 12px 18px !important;
        font-size: 0.9rem !important;
        width: 85%;
    }

    .btn-send {
        width: 100% !important; /* Full width button for thumbs */
        padding: 16px !important;
    }
}

/* 4. Extra Small Devices (Adjusting Typography) */
@media (max-width: 400px) {
    .info-title {
        font-size: 1.5rem !important;
    }
    
    .contact-item {
        font-size: 0.9rem !important;
    }
}
/* --- Pixel Perfect FAQ Responsive Adjustments --- */

/* 1. Large Screen Refinement */
@media (max-width: 1200px) {
    .faq-main-title {
        font-size: 2.8rem !important;
    }
    
    .faq-question {
        padding: 25px !important;
        font-size: 1rem !important;
    }
}

/* 2. Tablets (Stacking Grid and Adjusting Layout) */
@media (max-width: 992px) {
    .faq-section {
        padding: 80px 0 !important;
    }

    .faq-grid {
        grid-template-columns: 1fr !important; /* Single column stack */
        max-width: 800px !important;
        margin: 0 auto !important;
        gap: 0 !important; /* Items handle their own margins */
    }

    .faq-main-title {
        font-size: 2.4rem !important;
    }

    .faq-header {
        margin-bottom: 40px !important;
    }
}

/* 3. Mobile Devices (Touch Optimization) */
@media (max-width: 576px) {
    .faq-section {
        padding: 60px 0 !important;
    }

    .faq-main-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }

    .faq-question {
        padding: 20px !important;
        font-size: 0.95rem !important;
        gap: 15px !important; /* Space between text and icon */
    }

    .faq-icon {
        width: 30px !important; /* Slightly smaller icon for mobile */
        height: 30px !important;
        flex-shrink: 0 !important; /* Prevents icon from squishing */
    }

    .faq-icon::before { width: 12px !important; }
    .faq-icon::after { height: 12px !important; }

    .faq-answer {
        padding: 0 20px !important;
    }

    .faq-answer p {
        font-size: 0.9rem !important;
        padding-bottom: 25px !important;
    }

    /* Adjust max-height for mobile text wrapping */
    .faq-toggle:checked ~ .faq-answer {
        max-height: 800px !important; 
    }
}

/* 4. Extra Small Devices (320px - 400px) */
@media (max-width: 400px) {
    .faq-main-title {
        font-size: 1.6rem !important;
    }

    .faq-question {
        padding: 18px 15px !important;
    }
}
/* --- Pixel Perfect Contact Map & Info Bar Responsive Adjustments --- */

/* 1. Large Tablets (Scaling down the bar) */
@media (max-width: 1024px) {
    .info-bar {
        padding: 30px 40px !important;
        gap: 30px !important;
    }

    .info-text h4 {
        font-size: 1.2rem !important;
    }
}

/* 2. Tablets (Switching from Floating to Stacked) */
@media (max-width: 850px) {
    .contact-map-wrapper {
        display: flex !important;
        flex-direction: column !important;
        margin-top: 0 !important;
    }

    .info-bar-container {
        position: relative !important; /* Remove absolute float */
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: 11 !important;
    }

    .info-bar {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 40px 20px !important;
    }

    .info-item {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding-bottom: 25px !important;
    }

    .info-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .map-container {
        height: 400px !important;
        overflow: hidden; /* Shorter map for mobile viewports */
    }
    .info-text{
        text-align: left !important;
    }
}

/* 3. Mobile Devices (Hours and Dot Alignment) */
@media (max-width: 576px) {
    .info-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .info-icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    .info-text h4 {
        font-size: 1.1rem !important;
        margin-bottom: 5px !important;
    }

    /* Handling the dotted lines on narrow screens */
    .hours-row {
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }

    .dots {
        display: none !important; /* Hide dots on small mobile to prevent text clashing */
    }

    .hours-row span:last-child {
        font-weight: 700 !important;
        color: white !important;
    }

    .map-container {
        height: 350px !important;
    }
}

/* 4. Extra Small Devices (Fixing alignment) */
@media (max-width: 400px) {
    .info-bar {
        padding: 30px 15px !important;
    }

    .info-item {
        gap: 15px !important;
    }
    
    .hours-row {
        font-size: 0.85rem !important;
    }
}
/* --- Pixel Perfect Plans Hero Responsive Adjustments --- */

/* 1. Large Laptops */
@media (max-width: 1200px) {
    .plans-main-title {
        font-size: 3rem !important;
    }
}

/* 2. Tablets (Managing the Overlap and Waves) */
@media (max-width: 992px) {
    .plans-hero {
        padding: 60px 0 100px !important;
    }

    .plans-main-title {
        font-size: 2.5rem !important;
    }

    .plans-parent {
        margin-top: -120px !important; /* Prevents cards from climbing too high */
        padding: 50px !important;
    }
}

/* 3. Mobile Devices (Handling the <br> and Font Scaling) */
@media (max-width: 576px) {
    .plans-hero {
        padding: 50px 0 80px !important;
        overflow: hidden !important; /* Safety for background waves */
    }

    .plans-main-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }

    /* Logic to handle the <br> tag in your HTML */
    .plans-main-title br {
        display: none !important; /* Removes the forced break for better flow */
    }

    .plans-badge {
        font-size: 0.75rem !important;
        letter-spacing: 1px !important;
    }

    .plans-parent {
        margin-top: -100px !important; /* Minimal overlap for small screens */
        padding: 30px !important;
    }

    /* Scaling background waves down to prevent clutter */
    .bg-wave {
        width: 300px !important;
        height: 300px !important;
        opacity: 0.4 !important;
    }
}

/* 4. Extra Small Devices (320px - 400px) */
@media (max-width: 400px) {
    .plans-main-title {
        font-size: 1.7rem !important;
    }

    .plans-container {
        padding: 0 15px !important;
    }
}
/* --- Pixel Perfect Pricing & CTA Responsive Adjustments --- */

/* 1. Tablet & Small Laptops */
@media (max-width: 1024px) {
    .plan-card {
        padding: 40px !important;
        gap: 30px !important;
    }

    .plan-name {
        font-size: 1.6rem !important;
    }

    .plan-price {
        font-size: 1.8rem !important;
    }
    
}

/* 2. Mobile Logic (The big shift) */
@media (max-width: 768px) {
    .plan-card {
        flex-direction: column !important; /* Stack content over button */
        align-items: flex-start !important;
        padding: 40px 25px !important;
    }

    .plan-content {
        width: 100% !important;
    }

    .plan-price {
        margin-bottom: 10px !important;
    }

    .btn-plan {
        display: block !important;
        width: 100% !important;
        margin-top: 30px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Questions Section Refinement */
    .questions-section {
        margin-top: 60px !important;
        padding-top: 30px !important;
    }

    .questions-title {
        font-size: 1.8rem !important;
        padding: 0 10px !important;
    }
}

/* 3. Small Mobile Devices (List & Button Optimization) */
@media (max-width: 480px) {
    .plan-card {
        padding: 30px 20px !important;
    }

    .plan-features li {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .plan-features li::before {
        width: 18px !important;
        height: 18px !important;
        top: 2px !important; /* Alignment fix for smaller text */
    }

    .btn-contact {
        width: 100% !important;
        padding: 16px 20px !important;
        box-sizing: border-box !important;
    }
}

/* 4. Extra Small Phones */
@media (max-width: 360px) {
    .plan-name {
        font-size: 1.4rem !important;
    }

    .plan-price {
        font-size: 1.6rem !important;
    }
}
/* --- Pixel Perfect Checkout Detailed Responsive Adjustments --- */

/* 1. Desktop & Large Tablets (Grid Balance) */
@media (max-width: 1100px) {
    .checkout-container {
        grid-template-columns: 1.5fr 1fr !important;
        padding: 0 20px !important;
        gap: 25px !important;
    }
}

/* 2. Tablets (Column Stack & Sidebar Reset) */
@media (max-width: 992px) {
    .checkout-section {
        margin-top: -100px !important;
    }

    .checkout-container {
        grid-template-columns: 1fr !important; /* Stack forms and sidebar */
    }

    .checkout-sidebar {
        order: 2; /* Put summary below the contact/date blocks */
    }

    .summary-card {
        position: static !important; /* Remove sticky on mobile */
        margin-bottom: 40px !important;
    }
}

/* 3. Mobile Phones (Form Grid & Inputs) */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr !important; /* One input per row */
        gap: 15px !important;
        margin-bottom: 15px !important;
    }

    .checkout-block {
        padding: 30px 20px !important;
    }

    .block-title {
        font-size: 1.6rem !important;
        text-align: center !important;
    }

    /* Adjusting Pill Inputs for mobile thumbs */
    .input-group input, 
    .input-group select {
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
    }

    /* Payment icons alignment */
    .card-selector {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        text-align: center !important;
    }

    .card-icons {
        margin-top: 5px !important;
    }
}

/* 4. Extra Small Devices (320px - 400px) */
@media (max-width: 400px) {
    .checkout-section {
        margin-top: -60px !important;
    }

    .plan-item {
        flex-direction: column !important;
        text-align: center !important;
    }

    .plan-img {
        margin: 0 auto !important;
    }

    .btn-checkout {
        font-size: 0.9rem !important;
        padding: 15px !important;
    }
}

/* plan checkout calender */
/* Layout Fixes */
.checkout-container {
    display: flex;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}
.checkout-forms { flex: 2; }
.checkout-sidebar { flex: 1; }

/* Calendar Style - Exact Image Copy */
.calendar-wrapper {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: center;
}
.month-label { font-weight: 800; font-size: 1.2rem; }
.week-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}
.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
}
.days-grid span {
    padding: 15px 5px;
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.active-day {
    background: #2dafff !important;
    color: white;
    font-weight: bold;
}
.next-month { background: #f9f9f9; color: #bbb; }

/* Payment Bar Fix */
.payment-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.brand-icons img { height: 24px; margin-left: 5px; }

/* Sidebar Image Fix */
.plan-thumb { width: 50px; height: 50px; border-radius: 5px; }
.plan-row { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.price-line { display: flex; justify-content: space-between; margin: 10px 0; }
.total-line { font-weight: bold; font-size: 1.1rem; }


/* Payment Section Update - Pill Shape */
.payment-selection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eee;
    padding: 12px 20px;
    border-radius: 50px; /* Rounded pill shape as per image_2c2faa */
    margin-bottom: 25px;
    background: #fff;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.radio-item input[type="radio"] {
    accent-color: #000; /* Black circle as per image */
    width: 18px;
    height: 18px;
}

.card-logos img {
    height: 18px; /* Sahi size icons ka */
    margin-left: 5px;
    opacity: 0.8;
}

/* Input Fields Color & Font */
.input-group label {
    color: #4A90E2; /* Blue label color as per image_2c2faa */
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.input-group input {
    border-radius: 25px;
    border: 1px solid #f2f2f2;
    background: #ffffff;
    padding: 15px 20px;
}


.btn-checkout {
    background-color: #2dafff;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    width: fit-content;
    cursor: pointer;
}
/*  */

