﻿: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: #0D47A1;
    --charcoal-color: #242321;
}

h1,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    text-transform: capitalize;
}

h2 {
    font-weight: 700;
    color: #0D47A1;
}



/*Main Body*/
/* Default — Large Screens (Desktops, Laptops ≥ 1200px) */
body {
    font-family: var(--default-font);
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    padding-top: 90px; /* tallest header/navbar on large screens */
}

/* Medium Screens (Tablets: 768px–1199px) */
@media (max-width: 1199px) {
    body {
        padding-top: 95px;
    }
}

/* Small Screens (Large Mobiles: 576px–767px) */
@media (max-width: 767px) {
    body {
        padding-top: 75px;
    }
}

/* Extra Small Screens (Small Mobiles ≤ 575px) */
@media (max-width: 575px) {
    body {
        padding-top: 60px;
    }
}

/* Ultra Small Screens (≤ 360px — Narrow phones) */
@media (max-width: 360px) {
    body {
        padding-top: 50px;
    }
}

/* ---------- HERO SECTION ---------- */
.hero-section {
    background: linear-gradient( to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.25) );
    padding: 120px 0;
    color: #fff;
    text-align: center;
}

    .hero-section h1 {
        font-size: 48px;
        font-weight: 800;
    }

/* Floating Appointment Card */
/* Glassmorphism Appointment Panel */
.appointment-card {
    background: rgba(255, 255, 255, 0.18); /* semi transparent */
    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;
}

    /* Heading */
    .appointment-card h4 {
        color: #ffffff;
        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;
    }

    /* Placeholder text */
    .appointment-card ::placeholder {
        color: #555;
    }

    /* Button */
    .appointment-card button {
        background: var(--deepblue-color);
        border: none;
        border-radius: 25px;
        padding: 10px;
        font-weight: 500;
    }

        .appointment-card button:hover {
            background: var(--charcoal-color);
        }


/*Multiple Selection*/
.selected-tags {
    display: flex;
    flex-wrap: wrap;
}

.report-tag {
    background: rgba(13, 110, 253, 0.9);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
}

    .report-tag span {
        margin-left: 8px;
        cursor: pointer;
        font-weight: bold;
    }


/*Date Picker*/
.appointment-date {
    cursor: pointer;
}

/* ================================
   HERO TEXT (IMAGE TEXT)
   ================================ */
.carousel-caption-fixed {
    position: absolute;
    top: 35%;
    left: 6%;
    transform: translateY(-50%);
    text-align: left;
    color: #ffffff;
    z-index: 10;
    max-width: 450px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.55);
}

    /* Heading text */
    .carousel-caption-fixed h3 {
        font-weight: 600;
        margin-bottom: 10px;
        line-height: 1.2;
        white-space: nowrap;
    }

    /* Paragraph under hero heading */
    .carousel-caption-fixed p {
        font-weight: 400;
        opacity: 0.90;
        white-space: nowrap;
    }


/* ================================
   RESPONSIVE FONT SIZES
   ================================ */

/* Extra Small (0–360px) */
@media (max-width: 360px) {
    .carousel-caption-fixed h3 {
        padding-top: 60px;
        font-size: 0.7rem;
        margin-bottom: 2px;
    }

    .carousel-caption-fixed p {
        font-size: 0.5rem;
    }
}

/* Small Screens (361–575px) */
@media (max-width: 575px) {
    .carousel-caption-fixed h3 {
        padding-top: 55px;
        font-size: 0.70rem;
        margin-bottom: 2px;
    }

    .carousel-caption-fixed p {
        font-size: 0.50rem;
    }
}

