/* ===== PHYSIOHUB CSS - SRI RENGESWARAR PHYSIO HUB ===== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* CSS Variables for Healthcare Theme */
:root {
    --primary-green: #2ecc71; /* matches main site brand color */
    --secondary-green: #4caf50;
    --light-green: #e8f5e8;
    --dark-green: #1b5e20;
    --accent-green: #66bb6a;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION BAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
    box-shadow: none;
    border: none !important;
    outline: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10);
    padding: 0.55rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.1rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    font-size: 0.88rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.navbar.scrolled .nav-link {
    color: var(--dark-gray);
}

.nav-link:hover {
    color: var(--primary-green);
    background: none;
    transform: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    width: auto;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.25rem;
    border-radius: 4px;
}

.bar {
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .bar {
    background: var(--dark-gray);
}

.hamburger.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 76, 42, 0.88), rgba(0, 0, 0, 0.50));
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Hero "Book Appointment" button — sky blue with dark maroon text */
.btn-hero-appointment {
    background: #87CEEB;
    color: #800000;
    border-color: #87CEEB;
}
.btn-hero-appointment:hover {
    background: #5bb8e0;
    color: #800000;
    border-color: #5bb8e0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(135, 206, 235, 0.45);
}
.btn-hero-appointment:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(135, 206, 235, 0.30);
}

/* Hero tagline — "Redefine Life" script styling */
.hero-tagline-script {
    font-family: 'Edwardian Script ITC', 'Edwardian Script', 'Monotype Corsiva', 'Palace Script MT', cursive;
    font-size: clamp(1.4rem, 3.2vw, 2.6rem);
    color: #FFFFFF;
    font-style: normal;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: 1.1;
    display: inline-block;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.35);
}

/* About section tagline — "Redefine Life" (matches hero-tagline-script typography) */
.about-tagline-script {
    font-family: 'Edwardian Script ITC', 'Edwardian Script', 'Monotype Corsiva', 'Palace Script MT', cursive;
    font-size: clamp(1.4rem, 3.2vw, 2.6rem);
    color: #8B0000;
    font-style: normal;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: 1.1;
    display: block;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.35);
    margin-top: 10px;
    margin-bottom: 0;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* ===== SECTION STYLING ===== */
section {
    padding: 50px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(0.85rem, 1.7vw, 1.2rem);
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: var(--secondary-green);
    border-radius: 2px;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    font-weight: 300;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--light-gray);
}

.about-description {
    max-width: 860px;
    margin: 0 auto 2rem;
    text-align: center;
}

.about-description p {
    color: var(--medium-gray);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.about-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-green);
    /* Flex column so icon → heading → text stack, text always starts same spot */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.about-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-green);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    /* Fixed height so description always starts at same vertical position */
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card p {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 0.95rem;
    /* Push text to fill remaining space so cards stretch equally */
    flex: 1;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 280px));
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
    align-items: stretch;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-green);
}

.service-img-wrap {
    width: 120px;
    height: 90px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
    border: 2px solid var(--light-green);
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.06);
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    /* Fixed min-height so titles align at the same vertical position across all cards */
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: center;
    width: 100%;
}

.service-features {
    list-style: none;
    width: 100%;
    text-align: center;
}

.service-features li {
    padding: 0.4rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.service-features li::before {
    content: '✓';
    position: static;
    color: var(--primary-green);
    font-weight: bold;
    flex-shrink: 0;
}

/* ===== FACILITIES SECTION ===== */
.facilities-section {
    background: var(--light-gray);
}

.facilities-section .container {
    padding-left: 2rem;
    padding-right: 2rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.facility-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.facility-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.07);
}

.facility-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.facility-content h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.facility-content p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.facility-features {
    list-style: none;
}

.facility-features li {
    padding: 0.3rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.facility-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* ===== SPECIALISTS SECTION ===== */
.specialists-section {
    background: var(--white);
}

.specialists-section .container {
    max-width: 1100px;
    padding-left: 8px;
    padding-right: 8px;
}

.specialists-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.specialist-card {
    width: 260px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.specialist-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-heavy);
}

.specialist-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #2ecc71;
    padding: 4px;
    background: #fff;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(46, 204, 113, 0.28);
    overflow: hidden;
    transition: var(--transition);
    flex-shrink: 0;
}

