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

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
}

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

/* 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;
}

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

.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: 10px;
    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: 400px;
    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: 320px;
    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: 450px;
    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: 700;
}

.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 rgba(255, 255, 255, 0.3);
    padding: 12px 25px;
    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;
}

.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: 800;
    font-size: 0.85rem;
    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: 700;
}

.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));
        }
    }
}

/* --- 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;
    width: 100%;
}

.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;
    font-family: 'Inter', sans-serif;
    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;
}

.mh-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    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;
    font-family: 'Inter', sans-serif;
    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: 800;
    font-size: 0.8rem;
    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;
    font-family: 'Inter', sans-serif;
}

.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: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mv-title {
    font-family: 'Playfair Display', serif;
    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-family: 'Playfair Display', serif;
    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;
    font-family: 'Inter', sans-serif;
}

.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: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 20px;
}

.me-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    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: 700;
    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-family: 'Playfair Display', serif;
    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;
    font-family: 'Inter', sans-serif;
}

.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-family: 'Playfair Display', serif;
    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-family: 'Playfair Display', serif;
    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;
    font-family: 'Inter', sans-serif;
}

.svc-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    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-family: 'Playfair Display', serif;
    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-family: 'Playfair Display', serif;
    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-family: 'Playfair Display', serif;
    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;
    font-family: 'Inter', sans-serif;
}

/* 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-family: 'Playfair Display', serif;
    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-family: 'Playfair Display', serif;
    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;
    font-family: 'Inter', sans-serif;
}

.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-family: 'Playfair Display', serif;
    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-family: 'Playfair Display', serif;
    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;
    font-family: 'Inter', sans-serif;
}

/* 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-family: 'Playfair Display', serif;
    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-family: 'Playfair Display', serif;
    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;
    font-family: 'Inter', sans-serif;
}

.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-family: 'Playfair Display', serif;
    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;
    font-family: 'Inter', sans-serif;
}

/* 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-family: 'Playfair Display', serif;
    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;
    font-family: 'Inter', sans-serif;
}

.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: 700; font-size: 0.8rem; letter-spacing: 1.5px; opacity: 0.9; }
.plans-main-title { font-family: 'Playfair Display', serif; 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 { font-family: 'Playfair Display', serif; 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-family: 'Playfair Display', serif; 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;
    font-family: 'Inter', sans-serif;
    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-family: 'Playfair Display', serif;
    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 { font-family: 'Playfair Display', serif; 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;
}