/* =====================================================
   WE CARE DIAGNOSTICS
   PREMIUM MEDICAL WEBSITE
   PART 1 - GLOBAL • HEADER • HERO
===================================================== */

/* ==========================
   CSS VARIABLES
========================== */

:root{

    --primary:#0077b6;
    --primary-dark:#005f92;

    --secondary:#00b894;
    --secondary-dark:#009b7d;

    --dark:#0d1b2a;
    --text:#444;
    --light:#f7fbff;
    --white:#ffffff;

    --border:#e6edf3;

    --shadow-sm:0 5px 15px rgba(0,0,0,.06);
    --shadow:0 15px 35px rgba(0,0,0,.08);
    --shadow-lg:0 20px 50px rgba(0,0,0,.12);

    --radius:18px;

    --transition:.35s ease;

}

/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:90px;
}

body{

    font-family:"Poppins",sans-serif;

    background:var(--light);

    color:var(--text);

    line-height:1.7;

    overflow-x:hidden;

}

img{

    max-width:100%;
    display:block;

}

iframe{

    display:block;
    width:100%;
    border:none;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

.container{

    width:min(1200px,92%);

    margin:0 auto;

    box-sizing:border-box;

}

/* ==========================
   COMMON SECTION
========================== */

section{

    padding:90px 0;

}

.section-title{

    max-width:760px;

    margin:0 auto 55px;

    text-align:center;

}

.section-title h2{

    color:var(--primary);

    font-size:clamp(2rem,4vw,2.8rem);

    margin-bottom:12px;

    font-weight:700;

}

.section-title p{

    color:#666;

    font-size:1rem;

}

/* ==========================
   HEADER
========================== */

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:1000;

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(10px);

    transition:var(--transition);

}

.nav{

    height:82px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    display:flex;

    align-items:center;

}

.logo img{

    height:62px;

}

/* ==========================
   NAVIGATION
========================== */

nav ul{

    display:flex;

    align-items:center;

    gap:30px;

}

nav a{

    color:var(--dark);

    font-weight:600;

    position:relative;

    transition:var(--transition);

}

nav a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-6px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:var(--transition);

}

nav a:hover,
nav a.nav-active{

    color:var(--primary);

}

nav a:hover::after,
nav a.nav-active::after{

    width:100%;

}

/* ==========================
   MOBILE MENU BUTTON
========================== */

.menu-btn{

    display:none;

    width:46px;
    height:46px;

    border:none;

    border-radius:10px;

    background:transparent;

    cursor:pointer;

    color:var(--primary);

    font-size:24px;

    transition:var(--transition);

}

.menu-btn:hover{

    background:#eef7fb;

}

/* ==========================
   HERO
========================== */

.hero{

    position:relative;

    min-height:100vh;

    overflow:hidden;

}

.slide{

    position:absolute;

    inset:0;

    opacity:0;

    visibility:hidden;

    transition:opacity 1s ease;

}

.slide.active{

    opacity:1;

    visibility:visible;

}

.slide img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.overlay{

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            rgba(7,25,40,.65),
            rgba(7,25,40,.55)
        );

}

.hero-content{

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    width:min(900px,90%);

    text-align:center;

    color:#fff;

    z-index:2;

}

.hero-content h1{

    font-size:clamp(2.8rem,4vw,4.5rem);

    font-weight:700;

    line-height:1.15;

    letter-spacing:-1px;

    color:#fff;

    margin-bottom:20px;

    text-shadow:0 3px 10px rgba(0,0,0,.35);

}

.hero-content h2{

    font-size:clamp(1.4rem,2.6vw,2.2rem);

    font-weight:600;

    color:#8FFFE2;

    margin-bottom:20px;

}

.hero-content p{

    max-width:760px;

    margin:0 auto 35px;

    font-size:1.15rem;

    line-height:1.7;

    color:#fff;

}

/* ==========================
   HERO BUTTONS
========================== */

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:24px;

    margin-top:40px;

    flex-wrap:wrap;

}

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:230px;

    padding:18px 38px;

    border-radius:60px;

    font-size:18px;

    font-weight:700;

    text-decoration:none;

    transition:.35s;

}

.btn.primary{

    background:linear-gradient(
        135deg,
        #00b894,
        #00c6a7
    );

    color:#fff;

    box-shadow:0 18px 40px rgba(0,184,148,.30);

}

.btn.primary:hover{

    transform:translateY(-5px);

    box-shadow:0 24px 45px rgba(0,184,148,.40);

}

