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

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--light-blue);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-left i {
    margin-right: 0.5rem;
}

.top-bar-center {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 2rem;
    text-align: center;
}

.top-bar-center p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.teleconsult-btn {
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    color: white;
}

.teleconsult-btn:hover {
    background-color: rgb(85, 166, 212);
    color: white;
}

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

.sticky-header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1010;
    box-shadow: var(--shadow-medium);
}

:root {
    --primary-color: #4db4e0;
    --secondary-color: #2c5aa0;
    --accent-color: #1e3d72;
    --light-blue: #e8f4f8;
    --white: #ffffff;
    --dark: #333333;
    --gray: #666666;
    --light-gray: #f8f9fa;
    --gradient-1: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-2: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-healthcare: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    --shadow-light: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-medium: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-heavy: 0 30px 80px rgba(0,0,0,0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.main_body_wrapper {
    position: relative;
    z-index: 1;
}

body.no-scroll {
    overflow: hidden;
}

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

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

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

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.05);
    }
}

/* Header with advanced styling */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header:hover {
    background: rgba(255, 255, 255, 0.98);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
}

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    border-radius: 25px;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-menu a:hover::before {
    transform: scale(1);
}

.nav-menu a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

/* Enhanced Hero Section with Healthcare Background */
.hero {
    background: 
        linear-gradient(135deg, rgba(44, 90, 160, 0.6) 0%, rgba(77, 180, 224, 0.5) 50%, rgba(30, 61, 114, 0.6) 100%),
        url('https://images.unsplash.com/photo-1551190822-a9333d879b1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
    color: var(--white);
    padding: 230px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(77, 180, 224, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(44, 90, 160, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(30, 61, 114, 0.1) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
    opacity: 0.8;
}

.hero::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"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.04)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><path d="M10,50 Q50,30 90,50" stroke="rgba(255,255,255,0.2)" stroke-width="0.5" fill="none"/></svg>') repeat;
    background-size: 150px 150px;
    animation: float 10s ease-in-out infinite reverse;
    opacity: 0.1;
}

.hero-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.floating-icon i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.floating-icon:hover i {
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    animation: fadeInUp 1s ease 0.1s both;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--white), #f0f0f0);
    color: var(--primary-color);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-heavy);
    color: var(--secondary-color);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

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

.hero-stat:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections with enhanced spacing */
.section {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-2);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced USP Section */
.usp {
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(77, 180, 224, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

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

.usp-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(77, 180, 224, 0.1);
}

.usp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.usp-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.usp-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.usp-card:hover i {
    color: var(--secondary-color);
    transform: scale(1.2) rotate(10deg);
}

.usp-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

.category-title {
    font-size: 43px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-2);
    border-radius: 2px;
}

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

.service-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.95;
}

.service-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: var(--shadow-heavy);
}

.service-image {
    background: var(--gradient-2);
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite;
}

.service-image i {
    font-size: 4rem;
    color: var(--white);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-image i {
    transform: scale(1.3) rotate(15deg);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.service-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-card:hover .service-content {
    color: var(--white);
}

.service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    transition: color 0.4s ease;
}

.service-card:hover .service-content h3 {
    color: var(--white);
}

.service-content p {
    line-height: 1.7;
    transition: color 0.4s ease;
}

.service-card:hover .service-content p {
    color: rgba(255,255,255,0.95);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.9);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    transition: all 0.3s ease;
}

