/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo-based Color Scheme */
:root {
    --primary-color: #20B2AA; /* Teal from logo */
    --secondary-color: #CD853F; /* Golden-orange/bronze from logo */
    --accent-color: #FF8C00; /* Golden-orange accent */
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --success-color: #20B2AA;
    --warning-color: #FF8C00;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(32, 178, 170, 0.1);
    animation: headerFadeIn 0.6s ease-out;
}

@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    background-color: rgba(255, 255, 255, 0.99);
}

.navbar {
    padding: 3px 0;
    transition: padding 0.3s ease;
}

.header.scrolled .navbar {
    padding: 3px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
}

.logo {
    height: 85px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-text h2 {
    color: #525252;
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.logo-text span {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-overlay {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-transform: capitalize;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
    transform: translateX(0);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
    left: 0;
    transform: translateX(0);
}

.nav-toggle {
    display: none;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-btn:hover::before {
    width: 300px;
    height: 300px;
}

.floating-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 12px 35px rgba(0, 0, 0, 0.2);
}

.floating-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.floating-btn i {
    position: relative;
    z-index: 1;
}

.floating-btn-call {
    background: linear-gradient(135deg, var(--primary-color), #1fa8a0);
}

.floating-btn-call:hover {
    background: linear-gradient(135deg, #1fa8a0, var(--primary-color));
}

.floating-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
}

/* Pulse animation for floating buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(32, 178, 170, 0.7);
    }
    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(32, 178, 170, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(32, 178, 170, 0);
    }
}

.floating-btn-call {
    animation: pulse 2s infinite;
}

.floating-btn-whatsapp {
    animation: pulse 2s infinite 1s;
}


/* Fixed Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15), 0 4px 20px rgba(32, 178, 170, 0.3);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 6px 24px rgba(32, 178, 170, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    background: #1fa8a0;
}

.mobile-menu-toggle:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 3px 12px rgba(32, 178, 170, 0.25);
}

.mobile-menu-toggle.active {
    background: #ffffff;
    border-color: rgba(32, 178, 170, 0.2);
}

.mobile-menu-toggle.active:hover {
    background: #f8f9fa;
    border-color: rgba(32, 178, 170, 0.3);
}

.mobile-menu-toggle .bar {
    width: 22px;
    height: 2px;
    background: #ffffff;
    margin: 4px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}



.mobile-menu-toggle.active .bar {
    background: var(--primary-color);
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.bar {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Home Section */
.home {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.home-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-image: url('physiotherapyRehabilitation.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.home-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.65) 100%),
        radial-gradient(ellipse at center, rgba(32, 178, 170, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-content {
    animation: fadeInLeft 1s ease-out;
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 1rem 0;
}

.home-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(32, 178, 170, 0.2);
    letter-spacing: -0.8px;
    line-height: 1.15;
    text-transform: none;
    position: relative;
    display: inline-block;
}

.home-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}

.home-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    /* font-style: italic; */
    font-size: 16px;
}

.home-doctors {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.doctor-name {
    flex: 0 0 auto;
}

.home-subtitle {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.doctor-separator {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.4rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    padding: 0 0.6rem;
    font-style: normal;
}

.home-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    letter-spacing: 0.4px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.home-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
}

.home-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
    position: relative;
    z-index: 2;
}

.hero-image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: var(--shadow-hover);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.why-choose-us .section-header h2 {
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.why-choose-us .section-header h2 i {
    color: var(--accent-color);
    font-size: 2rem;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(32, 178, 170, 0.1);
    position: relative;
    overflow: hidden;
}

.why-choose-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.why-choose-item:hover::before {
    transform: scaleX(1);
}

.why-choose-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(32, 178, 170, 0.2);
    border-color: rgba(32, 178, 170, 0.3);
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
    transition: all 0.3s ease;
}

.why-choose-item:hover .why-choose-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
}

.why-choose-icon i {
    font-size: 2rem;
    color: white;
}

.why-choose-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.why-choose-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Statistics Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem 2rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stat-item:hover::before {
    transform: translateX(100%);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.stat-item h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover h3 {
    transform: scale(1.05);
}

.stat-item p {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.4;
    white-space: nowrap;
}

/* About Section */
.about {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.doctor-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
    overflow: hidden;
    border: 1px solid rgba(32, 178, 170, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(32, 178, 170, 0.15);
    border-color: rgba(32, 178, 170, 0.2);
}

.doctor-card:hover::before {
    transform: scaleX(1);
}

.doctor-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    padding: 2.5rem;
}

.doctor-text h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.6rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    position: relative;
}

.doctor-text h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.doctor-text h4 {
    color: var(--secondary-color);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doctor-text h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.qualifications {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

.qualifications li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.6rem;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0.4rem 0;
    transition: transform 0.2s ease;
}

.qualifications li:hover {
    transform: translateX(5px);
}

.qualifications i {
    color: var(--primary-color);
    margin-right: 1rem;
    width: 22px;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.specializations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    margin-top: 0.3rem;
}

.specialization-tag {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.1), rgba(32, 178, 170, 0.05));
    color: var(--primary-color);
    padding: 0.65rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid rgba(32, 178, 170, 0.2);
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.specialization-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
}

.bio {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-weight: 400;
    letter-spacing: 0.2px;
    margin-bottom: 1.2rem;
}

.doctor-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-image-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: var(--shadow);
}

.doctor-photo {
    width: 260px;
    height: 260px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 25px rgba(32, 178, 170, 0.2);
    border: 3px solid var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
}

.doctor-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(32, 178, 170, 0.3);
    border-color: var(--accent-color);
}

.registration, .experience {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.08), rgba(32, 178, 170, 0.03));
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.3rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Gallery Section */
.gallery {
    padding: 50px 0;
    background-color: var(--background-color);
}

