/* Reset and Base Styles */

/* Body scroll prevention when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Body scroll prevention when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* MOBILE NAVIGATION - COMPLETE FIX */
@media (max-width: 768px) {
    /* Force hamburger menu to be visible and functional */
    .nav-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1002 !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 8px !important;
        padding: 8px !important;
        min-width: 45px !important;
        min-height: 45px !important;
        margin-left: auto !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 3px !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
        transition: all 0.3s ease !important;
    }
    
    /* Force hamburger bars to be visible */
    .nav-toggle .bar {
        display: block !important;
        width: 22px !important;
        height: 3px !important;
        background: white !important;
        margin: 0 !important;
        border-radius: 2px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: all 0.3s ease !important;
    }
    
    /* Force container positioning */
    .nav-container {
        position: relative !important;
        overflow: visible !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 15px !important;
    }
    
    /* Hover effect for hamburger */
    .nav-toggle:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
        transform: scale(1.05) !important;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(112, 59, 231, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #f093fb);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: rgba(26, 31, 58, 0.08);
}

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

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

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

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

.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid #f97316;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary.loading {
    position: relative;
    overflow: hidden;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
    border-color: #ea580c;
}

.btn-secondary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(71, 85, 105, 0.4);
    border-color: #334155;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border: 2px solid #25d366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-whatsapp:hover::before {
    left: 0;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    border-color: #128c7e;
}

/* Enhanced Button Styling */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.hero-buttons .btn {
    min-width: 160px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 10px 20px;
    font-size: 0.95rem;
}

.hero-buttons .btn:active {
    transform: scale(0.95);
}

/* Book Appointment Button Special Highlight */
.btn-secondary {
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 4px 15px rgba(71, 85, 105, 0.3);
    }
    100% {
        box-shadow: 0 4px 25px rgba(71, 85, 105, 0.6), 0 0 30px rgba(71, 85, 105, 0.3);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #f97316 0%, 
        #ea580c 25%, 
        #dc2626 50%, 
        #ea580c 75%, 
        #f97316 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.8;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.02);
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 0 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    min-width: 0;
    overflow: hidden;
    margin-left: -10px;
    padding: 10px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-logo:hover::before {
    left: 100%;
}

.nav-logo:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.clinic-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.registration-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.registration-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.registration-number {
    font-size: 0.7rem;
    font-weight: 600;
    color: #000000;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: inline-block;
    width: fit-content;
}

.logo-img:hover {
    transform: scale(1.05) rotate(5deg);
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-color: rgba(74, 222, 128, 0.4);
    box-shadow: 0 8px 20px rgba(74, 222, 128, 0.3);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    display: inline-block;
}

.nav-link:hover {
    color: #1e3a8a;
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(30, 58, 138, 0.4);
    background: #f97316;
    padding: 6px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #ff8c42;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #f97316, #ea580c);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #1e3a8a !important;
    font-weight: 700 !important;
    text-shadow: 0 0 15px rgba(30, 58, 138, 0.5) !important;
    background: #f97316 !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
    border: 1px solid #ff8c42 !important;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2) !important;
}

.nav-link.active::after {
    width: 100% !important;
    background: linear-gradient(90deg, #1e3a8a, #1e40af) !important;
    height: 4px !important;
    bottom: -6px !important;
    box-shadow: 0 0 15px rgba(30, 58, 138, 0.6) !important;
    border-radius: 2px !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hamburger Menu Animation */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    padding: 120px 0 20px;
    background: url('bg/Untitled design (1).png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.2);
    z-index: 1;
    animation: float 20s ease-in-out infinite;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    position: relative;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    100% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 99, 235, 0.5);
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #f8fafc;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(59, 130, 246, 0.2);
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    max-width: 550px;
    margin: 0 auto 1.5rem auto;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 3;
}

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

.hero-placeholder {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8rem;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: rotate 20s linear infinite;
}

.hero-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 30%, rgba(255,255,255,0.1) 70%);
    animation: pulse 3s ease-in-out infinite;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: none;
    font-weight: 700;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out forwards;
}