/* Medium (≥576px to <768px) */
@media (min-width: 576px) and (max-width: 767px) {
    .carousel-caption-fixed h3 {
        padding-top: 45px;
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .carousel-caption-fixed p {
        font-size: 0.90rem;
    }
}

/* Tablets (≥768px) */
@media (min-width: 768px) {
    .carousel-caption-fixed h3 {
        padding-top: 45px;
        font-size: 1.5rem;
        margin-bottom: 2px;
    }

    .carousel-caption-fixed p {
        font-size: 1rem;
    }
}

/* Laptops (≥992px) */
@media (min-width: 992px) {
    .carousel-caption-fixed h3 {
        font-size: 2.4rem;
    }

    .carousel-caption-fixed p {
        font-size: 1.4rem;
    }
}

/* Large desktops (≥1200px) */
@media (min-width: 1200px) {
    .carousel-caption-fixed h3 {
        font-size: 3rem;
    }

    .carousel-caption-fixed p {
        font-size: 1.6rem;
    }
}


/* ================================
   BUTTON STYLE
   ================================ */
/* Mobile Appointment Button */
.mobile-appointment-btn {
    width: 75%;
    max-width: 260px;
    padding: 5px 0;
    background: #0d2d6c;
    color: #fff;
    border-radius: 10px;
    font-size: 0.70rem;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
    display: block;
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
    letter-spacing: 0.5px;
    border: none;
    transition: 0.25s ease;
}

/* Hover effect (touch-safe) */
.mobile-appointment-btn:active,
.mobile-appointment-btn:hover {
    background: #0b2354;
    transform: scale(0.98);
}

/* Show only on mobile */
@media (min-width: 992px) {
    .mobile-appointment-btn {
        display: none !important;
    }
}




/*NavBar*/
.navbar a{
    font-weight:600;
}

@media (max-width: 576px) {
    .navbar-toggler {
        font-size: 0.8rem;
        transform: scale(0.9);
        background-color: #000;
        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;
    }
}


/*CTA Button*/
.ctabtn1 {
    font-size: 16px;
    letter-spacing: 1.5px;
    display: inline-block;
    padding: 0;
    border-radius: 0;
    transition: 0.5s;
    margin: 0px;
    border: 2px solid var(--deepblue-color);
    color: var(--deepblue-color);
    background-color: var(--deepblue-color);
}

.ctabtn2 {
    font-size: 16px;
    letter-spacing: 1.5px;
    display: inline-block;
    padding: 0;
    border-radius: 0;
    transition: 0.5s;
    margin: 0px;
    border: 2px solid var(--charcoal-color);
    color: var(--charcoal-color);
    background-color: var(--charcoal-color);
}




/* ===== Logo Image ===== */
.logo-img {
    height: auto;
    max-width: 100%;
    max-height: 60px; /* large screens */
}

@media (max-width: 992px) {
    .logo-img {
        max-height: 50px;
        margin-left: 10px;
    }
}

@media (max-width: 576px) {
    .logo-img {
        max-height: 40px;
    }
}

@media (max-width: 360px) {
    .logo-img {
        max-height: 20px;
        margin-left: 0 !important;
    }
}



/*Glolbal Section Title*/
.section-tittle {
    margin-top: 80px;
}

    .section-tittle span {
        color: #0D47A1;
        font-weight: 600;
        letter-spacing: 1px;
    }

    .section-tittle h2 {
        font-weight: 700;
        color: #212529;
    }


/* Doctor Card */
.doctor-card {
    background: #fff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    text-align: center;
    padding: 40px 20px;
}

    .doctor-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

/* Full Circle Image */
.doctor-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px auto;
    border: 6px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

    .doctor-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.doctor-info h3 {
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.doctor-info span {
    display: block;
    color: #6c757d;
    margin-bottom: 15px;
    font-weight: 500;
}

.doctor-bio {
    color: #555;
    font-size: 15px;
    margin: 15px 0;
}

.doctor-social a {
    color: #0D47A1;
    font-size: 20px;
    margin: 0 10px;
    transition: 0.3s;
}

    .doctor-social a:hover {
        color: #0056b3;
    }




/*Contact Page*/
.section-title h2 {
    font-weight: 700;
    color: #0D47A1;
}

.section-title p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
}

.section-title ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #4b5563;
}

    .section-title ul li {
        margin-bottom: 8px;
    }


.divider {
    width: 80px;
    height: 3px;
    background-color: #0D47A1;
    border-radius: 5px;
}

.contact-block {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .contact-block:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

    .contact-block i {
        font-size: 40px;
        color: #0D47A1;
        margin-bottom: 15px;
    }

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    transition: 0.3s;
}

    .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
    }

.btn-main {
    background: linear-gradient(45deg, #0d6efd, #00b4d8);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
}

    .btn-main:hover {
        background: linear-gradient(45deg, #0D47A1, #0096c7);
        transform: scale(1.05);
    }

textarea {
    resize: none;
}

.alert-success {
    border-radius: 10px;
    background-color: #d1e7dd;
    color: #0f5132;
    border: none;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 25px;
    }
}

/*Google Map*/
.google-map {
    position: relative;
}

    .google-map #map {
        width: 100%;
        height: 500px;
    }


/* Cards */
/* ---------- Timing Cards ---------- */
.time-card {
    border: 3px double #0056b3;
    border-radius: 15px;
    background: #ffffff;
    transition: 0.3s;
}

    .time-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

/* ---------- WHY CHOOSE US Cards ---------- */
.why-card {
    border-radius: 20px;
    background: #ffffff;
    transition: 0.35s ease;
}

    .why-card:hover {
        transform: translateY(-10px);
        box-shadow: 0px 18px 35px rgba(0,0,0,0.12);
    }

.why-icon {
    width: 140px;
    height: 90px;
}

/* ---------- Services Cards ---------- */
.service-card {
    border-radius: 20px;
    background: #ffffff;
    transition: 0.35s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0px 16px 30px rgba(0,0,0,0.12);
    }

/* ---------- Section Backgrounds ---------- */
.section-bg-light {
    background: linear-gradient(to bottom right, #eef5ff, #ffffff);
    padding: 70px 0;
}

.section-bg {
    padding: 70px 0;
}



/* ===============================
   Service Card Base Styles
================================ */

.neurology-section {
    background-color: #f8fafc;
}

/* Remove default link styles */
.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Card */
.service-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Hover effect */
.service-link:hover .service-box {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* Icon container */
.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e8f1ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Icon image */
    .service-icon img {
        width: 55px;
        height: 55px;
        object-fit: contain;
    }

/* Title */
.service-box h5 {
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

/* Description */
.service-box p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 576px) {
    .service-box {
        padding: 25px 20px;
    }

    .service-icon {
        width: 80px;
        height: 80px;
    }

        .service-icon img {
            width: 48px;
            height: 48px;
        }
}