.btn.secondary{

    background:rgba(255,255,255,.10);

    backdrop-filter:blur(10px);

    border:2px solid rgba(255,255,255,.9);

    color:#fff;

}

.btn.secondary:hover{

    background:#fff;

    color:var(--primary);

}


/* =====================================================
   PART 2
   FEATURES • ABOUT • SERVICES • PACKAGES
   WHY CHOOSE US • HOME COLLECTION • REPORT
===================================================== */


/* ==========================
   FEATURES
========================== */

.features{
    background:#fff;
}

.features .container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:25px;

}

.feature-card{

    background:#fff;

    padding:35px 30px;

    border-radius:var(--radius);

    text-align:center;

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

    border:1px solid var(--border);

}

.feature-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow);

}

.feature-card i{

    font-size:42px;

    color:var(--secondary);

    margin-bottom:18px;

}

.feature-card h3{

    color:var(--primary);

    margin-bottom:12px;

    font-size:1.2rem;

}

.feature-card p{

    color:#666;

    font-size:.95rem;

}


/* ==========================
   ABOUT
========================== */

#about{

    background:var(--light);

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:center;

}

.about-image{

    overflow:hidden;

    border-radius:24px;

    box-shadow:var(--shadow);

}

.about-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.about-image:hover img{

    transform:scale(1.05);

}

.about-content>p{

    margin-bottom:30px;

    color:#555;

}

.mission-grid{

    display:grid;

    gap:25px;

}

.card{

    background:#fff;

    padding:28px;

    border-radius:20px;

    box-shadow:var(--shadow-sm);

    border:1px solid var(--border);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow);

}

.card h3{

    color:var(--primary);

    margin-bottom:12px;

}


/* ==========================
   SERVICES
========================== */

#services{

    background:#fff;

}

.service-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:28px;

}

.service-card{

    background:#fff;

    padding:30px;

    border-radius:22px;

    border:1px solid var(--border);

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

}

.service-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow);

}

.service-card h3{

    color:var(--primary);

    margin-bottom:18px;

    font-size:1.25rem;

}

.service-card ul{

    list-style:disc;

    padding-left:22px;

}

.service-card li{

    margin-bottom:10px;

    color:#555;

}


/* ==========================
   HEALTH PACKAGES
========================== */

#packages{

    background:var(--light);

}

.package-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.package-card{

    background:#fff;

    padding:35px;

    border-radius:22px;

    border-top:5px solid var(--secondary);

    box-shadow:var(--shadow-sm);

    transition:var(--transition);

}

.package-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow);

}

.package-card h3{

    color:var(--primary);

    margin-bottom:18px;

}

.package-card ul{

    list-style:disc;

    padding-left:20px;

}

.package-card li{

    margin-bottom:10px;

}


/* ==========================
   WHY CHOOSE US
========================== */

.why-us{

    background:#fff;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:22px;

}

.why-card{

    background:#fff;

    padding:24px;

    border-radius:18px;

    border:1px solid var(--border);

    box-shadow:var(--shadow-sm);

    font-weight:500;

    transition:var(--transition);

}

.why-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow);

}


/* ==========================
   HOME COLLECTION
========================== */

.collection{

    background:linear-gradient(
        135deg,
        #f5fcff,
        #eefbf6
    );

    text-align:center;

}

.collection h2{

    color:var(--primary);

    margin-bottom:15px;

}

.collection p{

    max-width:700px;

    margin:auto;

}


/* ==========================
   REPORT PORTAL
========================== */

.report-portal{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#fff;

    text-align:center;

}

.report-portal h2{

    margin-bottom:18px;

    color:#fff;

}

.report-portal p{

    max-width:700px;

    margin:0 auto 30px;

}

.report-portal .btn{

    background:#fff;

    color:var(--primary);

}

.report-portal .btn:hover{

    color:#fff;

    background:rgba(255,255,255,.15);

    border-color:#fff;

}	

/* =====================================================
   PART 3
   CONTACT • APPOINTMENT • FOOTER
   FLOATING BUTTONS
===================================================== */


/* =====================================================
   PREMIUM CONTACT
===================================================== */

.contact-layout,
.contact-left,
.branch-card,
.map-card{

    box-sizing:border-box;

    min-width:0;

}

.contact{

    background:#f7fbff;

}

.contact-layout{

    display:block;

}

.contact-left{

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:25px;

    width:100%;

}
/* ==========================================
   CONTACT CARDS
========================================== */

