
:root {
    --primary: #00a6eb;
    --primary-dark: #0085c0;
    --secondary: #3ec9cb;
    --secondary-dark: #32a0a3;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background: #f8f9fa;
    --white: #ffffff;
    --accent: #ff6b6b;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Dark Mode Variables */
    --dark-bg: #1a1a2e;
    --dark-card: #16213e;
    --dark-text: #e2e2e2;
    --dark-text-light: #b0b0b0;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

body.dark-mode .service-card,
body.dark-mode .doctor-card,
body.dark-mode .appointment-form,
body.dark-mode .contact-item,
body.dark-mode .contact-form,
body.dark-mode .price-card,
body.dark-mode .testimonial-item,
body.dark-mode .chat-window,
body.dark-mode .pricing-toggle {
    background-color: var(--dark-card);
    color: var(--dark-text);
}

body.dark-mode .service-content p,
body.dark-mode .doctor-bio,
body.dark-mode .testimonial-text,
body.dark-mode label,
body.dark-mode .feature-text p,
body.dark-mode .about-text p {
    color: var(--dark-text-light);
}

body.dark-mode .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-text);
}

body.dark-mode header,
body.dark-mode .nav-links.active {
    background-color: var(--dark-card);
}

body.dark-mode .nav-links a {
    color: var(--dark-text);
}

body.dark-mode .dark-mode-toggle i {
    color: var(--dark-text);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: inherit;
}

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

button {
    cursor: pointer;
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
    font-size: 0.9rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    font-size: 2.5rem;
    color: inherit;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 10px;
    color: var(--primary);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 1.2rem;
    position: relative;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    font-size: 1rem;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.appointment-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 166, 235, 0.2);
}

.appointment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 166, 235, 0.4);
}

.mobile-menu {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.mobile-menu .line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-menu .line:nth-child(1) {
    top: 0;
}

.mobile-menu .line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu .line:nth-child(3) {
    bottom: 0;
}

.mobile-menu.active .line:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

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

.mobile-menu.active .line:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    background-color: #000;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/api/placeholder/1200/800');
}

.slide-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/api/placeholder/1200/800');
}

.slide-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/api/placeholder/1200/800');
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: var(--white);
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

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

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Features Section */
.features {
    background-color: var(--white);
    padding-top: 0;
    margin-top: -100px;
    z-index: 10;
}

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

.feature-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    bottom: 0;
    left: 0;
    transition: var(--transition);
    z-index: -1;
    opacity: 0;
}

.feature-box:hover::before {
    height: 100%;
    opacity: 1;
}

.feature-box:hover h3,
.feature-box:hover p {
    color: var(--white);
}

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

.feature-box:hover .feature-icon {
    color: var(--white);
    transform: rotateY(360deg);
    transition: transform 0.8s ease, color 0.3s ease;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.feature-box p {
    color: var(--text-light);
    transition: var(--transition);
}

/* About Section */
.about {
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(0, 166, 235, 0.05);
    border-radius: 50%;
    top: -150px;
    left: -150px;
}

.about::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(62, 201, 203, 0.05);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-text h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: 0;
    left: 0;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-direction: row; /* Explicit row direction */
}

.feature-icon {
    min-width: 50px;
    height: 50px;
    background-color: rgba(0, 166, 235, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.feature-text {
    flex: 1; /* Takes remaining space */
}

.feature-text h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Ensure that the text is always on the right side of the icon */
@media screen and (max-width: 768px) {
    .feature-item {
        flex-direction: row; /* Maintain row direction on mobile */
    }
    
    .feature-icon {
        margin-right: 1rem;
        margin-bottom: 0;
    }
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
}

.experience-badge {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    bottom: -30px;
    right: 30px;
    box-shadow: var(--shadow);
    z-index: 1;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: center;
}

/* Services Section */
.services {
    background-color: var(--white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('/api/placeholder/1200/800');
    background-size: cover;
    background-position: center;
    opacity: 0.02;
    top: 0;
    left: 0;
}

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

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    bottom: 0;
    left: 0;
    transition: var(--transition);
    z-index: -1;
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-15px);
}

.service-card:hover::before {
    height: 100%;
    opacity: 1;
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 0;
    font-size: 3rem;
    color: var(--primary);
    transition: var(--transition);
    background-color: rgba(0, 166, 235, 0.05);
}

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

.service-content {
    padding: 1.5rem 2rem 2.5rem;
    text-align: center;
    transition: var(--transition);
}

.service-content h3 {
    margin-bottom: 1rem;
    transition: var(--transition);
    font-size: 1.5rem;
}

.service-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    transition: var(--transition);
}

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

.service-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.service-btn:hover {
    background-color: transparent;
    color: var(--primary);
}

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

.service-card:hover .service-btn:hover {
    background-color: transparent;
    color: var(--white);
}

/* Pricing Section */
.pricing {
    background-color: var(--background);
    position: relative;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    background-color: rgba(0, 166, 235, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pricing-toggle-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background-color: transparent;
    border: none;
    color: var(--text-dark);
}

.pricing-toggle-btn.active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 166, 235, 0.3);
}

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

