:root {
    /* Color Palette */
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #E6F0FF;
    --secondary: #0A192F;
    --accent: #00D1FF;
    --text-main: #1A202C;
    --text-muted: #4A5568;
    --text-light: #718096;
    --white: #FFFFFF;
    --bg-light: #F7FAFC;
    --bg-alt: #EDF2F7;
    --border: #E2E8F0;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(0, 102, 255, 0.15);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px -5px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(0, 102, 255, 0.4);
}

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

.btn-secondary:hover {
    background-color: #0c1f3d;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--primary-light);
}

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

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

.btn-primary-alt {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-primary-alt:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 16px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 999;
    padding: 100px 40px;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

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

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.mobile-nav-links a {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    background-color: var(--bg-light);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.trust-badge i {
    color: #FFD700;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 24px;
    color: var(--secondary);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

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

/* Hero Image & Floating Cards */
.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    border-radius: 30px;
    overflow: visible;
}

.hero-img-main {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 16px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.info-card {
    top: 20%;
    left: -40px;
}

.info-card i, .doctor-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    flex-shrink: 0;
}

.doctor-card {
    bottom: 10%;
    right: -20px;
    animation-delay: 2s;
}

.doc-thumb {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.floating-card h4 {
    font-size: 16px;
    margin-bottom: 2px;
    color: var(--secondary);
}

.floating-card p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

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

/* Background Shapes */
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 102, 255, 0.08);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(0, 209, 255, 0.08);
    bottom: -50px;
    left: -50px;
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-premium);
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--secondary);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.service-link {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    font-size: 14px;
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* About Section */
.about {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.experience-tag {
    position: absolute;
    bottom: -30px;
    right: 40px;
    background-color: var(--primary);
    color: var(--white);
    padding: 24px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-years {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.exp-text {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 24px;
    color: var(--secondary);
}

.about-content p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--secondary);
}

.about-features i {
    color: var(--primary);
}

/* Why Us Section */
.flex-row {
    display: flex;
    gap: 60px;
    align-items: center;
}

.why-us {
    padding: var(--section-padding) 0;
}

.why-content {
    flex: 1;
}

.why-content h2 {
    font-size: 42px;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.f-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.f-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--secondary);
}

.f-text p {
    color: var(--text-muted);
}

.why-image {
    flex: 1;
}

.why-image img {
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
}

/* Testimonials */
.testimonials {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.t-rating {
    margin-bottom: 20px;
    color: #FFD700;
    font-size: 14px;
}

.t-quote {
    font-size: 17px;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
    flex: 1;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.t-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.t-details h4 {
    font-size: 16px;
    color: var(--secondary);
}

.t-details p {
    font-size: 13px;
    color: var(--text-light);
}

/* Gallery Section */
.gallery {
    padding: var(--section-padding) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.logo-img {
    height: 40px;
    width: auto;
    vertical-align: middle;
    margin-right: 12px;
}

/* Hero Section */

/* CTA Banner */
.cta-banner {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: left;
}

.banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 40px;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-content p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 500px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
}

.cta-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    z-index: 1;
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 40px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--secondary);
}

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

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

.social-links a {
    width: 44px;
    height: 44px;
    background-color: var(--bg-alt);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

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

.map-iframe-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    line-height: 0;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 24px;
    display: block;
}

.footer-brand p {
    opacity: 0.7;
    max-width: 300px;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-links ul, .footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer ul a {
    opacity: 0.7;
}

.footer ul a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    opacity: 0.6;
    font-size: 14px;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(15deg);
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Responsive */
@media (max-width: 1150px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image-wrapper { order: -1; margin-bottom: 40px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .flex-row { flex-direction: column; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 40px; }
    .hero-content h1 { font-size: 52px; }
}

@media (max-width: 768px) {
    :root { --section-padding: 60px; }
    header { padding: 12px 0; }
    .header.scrolled { padding: 8px 0; }
    .logo-img { height: 32px; }
    .logo { font-size: 20px; }
    .hero { padding: 140px 0 60px; }
    .hero-content h1 { font-size: 36px; }
    .hero-desc { font-size: 16px; margin-bottom: 30px; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .testimonials-slider { grid-template-columns: 1fr; }
    .banner-inner { flex-direction: column; text-align: center; gap: 30px; padding: 0 20px; }
    .cta-content h2 { font-size: 32px; }
    .cta-content p { font-size: 16px; margin: 0 auto; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { width: 100%; }
    .footer-content { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .hide-mobile { display: none !important; }
    
    /* Responsive Floating Cards */
    .floating-card {
        padding: 10px 14px;
        gap: 8px;
        border-radius: 12px;
    }
    .info-card {
        top: 10%;
        left: 0;
    }
    .doctor-card {
        bottom: 5%;
        right: 0;
    }
    .info-card i, .doctor-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .floating-card h4 { font-size: 14px; }
    .floating-card p { font-size: 10px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 30px; }
    .logo-accent { display: inline; }
    .logo { font-size: 18px; }
    .nav-actions { gap: 8px; }
    .btn-primary { padding: 10px 16px; font-size: 14px; }
    .floating-card {
        max-width: 160px;
    }
}

/* Final Priority Overrides */
@media (max-width: 1150px) {
    .gallery-grid { 
        grid-template-columns: 1fr 1fr !important; 
    }
}

@media (max-width: 768px) {
    .hide-mobile { 
        display: none !important; 
    }
    .gallery-grid { 
        grid-template-columns: 1fr !important; 
    }
}
