@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Jost", sans-serif;
}

:root {
    --primary-color: #7b7b76;
    --secondary-color: #ffff;
    --dark-color: #0000;
}


/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 0.9rem;
    padding: 10px 0;
}

.top-bar a {
    text-decoration: none;
    color: var(--secondary-color) !important;
    font-weight: 500;
}

/* -------------------------------------- */
/* DESKTOP NAVBAR */
/* -------------------------------------- */
.desktop-navbar {
    background-color: #fff;
    /* padding: 15px 0; */
    /* border-radius: 20px; */
    border-bottom: 1px solid var(--primary-color);
    position: absolute;
    width: 100%;
    /* top: 80px; */
    z-index: 1000;
}

.desktop-navbar .navbar-brand img {
    width: 100px;
}

.desktop-navbar .nav-link {
    font-weight: 500;
    margin: 0 15px;
}

.desktop-navbar .nav-link.active {
    background-color: var(--primary-color);
    color: #fff !important;
    border-radius: 20px;
    padding: 8px 20px;
}

.btn-get-started {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    border-radius: 25px;
    padding: 10px 25px;
    border: none;
    transition: .3s;
}

.btn-get-started:hover {
    background: #e6e6e6;
}

/* -------------------------------------- */
/* MOBILE NAVBAR */
/* -------------------------------------- */
.mobile-navbar {
    background-color: var(--secondary-color);
    padding: 12px 30px;
}

.mobile-navbar .navbar-brand img {
    width: 120px;
}

/* -------------------------------------- */
/* OFFCANVAS MENU */
/* -------------------------------------- */
.offcanvas {
    background-color: #1f3c88 !important;
}

.offcanvas .nav-link {
    color: #fff !important;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.offcanvas .btn-close {
    filter: invert(1);
}