.price-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    position: relative;
}

.price-card.popular .price-header::before {
    content: 'Populyar';
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 10px;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price-duration {
    font-size: 0.9rem;
    opacity: 0.8;
}

.price-features {
    padding: 2rem;
}

.price-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.price-feature i {
    color: var(--primary);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.price-cta {
    padding: 0 2rem 2rem;
    text-align: center;
}

.price-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 166, 235, 0.2);
}

.price-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 166, 235, 0.3);
}

/* Doctors Section */
.doctors {
    background-color: var(--white);
    position: relative;
}

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

.doctor-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.doctor-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.doctor-speciality {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 166, 235, 0.3);
    z-index: 1;
}

.doctor-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    background-color: var(--white);
}

.doctor-info::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.doctor-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.doctor-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.doctor-bio {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 166, 235, 0.1);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

/* Testimonials Section */
.testimonials {
    background-color: var(--background);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('/api/placeholder/1200/800');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    top: 0;
    left: 0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 2rem 0;
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease;
}

.testimonial-item.active {
    opacity: 1;
    display: block;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(0, 166, 235, 0.1);
    line-height: 0;
    z-index: -1;
}

.testimonial-item::after {
    content: '"';
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(0, 166, 235, 0.1);
    line-height: 0;
    z-index: -1;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--primary);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--primary);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(0, 166, 235, 0.2);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
    position: relative;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    box-shadow: var(--shadow);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 166, 235, 0.8), rgba(62, 201, 203, 0.8));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    color: var(--white);
    text-align: center;
    padding: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

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

.overlay-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

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

.gallery-btn {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
    font-size: 1.2rem;
}

.gallery-item:hover .gallery-btn {
    transform: translate(-50%, -50%) scale(1);
}

/* Appointment Section */
.appointment {
    background-color: var(--background);
    position: relative;
}

.appointment::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('/api/placeholder/1200/800');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    top: 0;
    left: 0;
}

.appointment-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.appointment-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.appointment-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

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

.appointment-form-wrapper {
    flex: 1;
    min-width: 300px;
}

.appointment-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.appointment-form::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.form-title {
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 166, 235, 0.1);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2rem;
}

.submit-btn:hover {
    background: linear-gradient(to right, var(--secondary), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 166, 235, 0.3);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.whatsapp-btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.contact-icon {
    margin-right: 1rem;
    min-width: 50px;
    height: 50px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

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

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.social-bar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.social-bar a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2px 0;
    transition: var(--transition);
}

.social-bar a:first-child {
    border-top-right-radius: 5px;
}

.social-bar a:last-child {
    border-bottom-right-radius: 5px;
}

.social-bar a:hover {
    width: 60px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

/* Map */
.map {
    margin-top: 3rem;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background-color: #1a2a36;
    color: var(--white);
    padding: 5rem 0 1rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    top: -250px;
    left: -250px;
}

footer::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    bottom: -250px;
    right: -250px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

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

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

.footer-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    position: relative;
    font-size: 1.3rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

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

.footer-links i {
    margin-right: 0.5rem;
    color: var(--primary);
    font-size: 0.8rem;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1rem;
    margin-top: 0.3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Chat Bot */
.chat-bot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 166, 235, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.chat-bot:hover {
    transform: scale(1.1) rotate(15deg);
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 999;
    overflow: hidden;
    display: none;
    flex-direction: column;
    transition: var(--transition);
    animation: slideIn 0.3s ease;
}

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

.chat-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.close-chat {
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

.close-chat:hover {
    transform: rotate(90deg);
}

.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.message {
    margin-bottom: 1rem;
    max-width: 80%;
}

.message p {
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message.bot {
    margin-right: auto;
}

.message.bot p {
    background-color: #f1f1f1;
    color: var(--text-dark);
    border-top-left-radius: 0;
}

.message.user {
    margin-left: auto;
}

.message.user p {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border-top-right-radius: 0;
}

.chat-footer {
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 1px solid #eaeaea;
    border-radius: 30px;
    margin-right: 0.8rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 166, 235, 0.1);
}

.send-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.send-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 166, 235, 0.3);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 166, 235, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    transform: rotate(30deg);
}

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    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);
    }
}

/* AOS Classes */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"] {
    transform: translateX(50px);
}

[data-aos].aos-animate {
    transform: translateY(0) translateX(0);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.preloader-logo {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 166, 235, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin: 0 auto;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
    }
    
    .experience-badge .number {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 1;
        transition: var(--transition);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .about-content,
    .appointment-content,
    .contact-content {
        flex-direction: column;
    }
    
    .appointment-image {
        margin-bottom: 2rem;
    }
    
    .social-bar {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .chat-window {
        width: calc(100% - 60px);
        right: 30px;
    }
    
    .hero-btn {
        margin: 0.5rem 0;
        display: block;
        width: 100%;
    }
}