.section-header p {
    color: #2d1b69;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: none;
}

/* About Section */
.about {
    padding: 10px 0 40px;
    background: rgba(26, 31, 58, 0.1);
}

.about .container {
    max-width: 100%;
    padding: 0 20px;
}

/* Doctor Hero Section */
.doctor-hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0 1.5rem 0;
    padding: 1rem 0;
}

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

.doctor-hero-image {
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 0 0 4px #333,
        0 0 0 6px #fff,
        0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #f97316;
}

.doctor-hero-image:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 0 4px #333,
        0 0 0 6px #fff,
        0 25px 50px rgba(0, 0, 0, 0.4);
}

.about-content {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    animation: slideInUp 1s ease-out;
}

.about-text {
    animation: fadeInScale 1s ease-out 0.2s both;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.about-doctor-photo {
    animation: fadeInScale 1s ease-out 0.4s both;
}

.about-text h3 {
    color: #333;
    margin-bottom: 1.5rem;
}

/* About Section Main Title */
.about-main-title {
    text-align: center;
    color: #8B0000;
    margin-bottom: 0.8rem;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(139, 0, 0, 0.3);
    letter-spacing: 1px;
    position: relative;
}

.about-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8B0000, #A52A2A);
    border-radius: 2px;
}

/* About Section Subtitle */
.about-subtitle {
    text-align: center;
    color: #1a1f3a;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.about-text p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
}

.qualifications, .experience {
    margin: 0.8rem 0;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #333;
    width: 100%;
    box-sizing: border-box;
}

.qualifications h4, .experience h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.qualifications ul {
    list-style: none;
    padding: 0;
}

.qualifications li {
    margin-bottom: 0.8rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border-left: 2px solid #333;
}

.qualifications li strong {
    color: #333;
    font-weight: 600;
}

.highlight {
    color: #333;
    font-weight: 700;
}

.experience p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.stat h4 {
    font-size: 3rem;
    background: linear-gradient(135deg, #1a1f3a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.stat p {
    color: #4b5563;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin: 0;
    word-wrap: break-word;
    max-width: 100%;
}

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

.about-doctor-photo {
    width: 350px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
    border: 8px solid #333;
    box-shadow: 
        0 0 0 4px #fff,
        0 0 0 8px #333,
        0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.about-doctor-photo:hover {
    transform: scale(1.05);
}

/* Doctor Card */
.doctor-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.doctor-info {
    margin-top: 1.5rem;
}

.doctor-info h3 {
    color: #10b981;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.doctor-role {
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.doctor-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: rgba(26, 31, 58, 0.12);
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a1f3a, #2d1b69, #1a1f3a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(44, 90, 160, 0.2);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1a1f3a 0%, #2d1b69 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    animation: float 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 31, 58, 0.3);
}

.member-photo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 8s linear infinite;
}

.member-photo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: rotate 25s linear infinite;
}

.member-role {
    color: #2c5aa0;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: #666;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: rgba(26, 31, 58, 0.08);
}

.services-category {
    margin-bottom: 4rem;
}

.services-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2563eb;
    text-align: center;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 2px;
}

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

.service-card {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 50%, #fdba74 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
    transition: all 0.3s ease;
    border: 1px solid #f97316;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 280px;
    -webkit-tap-highlight-color: rgba(249, 115, 22, 0.2);
    touch-action: manipulation;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(234, 88, 12, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 31, 58, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.3);
    border-color: #ea580c;
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 50%, #f97316 100%);
}

.service-card:active {
    transform: translateY(-4px) scale(0.98);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
    transition: all 0.1s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1) rotateY(5deg);
}

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

.service-image {
    width: 100%;
    height: 160px;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.2);
    border: 2px solid rgba(249, 115, 22, 0.3);
}