.specialist-card:hover .specialist-image {
    border-color: var(--dark-green);
    box-shadow: 0 8px 28px rgba(46, 204, 113, 0.38), 0 4px 12px rgba(0, 0, 0, 0.10);
}

.specialist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    display: block;
}

.specialist-info h3 {
    color: var(--primary-green);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.specialist-title {
    color: var(--secondary-green);
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.specialist-qualifications,
.specialist-experience {
    text-align: left;
    margin-bottom: 1.5rem;
}

.specialist-qualifications h4,
.specialist-experience h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.specialist-qualifications ul {
    list-style: none;
    padding-left: 1rem;
}

.specialist-qualifications li {
    padding: 0.2rem 0;
    color: var(--dark-gray);
    position: relative;
}

.specialist-qualifications li::before {
    content: '🎓';
    position: absolute;
    left: -1.5rem;
}

.specialist-qualifications li.heart-lung-item::before {
    content: '🫁';
}

.specialist-experience p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}/* ===== AP
POINTMENT SECTION ===== */
.appointment-section {
    background: var(--light-gray);
}

.appointment-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.appointment-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.appointment-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(44, 122, 44, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Optional field label */
.form-field-optional {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--medium-gray);
}

/* File upload field */
.file-upload-wrapper {
    position: relative;
}

.file-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    border: 2px dashed #e9ecef;
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
    font-size: 1rem;
    color: var(--medium-gray);
    transition: var(--transition);
    font-weight: 400;
}

.file-upload-label i {
    font-size: 1.2rem;
    color: var(--primary-green);
    flex-shrink: 0;
}

.file-upload-input:focus + .file-upload-label,
.file-upload-label:hover {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(44, 122, 44, 0.1);
    transform: translateY(-2px);
    color: var(--dark-gray);
}

.file-upload-hint {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-top: 0.4rem;
    line-height: 1.5;
}

/* ================================================================
   PRO CARDS — Working Hours & Emergency Contact
================================================================ */
.appointment-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Card shell ── */
.pro-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    background: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.pro-card:hover {
    box-shadow: 0 14px 40px rgba(0,0,0,0.14);
    transform: translateY(-2px);
}

/* ── Card header ── */
.pro-card__head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.4rem;
    position: relative;
}
.pro-card__head--green {
    background: linear-gradient(120deg, #1a7a3c 0%, #2ecc71 100%);
    color: #fff;
}
.pro-card__head--red {
    background: linear-gradient(120deg, #b71c1c 0%, #ef5350 100%);
    color: #fff;
}

.pro-card__head-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.pro-card__head-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.2;
}
.pro-card__head-sub {
    font-size: 0.72rem;
    opacity: 0.82;
    margin-top: 0.15rem;
    font-weight: 400;
}

/* 24/7 pill in emergency header */
.pro-card__badge-247 {
    margin-left: auto;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.40);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Card body ── */
.pro-card__body {
    padding: 0;
}

/* ── Working Hours rows ── */
.wh-service-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.4rem;
}

.wh-divider-line {
    height: 1px;
    background: #f0f2f5;
    margin: 0 1.4rem;
}

.wh-service-pill {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}
.wh-service-pill--green {
    background: #e8f5e9;
    color: #1a7a3c;
}
.wh-service-pill--blue {
    background: #e3f2fd;
    color: #1565c0;
}

.wh-service-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}
.wh-service-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
}
.wh-service-desc {
    font-size: 0.7rem;
    color: #9e9e9e;
}

.wh-service-time--always {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a7a3c;
    background: #e8f5e9;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
}
.wh-service-time--always i {
    font-size: 0.7rem;
}

.wh-op-schedule {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-shrink: 0;
    text-align: right;
}
.wh-op-row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.05rem;
}
.wh-op-day {
    font-size: 0.68rem;
    color: #9e9e9e;
    font-weight: 500;
}
.wh-op-time {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a1a2e;
}
.wh-op-row--closed .wh-op-day { color: #bdbdbd; }
.wh-op-time--closed {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ef5350;
}

/* ── Emergency Contact phone list ── */
.pro-card__body--phones {
    padding: 0.5rem 0 0.75rem;
}

.phone-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.4rem;
    text-decoration: none;
    transition: background 0.18s ease;
    border-bottom: 1px solid #fafafa;
}
.phone-row:last-child { border-bottom: none; }
.phone-row:hover {
    background: #fff5f5;
}
.phone-row:hover .phone-row__icon {
    color: #ef5350;
    transform: translateX(3px);
}