.service-card:hover .service-badge {
    background: rgba(255,255,255,1);
    transform: scale(1.1);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.feature {
    font-size: 0.9rem;
    color: var(--gray);
    transition: color 0.4s ease;
}

.service-card:hover .feature {
    color: rgba(255,255,255,0.9);
}

/* Simple Treatments Section */
.treatments-category {
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 2rem;
    border-radius: 25px;
    border: 1px solid rgba(77, 180, 224, 0.1);
    position: relative;
}

.treatments-category::after {
    content: "← Scroll to see more treatments →";
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    font-size: 0.8rem;
    color: var(--gray);
    opacity: 0.7;
    font-style: italic;
}

.treatments-grid {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0 2rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
}

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

.treatments-grid::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.treatments-grid::-webkit-scrollbar-thumb {
    background: var(--gradient-2);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.treatments-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.treatment-item {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 200px;
    flex-shrink: 0;
}

.treatment-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(77, 180, 224, 0.2);
    border-color: var(--primary-color);
}

.treatment-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.treatment-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.treatment-item:hover .treatment-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 25px rgba(77, 180, 224, 0.3);
}

.treatment-item h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.treatment-item:hover h4 {
    color: var(--primary-color);
}

/* Enhanced About Section */
.about {
    background: var(--light-gray);
}

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

.about-text {
    position: relative;
    z-index: 2;
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

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

.about-image {
    position: relative;
    z-index: 2;
}

.single-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
    max-width: 500px;
    margin: 0 auto;
}

.single-image-container:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.single-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.single-image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(44, 90, 160, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.single-image-container:hover .image-overlay {
    transform: translateY(0);
}

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

.overlay-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* Enhanced Testimonials */
.testimonials {
    background-image: 
        linear-gradient(135deg, rgba(77, 180, 224, 0.8) 0%, rgba(44, 90, 160, 0.85) 100%),
        url('images/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    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"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="2" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.08)"/><path d="M10,10 L15,15 M85,35 L90,40 M35,85 L40,90" stroke="rgba(255,255,255,0.06)" stroke-width="0.5"/></svg>') repeat;
    background-size: 120px 120px;
    animation: float 15s ease-in-out infinite;
    opacity: 0.4;
}

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

.testimonial {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.testimonial:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    box-shadow: var(--shadow-heavy);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.testimonial:hover .testimonial-avatar {
    transform: scale(1.1) rotate(10deg);
}

.testimonial-avatar i {
    font-size: 2rem;
    color: var(--white);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.testimonials .section-title h2 {
    color: white;
}

.testimonials .section-title p {
    color: rgba(255,255,255,0.9);
}

/* Innovative Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
    justify-content: center; /* Center content in the grid */
}

.contact-form {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    padding: 1.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(77, 180, 224, 0.1);
    width: 100%;
    max-width: 600px; /* Added */
    margin: 0 auto; /* Center on small screens */
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-2);
    animation: pulse 2s ease-in-out infinite;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray);
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.modern-form {
    position: relative;
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #eee;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255,255,255,0.9);
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(77, 180, 224, 0.1);
    transform: translateY(-2px);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    transition: all 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    transform: translateY(-20px);
    opacity: 0;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-2);
    color: var(--white);
    padding: 18px;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 600px; /* Added for consistent width */
    margin: 0 auto; /* Center on small screens */
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(77, 180, 224, 0.1);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.contact-item i {
    font-size: 2rem;
    color: var(--white);
    background: var(--gradient-2);
    padding: 1rem;
    border-radius: 50%;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1) rotate(10deg);
}

