/* MISSION LABORATORY MEDICAL CLINIC - FINAL CLEAN CSS */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --clinic-blue: #004aad;
    --clinic-blue-light: #e0f2fe;
    --clinic-blue-dark: #003a8a;
    --clinic-yellow: #ffde59;
    --clinic-yellow-dark: #facc15;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-900: #0f172a;
    --white: #ffffff;
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Poppins', sans-serif;
}

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

a {
    text-decoration: none;
}

/* BODY */
body {
    padding-top: 80px;
    font-family: var(--font-sans);
    color: var(--slate-900);
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    padding: 1rem 0;
    transition: 0.3s;
}

header.scrolled {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* DARK HEADER */
header.header-dark {
    background: var(--clinic-blue);
}

header.header-dark .nav-link,
header.header-dark .logo-text h1,
header.header-dark .logo-text span {
    color: white !important;
}

header.header-dark .nav-link.active {
    color: var(--clinic-yellow) !important;
}

/* NAV */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1.5rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--slate-600);
}

.nav-link:hover,
.nav-link.active {
    color: var(--clinic-blue);
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--clinic-blue);
    line-height: 1;
    letter-spacing: -0.5px;
    margin-bottom: 0.2rem;
}

.logo-text span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clinic-yellow);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* NAV ACTIONS */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* BUTTONS */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    gap: 0.5rem;
    transition: 0.2s;
}

