﻿: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 {
    --DeepBlue-color: #0060B1;
}


/* ---------- Smooth Scroll ---------- */
html {
    scroll-behavior: smooth;
}


/* Default — Large Screens (Desktops, Laptops ≥ 1200px) */
body {
    max-width: 100%;
    font-family: var(--default-font);
    padding-top: 90px; /* tallest header/navbar on large screens */
    background-image: radial-gradient(circle at 1px 1px, rgba(0,96,177,0.05) 1px, transparent 0);
    background-size: 25px 25px;
}

/* Medium Screens (Tablets: 768px–1199px) */
@media (max-width: 1199px) {
    body {
        padding-top: 80px;
    }
}

/* Small Screens (Large Mobiles: 576px–767px) */
@media (max-width: 767px) {
    body {
        padding-top: 60px;
    }
}

/* Extra Small Screens (Small Mobiles ≤ 575px) */
@media (max-width: 575px) {
    body {
        padding-top: 50px;
    }
}

/* Ultra Small Screens (≤ 360px — Narrow phones) */
@media (max-width: 360px) {
    body {
        padding-top: 30px;
    }
}



/* ================================
   NAVBAR Section
   ================================ */
.navbar {
    background-color: var(--DeepBlue-color);
    backdrop-filter: blur(6px);
}

    .navbar a {
        font-weight: 600;
        position: relative;
    }

        .navbar a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 0%;
            height: 2px;
            background: #ffffff;
            transition: width 0.3s ease;
        }

        .navbar a:hover::after {
            width: 100%;
        }


@media (max-width: 576px) {
    .navbar-toggler {
        font-size: 0.8rem;
        transform: scale(0.9);
        background-color: var(--DeepBlue-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;
    }
}



/* ================================
   FOOTER Section
   ================================ */
.footer-bg {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    position: relative;
}

    .footer-bg::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        height: 1px;
        background: linear-gradient(to right, transparent, #00c6ff, transparent);
    }

    /* Smooth hover lift for glass cards */
    .footer-bg .glass-card {
        transition: transform 0.3s ease;
    }

        .footer-bg .glass-card:hover {
            transform: translateY(-6px);
        }


/* ===== GLASS CARD EFFECT ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

/* ===== HEADINGS ===== */
.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    position: relative;
    margin-bottom: 25px;
}

    .footer-heading::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #00c6ff, #0072ff);
        border-radius: 50px;
    }

/* ===== FOOTER ITEMS ===== */
.footer-item {
    align-items: center;
}

.footer-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0060B1, #0072ff);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    margin-right: 15px;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.6);
    transition: transform 0.3s ease;
}

.footer-item:hover .footer-icon {
    transform: scale(1.15) rotate(8deg);
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #eaeaea;
}

/* ===== LINKS ===== */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    padding-left: 18px;
    transition: all 0.3s ease;
}

    .footer-links a::before {
        content: '➤';
        position: absolute;
        left: 0;
        color: #00c6ff;
        transition: transform 0.3s ease;
    }

    .footer-links a:hover {
        color: #00c6ff;
        padding-left: 25px;
    }

        .footer-links a:hover::before {
            transform: translateX(5px);
        }


/* ==============================
   RESPONSIVE FOOTER LAYOUT
================================ */

/* Tablet + Mobile → keep sideways but shrink */
@media (max-width: 991px) and (min-width: 576px) {
    .footer-row {
        display: flex;
        flex-direction: row;
    }

        .footer-row > div {
            flex: 1;
        }

    .glass-card {
        padding: 20px;
    }

    .footer-heading {
        font-size: 1rem;
    }

    .footer-text {
        font-size: 0.85rem;
    }

    .footer-icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
}

/* Very small phones → stack upside down (vertical) */
@media (max-width: 575px) {
    .footer-row {
        display: flex;
        flex-direction: column;
    }

        /* Reverse order (right panel goes on top) */
        .footer-row > div:first-child {
            order: 2;
        }

        .footer-row > div:last-child {
            order: 1;
        }

    .glass-card {
        padding: 18px;
    }

    .footer-heading {
        font-size: 0.95rem;
        text-align: center;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .footer-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
}





/* ==============================
   HERO SECTION
================================ */
.hero-section {
    background: linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)), url('/Images/bannerimg.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

    /* Background decorative circle */
    .hero-section::before {
        content: "";
        position: absolute;
        top: -100px;
        right: -100px;
        width: 350px;
        height: 350px;
        background: radial-gradient(circle, rgba(0,96,177,0.15), transparent 70%);
        border-radius: 50%;
        z-index: 0;
    }

    /* Keep content above overlay */
    .hero-section .container {
        position: relative;
        z-index: 1;
    }

/* Row alignment */
.hero-content {
    min-height: 500px;
    align-items: center;
}

/* Right Text Panel */
.hero-text {
    padding-left: 40px;
}

/* Title */
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2d3d;
    line-height: 1.2;
    margin-bottom: 15px;
    animation: fadeSlideUp 0.9s ease-in-out;
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.05rem;
    color: #4a5a6a;
    line-height: 1.7;
}

/* ==============================
   HERO BUTTONS
================================ */

