/* ===== PREMIUM MODERN STYLING ===== */

:root {
    --primary: #0a1628;
    --secondary: #d4af37;
    --accent: #00d4ff;
    --light-gray: #f5f7fa;
    --dark-gray: #2d3e50;
    --text: #1a2332;
    --text-light: #6c757d;
    --success: #4caf50;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== UPDATED STYLISH HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background: #0a1628;
    color: #fff;
    padding: 8px 0;
    font-size: 0.8rem;
    transition: all 0.4s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled .top-bar {
    margin-top: -45px;
    opacity: 0;
    pointer-events: none;
}

.main-nav {
    padding: 10px 0;
    transition: all 0.4s;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2100;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #0a1628;
    transition: all 0.3s;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #0a1628;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 30px;
        transition: right 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 2050;
    }

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

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .hamburger {
        display: flex;
    }

    .top-bar {
        display: none !important;
    }

    .header {
        position: fixed !important;
        background: #fff !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    main {
        padding-top: 70px !important;
    }

    .nav-cta {
        margin-top: 30px;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* Hamburger Active State */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Dropdown fixes for mobile */
@media (max-width: 1024px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 5px;
        border: none;
    }

    .dropdown.active > .dropdown-menu {
        display: block;
    }
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.contact-info span:hover {
    opacity: 1;
    color: var(--secondary);
}

.contact-info i {
    color: var(--secondary);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    border-color: var(--secondary);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    transition: all 0.4s;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}
.dropdown-menu li a {
    padding: 10px 25px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #0a1628;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover, 
.nav-links li.dropdown.active > a {
    color: #d4af37;
}

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(20px);
    background: #fff;
    min-width: 240px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
    border: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 1000;
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

/* Dropdown Submenu Styling */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -15px;
    margin-left: -5px; /* Slight overlap for better hover experience */
    transform: translateX(10px);
}

.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    display: block; /* Ensure it shows on hover */
}

@media (max-width: 992px) {
    .dropdown-menu, .dropdown-submenu .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        padding-left: 20px;
        background: rgba(0,0,0,0.02);
        min-width: 100%;
    }
    
    .dropdown.active > .dropdown-menu,
    .dropdown-submenu.active > .dropdown-menu {
        display: block;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2100;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #0a1628;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Responsive Header */
@media (max-width: 992px) {
    .hamburger { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        padding: 80px 40px;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        padding: 10px 20px;
        background: #f9f9f9;
        margin-top: 10px;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

/* Service Pages Fixes */
main { padding-top: 140px; }
.hero { margin-top: 0; padding-top: 60px !important; }

/* Center align CTA Section */
.cta-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cta-section .container {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 992px) { 
    main { padding-top: 100px; }
    .hero { padding-top: 40px !important; }
}


.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f0d785 100%);
    color: #0a1628;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

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

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

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-content > p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

#hero-carousel {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.carousel-slide {
    border-radius: 12px;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4) !important;
    color: white !important;
    border: none !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    font-size: 18px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(212, 175, 55, 0.8) !important;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 40px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37 0%, #00d4ff 100%);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 15px;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .service-card {
        padding: 30px 20px !important;
    }

    .section-title h2 {
        font-size: 2rem !important;
    }
}

/* Header Extra Polish */
@media (max-width: 480px) {
    .logo img {
        height: 35px !important;
    }

    .main-nav .container {
        padding: 0 10px !important;
    }

    .hamburger {
        gap: 4px !important;
    }

    .hamburger span {
        width: 22px !important;
    }
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37 0%, #00d4ff 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    flex-grow: 1;
}