.btn-primary {
    background: var(--clinic-yellow);
    color: var(--slate-900);
    border-radius: 999px;
    padding: 0.9rem 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* BUTTON HOVER EFFECTS */
.btn-primary:hover {
    background: var(--clinic-yellow-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(234,179,8,0.25);
}

.btn-outline:hover {
    background: var(--clinic-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,74,173,0.15);
}

.btn {
    transition: all 0.3s ease;
}

.btn-yellow {
    background: var(--clinic-yellow);
}

.btn-yellow:hover {
    background: var(--clinic-yellow-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(234,179,8,0.25);
}

/* HERO */
.hero {
    padding: 6rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-content p {
    margin-top: 1rem;
    margin-bottom: 2rem; /* 🔥 DAGDAG MO ITO */
    color: var(--slate-600);
}

/* IMAGE */
.hero-image {
    position: relative;
}


/* FLOATING CARDS */
.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 20px 25px rgba(0,0,0,0.1);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.card-top {
    top: -2rem;
    right: -1rem;
}

.card-bottom {
    bottom: -2rem;
    left: -1rem;
    background: var(--clinic-yellow);
}

/* GRID */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}

/* CARDS */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.service-icon {
    width: 55px;
    height: 55px;
    background: rgba(0,74,173,0.1);
    color: var(--clinic-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: 0.3s;
}

.service-icon i {
    width: 26px;
    height: 26px;
}

.service-card {
    cursor: pointer;
}

.service-card:hover .service-icon {
    background: var(--clinic-blue);
    color: white;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, #004aad, #facc15);
    opacity: 0;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    opacity: 1;
}

/* SECTIONS */
.section-padding {
    padding: 6rem 0;
}

.bg-blue {
    background: var(--clinic-blue);
    color: white;
}

.bg-slate {
    background: var(--slate-50);
}

/* FORM */
.form-control {
    width: 100%;
    padding: 1.1rem 1.3rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    font-size: 0.95rem;
    background: #fafafa;
}

.form-control:focus {
    background: white;
    border-color: var(--clinic-blue);
    box-shadow: 0 0 0 4px rgba(0,74,173,0.1);
}

/* FLOATING CTA */
.floating-cta {
    position: fixed;
    bottom: 3rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    color: white;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: all 0.3s ease;
    padding: 4rem 2rem;
    opacity: 0;
    visibility: hidden;
}

.mobile-menu.active {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* MOBILE TOGGLE (BURGER BUTTON) */
.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    border: 1px solid var(--slate-200);
    background: white;
    cursor: pointer;
}

.mobile-toggle:hover {
    background: var(--slate-100);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-grid,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }
}

@media (min-width: 1025px) {
    .mobile-menu {
        display: none !important;
    }
}

/* BOOKING LAYOUT FIX */
.booking-box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: white;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

/* LEFT SIDE */
.booking-info {
    background: var(--clinic-blue);
    color: white;
    padding: 4rem;
}

.booking-info p {
    opacity: 0.8;
}

.booking-info strong {
    color: white;
}

/* RIGHT SIDE */
.form-side {
    padding: 3rem;
}

@media (max-width: 768px) {
    .booking-box {
        grid-template-columns: 1fr;
    }
}

.appointment-btn {
    transition: all 0.3s ease;
}

.appointment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
/* FORCE FIX BUTTON SIZE */
.form-side button {
    width: 100% !important;
    display: block !important;
}

.form-side {
    padding: 4rem;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

/* Add soft separation */
.booking-box {
    border: 1px solid var(--slate-100);
}

.appointment-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 1.2rem;
    box-shadow: 0 10px 25px rgba(0,74,173,0.3);
}


.check-icon {
    width: 35px;
    height: 35px;
    background: var(--clinic-yellow);
    color: var(--slate-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}


.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    padding: 0.5rem 1rem;
    background: var(--clinic-blue-light);
    color: var(--clinic-blue);

    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;

    margin-bottom: 1.5rem; /* 🔥 eto yung fix sa dikit issue */
}

.logo img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo img {
    transition: 0.3s ease;
}

.services-hero {
    position: relative; /* 🔥 ADD */
    background: linear-gradient(135deg, #004aad, #003a8a);
    color: white;
    padding: 7rem 0 6rem;
    text-align: center;
    overflow: hidden; /* 🔥 ADD */
}

.services-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.services-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: auto;
}

.services-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.services-hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
}

.hero-badge {
    display: inline-block;
    background: var(--clinic-blue-light);
    color: var(--clinic-blue);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-actions {
    margin-top: 2rem;
}


/* ABOUT PAGE IMAGE */
.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 2rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.about-image {
    position: relative;
    padding: 1rem;
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

.about-image::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 2rem;
    background: linear-gradient(135deg, #004aad33, #facc1533);
    z-index: -1;
}

.about-image img {
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}
.about-text {
    color: var(--slate-600);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}


.mission-card {
    background: var(--clinic-blue);
    color: white;
    padding: 4rem;
    border-radius: 3rem;
    transition: 0.3s;
}


.vision-card {
    background: var(--clinic-yellow);
    color: var(--slate-900);
    padding: 4rem;
    border-radius: 3rem;
    transition: 0.3s;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mission-card,
.vision-card {
    transition: 0.3s;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.about-image::after {
    pointer-events: none;
}

.mission-card,
.vision-card {
    position: relative;
    z-index: 2;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--clinic-blue);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--slate-500);
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 1.5rem;
    transition: 0.3s;
}

.booking-hero {
    background: linear-gradient(135deg, #004aad, #003a8a);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
}

.booking-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.booking-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.doctor-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid var(--slate-100);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.doctor-card h3 {
    color: var(--clinic-blue);
    margin-bottom: 0.5rem;
}

.doctor-card strong {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.doctor-card p {
    color: var(--slate-600);
    line-height: 1.6;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

    /* HERO */
    .booking-hero {
        padding: 3rem 1.5rem;
    }

    .booking-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

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

    /* BOOKING BOX */
    .booking-box {
        grid-template-columns: 1fr;
        border-radius: 2rem;
    }

    /* LEFT PANEL */
    .booking-info {
        padding: 2rem;
    }

    .booking-info h2 {
        font-size: 1.8rem !important;
    }

    .booking-info p {
        font-size: 0.95rem;
    }

    /* FORM SIDE */
    .form-side {
        padding: 2rem;
    }

    /* GRID FIX */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    /* BUTTON */
    .appointment-btn {
        width: 100%;
        min-width: unset;
    }

    /* DOCTOR CARDS */
    .doctor-card {
        padding: 1.5rem;
    }

    .doctor-card h3 {
        font-size: 1.1rem;
    }

    .doctor-card strong {
        font-size: 1rem;
    }

    /* NAV */
    .nav-container {
        gap: 1rem;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text span {
        font-size: 0.65rem;
    }

    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    /* FORM INPUTS */
    .form-control {
        padding: 1rem;
        font-size: 0.95rem;
    }

    /* SECTION SPACING */
    .section-padding {
        padding: 4rem 0;
    }

    /* DOCTOR SECTION */
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }
}

/* FOOTER */
.footer {
    background: var(--slate-900);
    color: white;
    padding-top: 4rem;
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* MOBILE FOOTER */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* CONTACT PAGE */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #004aad, #003a8a);
    color: white;
    padding: 7rem 0 6rem;
    text-align: center;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -150px;
    left: -150px;
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: -120px;
    right: -120px;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.contact-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* CONTACT CARDS */
.contact-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;

    background: white;
    padding: 1.5rem;
    border-radius: 1.5rem;

    box-shadow: 0 10px 25px rgba(0,0,0,0.05);

    transition: 0.3s;
    margin-bottom: 1.5rem;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* CONTACT FORM */
.contact-form-box {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);

    padding: 3rem;
    border-radius: 2rem;

    box-shadow: 0 25px 50px rgba(0,0,0,0.08);

    border: 1px solid rgba(255,255,255,0.4);
}

.contact-form-box button {
    width: 100%;
    margin-top: 1rem;
}

/* MOBILE CONTACT */
@media (max-width: 768px) {

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-form-box {
        padding: 2rem;
    }
}

/* CONTACT SUBMIT BUTTON */
.contact-submit-btn {
    width: 100%;
    border: none;
    border-radius: 999px;

    padding: 1.1rem 2rem;

    background: linear-gradient(135deg, #004aad, #003a8a);
    color: white;

    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.3s ease;

    box-shadow: 0 15px 30px rgba(0,74,173,0.25);
}

.contact-submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,74,173,0.35);
}

.contact-submit-btn:active {
    transform: scale(0.98);
}

/* DOCTORS SECTION */
.doctor-card {
    background: white;
    padding: 2rem;
    border-radius: 2rem;

    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

    transition: all 0.3s ease;

    border: 1px solid rgba(0,0,0,0.03);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.doctor-card h3 {
    color: var(--clinic-blue);
    margin-bottom: 0.75rem;
}

.doctor-card p {
    color: var(--slate-600);
    line-height: 1.7;
}

/* TESTIMONIALS */

.testimonials {
    background: #f8fafc;
    padding: 8rem 0 6rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    min-height: 180px;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.testimonial-card p {
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card h4 {
    color: var(--clinic-blue);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.testimonial-card span {
    color: var(--slate-500);
    font-size: 0.9rem;
}

.testimonials .section-header {
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.testimonials .grid-3 {
    margin-top: 2rem;
}

.testimonial-card {
    position: relative;
    z-index: 1;
}

/* MOBILE */

@media (max-width: 768px) {

    .testimonial-card {
        padding: 1.5rem;
    }

}
