﻿:root {
    --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Roboto", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

:root {
    --Site-color: #2CB7B0;
    --WarmBrown-color: #676151;
    --Charcoal-color: #242321;
    --DeepViolet-color: #3E356E;
    --Yellow-color: #EBCA2D;
}

h1,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    text-transform: capitalize;
}


/*Main Body*/
* {
    
}

/* Default — Large Screens (Desktops, Laptops ≥ 1200px) */
body {
    max-width: 100%;
    font-family: var(--default-font);
    padding-top: 90px; /* tallest header/navbar on large screens */
}

/* Medium Screens (Tablets: 768px–1199px) */
@media (max-width: 1199px) {
    body {
        padding-top: 110px;
    }
}

/* Small Screens (Large Mobiles: 576px–767px) */
@media (max-width: 767px) {
    body {
        padding-top: 100px;
    }
}

/* Extra Small Screens (Small Mobiles ≤ 575px) */
@media (max-width: 575px) {
    body {
        padding-top: 90px;
    }
}

/* Ultra Small Screens (≤ 360px — Narrow phones) */
@media (max-width: 360px) {
    body {
        padding-top: 90px;
    }
}

.section-title h2 {
    font-weight: 700;
    color: var(--DeepViolet-color);
}


/* ================================
   Hero Section
   ================================ */
.hero-section {
    background: var(--Site-color) center/cover;
    padding: 120px 0;
    color: #fff;
    text-align: center;
}

    .hero-section h1 {
        font-size: 48px;
        font-weight: 800;
    }

.hero-btn {
    padding: 14px 32px;
    font-size: 18px;
    border-radius: 50px;
    background-color: var(--Yellow-color);
    color: var(--Charcoal-color);
    transition: 0.3s ease-in-out;
}

    .hero-btn:hover {
        color: #fff; /* text color on hover */
        background-color: var(--WarmBrown-color);
    }



/* ===========================
   HOME Page
   =========================== */


/*Home Page Background Image*/
/* ================================
   DESKTOP (Default ≥ 1200px)
   ================================ */
.parallax-bg {
    background-image: url('/images/TeamImg.jpg');
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* True parallax */
    position: relative;
    z-index: 1;
}

/* ================================
   Medium Screens (Tablets: 768px–1199px)
   ================================ */
@media (max-width: 1199px) {
    .parallax-bg {
        height: 50vh;
        background-attachment: scroll; /* Disable fixed on tablets */
        background-position: center;
    }
}

/* ================================
   Small Screens (Large Mobiles: 576px–767px)
   ================================ */
@media (max-width: 767px) {
    .parallax-bg {
        height: 35vh;
        background-attachment: scroll;
        background-position: top;
    }
}

/* ================================
   Extra Small Screens (≤ 575px)
   ================================ */
@media (max-width: 575px) {
    .parallax-bg {
        height: 28vh;
        background-attachment: scroll;
        background-position: top center;
    }
}

/* ================================
   Ultra Small Screens (≤ 360px)
   ================================ */
@media (max-width: 360px) {
    .parallax-bg {
        height: 22vh;
        background-attachment: scroll;
        background-position: center;
    }
}



/*NavBar*/
.navbar {
    background-color: var(--Site-color);
}

.navbar a {
    font-weight: 600;
}

@media (max-width: 576px) {
    .navbar-toggler {
        font-size: 0.8rem;
        transform: scale(0.9);
        background-color: var(--Site-color);
        border: none;
    }

    .navbar-toggler-icon {
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }
}


/*Time Slots*/
.banner-image img {
    width: 100%;
    height: 400px; /* adjust height here */
    object-fit: cover;
    border-radius: 12px;
}

/* Time Schedule Section */
.section-bg {
    background: #f9fcff;
}

.timing-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease-in-out;
}

    .timing-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 55px rgba(0, 0, 0, 0.12);
    }

.timing-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #8E403A, #242321);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 30px;
}

.time {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d3557;
}

.days {
    color: #6c757d;
    font-size: 0.95rem;
    margin-top: -5px;
}




/* ================================
   DOCOTR Section
   ================================ */
.doctor-hero {
    background: var(--DeepViolet-color);
    padding: 70px 0;
    text-align: center;
    color: white;
}

    .doctor-hero h1 {
        font-size: 42px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .doctor-hero p {
        font-size: 18px;
        opacity: 0.9;
    }

/* Doctor Card */
.doctor-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-top: -50px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

    .doctor-card img {
        width: 170px;
        height: 170px;
        border-radius: 50%;
        object-fit: cover;
        border: 6px solid #eaf4ff;
    }

.doctor-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--WarmBrown-color);
}

.doctor-speciality {
    color: var(--Charcoal-color);
    font-weight: 600;
    font-size: 18px;
}

/* CTA Button */
.btn-book {
    background: var(--DeepViolet-color);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}

    .btn-book:hover {
        background: var(--Charcoal-color);
        color: white;
        transform: translateY(-3px);
    }



/* ===========================
   SERVICE CARD (Improved)
   =========================== */
.service-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 25px;
    text-align: center;
    transition: 0.3s ease-in-out;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

    .service-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }

a.service-link {
    text-decoration: none;
    color: inherit;
}

.service-icon img {
    height: 90px;
    object-fit: contain;
    margin-bottom: 18px;
}

.service-box h2 {
    color : var(--DeepViolet-color)
}

.service-box h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--Charcoal-color);
}

.service-box p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Optional Hover Glow Border */
.service-box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}