.branch-card,
.map-card{

    background:#fff;

    border:1px solid #e7edf4;

    border-radius:22px;

    padding:28px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

    box-sizing:border-box;

    width:100%;

    max-width:100%;

    min-width:0;

    overflow:hidden;

}

.branch-card:hover,
.map-card:hover{

    transform:translateY(-8px);

    box-shadow:0 22px 45px rgba(0,0,0,.12);

}

.branch-card h3,
.map-card h3{

    color:var(--primary);

    font-size:22px;

    margin-bottom:18px;

    display:flex;

    align-items:center;

    gap:10px;

}

.branch-card p{

    color:#555;

    line-height:1.8;

    margin-bottom:10px;

    word-break:break-word;

    overflow-wrap:anywhere;

}

/* Working Hours */

.branch-card:nth-last-child(2){

    grid-column:1 / -1;

}

/* Map */

.map-card{

    grid-column:1 / -1;

}

.map-card iframe{

    display:block;

    width:100%;

    max-width:100%;

    height:450px;

    border:0;

    border-radius:16px;

}

/* ==========================
   APPOINTMENT
========================== */

.appointment{

    background:linear-gradient(
        135deg,
        #eef8ff,
        #ffffff
    );

}

.appointment-wrapper{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:35px;

    align-items:stretch;

}

.appointment-image-card{

    position:relative;

    overflow:hidden;

    border-radius:24px;

    min-height:620px;

    box-shadow:var(--shadow);

}

.appointment-image-card img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.image-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,35,70,.58);

    display:flex;

    align-items:flex-end;

    padding:40px;

}

.image-content{

    color:#fff;

}

.image-content h2{

    font-size:2rem;

    margin-bottom:15px;

}

.image-content h3{

    margin-bottom:20px;

    color:#8fffe2;

}

.image-content ul{

    list-style:none;

}

.image-content li{

    margin-bottom:12px;

    font-weight:500;

}

.appointment-form-card{

    background:#fff;

    border-radius:24px;

    padding:40px;

    box-shadow:var(--shadow);

    border:1px solid var(--border);

}

.appointment-form-card h2{

    color:var(--primary);

    margin-bottom:25px;

}

.appointment-form{

    display:grid;

    gap:18px;

}

.appointment-form input,
.appointment-form textarea,
.appointment-form select{

    width:100%;

    padding:15px 18px;

    border:1px solid #d6dfe8;

    border-radius:12px;

    outline:none;

    transition:var(--transition);

    font-family:inherit;

    font-size:15px;

}

.appointment-form input:focus,
.appointment-form textarea:focus,
.appointment-form select:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(0,119,182,.12);

}

.appointment-form textarea{

    resize:vertical;

    min-height:120px;

}

.appointment-form button{

    width:100%;

    padding:18px;

    border:none;

    border-radius:14px;

    cursor:pointer;

    font-size:18px;

    font-weight:600;

    color:#fff;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    transition:.35s;

}

.appointment-form button:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(0,119,182,.25);

}


/* ==========================
   FOOTER
========================== */

footer{

    background:#081623;

    color:#fff;

    text-align:center;

    padding:60px 20px;

}

footer h3{

    margin-bottom:15px;

    font-size:1.7rem;

}

footer p{

    color:#cbd5df;

}

.footer-links{

    margin:25px 0;

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}

.footer-links a{

    color:#fff;

    transition:.3s;

}

.footer-links a:hover{

    color:#8fffe2;

}


/* ==========================
   WHATSAPP BUTTON
========================== */

.whatsapp{

    position:fixed;

    right:25px;

    bottom:95px;

    width:65px;

    height:65px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#25D366;

    color:#fff;

    font-size:34px;

    text-decoration:none;

    box-shadow:0 18px 40px rgba(0,0,0,.30);

    z-index:999;

    transition:.35s;

}

.whatsapp:hover{

    transform:translateY(-5px) scale(1.08);

}

/* ==========================
   BACK TO TOP
========================== */

#topBtn{

    position:fixed;

    right:25px;

    bottom:20px;

    width:58px;

    height:58px;

    border:none;

    border-radius:50%;

    display:none;

    align-items:center;

    justify-content:center;

    background:var(--primary);

    color:#fff;

    cursor:pointer;

    box-shadow:0 18px 40px rgba(0,0,0,.30);

    transition:.35s;

    z-index:999;

}

#topBtn:hover{

    transform:translateY(-5px);

    background:var(--primary-dark);

}

/* =====================================================
   PART 4
   RESPONSIVE
===================================================== */


/* ==========================
   LARGE TABLETS
========================== */