.image-name-container {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(37, 99, 235, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.image-name-container:hover {
    background: rgba(37, 99, 235, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.service-card h3 {
    color: #ea580c;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-align: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.service-card p {
    color: #374151;
    line-height: 1.5;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0;
}



/* Treatments Section */
.treatments {
    padding: 80px 0;
    background: rgba(26, 31, 58, 0.1);
}

/* More Services Section */
.more-services {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 50%, #fdba74 100%);
}

.more-services-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    border: 2px solid #f97316;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.3);
    border-color: #ea580c;
    background: rgba(255, 255, 255, 1);
}

.service-item i {
    font-size: 1.5rem;
    color: #f97316;
    min-width: 30px;
    text-align: center;
}

.service-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: rgba(26, 31, 58, 0.08);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
    padding: 10px;
    border: 1px solid #e5e7eb;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    border-radius: 8px;
}

/* Special styling for images with written content */
.gallery-item.has-text .gallery-img {
    object-fit: contain;
    background: #f8fafc;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(59, 130, 246, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.treatments-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.treatments-container::before,
.treatments-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 5;
    pointer-events: none;
}

.treatments-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0.8) 50%, rgba(248, 249, 250, 0) 100%);
}

.treatments-container::after {
    right: 0;
    background: linear-gradient(90deg, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.8) 50%, rgba(248, 249, 250, 1) 100%);
}

.treatments-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.75rem 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #1a1f3a #f0f0f0;
}

.treatments-grid::-webkit-scrollbar {
    height: 8px;
}

.treatments-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.treatments-grid::-webkit-scrollbar-thumb {
    background: #1a1f3a;
    border-radius: 4px;
}

.treatments-grid::-webkit-scrollbar-thumb:hover {
    background: #2d1b69;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a1f3a 0%, #2d1b69 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(26, 31, 58, 0.3);
}

.scroll-btn:hover {
    background: linear-gradient(135deg, #2d1b69 0%, #1a1f3a 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(26, 31, 58, 0.4);
}

.scroll-left {
    left: -25px;
}

.scroll-right {
    right: -25px;
}

.treatment-card {
    background: rgba(255, 192, 203, 0.25);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 192, 203, 0.4);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    max-width: 220px;
    flex-shrink: 0;
    animation: subtleFloat 6s ease-in-out infinite;
    cursor: pointer;
    user-select: none;
}

.treatment-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.treatment-card:hover::after {
    opacity: 1;
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes expandWidth {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(112, 59, 231, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(112, 59, 231, 0.6);
    }
}

@keyframes slideInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 192, 203, 0.2), transparent);
    transition: left 0.5s ease;
}

.treatment-card:hover::before {
    left: 100%;
}

.treatment-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 192, 203, 0.3);
    border-color: rgba(255, 192, 203, 0.6);
    background: rgba(255, 192, 203, 0.4);
}

.treatment-card:hover .treatment-img {
    transform: scale(1.1);
}

.treatment-image {
    width: 100%;
    height: 120px;
    margin: 0 auto 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

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

.treatment-card h3 {
    color: #dc2626;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.treatment-card p {
    color: #666;
    line-height: 1.3;
    font-size: 0.75rem;
    margin: 0;
}

/* Treatment Overlay */
.treatment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 38, 38, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 12px;
    z-index: 10;
}

.treatment-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.treatment-overlay span {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.treatment-card:hover .treatment-overlay {
    opacity: 1;
}

/* Treatment Modal */
.treatment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.treatment-modal.show {
    opacity: 1;
    visibility: visible;
}

.treatment-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.treatment-modal.show .treatment-modal-content {
    transform: scale(1);
}

.treatment-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    z-index: 10;
}

.treatment-modal-close:hover {
    color: #dc2626;
}

.treatment-modal-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.treatment-modal-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.treatment-modal-header h2 {
    color: #dc2626;
    margin: 0;
    font-size: 1.8rem;
}

.treatment-modal-body {
    padding: 2rem;
}

.treatment-modal-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.treatment-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.treatment-modal-actions .btn {
    min-width: 150px;
}