/* Hero Section */
.hero-section {
    background: linear-gradient(to right, rgba(23, 48, 118, 0.842), rgba(23, 48, 118, 0.568)),
        url('../all-images/carousel-images/1.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-subtitle {
    color: #b3c7ff;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

/* --- HERO TITLE RESPONSIVE FIX START --- */
.hero-title {
    color: #fff;
    font-size: 3.5rem;
    /* Desktop Size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;

    /* Important Fix: width 800px eduthutu max-width podanum */
    max-width: 800px;
    width: 100%;
}

/* --- HERO TITLE RESPONSIVE FIX END --- */

/* Buttons */
.btn-appointment {
    background-color: #3b6ef3;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    display: inline-block;
    transition: 0.3s;
    white-space: nowrap;
    /* Button text udaiaama irukka */
}

.btn-appointment:hover {
    background-color: #2a5dd6;
    color: white;
}

.emergency-call {
    display: inline-flex;
    align-items: center;
    margin-left: 20px;
    color: #fff;
}

.emergency-call small {
    font-size: 20px;
    /* Adjusted size */
    font-weight: bold;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.emergency-call a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.emergency-icon {
    width: 50px;
    height: 50px;
    background-color: #3b6ef3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
    /* Icon surungama irukka */
}

/* Doctor Image */
.doctor-img {
    max-width: 100%;
    height: auto;
    position: relative;
    bottom: -50px;
    z-index: 1;
}

/* Opening Hours Card */
.opening-hours-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-top: 50px;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.opening-hours-card h5 {
    font-weight: 700;
    color: #1f3c88;
    margin-bottom: 20px;
}

.time-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    color: #666;
    font-size: 0.95rem;
}

.time-row:last-child {
    border-bottom: none;
}

.time-blue {
    color: #3b6ef3;
    font-weight: 600;
}

/* --- MEDIA QUERIES (Responsive Logic) --- */

/* Tablet View (991px and below) */
@media (max-width: 991px) {
    .navbar {
        top: 0;
        background-color: #173176;
    }

    .hero-section {
        padding-top: 120px;
        text-align: center;
        /* Center align for tablet */
        height: auto;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 2.8rem;
        /* Font size konjam kuraikurukom */
        max-width: 100%;
        /* Full width eduthukkum */
        margin-left: auto;
        margin-right: auto;
    }

    .buttons-wrapper {
        justify-content: center;
        flex-wrap: wrap;
        /* Button adutha line vara */
        gap: 20px;
    }

    .emergency-call {
        margin-left: 20px;
        text-align: left;
        /* Phone number align correct ah irukka */
    }

    .opening-hours-card {
        margin: 40px auto 0;
        /* Center align card */
    }

    .doctor-img {
        display: none;
        /* Tablet/Mobile la image hide pannidalam for space */
    }
}

/* Mobile View (576px and below) */
@media (max-width: 576px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 2rem;
        /* Mobile ku yetha size */
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .buttons-wrapper {
        flex-direction: column;
        /* Mobile la onnu keela onnu */
        align-items: center;
        gap: 25px;
    }

    .emergency-call {
        margin-left: 0;
        justify-content: center;
        /* Icon text center */
    }

    .btn-appointment {
        width: 100%;
        /* Button full width */
        text-align: center;
    }

    .opening-hours-card {
        width: 100%;
        padding: 20px;
    }
}

/* @media(max-width:768px){
    .hero-title{
        font-size: 25px;
        width: 400px !important;
    }
}

@media(max-width:500px){
    .hero-title{
        font-size: 25px;
        width: 300px !important;
    }
} */

/* About Section Styles */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

/* Left Image Wrapper */
.about-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-main-img {
    width: 100%;
    height: 600px;
    /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 20px;
}

/* Floating "Quality Healthcare" Card */
.floating-quality-card {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    padding: 30px;
    border-radius: 15px;
    width: 85%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 5px solid #3b6ef3;
}

.quality-icon {
    font-size: 2.5rem;
    color: #3b6ef3;
}

.quality-text h5 {
    font-weight: 700;
    color: #0a2558;
    margin-bottom: 5px;
}

.quality-text p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Right Content */
.sub-heading {
    color: #3b6ef3;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.main-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.description {
    color: #6c757d;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Stat Cards */
.stat-card {
    padding: 25px 20px;
    border-radius: 15px;
    text-align: left;
    height: 100%;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    /* Lift animation on hover */
}

.stat-card.blue {
    background-color: var(--primary-color);
    color: white;
}

.stat-card.light {
    background-color: #f4f7fe;
    color: var(--primary-color);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.4;
    display: block;
    margin-top: 5px;
}

/* Learn More Button */
.btn-learn-more {
    background-color: #3b6ef3;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 30px;
    transition: 0.3s;
}

.btn-learn-more:hover {
    background-color: #2554d0;
    color: white;
    box-shadow: 0 5px 15px rgba(59, 110, 243, 0.4);
}

/* Responsive Tweaks */
@media (max-width: 991px) {
    .about-main-img {
        height: 400px;
        margin-bottom: 30px;
    }

    .floating-quality-card {
        width: 90%;
        bottom: -20px;
        /* Slight overlap fix for mobile */
    }

    .about-section {
        padding-bottom: 50px;
    }

    .stat-card {
        margin-bottom: 20px;
    }
}


/* Consultation Section Styles */
.consultation-section {
    position: relative;
    /* Parallax Background Effect */
    background: linear-gradient(rgba(45, 196, 226, 0.9), rgba(45, 196, 226, 0.85)),
        url('../all-images/contact-images/banner-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Magic happens here (Parallax) */
    padding: 100px 0;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

/* Play Button Animation */
.play-btn-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

.play-btn-inner {
    width: 50px;
    height: 50px;
    background-color: #ef4444;
    /* Red color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulse-red 2s infinite;
}

.play-btn-wrapper:hover {
    transform: scale(1.1);
}

/* Pulse Animation Keyframes */
@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Text Styles */
.consult-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.consult-desc {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* Button Group */
.btn-consult-white {
    background-color: #fff;
    color: #0a2558;
    padding: 15px 35px;
    font-weight: 600;
    border: none;
    margin: 10px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-consult-white:hover {
    background-color: #f0f0f0;
    color: #0a2558;
    transform: translateY(-3px);
}

.btn-consult-dark {
    background-color: #0a2558;
    color: #fff;
    padding: 15px 35px;
    font-weight: 600;
    border: none;
    margin: 10px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-consult-dark:hover {
    background-color: #061a40;
    color: #fff;
    transform: translateY(-3px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .consult-title {
        font-size: 2rem;
    }

    .consultation-section {
        padding: 70px 0;
    }

    .btn-consult-white,
    .btn-consult-dark {
        width: 100%;
        /* Full width buttons on mobile */
        margin: 10px 0;
    }
}

/* Services Section Background */
.services-section {
    background-color: #f4f9fc;
    /* Light blueish grey background */
    padding: 80px 0;
}

/* Section Headings */
.section-subtitle {
    color: #3b6ef3;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.section-title {
    color: #0a2558;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

/* Service Card Container */
.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border: none;
}

/* Hover Effect: Card Lifts Up */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.service-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
    width: 100% !important;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Image Zoom on Hover */
.service-card:hover .service-img {
    transform: scale(1.05);
}

/* The Floating Title Box (Important!) */
.service-title-box {
    width: 85%;
    margin: -40px auto 20px auto;
    /* Negative margin pulls it up */
    padding: 15px 10px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Different Colors for Boxes */
.box-light-blue {
    background-color: #4361ee;
    /* Lighter Blue for first card */
}

.box-dark-blue {
    background-color: var(--primary-color);
    /* Dark Blue for other cards */
}

/* Card Body Text */
.service-desc {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 25px;
    margin-bottom: 25px;
}

/* Learn More Link */
.service-link {
    display: inline-block;
    color: #4361ee;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 30px;
    transition: 0.3s;
}

.service-link i {
    transition: 0.3s;
    font-size: 0.8rem;
}

.service-link:hover {
    color: #0a2558;
}

.service-link:hover i {
    transform: translateX(5px);
    /* Arrow moves right */
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .service-card {
        margin-bottom: 30px;
    }
}

/* PROCESS SECTION STYLES */
.process-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
    /* To handle animations smoothly */
}

/* Left Side Styles */
.process-subtitle {
    color: #0a2558;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.process-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0a2558;
    line-height: 1.3;
    margin-bottom: 25px;
}

.process-desc {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1rem;
}

.doctors-group-img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    /* Effect to make it look like they are standing there */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Right Side - Step Cards */
.step-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.step-card:hover {
    transform: translateY(-10px);
    /* Lift up effect */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Number Styling (01, 02...) */
.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    /* Blue number */
    line-height: 1;
    margin-right: 15px;
}

.step-line {
    height: 2px;
    width: 40px;
    background-color: var(--primary-color);
    display: inline-block;
}

/* Step Content */
.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a2558;
    margin-bottom: 15px;
}

.step-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* SPECIAL CARD 02 (Dark Blue) */
.step-card.blue-card {
    background: linear-gradient(rgba(102, 103, 106, 0.9), rgba(128, 130, 133, 0.9)),
        url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&auto=format&fit=crop&w=500&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    border: none;
}

.step-card.blue-card .step-number {
    color: #fff;
    /* White number */
}

.step-card.blue-card .step-line {
    background-color: #fff;
    /* White line */
}

.step-card.blue-card .step-title {
    color: #fff;
}

.step-card.blue-card .step-text {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .process-title {
        font-size: 2rem;
    }

    .doctors-group-img {
        margin-bottom: 40px;
        width: 100%;
    }
}

/* WHY CHOOSE US SECTION */
.why-choose-section {
    position: relative;
    /* Background Image */
    background: url('https://img.freepik.com/free-photo/blur-hospital_1203-7957.jpg?w=1380&t=st=1686641234~exp=1686641834~hmac=...');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
    overflow: hidden;
}

/* White/Blue Overlay - To make text readable */
.why-choose-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 249, 252, 0.92);
    /* Light Blueish White Overlay */
    z-index: 0;
}

.why-choose-container {
    position: relative;
    z-index: 1;
    /* To bring content above overlay */
}

/* Headings */
.why-subtitle {
    color: #3b6ef3;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.why-title {
    color: #0a2558;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

/* Feature Items */
.feature-item {
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    padding: 30px;
}

/* Left Side: Text then Icon */
.feature-item.left-side {
    justify-content: flex-end;
    text-align: right;
}

/* Right Side: Icon then Text */
.feature-item.right-side {
    justify-content: flex-start;
    text-align: left;
}

/* Icon Styling */
.feature-icon-box {
    min-width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    /* Dark Blue Circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(10, 37, 88, 0.3);
    transition: transform 0.3s;
}

.feature-item:hover .feature-icon-box {
    transform: scale(1.1) rotate(360deg);
    /* Icon spins on hover */
    background-color: #3b6ef3;
}

/* Text Styling */
.feature-text-content h5 {
    font-weight: 700;
    color: #0a2558;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-text-content p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* Margins for spacing between icon and text */
.left-side .feature-text-content {
    margin-right: 20px;
}

.right-side .feature-text-content {
    margin-left: 20px;
}

/* Central Doctor Image */
.center-doctor-img {
    max-width: 100%;
    height: auto;
    position: relative;
    bottom: -30px;
    /* Push it down slightly */
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .feature-item.left-side {
        justify-content: flex-start;
        /* Align left on mobile */
        text-align: left;
        flex-direction: row-reverse;
        /* Flip so icon is on left like standard */
    }

    .left-side .feature-text-content {
        margin-right: 0;
        margin-left: 20px;
    }

    .why-title {
        font-size: 2rem;
    }

    .center-doctor-img {
        display: none;
        /* Hide doctor on small screens to save space, or keep if you want */
    }
}

/* BOOKING SECTION STYLES */
.booking-section {
    background-color: #0a2558;
    /* Dark Blue Background */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* LEFT SIDE CONTENT */
.booking-subtitle {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 10px;
    display: block;
}

.booking-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.booking-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Emergency Call Box */
.support-box {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.support-icon {
    width: 50px;
    height: 50px;
    background-color: #3b6ef3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    margin-right: 15px;
    /* Pulse Animation */
    animation: pulse-blue 2s infinite;
}

.support-text span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.support-text h5 {
    color: #fff;
    font-weight: 700;
    margin: 0;
    font-size: 1.2rem;
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 110, 243, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(59, 110, 243, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 110, 243, 0);
    }
}

/* Opening Hours Table */
.hours-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    color: #fff;
    font-weight: 600;
}

.hours-row:last-child {
    border-bottom: none;
}

/* RIGHT SIDE FORM CARD */
.appointment-card {
    background: linear-gradient(180deg, #dcecfc 0%, #ffffff 100%);
    /* Light gradient from image */
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    /* Corner Decoration logic could be added here */
}

.form-title {
    color: #0a2558;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-label {
    font-weight: 600;
    color: #0a2558;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Custom Input Styling */
.custom-input {
    border-radius: 30px;
    /* Pill shape */
    border: none;
    padding: 12px 20px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    font-size: 0.9rem;
    color: #555;
    transition: 0.3s;
}

.custom-input:focus {
    box-shadow: 0 5px 15px rgba(59, 110, 243, 0.2);
    outline: 2px solid #3b6ef3;
}

.custom-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
}

.custom-textarea {
    border-radius: 20px;
    height: 120px;
    resize: none;
}

.btn-submit {
    background-color: #3b6ef3;
    color: #fff;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #2554d0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 110, 243, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .appointment-card {
        margin-top: 50px;
        padding: 30px 20px;
    }

    .booking-title {
        font-size: 2rem;
    }
}

/* COUNTER SECTION STYLES */
.counter-section {
    padding: 80px 0;
    background-color: #fff;
    /* Clean White Background */
}

.counter-box {
    display: flex;
    /* Side-by-side layout (Icon + Text) */
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
    /* Subtle lift effect */
}

/* Circular Icon Box */
.counter-icon {
    width: 80px;
    height: 80px;
    background-color: #0a2558;
    /* Dark Blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin-right: 20px;
    flex-shrink: 0;
    /* Prevents shrinking on mobile */
    box-shadow: 0 8px 20px rgba(10, 37, 88, 0.3);
}

/* Text Styles */
.counter-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.counter-content p {
    color: #6c757d;
    font-size: 1rem;
    margin-top: 5px;
    margin-bottom: 0;
    font-weight: 500;
}

/* Suffix styling (+, K) */
.counter-suffix {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .counter-box {
        justify-content: flex-start;
        /* Align left on mobile */
        margin-bottom: 30px;
    }

    .counter-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .counter-content h3,
    .counter-suffix {
        font-size: 2rem;
    }
}

/* --- FOOTER WRAPPER --- */
.footer-wrapper {
    background-color: var(--primary-color);
    position: relative;
    padding-top: 380px !important;
    /* Space for the floating card */
    padding-bottom: 30px;
    /* margin-top: 100px !important; */
    color: var(--text-white);
}

@media(max-width:425px) {
    .footer-wrapper {
        padding-top: 460px !important;
    }
}

/* Watermark Effect */
.footer-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://pngimg.com/d/stethoscope_PNG38.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    opacity: 0.03;
    /* Very subtle */
    pointer-events: none;
}

/* --- FLOATING CTA CARD (Modified Newsletter) --- */
.newsletter-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 0 50px;
    position: absolute;
    /* Changed to absolute to sit on top border */
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    /* Slightly wider for better layout */
    max-width: 1200px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 5px solid var(--primary-color);
    /* Top border highlight */
}

.newsletter-content {
    padding: 40px 0;
    flex: 1;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.2;
}

.newsletter-img {
    height: 280px;
    width: auto;
    object-fit: contain;
    /* margin-bottom: -5px; */
    /* Sit perfectly at bottom */
}

/* CTA Buttons */
.btn-cta-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid var(--primary-color);
}

.btn-cta-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-cta-whatsapp {
    background-color: #25D366;
    /* Official WhatsApp Green */
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid #25D366;
}

.btn-cta-whatsapp:hover {
    background-color: transparent;
    color: #25D366;
}

/* --- FOOTER COLUMNS --- */
.footer-content {
    position: relative;
    z-index: 2;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    letter-spacing: 1px;
}

/* .footer-brand:hover {
    color: var(--primary-color);
} */

.footer-desc {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-heading {
    color: #fff;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* Underline for headings */
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Links with Arrow Icons */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: 0.3s;
    display: block;
    font-size: 0.95rem;
}

/* Adding Arrow Icon using CSS */
.footer-links a::before {
    content: "\f105";
    /* FontAwesome Right Angle Quote */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: var(--primary-color);
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 10px;
    /* Move Effect */
}

/* --- SOCIAL ICONS --- */
.social-icons-container {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    color: #fff;
}

.copyright-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
}



/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .newsletter-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px 0 20px;
        top: -60px;
    }

    .newsletter-img {
        height: 200px;
        margin-top: 30px;
    }

    .footer-wrapper {
        padding-top: 350px;
        /* More space for stacked card */
    }

    .d-flex.flex-wrap {
        justify-content: center;
    }
}

/* --- NEW: Banner Breadcrumb Section --- */
.ms-page-banner {
    /* Background Image URL - Change this to your actual image */
    background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?q=80&w=2053&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    position: relative;
    height: 350px;
    /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* margin-top: 5px; */
    /* Offset for the fixed top bar */
}

/* Overlay to make text readable */
.ms-page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Linear Gradient: Dark Grey to Black opacity */
    background: linear-gradient(135deg, rgba(90, 90, 86, 0.85), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.ms-banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.ms-breadcrumb {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.ms-breadcrumb span {
    margin: 0 10px;
    color: var(--ms-primary);
    /* Highlight color */
}

.ms-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.ms-breadcrumb a:hover {
    color: #ddd;
}

.ms-banner-title {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* --- New Header Styles --- */
.ms-top-bar {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.ms-logo-head {
    color: var(--ms-dark);
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ms-logo-sub {
    color: var(--ms-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- New Hero Banner Styles --- */
.ms-hero-wrapper {
    background: linear-gradient(135deg, var(--ms-primary), var(--ms-dark));
    color: white;
    padding: 60px 0 80px;
    text-align: center;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    margin-bottom: -40px;
    /* Overlap effect */
}

.ms-hero-wrapper h1 {
    color: var(--primary-color);
}

.ms-hero-wrapper p {
    color: var(--primary-color);
}

/* --- New Custom Tab Styles --- */
.ms-tab-container {
    background: #fff;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    position: relative;
}

.ms-tab-container .nav-link {
    color: var(--ms-primary);
    font-weight: 600;
    border-radius: 30px;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

.ms-tab-container .nav-link.active {
    background-color: var(--ms-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(123, 123, 118, 0.4);
}

.ms-tab-container .nav-link:hover:not(.active) {
    background-color: #eee;
}

/* --- New Service Card Styles --- */
.ms-service-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.822);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ms-service-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--ms-primary);
    opacity: 0;
    transition: 0.3s;
}

.ms-service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.ms-service-box:hover::before {
    opacity: 1;
}

/* Icon Holder */
.ms-icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(123, 123, 118, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.ms-icon-circle i {
    color: var(--ms-primary);
    font-size: 1.2rem;
}

/* Text Content */
.ms-content-area h6 {
    margin: 0;
    font-weight: 600;
    color: var(--ms-text);
    line-height: 1.4;
}

.ms-content-area p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--ms-muted);
    margin-top: 4px;
}

/* Special Danger Card (for foreign body) */
.ms-danger-card {
    border-color: #dc3545 !important;
}

.ms-danger-icon {
    background-color: #dc3545 !important;
}

.ms-danger-icon i {
    color: #fff !important;
}

/* --- Tab Animation --- */
.tab-pane {
    animation: msFadeUp 0.5s ease-in-out;
}

@keyframes msFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Page Header (Optional Breadcrumb style) --- */
.page-header {
    background: var(--secondary-color);
    padding: 40px 0;
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 0 auto 30px;
    border-radius: 2px;
}

/* --- 1. Info Cards Section --- */
.contact-card {
    background: var(--secondary-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--primary-color);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--primary-color);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    /* Light Primary */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.contact-card:hover .icon-wrapper {
    background: var(--primary-color);
    transform: rotateY(180deg);
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: 0.4s;
}

.contact-card:hover .icon-wrapper i {
    color: var(--secondary-color);
}

.contact-card h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- 2. Enquiry Form Section --- */
.enquiry-section {
    background: var(--secondary-color);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 80px;
}

.contact-image {
    background-image: url('../all-images/contact-images/3.avif');
    /* Replace with your clinic image */
    background-size: cover;
    background-position: center;
    min-height: 100%;
    position: relative;
}

.contact-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(123, 123, 118, 0.2);
    /* Slight overlay */
}

.form-wrapper {
    padding: 50px;
}

.form-control {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #f9f9f9;
    transition: 0.3s;
}

.form-control:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(123, 123, 118, 0.1);
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.btn-submit {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    padding: 12px 30px !important;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    width: 100%;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 123, 118, 0.4);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .contact-image {
        min-height: 250px;
    }

    .form-wrapper {
        padding: 30px 20px;
    }
}

.tab-content {
    margin-bottom: 50px;
}