@media (max-width: 1024px){

    section{
        padding:70px 0;
    }

    .hero-content h1{
        font-size:3rem;
    }

    .about-grid{
        grid-template-columns:1fr;
    }

    .package-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .appointment-wrapper{
        grid-template-columns:1fr;
    }

    .appointment-image-card{
        min-height:450px;
    }

}


/* ==========================
   TABLETS
========================== */

@media (max-width:768px){

    /* Navigation */

    .menu-btn{
        display:flex;
        align-items:center;
        justify-content:center;
    }

    nav{

        position:absolute;

        top:82px;

        left:0;

        width:100%;

        background:#fff;

        box-shadow:0 12px 30px rgba(0,0,0,.08);

        max-height:0;

        overflow:hidden;

        transition:.35s ease;

    }

    nav.show-menu{

        max-height:500px;

    }

    nav ul{

        flex-direction:column;

        padding:25px;

        gap:18px;

    }


    /* Hero */

    .hero{

        min-height:90vh;

    }

    .hero-content{

        width:92%;

    }

    .hero-content h1{

        font-size:2.4rem;

    }

    .hero-content h2{

        font-size:1.35rem;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .btn{

        width:100%;

        max-width:320px;

    }


    /* Features */

    .features .container{

        grid-template-columns:1fr;

    }


    /* Services */

    .service-grid{

        grid-template-columns:1fr;

    }


    /* Packages */

    .package-grid{

        grid-template-columns:1fr;

    }


    /* Why */

    .why-grid{

        grid-template-columns:1fr;

    }


    /* Contact */

    .contact-layout{

        grid-template-columns:1fr;

    }

    .map-card iframe{

        height:350px;

    }


    /* Appointment */

    .appointment-wrapper{

        grid-template-columns:1fr;

        gap:25px;

    }

    .appointment-image-card{

        order:1;

        min-height:380px;

    }

    .appointment-form-card{

        order:2;

        padding:30px;

    }

    .image-overlay{

        padding:25px;

    }

    .image-content{

		position:absolute;

		left:40px;

		bottom:40px;

		color:#fff;

		z-index:2;

	}
	
	.appointment-image-card{

		position:relative;

	}
	
	.contact-left{

		grid-template-columns:1fr;

	}

	.branch-card:nth-last-child(2),
	.map-card{

		grid-column:auto;

	}

	.map-card iframe{

		height:320px;

	}


    /* Footer */

    .footer-links{

        flex-direction:column;

        gap:12px;

    }

}


/* ==========================
   MOBILE
========================== */

@media (max-width:576px){

    .container{

        width:94%;

    }

    section{

        padding:60px 0;

    }

    .nav{

        height:72px;

    }

    .logo img{

        height:52px;

    }

    .hero{

        min-height:85vh;

    }

    .hero-content h1{

        font-size:2rem;

    }

    .hero-content h2{

        font-size:1.15rem;

    }

    .hero-content p{

        font-size:.95rem;

    }

    .section-title{

        margin-bottom:40px;

    }

    .section-title h2{

        font-size:2rem;

    }

    .feature-card,
    .service-card,
    .package-card,
    .why-card,
    .info-card{

        padding:22px;

    }

    .appointment-image-card{

        min-height:320px;

    }

    .appointment-form-card{

        padding:22px;

    }

    .image-content h2{

        font-size:1.45rem;

    }

    .image-content h3{

        font-size:1rem;

    }

    .image-content li{

        font-size:.92rem;

    }

    .map-card iframe{

        height:280px;

    }

    footer{

        padding:45px 15px;

    }

    footer h3{

        font-size:1.4rem;

    }
	
	footer .developer{

		margin-top:15px;

		font-size:.95rem;

		color:#cbd5df;

	}

	footer .developer a{

		color:#8fffe2;

		font-weight:600;

		text-decoration:none;

		transition:.3s;

	}

	footer .developer a:hover{

		color:#ffffff;

		text-decoration:underline;

	}

    .whatsapp{

        width:54px;
        height:54px;
        font-size:28px;
    }

    #topBtn{

        width:48px;
        height:48px;
    }

}


/* ==========================
   SMALL DEVICES
========================== */

@media (max-width:380px){

    .hero-content h1{

        font-size:1.7rem;

    }

    .hero-content h2{

        font-size:1rem;

    }

    .btn{

        min-width:100%;

    }

    .appointment-form input,
    .appointment-form textarea,
    .appointment-form select{

        padding:13px 15px;

    }

}
	