.service-card strong {
    color: var(--primary);
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
    background: linear-gradient(135deg, #0a1628 0%, #1a2e42 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 100px 40px !important;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.why-choose::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.why-choose .section-title h2 {
    color: var(--secondary);
}

.why-choose .section-title h2::after {
    background: linear-gradient(90deg, #00d4ff 0%, #d4af37 100%);
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 40px 35px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.feature-box:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--secondary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.feature-box i {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

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

.feature-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.client-name {
    font-weight: 600;
    color: var(--primary);
}

/* ===== DOCTORS GRID ===== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.doctor-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s;
}

.doctor-card:hover {
    border-color: var(--secondary);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.doctor-img {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a2e42 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--secondary);
    font-size: 2.5rem;
}

.doctor-info h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.doctor-info span {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 12px;
}

.doctor-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== FORMS ===== */
.appointment-form {
    background: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.appointment-section .appointment-form {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.appointment-section .form-group label {
    color: rgba(255, 255, 255, 0.9);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
}

.appointment-section .form-control {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(212, 175, 55, 0.5);
}

.form-control::placeholder {
    color: #999;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 1);
}

/* ===== MODERN FOOTER STYLES ===== */
.footer {
    background: #0a1628;
    color: #fff;
    padding: 80px 10px 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d4af37 0%, #00d4ff 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 25px;
    filter: brightness(100);
}

.brand-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: #d4af37;
    color: #0a1628;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #d4af37;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.7rem;
    color: #d4af37;
}

.footer-links a:hover {
    color: #d4af37;
    padding-left: 8px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact i {
    color: #d4af37;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    padding:10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.developer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.developer a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.developer a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== RESPONSIVE ===== */
/* ===== ABOUT PAGE SPECIFIC ===== */
.about-hero {
    position: relative;
    margin-top: -60px; /* Offset for header transparency if needed */
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem !important;
        padding: 0 20px;
    }
    
    .about-hero p {
        font-size: 1rem !important;
        padding: 0 20px;
    }
    
    .section-title h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .top-bar .container,
    .main-nav .container {
        padding: 10px 20px;
    }

    /* nav {
        display: none;
    }
 */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 20px;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: var(--primary);
    }

    .hero .container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

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

    .contact-info {
        flex-direction: column;
        gap: 10px;
        font-size: 0.75rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .dropdown-menu {
        position: static;
        display: none;
        background: var(--light-gray);
        box-shadow: none;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .social-links {
        gap: 8px;
    }

    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 40px 15px;
    }
}

/* ===== RESPONSIVE DESIGN FOR ALL DEVICES ===== */

@media (max-width: 1024px) {
    .section { padding: 60px 20px; }
    
    .container { padding: 20px 30px; }
    
    .about-content, .about-image-luxury { grid-template-columns: 1fr; gap: 40px; }
    
    .doctors-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    
    .testimonial-carousel { padding: 0 20px; }
    
    .feature-box { padding: 30px 20px; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    
    .section { padding: 50px 0; }
    
    .container { padding: 0 15px; }
    
    .top-bar { padding: 10px 0; }
    
    .contact-info { flex-direction: column; gap: 5px; font-size: 0.7rem; }
    
    .main-nav .container { padding: 15px 0; }
    
    .logo img { max-height: 60px; }
    
    .nav-links { 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        flex-direction: column; 
        background: #fff; 
        padding: 20px 0; 
        display: none; 
        z-index: 999;
    }
    
    .nav-links.active { display: flex; }
    
    .nav-links a { padding: 15px 20px; font-size: 0.95rem; }
    
    .hamburger { display: block; cursor: pointer; font-size: 1.3rem; }
    
    .section-title h1, .section-title h2 { font-size: 1.8rem; }
    
    .section-title p { font-size: 0.95rem; }
    
    .hero-content h1 { font-size: 2rem; line-height: 1.3; }
    
    .hero-content p { font-size: 0.95rem; }
    
    .btn { font-size: 0.9rem; padding: 12px 25px; }
    
    .btn-primary { font-size: 0.9rem; }
    
    .doctors-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .service-card { padding: 20px; }
    
    .service-icon { font-size: 2.5rem; }
    
    .about-content h2 { font-size: 2rem; }
    
    .about-stats { grid-template-columns: 1fr; }
    
    .testimonial-carousel { padding: 0 15px; }
    
    .testimonial-slide { padding: 30px 15px; }
    
    .testimonial-slide div { padding: 30px 20px; }
    
    .testimonial-slide p { font-size: 0.95rem; }
    
    .faq-item { margin-bottom: 12px; }
    
    .faq-question { padding: 15px; font-size: 0.95rem; }
    
    .faq-question h3 { font-size: 1rem; }
    
    .faq-answer p { padding: 15px 0 !important; font-size: 0.9rem; }
    
    .appointment-form { padding: 25px 15px; max-width: 100%; }
    
    .form-group { margin-bottom: 18px; }
    
    .form-control { padding: 10px 12px; font-size: 0.9rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
    
    .carousel-prev, .carousel-next { width: 45px; height: 45px; }
    
    .feature-box { padding: 25px 15px; }
    
    .feature-box i { font-size: 2rem; }
    
    .doctor-card { padding: 20px; }
    
    .doctor-img { height: 120px; width: 120px; }
    
    .doctor-info h3 { font-size: 1rem; }
    
    .doctor-info span { font-size: 0.85rem; }
    
    .doctor-info p { font-size: 0.8rem; }
}

@media (max-width: 640px) {
    html { font-size: 13px; }
    
    .section { padding: 40px 0; }
    
    .container { padding: 0 12px; }
    
    .section-title h1, .section-title h2 { font-size: 1.5rem; }
    
    .hero-content h1 { font-size: 1.6rem; line-height: 1.2; }
    
    .hero-content { padding: 30px 15px; }
    
    .hero-carousel { height: 300px; }
    
    .carousel-slide { height: 300px; }
    
    .carousel-text h2 { font-size: 1.3rem; }
    
    .carousel-text p { font-size: 0.8rem; }
    
    .btn { font-size: 0.85rem; padding: 10px 20px; }
    
    .about-content h2 { font-size: 1.6rem; }
    
    .about-content p { font-size: 0.9rem; }
    
    .services-grid { gap: 15px; }
    
    .service-card { padding: 15px; }
    
    .service-icon { font-size: 2rem; }
    
    .service-card h3 { font-size: 1rem; }
    
    .service-card p { font-size: 0.85rem; }
    
    .feature-box { padding: 20px 12px; margin-bottom: 15px; }
    
    .feature-box i { font-size: 1.8rem; margin-bottom: 10px; }
    
    .testimonial-slide div { padding: 20px 15px; }
    
    .testimonial-slide p { font-size: 0.9rem; line-height: 1.5; }
    
    .testimonial-indicators { gap: 8px; }
    
    .testimonial-prev, .testimonial-next { width: 40px; height: 40px; font-size: 16px; }
    
    .faq-question { padding: 12px 15px; }
    
    .faq-question h3 { font-size: 0.95rem; }
    
    .faq-answer { padding: 0 15px !important; }
    
    .appointment-form { padding: 20px 12px; }
    
    .form-control { font-size: 0.85rem; padding: 9px 10px; }
    
    .form-group label { font-size: 0.85rem; }
    
    .footer-grid { gap: 25px; }
    
    .footer-col h3 { font-size: 1rem; }
    
    .footer-col p, .footer-col a { font-size: 0.85rem; }
    
    .whatsapp-float { width: 45px; height: 45px; font-size: 20px; }
}

@media (max-width: 480px) {
    html { font-size: 12px; }
    
    .container { padding: 0 10px; }
    
    .top-bar { padding: 8px 0; }
    
    .contact-info { gap: 3px; font-size: 0.65rem; }
    
    .main-nav .container { padding: 10px 0; }
    
    .logo img { max-height: 50px; }
    
    .header { position: fixed; width: 100%; }
    
    .section-title h1, .section-title h2 { font-size: 1.3rem; margin-bottom: 15px; }
    
    .section-title p { font-size: 0.85rem; }
    
    .hero-content h1 { font-size: 1.4rem; }
    
    .hero-carousel { height: 250px; margin-top: 100px; }
    
    .carousel-slide { height: 250px; }
    
    .carousel-text h2 { font-size: 1.1rem; line-height: 1.2; }
    
    .carousel-text p { font-size: 0.75rem; }
    
    .btn { width: 100%; font-size: 0.8rem; padding: 8px 15px; }
    
    .hero-btns { flex-direction: column; gap: 10px; }
    
    .feature-box { padding: 15px 10px; margin-bottom: 12px; }
    
    .doctors-grid { gap: 12px; }
    
    .doctor-card { padding: 15px; }
    
    .services-grid { gap: 12px; }
    
    .section { padding: 30px 0; }
    
    .section-title { margin-bottom: 30px; }
    
    .about-content h2 { font-size: 1.4rem; margin-bottom: 20px; }
    
    .about-stats { grid-template-columns: 1fr; gap: 15px; }
    
    .appointment-form { padding: 15px 10px; }
    
    .form-group { margin-bottom: 15px; }
    
    .form-control { font-size: 0.8rem; padding: 8px 8px; }
    
    .footer { padding: 40px 15px 20px; }
    
    .footer-grid { gap: 20px; }
    
    .footer-col h3 { font-size: 0.95rem; margin-bottom: 15px; }
    
    .footer-col p, .footer-col a { font-size: 0.8rem; }
    
    .whatsapp-float { width: 40px; height: 40px; font-size: 18px; bottom: 15px; right: 15px; }
    
    .testimonial-slide div { padding: 15px 12px; }
    
    .testimonial-slide p { font-size: 0.85rem; }
    
    .faq-question { padding: 10px 12px; }
    
    .faq-question h3 { font-size: 0.9rem; }
    
    .carousel-prev, .carousel-next { width: 40px; height: 40px; font-size: 14px; }
}

/* Testimonial Carousel Responsive */
@media (max-width: 768px) {
    .testimonial-carousel { max-width: 100%; }
    
    .testimonial-slide div { padding: 25px 15px; }
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-item { margin-bottom: 10px; }
    
    .faq-question h3 { font-size: 0.95rem; }
}

/* Excellence Section Responsive */
@media (max-width: 768px) {
    .section { display: grid; }
    
    .section > div { grid-template-columns: 1fr; gap: 40px; }
}

/* Statistics Section Responsive */
@media (max-width: 768px) {
    .section div[style*="display: grid"] { grid-template-columns: 1fr; }
}

/* CTA Section Responsive */
@media (max-width: 768px) {
    .section h2 { font-size: 1.6rem; }
    
    .section p { font-size: 0.95rem; }
}

/* ===== SERVICE CARD HOVER EFFECTS ===== */

/* Service Card Base & Hover Effect */
.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover par card thoda upar uthta hai aur shadow aati hai */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: #d4af37;
}

/* Top Border Glow Effect on Hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37 0%, #00d4ff 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Icon Rotation Animation on Hover */
@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-card:hover .service-icon {
    animation: rotate360 0.8s ease-in-out;
}