/* Mobile Optimization for Treatment Modal */
@media (max-width: 768px) {
    .treatment-modal {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
    }

    /* Prevent body scroll when modal is open */
    body.modal-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }

    .treatment-modal-content {
        width: 95%;
        max-width: none;
        max-height: 95vh;
        margin: 0 auto;
        border-radius: 15px;
        transform: scale(0.8);
    }

    .treatment-modal.show .treatment-modal-content {
        transform: scale(1);
    }

    .treatment-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .treatment-modal-image {
        width: 100px;
        height: 100px;
        margin-bottom: 0.8rem;
    }

    .treatment-modal-header h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .treatment-modal-body {
        padding: 1.5rem;
    }

    .treatment-modal-body p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .treatment-modal-actions {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem 1.5rem;
    }

    .treatment-modal-actions .btn {
        min-width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }

    .treatment-modal-close {
        top: 10px;
        right: 15px;
        font-size: 1.8rem;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .treatment-modal-close:hover {
        background: rgba(255, 255, 255, 1);
        transform: scale(1.1);
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .treatment-modal {
        padding: 5px;
        padding-top: 15px;
    }

    .treatment-modal-content {
        width: 98%;
        max-height: 98vh;
        border-radius: 12px;
    }

    .treatment-modal-header {
        padding: 1.2rem 1.2rem 0.8rem;
    }

    .treatment-modal-image {
        width: 80px;
        height: 80px;
        margin-bottom: 0.6rem;
    }

    .treatment-modal-header h2 {
        font-size: 1.3rem;
    }

    .treatment-modal-body {
        padding: 1.2rem;
    }

    .treatment-modal-body p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .treatment-modal-actions {
        padding: 0 0.8rem 1.2rem;
        gap: 0.6rem;
    }

    .treatment-modal-actions .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .treatment-modal-close {
        top: 8px;
        right: 12px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    .treatment-modal-content {
        width: 99%;
        border-radius: 10px;
    }

    .treatment-modal-header {
        padding: 1rem 1rem 0.6rem;
    }

    .treatment-modal-image {
        width: 70px;
        height: 70px;
    }

    .treatment-modal-header h2 {
        font-size: 1.2rem;
    }

    .treatment-modal-body {
        padding: 1rem;
    }

    .treatment-modal-body p {
        font-size: 0.9rem;
    }

    .treatment-modal-actions {
        padding: 0 0.6rem 1rem;
    }

    .treatment-modal-actions .btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: url('testimonial/Untitled design (2).png') center center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}





.testimonials .section-header {
    position: relative;
    z-index: 2;
}

.testimonials .section-header h2 {
    color: #00ff88;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 50%, #00aa55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.testimonial {
    display: none;
    text-align: center;
}

.testimonial.active {
    display: block;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 2;
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.testimonial-content:hover::before {
    transform: scaleX(1);
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.stars {
    margin-bottom: 1.5rem;
}

.stars i {
    color: #1a1f3a;
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #1a1f3a;
    font-weight: 500;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dot.active {
    background: white;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    position: relative;
}



.contact .section-header {
    position: relative;
    z-index: 2;
}

.contact .section-header h2 {
    color: #1e3a8a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.contact .section-header p {
    color: #374151;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    padding: 1rem;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 20px;
    z-index: -1;
    filter: blur(20px);
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(76, 29, 149, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    transition: left 0.3s ease;
    z-index: 1;
}

.contact-icon:hover::before {
    left: 0;
}

.contact-icon i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(76, 29, 149, 0.6);
}

.contact-icon:hover i {
    transform: scale(1.2);
}

.contact-item h3 {
    color: #374151;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.contact-item p {
    color: #374151;
    margin-bottom: 0;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.2);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a1f3a, #2d1b69, #1a1f3a);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.contact-form:hover::before {
    transform: scaleX(1);
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.95);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d1b69 100%);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    touch-action: manipulation;
}

.footer-section h3:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.98);
    transition: all 0.1s ease;
}

.footer-section p {
    color: #ffffff;
    margin-bottom: 1rem;
}

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

/* Services section in footer - 2 columns on desktop */
.services-footer ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.services-footer ul li {
    margin-bottom: 0.3rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    display: block;
    -webkit-tap-highlight-color: rgba(76, 29, 149, 0.3);
    touch-action: manipulation;
}

.footer-section ul li a:hover {
    color: #ffffff;
    background: rgba(76, 29, 149, 0.3);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(76, 29, 149, 0.4);
}

