@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0c7cd5;
    --primary-light: #e3f2fd;
    --primary-dark: #0b2a4f;
    --accent: #00b8d9;
    --text: #1b1f3b;
    --muted: #5f6c7b;
    --bg: #f1f6ff;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(12, 124, 213, 0.16);
    --glass-bg: rgba(255, 255, 255, 0.14);
    --glass-border: 1px solid rgba(255, 255, 255, 0.35);
    --radius: 18px;
    --radius-lg: 28px;
    --transition: all 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: none;
    transition: var(--transition);
    backdrop-filter: blur(14px);
}

.home-page .site-header.transparent {
    background: linear-gradient(to bottom,
            rgba(9, 22, 53, 0.85),
            rgba(9, 22, 53, 0.3),
            transparent);
}

.site-header.scrolled {
    background-color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1.25rem;
}

.logo {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.logo i {
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--muted);
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.nav-toggle {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
}

main {
    flex: 1;
}

.hero {
    position: relative;
    padding: 6.5rem 1.25rem 5rem;
    isolation: isolate;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.premium-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 184, 217, 0.55), transparent 55%),
        radial-gradient(circle at bottom right, rgba(12, 124, 213, 0.8), rgba(7, 20, 52, 0.92));
    mix-blend-mode: multiply;
    z-index: -1;
}

.hero-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transform: translateY(0);
    transition: transform 0.6s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.4rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.hero-stat {
    min-width: 140px;
    text-align: left;
}

.hero-stat h3 {
    margin: 0 0 0.25rem;
    font-size: 1.6rem;
}

