﻿
:root {
    --md-primary: #7250d8;
    --md-dark: #0b1b2b;
}

body {
    scroll-behavior: smooth;
}

.hero {
    background: linear-gradient(135deg, var(--md-dark), #7250d8);
    color: #fff;
    padding: 5rem 0;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, .1);
    color: var(--md-primary);
    border-radius: .75rem;
}

.plan-card.highlight {
    border: 2px solid var(--md-primary);
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, .15);
}

.badge-admin {
    background: #e7f1ff;
    color: #7250d8;
}

.footer {
    background: #d6d2f1;
    color: #230cac;
}

.text-primary {
    color: rgb(35 12 172) !important;
}

.md-logo {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #7250d8, #4f46e5);
    border-radius: 8px;
    letter-spacing: 1px;
}


/* Login button */
.btn-custom-login {
    background-color: #6f42c1;
    border-color: #eee;
    color: #fff;
}

    .btn-custom-login:hover {
        background-color: #4f46e5;
        border-color: #4f46e5;
    }

/* Register button */
.btn-custom-register {
    background-color: #6f42c1;
    border-color: #eee;
    color: #fff;
}

    .btn-custom-register:hover {
        background-color: #4f46e5;
        border-color: #4f46e5;
    }

/* Choose plan button */
.btn-custom-plan {
    background-color: #6f42c1; /* purple */
    border-color: #6f42c1;
    color: #fff;
}

    .btn-custom-plan:hover {
        background-color: #4f46e5;
        border-color: #4f46e5;
    }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #4f46e5;
    border-color: #4f46e5;
}


/* Logo Badge */
.md-logo {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #6f42c1, #4f46e5);
    border-radius: 8px;
    letter-spacing: 1px;
}

/* Brand Colors */
.brand-medical {
    color: #2a1ed3; /* light green for Medical */
    font-weight: 700;
    margin-left: 5px;
}

.brand-dusiya {
    color: #6f42c1; /* purple for Dusiya */
    font-weight: 700;
    margin-left: 5px;
}





/* ------- Trusted Clinics Carousel ------*/

/* Carousel Wrapper */
.clinic-carousel {
    position: relative;
    margin-top: 10px;
    overflow: hidden;
}

/* Track */
.clinic-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 10px;
}

/* Cards */
.clinic-card {
    background: #fff;
    border-radius: 2px;
    padding: 10px;
    margin: 10px;
    flex: 0 0 calc(25% - 30px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Logo responsive fix */
.clinic-logo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* keeps shape responsive */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .clinic-logo img {
        width: 100%;
        height: 70%;
        object-fit: contain;
    }


/* ✅ MOBILE/TABLET FIX — enable swipe scroll, hide arrows */
@media (max-width: 992px) {

    .clinic-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .clinic-track {
        flex-wrap: nowrap;
        width: max-content;
    }

    .clinic-card {
        flex: 0 0 250px; /* fixed width for smooth swipe */
        scroll-snap-align: center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .clinic-card {
        flex: 0 0 220px;
    }
}



/* ------- How it work Box ------*/

.md-steps {
    background-color: #F5F7FA;
}

.md-title {
    font-size: 36px;
    font-weight: 700;
}

.md-subtitle {
    color: #6B7280;
    font-size: 16px;
}

/* Card */
.md-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 35px 25px 30px;
    position: relative;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .md-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    }

/* Step Number */
.md-step {
    position: absolute;
    top: -15px;
    left: 25px;
    background: #6f42c1;
    color: #FFFFFF;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

/* Icon */
.md-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(31, 79, 216, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .md-icon i {
        font-size: 28px;
        color: #1F4FD8;
    }

/* Card Content */
.md-card h5 {
    font-weight: 600;
    margin-bottom: 12px;
}

.md-card p {
    color: #6B7280;
    font-size: 15px;
    line-height: 1.6;
}

/* Result Card */
.md-result {
    border: 2px solid #7250d8;
}

    /* Result List */
    .md-result ul {
        list-style: none;
        padding-left: 0;
        margin-top: 15px;
    }

        .md-result ul li {
            font-size: 14px;
            color: #4f46e5;
            margin-bottom: 6px;
        }

            .md-result ul li i {
                color: #7250d8;
                margin-right: 6px;
            }




/* Social Icons */

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #6f42c1, #4f46e5);
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .social-icon:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        text-decoration: none;
    }


#contactStatus.success {
    color: #0f5132;
    background: #d1e7dd;
    border: 1px solid #badbcc;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    animation: fadeIn 0.5s ease-in-out;
}

#contactStatus.error {
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.clinic-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.clinic-track {
    display: flex;
    gap: 40px;
    animation: scroll 12s linear infinite; /* faster */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.clinic-card {
    min-width: 220px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .clinic-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

.clinic-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
}

