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

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

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-tagline {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    font-style: italic;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 10px;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
}

.nav-link:hover {
    color: #38bde0;
    background: rgba(56, 189, 224, 0.1);
}

.nav-link.active {
    color: white;
    background: linear-gradient(45deg, #38bde0, #0ea5e9);
    box-shadow: 0 4px 15px rgba(56, 189, 224, 0.3);
    font-weight: 600;
}

.nav-link.active:hover {
    background: linear-gradient(45deg, #0ea5e9, #0284c7);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(5,7,28,0.85), rgba(5,7,28,0.85)), url('slider-image.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 150px 0 100px;
    margin-top: 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(56, 189, 224, 0.1), rgba(5, 7, 28, 0.1));
    z-index: 1;
}

/* Hero Contact Bar */
.hero-contact-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    animation: slideInUp 1s ease-out 1.2s both;
    opacity: 0;
    transform: translateY(50px);
}

.contact-box {
    flex: 1;
    padding: 25px 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-box h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.contact-box p {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hours-box {
    background: rgba(56, 189, 224, 0.75);
}

.phone-box {
    background: rgba(0, 0, 0, 0.5);
}

.email-box {
    background: rgba(0, 0, 0, 0.5);
}

.email-box p {
    color: #38bde0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

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

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out 0.5s both;
}

.highlight {
    color: #38bde0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1.2s ease-out 0.7s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
    animation: fadeInUp 1.2s ease-out 0.9s both;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(45deg, #38bde0, #0ea5e9);
    color: white;
    box-shadow: 0 4px 15px rgba(56, 189, 224, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0ea5e9, #0284c7);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(56, 189, 224, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.hero-image {
    display: none;
}

/* Stats Section */
.stats {
    background: #2563eb;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #bfdbfe;
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out both;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #111827;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f9fafb;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #111827;
}

.about-text p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

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

.feature-icon {
    background: #dbeafe;
    border-radius: 8px;
    color: #2563eb;
    font-size: 1.5rem;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-content h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

.feature-content p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Services Section */
.services {
    padding: 5rem 0;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-icon {
    background: #dbeafe;
    border-radius: 8px;
    color: #2563eb;
    font-size: 1.5rem;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Doctors Section */
.doctors {
    padding: 5rem 0;
    background: #f9fafb;
}

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

.doctor-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.doctor-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.doctor-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center top;
}

.doctor-info {
    padding: 1.5rem;
}

.doctor-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

.specialty {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.experience {
    color: #6b7280;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #111827;
}

.contact-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(56, 189, 224, 0.1);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: rgba(56, 189, 224, 0.3);
}

.contact-icon {
    background: linear-gradient(45deg, #38bde0, #0ea5e9);
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(56, 189, 224, 0.3);
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
    font-size: 1.1rem;
}

.contact-details p {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.map-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(56, 189, 224, 0.1);
}

.map-container h3 {
    color: #111827;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.map-wrapper iframe {
    transition: all 0.3s ease;
}

.map-wrapper:hover iframe {
    transform: scale(1.02);
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo h2 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #9ca3af;
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

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

.footer-bottom p {
    color: #9ca3af;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
    
    .logo-tagline {
        font-size: 12px;
    }
    
    .hero-contact-bar {
        flex-direction: column;
        position: relative;
        margin-bottom: 2rem;
    }
    
    .contact-box {
        padding: 15px 20px;
    }
    
    .contact-box h4 {
        font-size: 16px;
    }
    
    .contact-box p {
        font-size: 14px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-contact-bar {
        margin-bottom: 1.5rem;
    }
    
    .contact-box {
        padding: 12px 15px;
    }
    
    .contact-box h4 {
        font-size: 14px;
    }
    
    .contact-box p {
        font-size: 12px;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}