.footer-section ul li a:active {
    background: rgba(76, 29, 149, 0.4);
    color: #ffffff;
    transform: scale(0.98);
    transition: all 0.1s ease;
    box-shadow: 0 4px 12px rgba(76, 29, 149, 0.5);
}


.contact-link {
    color: #1f2937;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    color: #374151;
    text-decoration: underline;
}

/* WhatsApp Icon Styling */
.whatsapp-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
}

.whatsapp-icon i {
    color: white !important;
}

.contact-item .whatsapp-icon:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%) !important;
    transform: scale(1.1);
}

/* Footer WhatsApp Icon */
.footer-section p .fab.fa-whatsapp {
    color: #25d366;
    font-size: 1.1rem;
}

/* Footer Contact Info Styling */
.footer-section p {
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

/* Special styling for description paragraph */
.footer-section .footer-section:first-child p:not(:first-child) {
    white-space: normal;
    line-height: 1.6;
    flex-direction: column;
    align-items: flex-start;
}

/* Clinic Description Styling */
.clinic-description {
    white-space: normal !important;
    line-height: 1.6 !important;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin-bottom: 1.5rem;
}

.footer-section p i {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.footer-section p .contact-link {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Location Link Styling */
.footer-section p .fas.fa-map-marker-alt {
    color: #e74c3c;
    font-size: 1.1rem;
}

.footer-section p .contact-link {
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    -webkit-tap-highlight-color: rgba(16, 185, 129, 0.3);
    touch-action: manipulation;
}

.footer-section p .contact-link:hover {
    color: #e74c3c;
    background: rgba(16, 185, 129, 0.1);
    transform: translateX(3px);
    transition: all 0.3s ease;
}

.footer-section p .contact-link:active {
    background: rgba(16, 185, 129, 0.2);
    transform: scale(0.98);
    transition: all 0.1s ease;
}

/* Contact Section Icons */
.contact-item .fas.fa-map-marker-alt {
    color: #e74c3c;
}

.contact-item .phone-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.contact-item .phone-icon i {
    color: white !important;
}

.contact-item .email-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
}

.contact-item .email-icon i {
    color: white !important;
}

.contact-item .whatsapp-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
}

.contact-item .whatsapp-icon i {
    color: white !important;
}

.contact-item .contact-link {
    color: #1f2937;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-item .contact-link:hover {
    color: #374151;
    text-decoration: underline;
    transform: translateX(5px);
}

/* Address Link Styling */
.address-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.address-link:hover {
    color: #10b981;
    transform: translateX(5px);
}

.address-link:hover p {
    color: #10b981;
}

.map-hint {
    display: block;
    font-size: 0.8rem;
    color: #10b981;
    font-weight: 600;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.address-link:hover .map-hint {
    opacity: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #1a1f3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    animation: glowPulse 2s ease-in-out infinite;
}

/* App Links Section */
.app-links {
    margin-top: 2rem;
    text-align: center;
}

.app-links h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.app-button {
    display: block;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.app-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.app-logo {
    height: 40px;
    width: auto;
    max-width: 140px;
    filter: brightness(1);
    transition: all 0.3s ease;
}

.app-button:hover .app-logo {
    filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Touch/Click Highlight Effect */
.app-button:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.social-link:active {
    transform: scale(0.9);
    transition: transform 0.1s ease;
}

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

/* Glow Pulse Animation */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6), 0 0 30px rgba(102, 126, 234, 0.3);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-logo {
        font-size: 1.2rem;
        gap: 8px;
        flex: 1;
        min-width: 0;
        padding: 6px 12px;
        border-radius: 20px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        margin-left: -5px;
    }

    .nav-logo .logo-img {
        width: 65px;
        height: 65px;
        flex-shrink: 0;
        border-radius: 50%;
        padding: 5px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
        border: 2px solid rgba(255, 255, 255, 0.15);
        object-fit: contain;
        object-position: center;
    }

    .nav-logo .clinic-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
        font-size: 1.2rem;
    }
    
    .registration-info {
        display: none;
    }

    .nav-container {
        padding: 0 10px 0 0px;
        justify-content: space-between;
        align-items: center;
        min-height: 70px;
    }

    /* Hamburger menu is now handled by the main mobile navigation fix above */

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #1a1f3a 0%, #2d1b69 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 1000;
        backdrop-filter: blur(20px);
        padding: 2rem 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

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

    .nav-menu .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
        min-width: 200px;
        text-align: center;
        color: white;
    }

    .nav-menu .nav-link:hover {
        background: rgba(249, 115, 22, 0.2);
        border-color: #f97316;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
        color: #1e3a8a;
    }

    .nav-menu .nav-link.active {
        background: #f97316 !important;
        border-color: #ff8c42 !important;
        color: #1e3a8a !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4) !important;
        font-weight: 700 !important;
    }

    /* Mobile Menu Overlay */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: -1;
    }

    /* Close button for mobile menu */
    .nav-menu::after {
        content: '×';
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        font-weight: bold;
        z-index: 1001;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Enhanced mobile navigation */
    .nav-menu .nav-link::after {
        display: none;
    }

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

    /* Mobile menu entrance animation */
    .nav-menu.active .nav-link {
        animation: slideInFromLeft 0.5s ease-out forwards;
        opacity: 0;
        transform: translateX(-50px);
    }

    /* Hamburger menu styling is now handled by the main mobile navigation fix */

    /* Mobile navigation improvements */
    .nav-menu {
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    }

    .nav-menu .nav-link {
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        font-size: 1.1rem;
        -webkit-tap-highlight-color: rgba(249, 115, 22, 0.3);
        touch-action: manipulation;
    }

    .nav-menu .nav-link:active {
        transform: scale(0.95);
        background: rgba(249, 115, 22, 0.4) !important;
        transition: all 0.1s ease;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }

    /* Mobile navigation close button */
    .nav-menu::after {
        content: '✕';
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
        color: white;
        cursor: pointer;
        font-weight: bold;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.1);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }

    .nav-menu::after:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
        transform: scale(1.1);
    }

    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu.active .nav-link:nth-child(6) { animation-delay: 0.6s; }

    @keyframes slideInFromLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

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

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

    /* Hero Section */
    .hero-container {
        text-align: center;
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 1rem;
        margin: 0 auto 1.5rem auto;
        width: 100%;
        max-width: 500px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        line-height: 1.6;
        box-sizing: border-box;
        text-align: center;
    }

    .hero-placeholder {
        width: 300px;
        height: 300px;
        font-size: 6rem;
    }

    /* Hero Buttons */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .hero-buttons .btn {
        min-width: 180px;
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }

    /* About Section */
    .about-content {
        width: 100%;
        padding: 0;
        text-align: center;
    }
    
    .about .container {
        padding: 0 15px;
    }
    
    .doctor-hero-section {
        margin: 0.8rem 0 1.2rem 0;
        padding: 0.8rem 0;
    }
    
    .doctor-hero-image {
        width: 200px;
        height: 250px;
    }

    .qualifications, .experience {
        margin: 0.8rem 0;
        padding: 0.8rem;
    }

    .qualifications h4, .experience h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat {
        padding: 2rem 1rem;
        min-height: 140px;
    }
    
    .stat h4 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }

    .about-main-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

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

    /* Services Section */
    .services-category {
        margin-bottom: 2.5rem;
    }

    .category-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

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

    .service-card {
        padding: 1.2rem;
        margin: 0 0.5rem;
        min-height: 250px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-image {
        height: 140px;
    }

    /* Treatments Section */
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* More Services Section */
    .more-services {
        padding: 40px 0;
    }
    
    .services-list {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .service-item {
        padding: 1.2rem 1.5rem;
        gap: 0.8rem;
    }
    
    .service-item i {
        font-size: 1.3rem;
        min-width: 25px;
    }
    
    .service-item span {
        font-size: 1rem;
    }

    /* Gallery Section */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }

    .gallery-item {
        border-radius: 12px;
        padding: 8px;
    }

    .gallery-img {
        height: 200px;
    }
    
    .gallery-item.has-text .gallery-img {
        object-fit: contain;
        background: #f8fafc;
    }

    .gallery-overlay i {
        font-size: 2rem;
    }

    .treatment-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .treatment-card h3 {
        font-size: 1.4rem;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-info {
        gap: 1rem;
        padding: 0;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        gap: 1rem;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        margin: 0 auto 1rem;
        max-width: 100%;
        justify-content: center;
        align-items: center;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }

    .contact-item h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }

    .contact-item p {
        font-size: 1.1rem;
        line-height: 1.5;
        word-wrap: break-word;
        text-align: center;
    }

    .contact-form {
        padding: 1.5rem;
        margin: 0;
        border-radius: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    /* Services footer - single column on mobile */
    .services-footer ul {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .footer-section {
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Floating Buttons */
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* General Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 10px;
    }

    .about, .team, .services, .treatments, .more-services, .gallery, .testimonials, .contact {
        padding: 10px 0 30px;
    }

    /* More Services Section */
    .more-services {
        padding: 30px 0;
    }
    
    .service-item {
        padding: 1rem 1.2rem;
        gap: 0.7rem;
    }
    
    .service-item i {
        font-size: 1.2rem;
        min-width: 22px;
    }
    
    .service-item span {
        font-size: 0.95rem;
    }

    /* Gallery Section */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .gallery-img {
        height: 180px;
    }
    
    .gallery-item.has-text .gallery-img {
        object-fit: contain;
        background: #f8fafc;
    }

    .gallery-overlay i {
        font-size: 1.8rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    /* Hero Section */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0.8rem;
        margin: 0 auto 1.2rem auto;
        width: 100%;
        max-width: 400px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        line-height: 1.6;
        box-sizing: border-box;
        text-align: center;
    }

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

    /* Hero Buttons */
    .hero-buttons .btn {
        min-width: 200px;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* About Section */
    .about-main-title {
        font-size: 1.8rem;
    }

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

    .doctor-hero-image {
        width: 180px;
        height: 220px;
    }

    /* Services Section */
    .services-category {
        margin-bottom: 2rem;
    }

    .category-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .service-card {
        padding: 1rem;
        margin: 0 0.3rem;
        min-height: 220px;
    }

    .service-card h3 {
        font-size: 1rem;
    }
    
    .service-image {
        height: 120px;
    }

    /* Treatments Section */
    .treatment-card {
        padding: 1.2rem;
        margin: 0 0.5rem;
    }

    .treatment-card h3 {
        font-size: 1.3rem;
    }

    .treatment-image {
        height: 90px;
    }

    /* Contact Section */
    .contact-content {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
        gap: 0.8rem;
        margin: 0 auto 0.8rem;
        max-width: 100%;
        justify-content: center;
        align-items: center;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .contact-item h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .contact-item p {
        font-size: 1rem;
        text-align: center;
    }

    .contact-form {
        padding: 1.2rem;
        margin: 0;
        border-radius: 12px;
    }

    /* Contact Section Header Mobile */
    .contact .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .contact .section-header p {
        font-size: 1.1rem;
        padding: 0 1rem;
        text-align: center;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    /* Navigation */
    .nav-menu {
        top: 60px;
        padding: 1.5rem 0;
    }

    /* Floating Buttons */
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }

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

    /* Scroll Buttons */
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .scroll-left {
        left: -20px;
    }

    .scroll-right {
        right: -20px;
    }

    /* Container and Spacing */
    .container {
        padding: 0 10px;
    }
    
    .about .container {
        padding: 0 10px;
    }

    .hero {
        padding: 80px 0 5px;
    }

    .about, .team, .services, .treatments, .more-services, .gallery, .testimonials, .contact {
        padding: 5px 0 20px;
    }

    /* More Services Section */
    .more-services {
        padding: 25px 0;
    }
    
    .service-item {
        padding: 0.8rem 1rem;
        gap: 0.6rem;
    }
    
    .service-item i {
        font-size: 1.1rem;
        min-width: 20px;
    }
    
    .service-item span {
        font-size: 0.9rem;
    }

    /* Gallery Section */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 1.2rem;
    }

    .gallery-img {
        height: 160px;
    }
    
    .gallery-item.has-text .gallery-img {
        object-fit: contain;
        background: #f8fafc;
    }

    .gallery-overlay i {
        font-size: 1.5rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .section-header p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    /* Stats Cards */
    .stat {
        padding: 1.5rem 1rem;
        min-height: 120px;
    }

    .stat h4 {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }

    .stat p {
        font-size: 0.8rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Touch Optimizations */
    .btn, .service-card, .treatment-card, .contact-item {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Footer Mobile Touch Enhancements */
    .footer-section ul li a {
        padding: 8px 10px;
        margin: 2px 0;
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        max-width: 100%;
        box-sizing: border-box;
        display: block;
    }

    .footer-section p .contact-link {
        padding: 6px 8px;
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        max-width: 100%;
        box-sizing: border-box;
    }

    .footer-section h3 {
        padding: 8px 10px;
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Footer Logo and Clinic Name Mobile Fixes */
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .footer-logo span {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        max-width: 100%;
        box-sizing: border-box;
        line-height: 1.3;
    }

    .clinic-description {
        font-size: 0.85rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Mobile Treatment Card Enhancements */
    .treatment-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        transition: all 0.3s ease;
    }

    .treatment-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .treatment-card .treatment-overlay {
        opacity: 0.8;
        background: rgba(220, 38, 38, 0.8);
    }

    .treatment-card:active .treatment-overlay {
        opacity: 1;
        background: rgba(220, 38, 38, 0.9);
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

        /* Better text readability on small screens */
    p, li {
        line-height: 1.6;
        font-size: 0.95rem;
    }

    /* Mobile-specific optimizations */
    .service-card, .treatment-card, .contact-item {
        margin-bottom: 1rem;
    }

    /* Ensure proper spacing on mobile */
    .section-header {
        margin-bottom: 1.5rem;
    }

    /* Mobile button optimizations */
    .btn {
        min-height: 44px; /* Minimum touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Very small mobile devices */
    @media (max-width: 360px) {
        .hero-title {
            font-size: 1.6rem;
            padding: 0 1rem;
            box-sizing: border-box;
            text-align: center;
            line-height: 1.4;
        }

        .hero-subtitle {
            font-size: 0.9rem;
            padding: 0.6rem;
            max-width: 350px;
            margin: 0 auto 1rem auto;
            box-sizing: border-box;
            text-align: center;
            line-height: 1.5;
        }

        .hero-buttons .btn {
            min-width: 160px;
            padding: 0.6rem 1rem;
            font-size: 0.85rem;
        }

        .nav-logo .clinic-name {
            max-width: 150px;
            font-size: 1rem;
        }
        
        .registration-info {
            display: none;
        }

        /* Contact Section - Very Small Mobile */
        .contact .section-header h2 {
            font-size: 2rem;
            text-align: center;
        }

        .contact .section-header p {
            font-size: 1rem;
            text-align: center;
        }

        .contact-item {
            padding: 0.8rem;
            gap: 0.6rem;
            margin: 0 auto;
            max-width: 100%;
            justify-content: center;
            align-items: center;
        }

        .contact-icon {
            width: 40px;
            height: 40px;
        }

        .contact-item h3 {
            font-size: 1.1rem;
            text-align: center;
        }

        .contact-item p {
            font-size: 0.95rem;
            text-align: center;
        }

        .contact-form {
            padding: 1rem;
        }

        .nav-logo .logo-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            padding: 4px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            object-fit: contain;
            object-position: center;
        }

        /* Hamburger menu styling is handled by the main mobile navigation fix */
    }
}

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

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.floating-btn:nth-child(2) {
    animation-delay: 1.5s;
}

.call-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.call-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.floating-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid rgba(0, 0, 0, 0.8);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-5px);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsiveness for Floating Buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .floating-tooltip {
        display: none;
    }
}

/* Ripple Effect for Floating Buttons */
.floating-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Animations and Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.rotate {
    animation: rotate 20s linear infinite;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success/Error messages */
.message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