.phone-row__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef5350, #b71c1c);
    flex-shrink: 0;
}

.phone-row__num {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: 0.03em;
    font-family: 'Courier New', Courier, monospace;
}

.phone-row__icon {
    font-size: 0.65rem;
    color: #bdbdbd;
    transition: color 0.18s ease, transform 0.18s ease;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .pro-card__head { padding: 1rem; gap: 0.7rem; }
    .pro-card__badge-247 { display: none; }
    .wh-service-row { padding: 0.9rem 1rem; gap: 0.75rem; }
    .wh-divider-line { margin: 0 1rem; }
    .phone-row { padding: 0.7rem 1rem; }
    .phone-row__num { font-size: 0.85rem; }
}

.patient-support ul {
    list-style: none;
}

.patient-support li {
    padding: 0.3rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
}

.patient-support li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 250px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(44, 122, 44, 0.9));
    color: var(--white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-button {
    text-align: center;
    margin-top: 3rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.95);
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: #ffc107;
    font-size: 1.1rem;
}

.testimonial-content p {
    color: var(--dark-gray);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-green);
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: var(--light-green);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.contact-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map-container iframe {
    border-radius: var(--border-radius);
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-green);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-green);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--secondary-green);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll animations */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (min-width: 1200px) {
    .container { max-width: 1400px; }
    .hero-title { font-size: 4.5rem; }
    .section-title { font-size: 1.5rem; }
}

/* Desktop 992–1199 */
@media (max-width: 1199px) {
    .container { max-width: 960px; }
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 280px));
        justify-content: center;
    }
}