.hero-stat p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.glass-pill {
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 40px rgba(3, 9, 26, 0.35);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background-color: var(--white);
    color: var(--primary);
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 20px 35px rgba(12, 124, 213, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #0c7cd5, #00b8d9);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 24px 45px rgba(7, 43, 109, 0.45);
}

.btn-ghost {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: none;
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.btn-3d {
    background: linear-gradient(135deg, #0c7cd5, #0b2a4f);
    color: #fff;
    box-shadow: 0 14px 26px rgba(8, 51, 122, 0.55);
    transform: translateY(0);
}

.btn-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(5, 24, 63, 0.8);
}

.section {
    padding: 4rem 1.25rem;
}

.section.alt {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title span {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.grid {
    display: grid;
    gap: 1.25rem;
}

.three-col {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.two-col {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-4px) translateZ(0);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--primary-light);
    display: grid;
    place-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.dept-card {
    position: relative;
    overflow: hidden;
}

.dept-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(circle at top, rgba(0, 184, 217, 0.2), transparent 55%);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.dept-card:hover::after {
    opacity: 1;
}

.glow {
    box-shadow: 0 0 0 0 rgba(0, 184, 217, 0.4);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.dept-card:hover .glow {
    box-shadow: 0 0 0 6px rgba(0, 184, 217, 0.16);
    transform: translateY(-2px);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
}

/* ABOUT */

.about-grid {
    align-items: center;
}

.about-media {
    position: relative;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(9, 24, 61, 0.45);
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 3s ease-out;
}

.about-image-wrap:hover img {
    transform: scale(1.06);
}

.floating-pill {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    font-size: 0.8rem;
    box-shadow: 0 18px 35px rgba(15, 27, 70, 0.4);
    animation: float 4s ease-in-out infinite;
}

.floating-pill i {
    color: var(--primary);
}

.pill-one {
    top: 8%;
    left: 6%;
}

.pill-two {
    bottom: 10%;
    right: 8%;
    animation-delay: 1.4s;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--muted);
}

.about-icons {
    display: grid;
    gap: 1rem;
}

.about-icon {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: flex-start;
}

.about-icon span {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--primary-light);
    color: var(--primary);
}

.about-icon h4 {
    margin: 0 0 0.25rem;
}

.about-icon p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.stat-box {
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}

.stat-box h3 {
    margin: 0;
    font-size: 1.8rem;
}

.stat-box p {
    margin: 0;
    opacity: 0.85;
}

.testimonials {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.testimonial {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial:not(:last-child) {
    border-bottom: 1px solid #edf2fb;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
}

.testimonial p {
    margin: 0;
}

.testimonial strong {
    color: var(--primary);
}

.clinic-timings {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.clinic-timings ul {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.clinic-timings li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.clinic-timings li span {
    color: var(--muted);
    font-weight: 400;
}

/* DOCTORS CAROUSEL */

/* DOCTOR SECTION */
/* Doctors Section */
.doctors-section {
    padding: 20px 20px;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    color: #003366;
    margin-bottom: 8px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1rem;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.doctor-card {
    background: #ffffff;
    padding: 25px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    border: 2px solid transparent;
}

.doctor-card:hover {
    transform: translateY(-10px);
    border-color: #2e86de;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.doctor-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e3f2fd;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card h3 {
    margin: 10px 0 5px;
    font-size: 1.3rem;
    color: #003366;
    font-weight: 600;
}

.speciality {
    display: block;
    font-size: 0.9rem;
    color: #2e86de;
    font-weight: 600;
    margin-bottom: 10px;
}

.doctor-bio {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.doctor-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
    background: #2e86de;
    color: white;
    border: none;
    outline: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.doctor-btn:hover {
    background: #1b5cb8;
}


.page-hero {
    background: linear-gradient(120deg, rgba(12, 124, 213, 0.15), rgba(0, 184, 217, 0.15));
    padding: 3rem 1.25rem;
    text-align: center;
}

.page-hero h1 {
    margin: 0 0 0.5rem;
}

.page-hero p {
    margin: 0;
    color: var(--muted);
}

/* WHY CHOOSE US */

.why-section {
    padding-top: 0;
}

.why-ribbon {
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, #0c7cd5, #0b2a4f);
    color: #fff;
    padding: 2.8rem 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
    gap: 2rem;
    box-shadow: 0 26px 55px rgba(7, 23, 66, 0.7);
    position: relative;
    overflow: hidden;
}

.why-ribbon::before {
    content: '';
    position: absolute;
    inset: -12%;
    background: radial-gradient(circle at top right, rgba(0, 184, 217, 0.6), transparent 55%);
    opacity: 0.7;
}

.why-ribbon>* {
    position: relative;
    z-index: 1;
}

.why-content h2 {
    margin-top: 0;
}

.why-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.1rem;
}

.why-item {
    padding: 1.1rem 1.25rem;
    border-radius: 18px;
    background-color: rgba(6, 32, 78, 0.7);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 35px rgba(3, 15, 40, 0.8);
}

.why-item span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
    margin-bottom: 0.6rem;
}

.why-item h4 {
    margin: 0 0 0.3rem;
}

.why-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

.float-icon {
    animation: float 4.5s ease-in-out infinite;
}

.float-icon:nth-child(2) {
    animation-delay: 0.9s;
}

.float-icon:nth-child(3) {
    animation-delay: 1.8s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* APPOINTMENT CTA */

.appointment-cta {
    padding-top: 3rem;
}

.appointment-inner {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #0c7cd5, #00b8d9);
    padding: 2.2rem 2.3rem;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
    gap: 2rem;
    align-items: center;
    color: #fff;
    box-shadow: 0 30px 60px rgba(1, 34, 80, 0.8);
}

.appointment-media img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.appointment-copy h2 {
    margin-top: 0;
}

.appointment-copy p {
    margin-bottom: 1.4rem;
}

.doctors-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.doctor-card {
    text-align: center;
}

.doctor-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary-light);
}

.doctor-card h3 {
    margin-bottom: 0.2rem;
}

.doctor-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.services-list {
    display: grid;
    gap: 1rem;
}

.service-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.service-item i {
    color: var(--primary);
    font-size: 1.3rem;
}

.appointment-form {
    max-width: 720px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid #d9e3f0;
    border-radius: 12px;
    padding: 0.85rem;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fdfefe;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 124, 213, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    font-weight: 600;
    text-align: center;
}

.form-message.error {
    color: #c62828;
}

.form-message.success {
    color: #2e7d32;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.detail-box {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.detail-box h4 {
    margin: 0 0 0.4rem;
}

.detail-box p {
    margin: 0;
    color: var(--muted);
}

/* TESTIMONIALS (GLASS) */

.testimonials-section {
    position: relative;
}

.testimonials-grid {
    align-items: stretch;
}

.glass-card {
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 55px rgba(1, 19, 54, 0.65);
    padding: 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.glass-card .testimonial-body p {
    margin: 0;
    color: var(--text);
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.testimonial-footer img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-footer h4 {
    margin: 0;
}

.testimonial-footer span {
    font-size: 0.85rem;
    color: var(--muted);
}

/* GALLERY */

.gallery-section {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(9, 20, 46, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.7s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

/* TIMINGS TABLE */

.timings-table-wrap {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.8rem;
    overflow-x: auto;
}

.timings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.timings-table th,
.timings-table td {
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid #e1e8f5;
    text-align: left;
}

.timings-table th {
    background-color: #f3f6ff;
    font-weight: 600;
    color: var(--primary-dark);
}

.timings-table tr:last-child td {
    border-bottom: none;
}

.timings-table tbody tr:hover {
    background-color: #f8fbff;
}

/* CONTACT SHORT */

.contact-short .contact-cta-box {
    align-self: center;
    justify-self: flex-end;
    background-color: var(--white);
    padding: 1.6rem 1.8rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: left;
}

.contact-cta-box p {
    margin-top: 0;
    margin-bottom: 0.9rem;
}

footer {
    background-color: #0b2a4f;
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 1.25rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a {
    display: inline-flex;
    margin-bottom: 0.4rem;
    color: inherit;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 1rem;
        background-color: var(--white);
        flex-direction: column;
        width: min(260px, calc(100% - 2rem));
        padding: 1.5rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        transform: scaleY(0);
        transform-origin: top;
        transition: var(--transition);
    }

    .nav-links.open {
        transform: scaleY(1);
    }

    .why-ribbon {
        grid-template-columns: 1fr;
    }

    .appointment-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 0.7rem 1rem;
    }

    .hero {
        padding-top: 4rem;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial {
        text-align: left;
    }

    .clinic-timings li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .appointment-form {
        padding: 1.25rem;
    }

    .hero {
        padding-top: 5.2rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: stretch;
    }

    .why-ribbon {
        padding: 2.2rem 1.6rem;
    }

    .appointment-inner {
        padding: 1.9rem 1.6rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-item.tall,
    .gallery-item.wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .doctors-carousel {
        padding: 0 1.6rem;
    }

    .carousel-control.prev {
        left: 0;
    }

    .carousel-control.next {
        right: 0;
    }
}

@media (max-width: 400px) {
    .stats {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}




/* Universal Section Title */
.hosp-uni-title {
    text-align: center;
    padding-bottom: 20px;
    animation: fadeUp 0.8s ease both;
}

.hosp-uni-title span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
}

.hosp-uni-title h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Fade Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Spacing */
section {
    padding: 70px 10%;
}


/* ------------------------------------
   🔵 SECTION 1 — EXCELLENCE HIGHLIGHTS
------------------------------------ */
.hosp-uni-excellence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.hosp-uni-excellence-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hosp-uni-excellence-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 22px 55px rgba(12, 124, 213, 0.25);
}

.hosp-uni-excellence-card i {
    font-size: 55px;
    color: var(--primary);
    margin-bottom: 12px;
    transition: var(--transition);
}

.hosp-uni-excellence-card:hover i {
    color: var(--accent);
    transform: scale(1.2);
}

.hosp-uni-excellence-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.hosp-uni-excellence-card p {
    color: var(--muted);
}


/* ------------------------------------
   🔵 SECTION 2 — PATIENT SUCCESS STORIES
------------------------------------ */
.hosp-uni-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
}

.hosp-uni-story-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px;
    transition: var(--transition);
}

.hosp-uni-story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(12, 124, 213, 0.25);
}

.hosp-uni-story-card img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.hosp-uni-story-card h3 {
    margin-bottom: 5px;
}

.hosp-uni-story-card p {
    color: var(--muted);
}


/* ------------------------------------
   🔵 SECTION 3 — LEADERSHIP TEAM
------------------------------------ */
.hosp-uni-lead-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.hosp-uni-lead-card {
    text-align: center;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.hosp-uni-lead-card:hover {
    transform: scale(1.07);
    box-shadow: 0 22px 60px rgba(12, 124, 213, 0.22);
}

.hosp-uni-lead-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--accent);
}


/* ------------------------------------
   🔵 SECTION 4 — RESEARCH & INNOVATION
------------------------------------ */
.hosp-uni-research-wrapper {
    background: var(--primary-light);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-left: 6px solid var(--primary);
}

.hosp-uni-research-wrapper p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.hosp-uni-research-wrapper ul {
    list-style: none;
}

.hosp-uni-research-wrapper li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.hosp-uni-research-wrapper li i {
    color: var(--accent);
    font-size: 22px;
}


/* ------------------------------------
   🔵 SECTION 5 — WELLNESS TIPS
------------------------------------ */
.hosp-uni-wellness-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.hosp-uni-well-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.hosp-uni-well-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 55px rgba(0, 184, 217, 0.25);
}

.hosp-uni-well-card i {
    font-size: 50px;
    color: var(--accent);
    margin-bottom: 12px;
}

.hosp-uni-well-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.hosp-uni-well-card p {
    color: var(--muted);
}


/* ------------------------------------
   RESPONSIVE (320px & above)
------------------------------------ */
@media (max-width: 420px) {
    .hosp-uni-title h2 {
        font-size: 1.8rem;
    }

    .hosp-uni-story-card {
        flex-direction: column;
        text-align: center;
    }

    .hosp-uni-story-card img {
        margin-bottom: 10px;
    }
}




/* ------------------------------------
   📱 RESPONSIVE — 375px and below
------------------------------------ */
@media (max-width: 375px) {

    section {
        padding: 50px 1%;
    }

    /* Title */
    .hosp-uni-title h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .hosp-uni-title span {
        font-size: 0.85rem;
    }

    /* SECTION 1 — Excellence Cards */
    .hosp-uni-excellence-card {
        padding: 25px 18px;
    }

    .hosp-uni-excellence-card i {
        font-size: 45px;
    }

    .hosp-uni-excellence-card h3 {
        font-size: 1.1rem;
    }

    /* SECTION 2 — Patient Stories */
    .hosp-uni-story-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hosp-uni-story-card img {
        width: 95px;
        height: 95px;
    }

    .hosp-uni-story-card h3 {
        font-size: 1.1rem;
    }

    /* SECTION 3 — Leadership */
    .hosp-uni-lead-card img {
        width: 120px;
        height: 120px;
    }

    .hosp-uni-lead-card h3 {
        font-size: 1.15rem;
    }

    /* SECTION 4 — Research */
    .hosp-uni-research-wrapper {
        padding: 25px;
    }

    .hosp-uni-research-wrapper p {
        font-size: 1rem;
    }

    .hosp-uni-research-wrapper li {
        font-size: 0.95rem;
    }

    /* SECTION 5 — Wellness Cards */
    .hosp-uni-well-card {
        padding: 25px 18px;
    }

    .hosp-uni-well-card i {
        font-size: 42px;
    }

    .hosp-uni-well-card h3 {
        font-size: 1.15rem;
    }

}




/* ------------------------------------
   📱 RESPONSIVE — 320px and below
------------------------------------ */
@media (max-width: 320px) {

    section {
        padding: 45px 5%;
    }

    /* Title Styling */
    .hosp-uni-title h2 {
        font-size: 1.4rem;
        line-height: 1.25;
    }

    .hosp-uni-title span {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }

    /* SECTION 1 — Excellence */
    .hosp-uni-excellence-card {
        padding: 22px 15px;
    }

    .hosp-uni-excellence-card i {
        font-size: 40px;
    }

    .hosp-uni-excellence-card h3 {
        font-size: 1rem;
    }

    .hosp-uni-excellence-card p {
        font-size: 0.9rem;
    }

    /* SECTION 2 — Patient Stories */
    .hosp-uni-story-card {
        padding: 18px;
    }

    .hosp-uni-story-card img {
        width: 85px;
        height: 85px;
    }

    .hosp-uni-story-card h3 {
        font-size: 1rem;
    }

    .hosp-uni-story-card p {
        font-size: 0.9rem;
    }

    /* SECTION 3 — Leadership */
    .hosp-uni-lead-card img {
        width: 110px;
        height: 110px;
    }

    .hosp-uni-lead-card h3 {
        font-size: 1.05rem;
    }

    .hosp-uni-lead-card p {
        font-size: 0.9rem;
    }

    /* SECTION 4 — Research */
    .hosp-uni-research-wrapper {
        padding: 22px;
    }

    .hosp-uni-research-wrapper p {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .hosp-uni-research-wrapper li {
        font-size: 0.9rem;
        margin: 8px 0;
    }

    .hosp-uni-research-wrapper li i {
        font-size: 1rem;
    }

    /* SECTION 5 — Wellness */
    .hosp-uni-well-card {
        padding: 22px 15px;
    }

    .hosp-uni-well-card i {
        font-size: 38px;
    }

    .hosp-uni-well-card h3 {
        font-size: 1.05rem;
    }

    .hosp-uni-well-card p {
        font-size: 0.9rem;
    }
}




/* ==========================================================
   TRENDY + PREMIUM UI FOR HOSPITAL SECTIONS (srvx-)
   Uses your root variables for colors + radius + shadows
   ========================================================== */

/* ----------------------------------------------------------
   SECTION TITLES
---------------------------------------------------------- */
.srvx-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 60px;
    position: relative;
}




/* ----------------------------------------------------------
   1. TIMELINE SECTION — MODERN ANIMATED LINE + DOTS
---------------------------------------------------------- */
.srvx-timeline {
    padding: 50px 5%;
    background: var(--bg);
}

.srvx-tl-wrapper {
    position: relative;
    padding-left: 40px;
    border-left: 3px dashed var(--primary);
    animation: srvx-lineGlow 2s infinite alternate;
}

@keyframes srvx-lineGlow {
    0% {
        border-color: var(--primary);
    }

    100% {
        border-color: var(--accent);
    }
}

.srvx-step {
    margin-bottom: 45px;
    position: relative;
}

.srvx-step::before {
    content: "";
    position: absolute;
    left: -52px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    outline: 5px solid var(--primary-light);
    box-shadow: 0 0 12px var(--primary);
}

.srvx-step h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
}

.srvx-step p {
    margin-top: 8px;
    opacity: 0.8;
    color: var(--muted);
}


/* ----------------------------------------------------------
   2. SPLIT SHOWCASE — FLOATING BADGES + IMAGE HOVER DEPTH
---------------------------------------------------------- */
.srvx-split-showcase {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 50px 8%;
}

.srvx-split-img {
    width: 50%;
    position: relative;
}

.srvx-split-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.srvx-split-img img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.srvx-badge {
    position: absolute;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow);
    color: var(--primary-dark);
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.srvx-badge.b1 {
    top: 15px;
    left: 20px;
}

.srvx-badge.b2 {
    bottom: 25px;
    left: 30px;
    animation-delay: 0.5s;
}

.srvx-badge.b3 {
    top: 50%;
    right: -15px;
    animation-delay: 1s;
}

.srvx-split-text {
    width: 50%;
}

.srvx-split-text h2 {
    font-size: 2.4rem;
    line-height: 1.3;
    color: var(--primary-dark);
}

.srvx-split-text p {
    margin-top: 15px;
    color: var(--muted);
    line-height: 1.7;
}


/* ----------------------------------------------------------
   3. ZIG-ZAG SECTION — MODERN Z-LAYOUT + HOVER ANIMATIONS
---------------------------------------------------------- */
.srvx-zig {
    padding: 30px 8%;
}

.srvx-z {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.srvx-z.reverse {
    flex-direction: row-reverse;
}

.srvx-z img {
    width: 45%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.srvx-z img:hover {
    transform: translateY(-6px);
}

.srvx-z div {
    width: 50%;
}

.srvx-z h3 {
    font-size: 1.9rem;
    color: var(--primary-dark);
}

.srvx-z p {
    margin-top: 12px;
    opacity: 0.9;
    color: var(--muted);
}


/* ----------------------------------------------------------
   4. GLASS PANEL — PREMIUM GLASSMORPHISM + LIGHT GLOW
---------------------------------------------------------- */
.srvx-glass-panel {
    padding: 5px 8%;
    display: flex;
    justify-content: center;
}

.srvx-glass-box {
    width: 100%;
    max-width: 850px;
    padding: 45px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: 0 20px 50px rgba(12, 124, 213, 0.25);
    animation: glassGlow 4s ease-in-out infinite alternate;
}

@keyframes glassGlow {
    0% {
        box-shadow: 0 20px 50px rgba(12, 124, 213, 0.12);
    }

    100% {
        box-shadow: 0 20px 65px rgba(12, 124, 213, 0.28);
    }
}

.srvx-glass-box h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
}

.srvx-glass-box p {
    margin-top: 10px;
    line-height: 1.7;
    color: var(--muted);
}

.srvx-glass-box li {
    margin: 10px 0;
    color: var(--primary-dark);
    font-weight: 500;
}


/* ----------------------------------------------------------
   5. HORIZONTAL SCROLL — TRENDY MOBILE CARDS
---------------------------------------------------------- */
.srvx-scroll-section {
    padding: 30px 8%;
    background: var(--bg);
}

.srvx-scroll-wrapper {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
}

.srvx-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.srvx-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 20px;
}

.srvx-scroll-item {
    min-width: 250px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    transition: var(--transition);
    border: 1px solid var(--primary-light);
}

.srvx-scroll-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 55px rgba(12, 124, 213, .22);
}

.srvx-scroll-item h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.srvx-scroll-item p {
    color: var(--muted);
    margin-top: 6px;
}


/* ----------------------------------------------------------
   RESPONSIVE — TABLET
---------------------------------------------------------- */
@media (max-width: 768px) {
    .srvx-split-showcase {
        flex-direction: column;
    }

    .srvx-split-img,
    .srvx-split-text {
        width: 100%;
    }

    .srvx-z {
        flex-direction: column;
    }

    .srvx-z.reverse {
        flex-direction: column;
    }

    .srvx-z img,
    .srvx-z div {
        width: 100%;
    }

    .srvx-title {
        font-size: 2rem;
    }
}


/* ----------------------------------------------------------
   RESPONSIVE — 320px Small Phones
---------------------------------------------------------- */
@media (max-width: 360px) {

    .srvx-scroll-item {
        min-width: 220px;
    }

    .srvx-glass-box {
        padding: 28px;
    }

    .srvx-title {
        font-size: 1.8rem;
    }
}




/* ======================================
   DEPTX – Unique Department Styles
====================================== */

/* --- Shared Titles --- */
.deptx-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

/* ======================================
   1) Split Banner Section
====================================== */
.deptx-split-banner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 3rem 1.5rem;
}

.deptx-sb-text h2 {
    font-size: 2rem;
    color: var(--primary-dark);
}

.deptx-sb-text p {
    color: var(--muted);
    line-height: 1.6;
}

.deptx-sb-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    object-fit: cover;
}

/* ======================================
   2) Horizontal Flow Steps
====================================== */
.deptx-flow-steps {
    padding: 3rem 1.5rem;
    background: var(--primary-light);
}

.deptx-flow-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.deptx-step {
    background: var(--white);
    padding: 1.8rem;
    min-width: 240px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.deptx-step:hover {
    transform: translateY(-6px);
}

.deptx-step span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.deptx-step h3 {
    margin-top: 0.5rem;
    color: var(--primary-dark);
}

.deptx-step p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ======================================
   3) Zigzag Section
====================================== */
.deptx-zigzag {
    padding: 3rem 1.5rem;
}

.deptx-z {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.deptx-z.reverse {
    grid-template-columns: 1fr 1fr;
}

.deptx-z img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.deptx-z h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.deptx-z p {
    color: var(--muted);
}

/* ======================================
   4) Glass Panel Section
====================================== */
.deptx-glass-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    justify-content: center;
}

.deptx-glass-box {
    background: var(--glass-bg);
    border: var(--glass-border);
    padding: 2.5rem;
    max-width: 680px;
    width: 100%;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    color: var(--white);
    box-shadow: var(--shadow);
}

.deptx-glass-box ul {
    margin-top: 1rem;
}

.deptx-glass-box li {
    margin-bottom: 0.7rem;
    font-size: 1rem;
}

/* ======================================
   5) Scroll Strip
====================================== */
.deptx-scroll-strip {
    padding: 3rem 1.5rem;
}

.deptx-scroll-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.deptx-scroll-item {
    min-width: 260px;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.deptx-scroll-item:hover {
    transform: translateY(-6px);
}

.deptx-scroll-item h3 {
    color: var(--primary-dark);
}

.deptx-scroll-item p {
    color: var(--muted);
}

/* ======================================
   RESPONSIVE 375px
====================================== */
@media (max-width: 375px) {
    .deptx-split-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .deptx-z {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ======================================
   RESPONSIVE 320px
====================================== */
@media (max-width: 320px) {
    .deptx-title {
        font-size: 1.6rem;
    }

    .deptx-step {
        min-width: 200px;
        padding: 1.4rem;
    }

    .deptx-scroll-item {
        min-width: 220px;
    }
}




.doctorFloat-section {
    padding: 30px 7%;
}

.doctorFloat-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.doctorFloat-left h2 {
    font-size: 42px;
    color: var(--primary-dark);
}

.doctorFloat-left p {
    margin: 15px 0;
    color: var(--muted);
}

.doctorFloat-left ul li {
    list-style: none;
    margin-bottom: 10px;
}

.doctorFloat-left i {
    color: var(--primary);
    margin-right: 8px;
}

.doctorFloat-right {
    position: relative;
}

.doctorFloat-right img {
    width: 380px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.badge-one,
.badge-two {
    position: absolute;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    box-shadow: var(--shadow);
}

.badge-one {
    top: 15px;
    right: -20px;
}

.badge-two {
    bottom: 20px;
    left: -20px;
}

/* ---------------------------------------------------
   🌈 Section 2 — Vertical Timeline
--------------------------------------------------- */
/* 🌈 Doctor Journey Path */
.doctorPath-section {
    padding: 80px 7%;
    background: var(--bg);
    position: relative;
}

.doctorPath-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--primary-dark);
}

/* Wrapper with diagonal wave line */
.doctorPath-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* Connective diagonal line using pseudo element */
.doctorPath-wrapper::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    left: 50%;
    top: 0;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 10px;
    transform: translateX(-50%);
}

/* Steps */
.doctorPath-step {
    position: relative;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

/* Dot */
.step-dot {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border: 4px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(12, 124, 213, 0.4);
    position: relative;
    z-index: 2;
}

/* Content */
.step-content {
    background: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 380px;
    margin-left: 40px;
    position: relative;
}

/* Alternate step layout */
.doctorPath-step.step2 .step-content,
.doctorPath-step.step4 .step-content {
    margin-left: 0;
    margin-right: 40px;
}

.doctorPath-step.step2,
.doctorPath-step.step4 {
    flex-direction: row-reverse;
}

/* Dot hover effect */
.step-dot:hover {
    transform: scale(1.4);
    box-shadow: 0 0 30px var(--accent);
}

/* Fade-in animation */
.doctorPath-step.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.doctorPath-step {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {

    .doctorPath-step,
    .doctorPath-step.step2,
    .doctorPath-step.step4 {
        flex-direction: row !important;
    }

    .step-content {
        margin-left: 40px !important;
        margin-right: 0 !important;
        max-width: 100%;
    }

    .doctorPath-wrapper::before {
        left: 20px;
    }

    .step-dot {
        left: 0 !important;
    }
}

@media (max-width: 375px) {
    .doctorPath-title {
        font-size: 32px;
    }

    .step-content {
        padding: 18px;
        font-size: 14px;
    }

    .step-dot {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 320px) {
    .doctorPath-title {
        font-size: 28px;
    }
}

/* ---------------------------------------------------
   🔷 Section 3 — Wavy Split Section
--------------------------------------------------- */
.doctorWave-section {
    display: flex;
    padding: 50px 7%;
    gap: 50px;
    align-items: center;
}

.doctorWave-content h2 {
    font-size: 40px;
}

.doctorWave-content p {
    margin: 15px 0;
    color: var(--muted);
}

.doctorWave-points div {
    margin: 10px 0;
    font-size: 18px;
    color: var(--primary-dark);
}

.doctorWave-points i {
    color: var(--primary);
    margin-right: 10px;
}

.doctorWave-image img {
    width: 380px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* ---------------------------------------------------
   💠 Section 4 — Blob Shapes
--------------------------------------------------- */
.doctorBlob-section {
    padding: 50px 7%;
}

.blob-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.blob-item {
    flex: 1;
    background: var(--primary-light);
    padding: 40px;
    border-radius: 50px;
    text-align: center;
    transition: var(--transition);
}

.blob-item:hover {
    transform: translateY(-12px);
    background: var(--white);
    box-shadow: var(--shadow);
}

/* ---------------------------------------------------
   🟦 Section 5 — Stats Glow
--------------------------------------------------- */
.doctorStats-section {
    padding: 30px 2%;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-box:hover {
    transform: scale(1.08);
}

/* ---------------------------------------------------
   📱 Responsive — 375px & 320px
--------------------------------------------------- */

@media (max-width: 768px) {

    .doctorFloat-container,
    .doctorWave-section,
    .blob-container {
        flex-direction: column;
        text-align: center;
    }

    .doctorTimeline-step,
    .doctorTimeline-step:nth-child(even) {
        width: 100%;
        margin-left: 0;
    }

    .doctorTimeline-line {
        left: 20px;
    }

    .doctorTimeline-step .dot {
        left: -35px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 376px) {

    .doctorFloat-right img,
    .doctorWave-image img {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 320px) {

    .section-heading {
        font-size: 30px;
    }

    .doctorFloat-left h2,
    .doctorWave-content h2 {
        font-size: 28px;
    }

    .blob-item {
        padding: 25px;
    }

    .stat-box {
        padding: 25px;
    }
}




/* 🌟 Section 1 — Gradient Banner */
.contactBanner {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    text-align: center;
    padding: 4rem 1rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    position: relative;
    overflow: hidden;
}

.contactBanner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease forwards;
}

.contactBanner p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s 0.5s ease forwards;
}

.contactBanner .btn {
    background: var(--white);
    color: var(--primary);
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: 0.3s;
}

.contactBanner .btn:hover {
    background: var(--primary-light);
    color: var(--white);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 🌟 Section 2 — Rotating Icon Features */
.contactFeatures {
    display: flex;
    justify-content: center;
    padding: 4rem 1rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.contactFeatures .feature {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 2rem;
    border-radius: var(--radius-lg);
    width: 250px;
    text-align: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.contactFeatures .feature:hover {
    transform: rotateY(10deg) scale(1.05);
    box-shadow: var(--shadow);
}

.contactFeatures .feature .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* 🌟 Section 3 — Floating Glass Cards */
.contactGlassCards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 1rem;
    flex-wrap: wrap;
}

.contactGlassCards .glassCard {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    width: 220px;
    text-align: center;
    color: var(--primary-dark);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contactGlassCards .glassCard:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

/* 🌟 Section 4 — Curved Path Map */
.contactPathMap {
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
}

.contactPathMap .pathWrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 2rem auto 0;
}

.contactPathMap .pathStep {
    background: var(--accent);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    z-index: 10;
    transition: transform 0.4s ease;
}

.contactPathMap .pathStep:hover {
    transform: scale(1.1);
}

.contactPathMap .curvedPath {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 🌟 Section 5 — Testimonials Slider */
.contactTestimonials {
    padding: 4rem 1rem;
    background: var(--primary-light);
    text-align: center;
}

.contactTestimonials .testiWrapper {
    position: relative;
    overflow: hidden;
    max-width: 600px;
    margin: 2rem auto 0;
}

.contactTestimonials .testiItem {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contactTestimonials .testiItem.active {
    display: block;
    opacity: 1;
}

.contactTestimonials h2 {
    margin-bottom: 2rem;
}

.contactTestimonials p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.contactTestimonials h4 {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Responsive 320px */
@media (max-width: 376px) {

    .contactFeatures,
    .contactGlassCards {
        flex-direction: column;
        align-items: center;
    }

    .contactFeatures .feature,
    .contactGlassCards .glassCard {
        width: 80%;
    }

    .contactBanner h2 {
        font-size: 1.5rem;
    }

    .contactBanner p {
        font-size: 1rem;
    }

    .contactPathMap .pathStep {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
}




/* 🌟 Section 2 — Rotating Icon Features */
.contactFeatures {
    padding: 1rem 1rem;
    text-align: center;
    border-radius: var(--radius-lg);
    margin: 2rem auto;
    max-width: 1200px;
}

.contactFeatures .section-heading {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.contactFeatures-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.contactFeatures .feature {
    background: var(--white);
    color: var(--primary-dark);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    width: 250px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contactFeatures .feature::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--primary) 0%, transparent 70%);
    opacity: 0.15;
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.contactFeatures .feature:hover::before {
    opacity: 0.3;
    transform: rotate(0deg);
}

.contactFeatures .feature:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 60px rgba(12, 124, 213, 0.25);
}

.contactFeatures .feature .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
    animation: rotateIcon 5s linear infinite;
}

@keyframes rotateIcon {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* 🌟 Section 3 — Interactive Map */
.contactMap {
    padding: 2rem 1rem;
    text-align: center;
}

.contactMap .section-heading {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.contactMap .mapWrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contactMap iframe {
    width: 100%;
    height: 400px;
    border: 0;
    transition: transform 0.4s ease;
}

.contactMap iframe:hover {
    transform: scale(1.02);
}

/* Responsive down to 320px */
@media (max-width: 375px) {
    .contactFeatures-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contactFeatures .feature {
        width: 80%;
    }

    .contactMap iframe {
        height: 250px;
    }
}




.hosp-ctaGlow {
    margin-top: 20px;
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(12, 124, 213, 0.4);
    transition: 0.3s ease;
    display: inline-block;
}

.hosp-ctaGlow:hover {
    box-shadow: 0 0 20px rgba(12, 124, 213, 0.7);
    transform: translateY(-3px);
}




/* Center the button automatically */
.hosp-pillArrow {
    margin: 20px auto 0;
    /* Centers horizontally */
    padding: 12px 34px;
    background: var(--accent);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 184, 217, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover Animation — Arrow Slides Right */
.hosp-pillArrow i {
    transition: transform 0.3s ease;
}

.hosp-pillArrow:hover i {
    transform: translateX(6px);
}

/* Button hover style */
.hosp-pillArrow:hover {
    background: #00d2f5;
    box-shadow: 0 6px 20px rgba(0, 184, 217, 0.45);
    transform: translateY(-3px);
}




.hosp-neoBtn {
    margin-top: 10px;
    padding: 14px 34px;
    border-radius: 18px;
    background: var(--primary-light);
    text-decoration: none;
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
    display: block;
    /* Makes centering easier */
    width: fit-content;
    /* Keeps the button size to its text */
    margin-left: auto;
    /* Centers horizontally */
    margin-right: auto;
    /* Centers horizontally */
    box-shadow: 6px 6px 14px #c8d8e6,
        -6px -6px 14px #ffffff;
    transition: var(--transition);
}


.hosp-neoBtn:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 10px #c8d8e6,
        -4px -4px 10px #ffffff;
}




.hosp-outlineBtn {
    margin-top: 10px;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    border-radius: 40px;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    font-size: 1rem;
    transition: var(--transition);
}

.hosp-outlineBtn:hover {
    background: var(--primary);
    color: #fff;
}