.contact-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* Enhanced Footer */
.footer {
    background: #63656a;
    color: var(--white);
    position: relative;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-links a,
.footer-links span {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.company-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.company-link:hover {
    text-decoration: underline;
    color: rgb(129, 180, 247);
}

/* ---------------------- RESPONSIVE FIXES ---------------------- */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .contact-info {
        padding: 1.2rem;
        width: 100%;
        max-width: 100%;
    }

    .submit-btn {
        padding: 14px;
        font-size: 1rem;
        flex-direction: row;
    }

    .contact-item {
        padding: 1.5rem;
    }

    .contact-item i {
        font-size: 1.6rem;
        min-width: 50px;
        height: 50px;
    }

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

@media (max-width: 480px) {
    .submit-btn {
        flex-direction: column;
        padding: 12px;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .contact-item h4 {
        font-size: 1.1rem;
    }

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



/* Enhanced Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
}

.scroll-top-btn {
    background: var(--gradient-2);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all 0.4s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-heavy);
}

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

.floating-btn:hover::before {
    width: 120px;
    height: 120px;
    opacity: 0;
}

/* Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Enhanced Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-content: center;
    padding-top: 150px;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
}

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

.modal-content {
    background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%);
    margin: 0;
    padding: 3rem;
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
    position: relative;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 75vh;
    overflow-y: auto;
    border: 1px solid rgba(77, 180, 224, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.modal-content h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.modal-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.modal-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--dark);
    font-size: 1rem;
}

.modal-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.modal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--dark);
}

.modal-content strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.close:hover,
.close:focus {
    color: var(--white);
    background: var(--primary-color);
    transform: rotate(90deg) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(77, 180, 224, 0.4);
}

/* Fade-in animations for scroll */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .top-bar-center {
        display: none;
    }

    .nav-container {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        background: none;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 2rem;
    }

    .hero-stat {
        background: rgba(255,255,255,0.1);
        backdrop-filter: blur(10px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .category-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .services-category {
        margin-bottom: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .treatments-category {
        padding: 2rem 1rem;
    }
    
    .treatments-category::after {
        bottom: 0.5rem;
        right: 1rem;
        font-size: 0.7rem;
    }
    
    .treatment-item {
        min-width: 180px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }
    
    .single-image-container {
        max-width: 100%;
        margin: 1rem 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(180deg, var(--white) 0%, #f1f8fc 100%);
        width: 80%;
        max-width: 320px;
        height: 100vh;
        text-align: left;
        transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
        gap: 0;
        padding: 4rem 0 2rem;
        box-shadow: 0 0 50px rgba(0,0,0,0.2);
        z-index: 1002;
        display: flex;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        width: 100%;
    }
    .nav-menu a {
        font-size: 1.1rem;
        font-weight: 600;
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        border-radius: 0;
        border-bottom: 1px solid #e8f4f8;
    }
    .nav-menu a:hover {
        background: var(--light-blue);
        color: var(--secondary-color);
        transform: translateX(5px);
    }
    .nav-menu a::before {
        content: none;
    }
    
    .mobile-menu {
        display: block;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
        z-index: 1003;
        padding: 0.5rem;
        transition: transform 0.3s ease;
    }

    .mobile-menu:hover {
        transform: scale(1.1);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .top-bar-inner {
        flex-direction: row;
        justify-content: space-between;
    }
    .top-bar-center {
        display: none;
    }
    .top-bar-left {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .hero-stat {
        padding: 1rem 1.5rem;
    }
    
    .treatment-item {
        padding: 1.5rem 1rem;
        min-width: 160px;
    }
    
    .treatment-icon {
        width: 60px;
        height: 60px;
    }
    
    .treatments-category::after {
        content: "Scroll →";
        bottom: 0.5rem;
        right: 1rem;
        font-size: 0.7rem;
    }

    .footer-section {
        text-align: center;
    }
    
    .footer-section div[style*="margin-top"] {
        gap: 10px;
        justify-content: center;
    }

    .footer-section a:hover {
        transform: translateX(0);
    }
    
    .modal-content {
        padding: 2.5rem 1.5rem;
        width: 95%;
    }

    .modal-content h2 {
        font-size: 1.8rem;
    }

    .top-bar-left span {
        display: none;
    }
    .top-bar-left a {
        font-size: 1.1rem;
    }
    .teleconsult-btn {
        width: 100%;
        text-align: center;
    }
}

/* Flash Message */
.flash-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 10px;
    color: var(--white);
    background: var(--gradient-2);
    box-shadow: var(--shadow-medium);
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.flash-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.flash-message.success {
    background: linear-gradient(135deg, #28a745, #218838);
}

.flash-message.error {
    background: #f44336;
}

/* About section image grid */
.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}