/* Tablet 768–991 — right-slide sidebar matching home page */
@media (max-width: 991px) {
    .container { max-width: 720px; padding: 0 15px; }
    .facilities-section .container { padding-left: 15px; padding-right: 15px; }
    .specialists-section .container { padding-left: 8px; padding-right: 8px; }

    /* Override conflicting nav — defer to responsive.css right-slide pattern */
    .nav-menu {
        position: fixed;
        top: 0 !important;
        left: auto !important;
        right: -100% !important;
        width: min(85vw, 300px) !important;
        height: 100vh !important;
        background: #fff !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding: 1.25rem 1.5rem 2rem !important;
        gap: 0 !important;
        backdrop-filter: none !important;
        transition: right .35s ease !important;
        box-shadow: -4px 0 30px rgba(0,0,0,.15) !important;
    }
    .nav-menu.open { right: 0 !important; left: auto !important; }
    .nav-menu li { margin: 0 !important; }
    .nav-link {
        color: #1a1a2e !important;
        font-size: 0.95rem !important;
        padding: .75rem 1rem !important;
        width: 100% !important;
        min-height: 44px !important;
    }
    .hamburger { display: flex; }

    .hero-section { height: 80vh; background-attachment: scroll; }
    .hero-content { padding: 1.5rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 200px; }

    section { padding: 3.5rem 0; }

    .about-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .services-grid { grid-template-columns: minmax(0, 280px); gap: 1.5rem; justify-content: center; }
    .facilities-grid { grid-template-columns: repeat(2, 1fr); }
    .specialists-grid { gap: 1rem; }
    .specialist-card { width: calc(50% - 0.5rem); }
    .appointment-content { grid-template-columns: 1fr; gap: 2rem; }
    .contact-content { grid-template-columns: 1fr; gap: 2rem; }
    .contact-info { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
}

/* Mobile Large 576–767 */
@media (max-width: 767px) {
    .container { max-width: 100%; padding: 0 1rem; }
    .facilities-section .container { padding-left: 1rem; padding-right: 1rem; }

    .logo-text { font-size: 0.9rem !important; }

    .hero-section { height: 70vh; }
    .hero-content { padding: 1rem; }
    .hero-title { font-size: 2.2rem; line-height: 1.2; }
    .hero-subtitle { font-size: 1rem; }

    section { padding: 3rem 0; }
    .section-title { font-size: clamp(1.2rem, 4vw, 1.6rem); }
    .section-subtitle { font-size: 1rem; }

    .about-grid { grid-template-columns: 1fr; }
    .about-card h3 { min-height: auto; }
    .about-card { padding: 1.2rem; }

    .services-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .service-card { padding: 1.5rem; }
    .service-card h3 { min-height: auto; font-size: 1.2rem; }

    .facilities-grid { grid-template-columns: 1fr; }
    .facility-card .facility-content { padding: 1.25rem; }

    .specialist-card { width: 100%; max-width: 340px; padding: 1rem 0.85rem; }
    .specialists-grid { gap: 0.75rem; }

    .appointment-form-container { padding: 1.5rem; }
    .contact-info { grid-template-columns: 1fr; }
    .contact-card { padding: 1.5rem; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .gallery-item { height: 180px; }

    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 1.25rem; }

    .footer { padding: 2rem 0 1rem; }
    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-section { text-align: center; }
    .social-links { justify-content: center; }
    .footer-legal { justify-content: center; flex-wrap: wrap; }
    .back-to-top { bottom: 1.25rem; right: 1.25rem; width: 44px; height: 44px; }
}

/* Mobile Small ≤ 575 */
@media (max-width: 575px) {
    .container { padding: 0 0.875rem; }
    .logo-text { font-size: 0.82rem !important; }

    .hero-section { height: 60vh; }
    .hero-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .hero-subtitle { font-size: 0.95rem; }
    .btn { padding: 10px 22px; font-size: 0.9rem; width: auto; min-width: 160px; }

    section { padding: 2.5rem 0; }
    .section-title { font-size: clamp(1.1rem, 4.5vw, 1.5rem); }

    .about-card, .service-card, .specialist-card, .testimonial-card { padding: 1rem; }
    .about-icon { width: 54px; height: 54px; font-size: 1.4rem; }
    .specialist-image { width: 88px; height: 88px; }

    .appointment-form-container, .info-card, .contact-card { padding: 1.1rem; }
    .form-group input, .form-group select, .form-group textarea {
        padding: 10px 12px;
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .gallery-item { height: 160px; }
    .gallery-overlay { padding: 0.75rem; }
    .gallery-overlay h3 { font-size: 0.9rem; }
    .gallery-overlay p { font-size: 0.78rem; }

    .footer-logo-img { height: 40px; width: 40px; }
    .footer-logo h3 { font-size: 1rem; }
    .back-to-top { width: 40px; height: 40px; font-size: 1rem; }
}

/* Extra Small ≤ 400 */
@media (max-width: 400px) {
    .container { padding: 0 0.625rem; }
    .hero-title { font-size: clamp(1.4rem, 7vw, 1.9rem); }
    .section-title { font-size: clamp(1rem, 4.5vw, 1.35rem); }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item { height: 200px; }
    .footer-legal { gap: 0.75rem; }
}

/* Extra Small ≤ 320 */
@media (max-width: 320px) {
    .logo-text { font-size: 0.65rem !important; }
    .hero-title { font-size: 1.3rem; }
    .section-title { font-size: 1rem; }
    .btn { min-width: 130px; padding: 9px 16px; font-size: 0.85rem; }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar, .hero-section, .back-to-top, .hamburger { display: none; }
    body { font-size: 12pt; line-height: 1.4; color: #000; background: #fff; }
    .container { max-width: 100%; padding: 0; }
    section { padding: 20px 0; page-break-inside: avoid; }
    .btn, .gallery-grid, .testimonials-grid { display: none; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .hero-section { background-attachment: scroll; }
}

.nav-link:focus, .btn:focus,
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.social-link:focus, .footer-links a:focus {
    outline: 3px solid var(--primary-green);
    outline-offset: 2px;
}

.skip-link {
    position: absolute; top: -100px; left: 6px;
    background: var(--primary-green); color: var(--white);
    padding: 8px; text-decoration: none; border-radius: 4px; z-index: 10000;
}
.skip-link:focus { top: 6px; }



