:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --header-height: 80px;
    --container-padding: 1rem;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
    padding-top: var(--header-height);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 0 var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 1002;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo p {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

/* Desktop Navigation */
.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    gap: 0;
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

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

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.nav-link i {
    font-size: 1rem;
    transition: var(--transition);
}

.nav-link:hover i,
.nav-link.active i {
    transform: scale(1.1);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.contact-btn,
.appointment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.contact-btn {
    background: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.appointment-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border: none;
}

.appointment-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
}

.appointment-btn i {
    font-size: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.bar {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 1023px) {
    .mobile-menu-btn {
        display: flex;
        margin-left: auto;
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-white);
        padding: calc(var(--header-height) + 2rem) 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: var(--shadow-xl);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        align-items: flex-end;
        gap: 2rem;
    }
    
    .nav-container.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        align-items: flex-end;
    }
    
    .nav-link {
        padding: 1rem 1.25rem;
        border-radius: var(--border-radius);
        width: 100%;
        justify-content: flex-end;
    }
    
    .nav-link::before {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color);
        background: rgba(37, 99, 235, 0.1);
        transform: translateX(8px);
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-left: 0;
        align-items: flex-end;
    }
    
    .contact-btn,
    .appointment-btn {
        width: 100%;
        justify-content: flex-end;
        padding: 1rem 1.5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }
    
    .nav-container {
        width: 90%;
        padding: calc(var(--header-height) + 1.5rem) 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .nav-container {
        width: 95%;
        padding: calc(var(--header-height) + 1rem) 1rem 1rem;
    }
    
    .contact-btn,
    .appointment-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    /* Extra small mobile gallery adjustments */
    .gallery-section {
        padding: 2rem 0;
    }
    
    .gallery-section h2 {
        font-size: 1.75rem;
    }
    
    .gallery-track {
        gap: 0.5rem;
        padding: 0 0.25rem;
    }
    
    .gallery-item {
        flex: 0 0 240px;
    }
    
    .gallery-item img {
        height: 160px;
    }
    
    .gallery-overlay {
        padding: 0.75rem 0.5rem 0.5rem;
    }
    
    .gallery-content h3 {
        font-size: 0.9rem;
    }
    
    .gallery-content p {
        font-size: 0.7rem;
    }
    
    .gallery-content i {
        font-size: 1.25rem;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.shape-divider .shape-fill {
    fill: var(--bg-white);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 4rem var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    text-align: center;
    color: var(--bg-white);
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: slideUp 1s ease-out;
}

.hero-text h1 .highlight {
    color: #1e3a8a;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideUp 1s ease-out 0.2s both;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: slideUp 1s ease-out 0.4s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--bg-white);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    animation: slideUp 1s ease-out 0.6s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 200px;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent-color), #fbbf24);
    color: var(--text-color);
    box-shadow: var(--shadow-lg);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.cta-button.secondary {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.cta-button.secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-image {
    display: none;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: visible;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex-grow: 1;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.learn-more-btn:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* Doctors Section */
.doctors-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.doctors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e2e8f0" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.doctors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

.doctor-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

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

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

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.doctor-image {
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

.doctor-avatar {
    width: 200px;
    height: 250px;
    border-radius: 15px;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: var(--transition);
}

.doctor-avatar i {
    font-size: 3rem;
    color: white;
    transition: var(--transition);
}

.doctor-card:hover .doctor-avatar {
    transform: scale(1.1);
}

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

.doctor-badge {
    display: none;
}

.doctor-info {
    text-align: center;
}

.doctor-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.doctor-specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.specialization-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.specialization-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.doctor-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.doctor-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.stat-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-container {
    position: relative;
    overflow: hidden;
    margin: 0 -1rem;
    padding: 2rem 0;
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    padding: 0 1rem;
    will-change: transform;
}

.gallery-item {
    flex: 0 0 300px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.gallery-content i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

.gallery-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--bg-white);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

.gallery-nav:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.gallery-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Gallery Styles */
@media (max-width: 768px) {
    .trendy-text {
        font-size: 1.4rem;
    }
    
    .placeholder-text.trendy-text {
        font-size: 1.8rem;
    }
    
    .placeholder-subtitle.trendy-text {
        font-size: 1.3rem;
    }
    
    .floating-card .trendy-text {
        font-size: 1.1rem;
    }
    
    .experience-badge .trendy-text {
        font-size: 1rem;
    }
    
    .experience-badge .years.trendy-text {
        font-size: 1.6rem;
    }
    
    .elegant-text {
        font-size: 0.8rem;
    }
    
    .hero-text h1.elegant-text {
        font-size: 1.5rem;
    }
    
    .hero-text p.elegant-text {
        font-size: 1rem;
    }
    
    .elegant-feature .elegant-text {
        font-size: 0.75rem;
    }
    
    .elegant-stat .stat-number.elegant-text {
        font-size: 1rem;
    }
    
    .elegant-stat .stat-label.elegant-text {
        font-size: 0.65rem;
    }
    
    .hero-stats {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem 1.5rem;
        flex: 1;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .floating-dot {
        width: 6px;
        height: 6px;
    }
    
    .service-card {
        min-height: 320px;
        padding: 2rem 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .doctors-section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .doctor-card {
        padding: 2rem 1.5rem;
    }
    
    .doctor-avatar {
        width: 150px;
        height: 180px;
    }
    
    .doctor-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .doctor-name {
        font-size: 1.5rem;
    }
    
    .specialization-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .doctor-stats {
        gap: 1rem;
    }
    
    .gallery-section {
        padding: 3rem 0;
    }
    
    .gallery-section h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .gallery-container {
        margin: 0 -0.5rem;
        padding: 1rem 0;
    }
    
    .gallery-track {
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .gallery-item {
        flex: 0 0 260px;
        border-radius: 15px;
        transform: scale(1);
    }
    
    .gallery-item img {
        height: 180px;
        width: 100%;
        object-fit: cover;
        border-radius: 15px 15px 0 0;
    }
    
    .gallery-overlay {
        padding: 1rem 0.75rem 0.75rem;
        border-radius: 0 0 15px 15px;
    }
    
    .gallery-content h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .gallery-content p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .gallery-content i {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .gallery-controls {
        margin-top: 1.5rem;
    }
    
    .gallery-nav {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature:hover i {
    transform: scale(1.1);
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.contact-info {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
}

.address-block {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.address-block p:first-child {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.address-text {
    color: var(--text-light);
    line-height: 1.6;
}

.working-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.working-hours p:first-child {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.contact-form button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

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

.footer-section a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--bg-white);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp 1s ease-out both;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out both;
}

/* New Hero Animations */
.delay-4 {
    animation-delay: 0.8s;
}

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

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

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::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;
}

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

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    animation: floatDot 4s ease-in-out infinite;
}

.dot-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.dot-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.dot-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.dot-4 {
    top: 40%;
    right: 30%;
    animation-delay: 3s;
}

@keyframes floatDot {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* Enhanced Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #60a5fa;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    animation: backgroundPulse 8s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.6;
}

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

/* Trendy Text Styles */
.trendy-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
}

.placeholder-text.trendy-text {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.placeholder-subtitle.trendy-text {
    font-size: 1.6rem;
    opacity: 0.9;
}

.floating-card .trendy-text {
    font-size: 1.4rem;
    font-weight: 700;
}

.experience-badge .trendy-text {
    font-size: 1.3rem;
}

.experience-badge .years.trendy-text {
    font-size: 2rem;
    font-weight: 900;
}

/* Elegant Text Styles - Different Design */
.elegant-text {
    font-size: 0.9rem;
    font-weight: 400;
    color: #e8e8e8;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
    text-transform: none;
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
    animation: none;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-text h1.elegant-text {
    font-size: 1.8rem;
    font-weight: 300;
    color: #f5f5f5;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    text-transform: none;
    margin-bottom: 1rem;
}

.hero-text h1.elegant-text .highlight {
    font-weight: 600;
    color: #1e3a8a;
}

.hero-text p.elegant-text {
    font-size: 1.1rem;
    color: #d1d1d1;
    font-weight: 300;
    margin-bottom: 2rem;
    font-style: italic;
}

.elegant-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.elegant-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.elegant-feature i {
    color: #4ade80;
    font-size: 0.9rem;
    margin-right: 0.8rem;
}

.elegant-feature .elegant-text {
    font-size: 0.85rem;
    color: #e0e0e0;
    font-weight: 400;
}

.elegant-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.elegant-stat:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.elegant-stat .stat-number.elegant-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 0.3rem;
    font-family: 'Poppins', sans-serif;
}

.elegant-stat .stat-label.elegant-text {
    font-size: 0.75rem;
    color: #a0a0a0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: flex-start;
        gap: 3rem;
    }
    
    .stat-card {
        padding: 2rem 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .trendy-text {
        font-size: 2.2rem;
    }
    
    .placeholder-text.trendy-text {
        font-size: 2.8rem;
    }
    
    .placeholder-subtitle.trendy-text {
        font-size: 2rem;
    }
    
    .floating-card .trendy-text {
        font-size: 1.8rem;
    }
    
    .experience-badge .trendy-text {
        font-size: 1.6rem;
    }
    
    .experience-badge .years.trendy-text {
        font-size: 2.5rem;
    }
    
    .elegant-text {
        font-size: 1rem;
    }
    
    .hero-text h1.elegant-text {
        font-size: 2.2rem;
    }
    
    .hero-text p.elegant-text {
        font-size: 1.3rem;
    }
    
    .elegant-feature .elegant-text {
        font-size: 0.95rem;
    }
    
    .elegant-stat .stat-number.elegant-text {
        font-size: 1.4rem;
    }
    
    .elegant-stat .stat-label.elegant-text {
        font-size: 0.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .nav-container {
        position: static;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        box-shadow: none;
        border: none;
        overflow: visible;
    }
    
    .nav-links {
        flex-direction: row;
        gap: 0;
        margin-bottom: 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: var(--border-radius);
    }
    
    .nav-link::before {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color);
        background: rgba(37, 99, 235, 0.1);
        transform: none;
    }
    
    .nav-buttons {
        flex-direction: row;
        gap: 1rem;
        margin-top: 0;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .hero-text {
        flex: 1;
        text-align: left;
    }
    
    .hero-image {
        display: block;
        flex: 1;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .nav-link:hover,
    .service-card:hover,
    .feature:hover {
        transform: none;
    }
}

/* Body scroll lock for mobile menu */
body.menu-open {
    overflow: hidden;
}

/* Enhanced button styles */
.cta-button,
.contact-btn,
.appointment-btn {
    position: relative;
    overflow: hidden;
}

.cta-button::before,
.contact-btn::before,
.appointment-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.cta-button:hover::before,
.contact-btn:hover::before,
.appointment-btn:hover::before {
    width: 300px;
    height: 300px;
}

@media (min-width: 768px) {
    .cta-button,
    .contact-btn,
    .appointment-btn {
        min-width: 180px;
    }
}

/* Form enhancements */
input,
textarea {
    font-family: inherit;
}

.nav-link,
.cta-button,
.contact-btn,
.appointment-btn {
    user-select: none;
}

/* Smooth scrolling container */
.scroll-container {
    scroll-behavior: smooth;
}

/* Image optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Fixed WhatsApp Button */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 16px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128c7e, #25d366);
}

.whatsapp-btn i {
    font-size: 1.5rem;
    color: white;
}

.whatsapp-text {
    white-space: nowrap;
    font-weight: 600;
}

/* WhatsApp Pulse Animation */
@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    }
}

/* Mobile WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-fixed {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        padding: 14px 18px;
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .whatsapp-btn i {
        font-size: 1.3rem;
    }
    
    .whatsapp-text {
        font-size: 0.85rem;
    }
}

/* Hide WhatsApp text on very small screens */
@media (max-width: 480px) {
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-btn {
        padding: 16px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
    
    .whatsapp-btn i {
        font-size: 1.5rem;
        margin: 0;
    }
} 