.hero-buttons {
    margin-top: 30px;
}

    .hero-buttons .btn {
        padding: 12px 28px;
        border-radius: 50px;
        font-weight: 600;
    }

/* ==============================
   APPOINTMENT CARD
================================ */

.appointment-card {
    max-width: 500px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    /* Hover effect */
    .appointment-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

    /* Heading */
    .appointment-card h4 {
        color: var(--DeepBlue-color);
        font-weight: 600;
    }

    /* Inputs */
    .appointment-card .form-control,
    .appointment-card .form-select {
        background: rgba(255, 255, 255, 0.85);
        border: none;
        border-radius: 10px;
        padding: 10px 12px;
        box-shadow: 0 0 12px rgba(0,96,177,0.25);
    }

    /* Placeholder */
    .appointment-card ::placeholder {
        color: #555;
    }

    /* Button */
    .appointment-card button {
        background: var(--DeepBlue-color);
        border: none;
        border-radius: 25px;
        padding: 10px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

        .appointment-card button:hover {
            background: #004b8f;
        }

/* ==============================
   ANIMATION
================================ */

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   RESPONSIVE DESIGN
================================ */

@media (max-width: 991px) {

    .hero-text {
        padding-left: 0;
        text-align: center;
        margin-top: 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        text-align: center;
    }

    .appointment-card {
        margin: auto;
    }
}

@media (max-width: 768px) {

    .hero-title {
        font-size: 1.8rem;
        animation: none;
    }

    .appointment-card {
        margin-top: 30px;
    }
}
}

/* ==========================
   Clinic Timing Section
========================== */
.working-hours {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

    .working-hours h5 {
        font-size: 18px;
    }

    .working-hours p {
        font-size: 15px;
    }




/* ==============================
   DOCTOR LAYOUT
================================ */
.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--DeepBlue-color);
}

.doctor-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s ease;
    background: #ffffff;
}

.doctor-img {
    height: 400px;
    object-fit: contain;
}

.doctor-name {
    font-weight: 600;
    font-size: 1.4rem;
}

.doctor-speciality {
    color: #6c757d;
    font-size: 1rem;
}

.btn-appointment {
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
}



/* ==============================
   CONTACT LAYOUT
================================ */

   /*LIGHT CONTACT BACKGROUND*/

.contact-bg {
    background: linear-gradient(135deg, #f9fcff, #eef5ff, #e3f0ff);
    color: #2c3e50;
    position: relative;
    padding: 60px 0;
}


  /* LIGHT GLASS CARD*/

.contact-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 35px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.15);
    transition: transform 0.3s ease;
}

   /*HEADINGS*/

.contact-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    position: relative;
    margin-bottom: 30px;
}

    .contact-heading::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 70px;
        height: 3px;
        background: linear-gradient(90deg, #0072ff, #00c6ff);
        border-radius: 50px;
    }



   /*CONTACT ITEMS*/

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: white;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.3);
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(6deg);
}

.contact-text {
    font-size: 0.95rem;
    color: #34495e;
}



   /*FORM STYLING*/

.contact-form .form-control {
    border-radius: 12px;
    padding: 10px 15px;
    border: 1px solid #d6e4ff;
    box-shadow: none;
}

    .contact-form .form-control:focus {
        border-color: #0072ff;
        box-shadow: 0 0 10px rgba(0, 114, 255, 0.2);
    }

.contact-btn {
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    border: none;
    border-radius: 30px;
    padding: 10px 28px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .contact-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 114, 255, 0.3);
    }


/* ==============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .contact-glass-card {
        padding: 25px;
    }

    .contact-heading {
        font-size: 1.2rem;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}



/* ==============================
   FLOATING BUTTONS
================================ */

/* Right Center Floating Buttons */
/* Floating Buttons Container */
.floating-buttons {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

/* Common Button Style */
.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    color: #fff !important; /* Prevent Bootstrap hover color */
    transition: transform 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Keep Original Colors */
.call-btn {
    background: linear-gradient(135deg, #0060B1, #0072ff);
}

.whatsapp-btn {
    background: #25D366;
}

/* Hover Effect — Only Pop Up */
.float-btn:hover {
    transform: scale(1.15);
    color: #fff !important; /* Keep icon white */
}


/* Scroll Button Bottom Right */
.scroll-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #0060B1, #0072ff);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

    .scroll-btn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-btn:hover {
        transform: scale(1.1);
    }


/* ==============================
   ABOUT SECTION
================================ */

.about-hero {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    min-height: 300px;
}

.service-card {
    background: #ffffff;
    transition: 0.3s ease;
}

.mission-card {
    background: #ffffff;
}



/* ==============================
   GALLARY CARD
================================ */
.gallery-section {
    padding: 80px 0;
}

.gallery-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

/* IMAGE CARDS */

.gallery-card {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    cursor: pointer;
}

    .gallery-card img {
        width: auto;
        height: auto;
        object-fit: contain;
        transition: 0.4s;
    }

    .gallery-card:hover img {
        transform: scale(1.1);
    }

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}


/* VIDEO STYLE */

.video-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

    .video-card iframe {
        width: 100%;
        height: 250px;
    }