.service-box:hover::after {
    border-color: var(--Yellow-color);
    box-shadow: 0 0 12px rgba(235, 202, 45, 0.5);
}





/* Contact Page */
.contact-section {
    padding: 70px 0;
}

/* Left Image */
.contact-left-img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ===========================
   CONTACT CARD (Improved)
   =========================== */
.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    position: relative;
    transition: 0.3s ease-in-out;
}

    .contact-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 55px rgba(0,0,0,0.12);
    }

    /* LABELS */
    .contact-card .form-label {
        color: #7d7d7d; /* Default grey */
        font-weight: 500;
        font-size: 14px;
        transition: 0.25s ease;
    }

    /* INPUT GROUP STYLE (floating effect without moving label) */
    .contact-card .form-group {
        position: relative;
        margin-bottom: 20px;
    }

    /* INPUT STYLING */
    .contact-card .form-control {
        border-radius: 12px;
        padding: 12px 14px;
        font-size: 16px;
        border: 2px solid #dadada;
        transition: 0.3s;
        box-shadow: none;
    }

        /* INPUT FOCUS EFFECT */
        .contact-card .form-control:focus {
            border-color: #0F3538;
            box-shadow: 0 0 8px rgba(15, 53, 56, 0.35);
        }

            /* CHANGE LABEL COLOR WHEN INPUT IS ACTIVE */
            .contact-card .form-control:focus + .form-label {
                color: #0F3538;
                font-weight: 700;
            }

        /* ALSO CHANGE LABEL COLOR IF INPUT HAS TEXT */
        .contact-card .form-control:not(:placeholder-shown) + .form-label {
            color: #0F3538;
            font-weight: 700;
        }

/* ===========================
   SUBMIT BUTTON
   =========================== */
.btn-submit {
    background: var(--Site-color);
    border: none;
    transition: 0.3s;
    font-weight: 600;
    color: #fff;
}

    .btn-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0px 10px 25px rgba(0, 198, 255, 0.4);
        color: white;
    }

/* Reset Button */
.btn-reset {
    font-weight: 600;
    border-radius: 12px;
    transition: 0.3s;
}

    .btn-reset:hover {
        transform: translateY(-3px);
        background: var(--WarmBrown-color);
        color: white;
    }

/* ===========================
   LEFT SIDE IMAGE
   =========================== */
.contact-left-img {
    width: 100%;
    max-width: 380px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.4s;
}

    .contact-left-img:hover {
        transform: scale(1.04);
    }

/* ===========================
   MOBILE RESPONSIVE
   =========================== */
@media (max-width: 768px) {

    .contact-left-img {
        display: none !important;
    }

    .contact-card {
        padding: 25px;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 12px;
    }

        .contact-buttons .btn {
            width: 100% !important;
        }
}






/*Header Section*/
/* Premium Nav Hover */
.navbar-nav .nav-link {
    position: relative;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff !important;
    padding: 6px 12px;
    transition: all 0.3s ease;
}

    /* Hover glow underline */
    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 50%;
        width: 0;
        height: 3px;
        background: #00c6ff;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    /* Hover effects: glow + underline + lift */
    .navbar-nav .nav-link:hover {
        color: #00c6ff !important;
        transform: translateY(-2px);
        text-shadow: 0 0 8px rgba(0, 198, 255, 0.7);
    }

        .navbar-nav .nav-link:hover::after {
            width: 70%;
        }

    /* Active link effect (optional) */
    .navbar-nav .nav-link.active {
        color: #00cfff !important;
    }






/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
.footer {
    background-color: var(--Site-color);
}

.footer-icon {
    font-size: 22px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    transition: all .3s ease;
    color: #fff;
}

.footer-item:hover .footer-icon {
    background: #fff;
    color: #0d6efd;
    transform: translateY(-4px) scale(1.07);
    box-shadow: 0 5px 20px rgba(255,255,255,0.5);
}

/* ----------------------------------------------------
   HEADINGS
---------------------------------------------------- */
.footer-heading {
    font-weight: 800;
    color: white;
    font-size: 22px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ----------------------------------------------------
   FOOTER TEXT
---------------------------------------------------- */
.footer-text {
    font-size: 16px;
    color: #e8f1ff;
    margin-left: 60px;
    line-height: 1.6;
}

/* ----------------------------------------------------
   USEFUL LINKS — PREMIUM EFFECT
---------------------------------------------------- */
.footer-links a {
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff !important;
    text-decoration: none;
    padding: 4px 0;
    transition: all 0.3s ease;
}

    /* Glow underline (hidden initially) */
    .footer-links a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 3px;
        background: #00e5ff;
        border-radius: 2px;
        transition: width 0.3s ease;
        box-shadow: 0 0 8px rgba(0, 229, 255, 0.7);
    }

    /* Hover glow + underline + slight lift */
    .footer-links a:hover {
        color: #00e5ff !important;
        transform: translateX(4px);
        text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
    }

        .footer-links a:hover::after {
            width: 60%;
        }


/* ----------------------------------------------------
   RESPONSIVE FIXES FOR SMALL SCREENS
---------------------------------------------------- */

/* Mobile screens — below 576px */
/* Stack icon above text on small screens */
@media (max-width: 576px) {

    .footer-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

    .footer-icon {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }

    .footer-text {
        margin-left: 0 !important;
        font-size: 14px;
        line-height: 1.5;
    }
}


/* Tablets — below 768px */
@media (max-width: 768px) {
    .footer-text {
        margin-left: 50px;
    }
}