.gallery .section-header {
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-placeholder {
    height: 250px;
    background: linear-gradient(135deg, var(--light-gray), var(--border-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 2rem;
}

.gallery-placeholder p {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-light);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.rating {
    color: var(--warning-color);
}

/* Rating Section */
.rating-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.rating-content {
    text-align: center;
}

.rating-content h2 {
    color: white;
    margin-bottom: 2rem;
}

.rating-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.rating-stat {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.rating-stars {
    color: var(--warning-color);
    margin-bottom: 0.5rem;
}

.rating-stat p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 50px 0;
    background-color: var(--background-color);
}

.contact .section-header {
    margin-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(32, 178, 170, 0.1);
    position: relative;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1.25rem;
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-details {
    flex: 1;
    padding-top: 0.125rem;
}

.contact-details h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.contact-details p {
    color: var(--text-color);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    -webkit-tap-highlight-color: rgba(32, 178, 170, 0.3);
    cursor: pointer;
    touch-action: manipulation;
}

.contact-details a:hover {
    color: var(--accent-color);
}

.contact-details a:active {
    color: var(--accent-color);
    opacity: 0.8;
}

.contact-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(32, 178, 170, 0.1);
    position: sticky;
    top: 100px;
}

@media (max-width: 1024px) {
    .contact-form {
        position: static;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .why-choose-item {
        padding: 2rem 1.75rem;
    }
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.6rem;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background-color: #ffffff;
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(32, 178, 170, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.contact-form .btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

/* Contact Map Sections */
.contact-map {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.2);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

/* Clinic Association Note */
.clinic-note {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.08), rgba(32, 178, 170, 0.05));
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.clinic-note p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

.clinic-note p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-map-right {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-map-right:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.2);
}

.contact-map-right iframe {
    display: block;
    width: 100%;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a4d5c 0%, #2d5f6b 100%);
    color: white;
    padding: 50px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section p strong {
    color: white;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        right: -320px;
        top: 0;
        flex-direction: column;
        background: rgba(248, 249, 250, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        width: 280px;
        height: 100vh;
        text-align: left;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
        padding: 0;
        gap: 0;
        justify-content: flex-start;
        overflow-y: auto;
        z-index: 9999;
        border-left: 1px solid rgba(32, 178, 170, 0.15);
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--primary-color);
    }

    .nav-menu::after {
        content: '';
        position: absolute;
        top: 3px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--accent-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 1.5rem 2rem;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
        color: #333333;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        align-items: center;
        background: transparent;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: var(--primary-color);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .nav-link:hover {
        background-color: rgba(32, 178, 170, 0.08);
        color: var(--text-color);
    }

    .nav-link.active {
        background-color: rgba(32, 178, 170, 0.12);
        color: var(--primary-color);
        font-weight: 600;
    }

    .nav-link.active::before {
        transform: scaleY(1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .floating-buttons {
        bottom: calc(30px + 68px); /* Position above menu toggle: menu (56px) + gap (12px) = 68px */
        right: 30px;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        bottom: 30px; /* Menu toggle at the bottom (last position) */
        right: 30px;
    }

    .nav-logo {
        gap: 0.8rem;
    }

    .navbar {
        padding: 3px 0;
    }

    .logo {
        height: 60px;
    }

    .logo-text h2 {
        font-size: 1.4rem;
    }

    .logo-text span {
        font-size: 0.75rem;
    }


    .navbar {
        padding: 3px 0;
    }

    .home-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    /* Tablet View Optimizations */
    .home-title {
        font-size: 2.6rem;
        margin-bottom: 0.6rem;
        letter-spacing: -0.6px;
    }

    .home-title::after {
        width: 65px;
        height: 2.5px;
        bottom: -7px;
    }

    .home-tagline {
        font-size: 0.85rem;
        margin-top: 0.4rem;
        margin-bottom: 0.8rem;
        letter-spacing: 1.5px;
    }

    .home-doctors {
        flex-direction: column;
        gap: 0.6rem;
        margin-bottom: 1rem;
        padding: 0.6rem 0;
    }

    .doctor-separator {
        font-size: 1.2rem;
        padding: 0;
        margin: 0.2rem 0;
    }

    .home-subtitle {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .home-description {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .home-buttons {
        gap: 1rem;
        justify-content: center;
    }

    .btn {
        padding: 13px 28px;
        font-size: 0.95rem;
    }

    .stats-grid {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .stat-item {
        padding: 1.75rem 1.5rem;
        min-width: auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .stat-item h3 {
        font-size: 2.5rem;
        margin-bottom: 0.4rem;
    }

    .stat-item p {
        font-size: 0.95rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .doctor-card {
        margin-bottom: 2rem;
        border-radius: 15px;
    }

    .doctor-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .doctor-text h3 {
        font-size: 1.75rem;
        margin-bottom: 1.2rem;
        padding-bottom: 0.6rem;
    }

    .doctor-text h4 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .bio {
        font-size: 1rem;
        line-height: 1.7;
    }

    .doctor-image {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .doctor-image-placeholder {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .doctor-photo {
        width: 220px;
        height: 220px;
        margin: 0 auto;
        border-width: 3px;
    }

    .qualifications li {
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
    }

    .specializations {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.6rem;
    }

    .specialization-tag {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 38px;
    }

    .registration, .experience {
        font-size: 0.95rem;
        padding: 0.9rem 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .why-choose-us {
        padding: 60px 0;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .why-choose-item {
        padding: 2rem 1.5rem;
    }

    .why-choose-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }

    .why-choose-icon i {
        font-size: 1.75rem;
    }

    .why-choose-item h3 {
        font-size: 1.15rem;
        margin-bottom: 0.875rem;
    }

    .why-choose-item p {
        font-size: 0.9rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .rating-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
        margin-right: 1rem;
    }

    .contact-details h3 {
        font-size: 0.8rem;
    }

    .contact-details p {
        font-size: 0.9rem;
    }

    .contact-map {
        margin-top: 1.5rem;
    }

    .contact-map iframe {
        height: 250px;
    }

    .clinic-note {
        margin-top: 1.5rem;
        margin-bottom: 1.25rem;
        padding: 0.875rem 1rem;
    }

    .clinic-note p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .contact-map-right {
        margin-top: 1.25rem;
    }

    .contact-map-right iframe {
        height: 250px;
    }

    .contact-form {
        position: static;
        padding: 1.75rem 1.25rem;
    }

    .contact-form h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .form-group {
        margin-bottom: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 12px;
        font-size: 0.875rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-section {
        text-align: left;
    }

    .footer-bottom {
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .home,
    .about,
    .services,
    .gallery,
    .testimonials,
    .contact,
    .why-choose-us {
        padding: 60px 0;
    }

    .why-choose-grid {
        gap: 1.5rem;
    }

    .why-choose-item {
        padding: 1.75rem 1.25rem;
    }

    .why-choose-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 1rem;
    }

    .why-choose-icon i {
        font-size: 1.5rem;
    }

    .why-choose-item h3 {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
    }

    .why-choose-item p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    /* Mobile Header Improvements */
    .header {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar {
        padding: 3px 0;
    }

    .logo {
        height: 55px;
    }

    .logo-text h2 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .logo-text span {
        font-size: 0.65rem;
        line-height: 1.2;
    }

    .nav-logo {
        gap: 0.7rem;
    }

    /* Mobile Menu Toggle - Fixed Button */
    .mobile-menu-toggle {
        display: flex !important;
        bottom: 25px;
        right: 25px;
        width: 56px;
        height: 56px;
    }

    .floating-buttons {
        bottom: calc(40px + 54px);
        right: 25px;
        flex-direction: column;
        gap: 14px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .mobile-menu-toggle {
        bottom: 25px; /* Menu toggle at the bottom (last position) */
        right: 25px;
    }

    /* Mobile Menu */
    .nav-menu {
        position: fixed;
        right: -320px;
        top: 0;
        flex-direction: column;
        background: rgba(248, 249, 250, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        width: 280px;
        height: 100vh;
        text-align: left;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
        padding: 0;
        gap: 0;
        justify-content: flex-start;
        overflow-y: auto;
        z-index: 9999;
        border-left: 1px solid rgba(32, 178, 170, 0.15);
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--primary-color);
    }

    .nav-menu::after {
        content: '';
        position: absolute;
        top: 3px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--accent-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: transparent;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 9998;
        pointer-events: none;
    }

    .nav-overlay.active {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-link {
        padding: 1.5rem 2rem;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
        color: #333333;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        align-items: center;
        background: transparent;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: var(--primary-color);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .nav-link:hover {
        background-color: rgba(32, 178, 170, 0.08);
        color: var(--text-color);
    }

    .nav-link.active {
        background-color: rgba(32, 178, 170, 0.12);
        color: var(--primary-color);
        font-weight: 600;
    }

    .nav-link.active::before {
        transform: scaleY(1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    /* Mobile Background Image */
    .home-background {
        background-image: url('physiotherapyRehabilitationMobileView.jpg');
        background-attachment: scroll;
        background-position: center center;
    }

    .home-background::before {
        background: 
            linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.7) 100%),
            radial-gradient(ellipse at center, rgba(32, 178, 170, 0.08) 0%, transparent 70%);
    }

    /* Mobile Home Section */
    .home {
        padding: 85px 0 50px;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .home-container {
        padding: 0;
        width: 100%;
    }

    .home-content {
        padding: 1.5rem 1.5rem;
        max-width: 100%;
        text-align: left;
    }

    .home-title {
        font-size: 1.9rem;
        margin-bottom: 1rem;
        letter-spacing: -0.3px;
        line-height: 1.3;
        font-weight: 700;
        text-align: left;
        padding: 0;
        word-spacing: normal;
        color: var(--primary-color);
    }

    .home-title::after {
        width: 50px;
        height: 3px;
        bottom: -8px;
        left: 0;
        transform: translateX(0);
        background: var(--primary-color);
    }

    .home-tagline {
        font-size: 0.75rem;
        margin-top: 0.3rem;
        margin-bottom: 0.6rem;
        letter-spacing: 1px;
        text-align: left;
    }

    .home-doctors {
        flex-direction: row;
        gap: 0.5rem;
        margin-bottom: 1.3rem;
        margin-top: 0.5rem;
        padding: 0;
        align-items: baseline;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .doctor-name {
        text-align: left;
        width: auto;
        flex: 0 0 auto;
        line-height: 1.5;
    }

    .doctor-separator {
        font-size: 1rem;
        padding: 0 0.3rem;
        margin: 0;
        font-weight: 300;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.5;
    }

    .home-subtitle {
        font-size: 1.05rem;
        line-height: 1.5;
        font-weight: 600;
        text-align: left;
        letter-spacing: 0.2px;
        color: var(--secondary-color);
    }

    .home-description {
        font-size: 0.875rem;
        margin-bottom: 2rem;
        line-height: 1.7;
        padding: 0;
        text-align: left;
        max-width: 100%;
        color: rgba(255, 255, 255, 0.95);
        font-weight: 400;
    }

    .home-buttons {
        gap: 1rem;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        padding: 16px 32px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 10px;
        letter-spacing: 0.3px;
        text-align: center;
        transition: all 0.3s ease;
    }

    .btn-primary {
        box-shadow: 0 4px 20px rgba(32, 178, 170, 0.35);
    }

    .btn-secondary {
        border-width: 2px;
    }

    /* Mobile About Section */
    .about {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .doctor-card {
        margin-bottom: 2rem;
        border-radius: 12px;
    }

    .doctor-content {
        padding: 1.75rem 1.25rem;
        gap: 1.5rem;
    }

    .doctor-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .doctor-text h4 {
        font-size: 1.1rem;
        margin-top: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .bio {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .doctor-image {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .doctor-photo {
        width: 200px;
        height: 200px;
        border-width: 3px;
    }

    .qualifications li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .qualifications i {
        font-size: 1rem;
        width: 20px;
    }

    .specializations {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .specialization-tag {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 36px;
    }

    .registration, .experience {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    .service-card,
    .testimonial-card,
    .contact-form {
        padding: 1.75rem 1.25rem;
        border-radius: 12px;
    }

    .contact-form h3 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .contact-item {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        margin-right: 0.875rem;
    }

    .contact-details h3 {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .contact-details p {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 12px;
        font-size: 0.875rem;
    }

    .contact-form .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .hero-image-placeholder {
        width: 250px;
        height: 250px;
        font-size: 3rem;
    }

    .doctor-image-placeholder {
        width: 180px;
        height: 180px;
        font-size: 2.5rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .home-content {
        padding: 1.5rem 1.2rem;
    }

    .home-title {
        font-size: 1.6rem;
        padding: 0;
        line-height: 1.35;
        letter-spacing: -0.2px;
        text-align: left;
        margin-bottom: 0.9rem;
    }

    .home-title::after {
        width: 45px;
        height: 2.5px;
        left: 0;
        bottom: -7px;
    }

    .home-tagline {
        font-size: 0.7rem;
        margin-top: 0.3rem;
        margin-bottom: 0.5rem;
        letter-spacing: 0.8px;
        text-align: left;
    }

    .home-doctors {
        padding: 0;
        gap: 0.4rem;
        flex-direction: row;
        justify-content: flex-start;
        margin-bottom: 1.2rem;
        margin-top: 0.4rem;
    }

    .home-subtitle {
        font-size: 0.95rem;
        text-align: left;
        line-height: 1.5;
    }

    .doctor-separator {
        font-size: 0.9rem;
        padding: 0 0.25rem;
    }

    .home-description {
        font-size: 0.8rem;
        padding: 0;
        line-height: 1.65;
        margin-bottom: 1.8rem;
        text-align: left;
    }

    .home-buttons {
        padding: 0;
        gap: 0.9rem;
        align-items: stretch;
    }

    .btn {
        max-width: 100%;
        padding: 14px 28px;
        font-size: 0.95rem;
        border-radius: 8px;
    }
}

/* Mobile Landscape Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .home {
        padding: 80px 0 40px;
        min-height: 100vh;
    }

    .home-title {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }

    .home-doctors {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 0.6rem;
        padding: 0.3rem 0;
    }

    .home-subtitle {
        font-size: 1.1rem;
    }

    .home-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .home-buttons {
        flex-direction: row;
        gap: 0.8rem;
    }

    .btn {
        max-width: 180px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu-toggle,
    .nav-overlay,
    .btn,
    .contact-form {
        display: none;
    }

    .home {
        padding-top: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }
}
