/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #14B8A6;
    --dark-teal: #0D9488;
    --light-teal: #5EEAD4;
    --purple: #A855F7;
    --pink: #EC4899;
    --yellow: #FBBF24;
    --dark-gray: #1F2937;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --black: #000000;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-teal);
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
    color: var(--primary-teal);
}

.logo:hover i {
    transform: rotate(10deg);
}

.logo i {
    font-size: 1.8rem;
    color: var(--primary-teal);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 6px;
    height: 6px;
    background: var(--primary-teal);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dark-teal);
    transform: translateY(-2px);
    background: rgba(20, 184, 166, 0.1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-teal);
    border-radius: 50%;
}

.btn-get-started {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-get-started::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-get-started:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-get-started:hover::before {
    width: 300px;
    height: 300px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
}

.mobile-menu-toggle:hover {
    background: var(--light-gray);
    transform: rotate(90deg);
    color: var(--primary-teal);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        gap: 1rem;
        z-index: 999;
    }

    /* Doctor Profile Header Mobile */
    .doctor-header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .doctor-header-left {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .doctor-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    .doctor-nav.mobile-active {
        display: flex;
        background: rgba(255, 255, 255, 0.1);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    .doctor-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .btn-call-now,
    .btn-book-appointment {
        flex: 1;
    }

    .doctor-mobile-menu-toggle {
        display: block;
    }

    /* Doctor Footer Mobile */
    .doctor-footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .doctor-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .doctor-footer-credentials {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 1.5rem 0;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-badge:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: scale(1.05);
}

.service-badge:hover i {
    transform: rotate(360deg);
}

.service-badge i {
    transition: all 0.3s ease;
}

.service-badge i {
    color: var(--yellow);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    background: var(--dark-teal);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-secondary {
    background: var(--white);
    color: var(--dark-gray);
    border: 2px solid var(--light-gray);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.1), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.2);
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover i {
    transform: translateX(5px);
}

.btn-secondary i {
    transition: transform 0.3s ease;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(13, 148, 136, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(20, 184, 166, 0.1);
    backdrop-filter: blur(10px);
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
}

.hero-stat-item:hover {
    transform: translateY(-3px);
}

.hero-stat-item:hover .stat-number-hero {
    color: var(--primary-teal);
    transform: scale(1.1);
}

.stat-number-hero {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.stat-label-hero {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.hero-stat-item:hover .stat-label-hero {
    color: var(--dark-gray);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(20, 184, 166, 0.3), transparent);
    flex-shrink: 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-select {
    padding: 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--white);
    color: var(--dark-gray);
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-select:hover {
    border-color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(20, 184, 166, 0.1);
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.btn-search {
    width: 100%;
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: var(--dark-teal);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

.btn-search:hover i {
    transform: scale(1.2) rotate(10deg);
}

.btn-search i {
    transition: all 0.3s ease;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

.appointment-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.appointment-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.patient-avatars {
    display: flex;
    gap: -10px;
}

.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-teal);
    border: 2px solid var(--white);
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-number {
    font-weight: 700;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.card-tagline {
    font-size: 0.75rem;
    color: var(--gray);
}

.specialty-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.specialty-btn {
    background: var(--dark-teal);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.specialty-btn:hover {
    background: var(--primary-teal);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.stats-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stats-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.stats-badges i {
    color: var(--primary-teal);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--primary-teal);
    color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-teal);
    transition: all 0.4s ease;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.service-card:hover::before {
    background: rgba(20, 184, 166, 0.85);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card i,
.service-card h3,
.service-card p {
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.3);
}

/* Set background images for each service card on hover */
.service-card[data-bg-image="clinic1.jpg"]::after {
    background-image: url('clinic1.jpg');
}

.service-card[data-bg-image="clinic2.jpg"]::after {
    background-image: url('clinic2.jpg');
}

.service-card[data-bg-image="clinic3.jpg"]::after {
    background-image: url('clinic3.jpg');
}

.service-card[data-bg-image="clinic4.jpg"]::after {
    background-image: url('clinic4.jpg');
}

.service-card[data-bg-image="clinic5.jpg"]::after {
    background-image: url('clinic5.jpg');
}

.service-card[data-bg-image="clinic6.jpg"]::after {
    background-image: url('clinic6.jpg');
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.service-card.featured img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(13, 148, 136, 0.1) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(20, 184, 166, 0.2);
    transition: all 0.3s ease;
}

.section-badge:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(13, 148, 136, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.2);
}

.badge-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.section-badge span {
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* About Heading */
.about-heading {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.heading-line {
    color: var(--dark-gray);
    display: block;
    animation: fadeInUp 0.8s ease;
}

.heading-accent {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Description */
.about-description {
    margin-bottom: 3rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--dark-gray);
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-teal);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.about-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Priorities Grid */
.priorities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.priority-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--light-gray);
    display: flex;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.priority-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.05), transparent);
    transition: left 0.6s ease;
}

.priority-item:hover::before {
    left: 100%;
}

.priority-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-teal);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
}

.priority-icon-wrapper {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    transition: all 0.4s ease;
}

.priority-item:hover .priority-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

.priority-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.priority-item:hover .priority-content h4 {
    color: var(--primary-teal);
}

.priority-content p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* About Visual Section */
.about-visual-section {
    position: relative;
}

.about-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    z-index: 1;
    transition: transform 0.6s ease;
}

.about-image-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.about-image-container:hover::before {
    transform: rotate(180deg);
}

.about-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
    position: relative;
    z-index: 2;
}

.about-image-container:hover img {
    transform: scale(1.1);
}

.image-overlay-decoration {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-teal);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 3;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 4;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.image-badge:hover {
    transform: scale(1.05);
    background: var(--white);
}

.image-badge i {
    color: var(--primary-teal);
    font-size: 1.1rem;
}

.image-badge span {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Stats Showcase */
.stats-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card-enhanced {
    padding: 2rem;
    border-radius: 20px;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-card-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: transform 0.6s ease;
}

.stat-card-enhanced:hover::before {
    transform: scale(1.5) rotate(45deg);
}

.stat-card-enhanced:hover {
    transform: translateX(10px) translateY(-5px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.stat-card-enhanced:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
    opacity: 1;
}

.stat-number-large {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

.stat-card-enhanced p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.purple-gradient {
    background: linear-gradient(135deg, var(--purple) 0%, #9333EA 100%);
}

.blue-gradient {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.pink-gradient {
    background: linear-gradient(135deg, var(--pink) 0%, #DB2777 100%);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--white);
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.features-text > p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-card {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    background: rgba(20, 184, 166, 0.05);
    transform: translateX(10px);
    padding-left: 1.5rem;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-teal);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--dark-teal);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray);
}

.features-image {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.features-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.features-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.features-image:hover img {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--light-gray);
}

.testimonials h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-carousel-wrapper {
    position: relative;
    padding: 2rem 0;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.6s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.testimonial-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.testimonial-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.testimonial-quote {
    font-size: 1.2rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-line {
    width: 40px;
    height: 2px;
    background: var(--primary-teal);
    border-radius: 2px;
}

.testimonial-author span {
    font-weight: 600;
    color: var(--dark-gray);
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: var(--yellow);
}

.testimonial-rating span {
    font-weight: 600;
    color: var(--dark-gray);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(107, 114, 128, 0.3);
    border: 2px solid rgba(107, 114, 128, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.testimonial-dot.active {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.4);
}

.testimonial-dot:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.3);
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--light-gray);
    color: var(--dark-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.nav-btn.next {
    background: var(--primary-teal);
    color: var(--white);
}

.nav-btn:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-cta {
    background: var(--white);
    color: var(--dark-gray);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-cta:hover::before {
    width: 300px;
    height: 300px;
}

.btn-cta:hover i {
    transform: translateX(5px);
}

.btn-cta i {
    transition: transform 0.3s ease;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.newsletter {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--dark-teal);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px) rotate(360deg) scale(1.1);
    background: var(--primary-teal);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: start;
}

.footer-column h4 {
    margin-bottom: 1.25rem;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    padding-left: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-column a:hover {
    color: var(--primary-teal);
    transform: translateX(5px);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-teal);
    transform: translateY(-2px);
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.25rem;
}

/* Doctor Profile Header Styles */
.doctor-header-nav {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.doctor-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.doctor-header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.back-to-clinic {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-to-clinic:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.back-to-clinic i {
    transition: transform 0.3s ease;
}

.back-to-clinic:hover i {
    transform: translateX(-3px);
}

.doctor-header-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
}

.doctor-header-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.25rem 0 0 0;
}

.doctor-nav {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.doctor-nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.doctor-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s ease;
}

.doctor-nav-link:hover,
.doctor-nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.doctor-nav-link:hover::after,
.doctor-nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.doctor-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-call-now {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-call-now:hover {
    background: var(--white);
    color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-book-appointment {
    background: var(--white);
    color: var(--primary-teal);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-book-appointment:hover {
    background: var(--yellow);
    color: var(--dark-gray);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.doctor-mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.doctor-mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Doctor Profile Footer Styles */
.doctor-footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #0f172a 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.doctor-footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.doctor-footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.doctor-footer-name h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.doctor-footer-name p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.doctor-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
}

.footer-contact-item:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.footer-contact-item i {
    color: var(--primary-teal);
    width: 20px;
    transition: all 0.3s ease;
}

.footer-contact-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.doctor-footer-quick-links h4,
.doctor-footer-hours h4,
.doctor-footer-social h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.doctor-footer-quick-links {
    display: flex;
    flex-direction: column;
}

.doctor-footer-quick-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.doctor-footer-quick-links a:hover {
    color: var(--primary-teal);
    transform: translateX(5px);
    padding-left: 5px;
}

.doctor-footer-hours {
    display: flex;
    flex-direction: column;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 0.5rem;
    border-radius: 6px;
}

.hours-item .day {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hours-item .time {
    color: var(--primary-teal);
    font-weight: 600;
}

.doctor-footer-social {
    display: flex;
    flex-direction: column;
}

.doctor-social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.doctor-social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.doctor-social-icons a:hover {
    background: var(--primary-teal);
    transform: translateY(-5px) rotate(360deg) scale(1.1);
    border-color: var(--primary-teal);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

.doctor-footer-cta {
    margin-top: 1rem;
}

.btn-footer-appointment {
    width: 100%;
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-footer-appointment:hover {
    background: var(--dark-teal);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.doctor-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.doctor-footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.doctor-footer-credentials {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.doctor-footer-credentials span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.doctor-footer-credentials i {
    color: var(--primary-teal);
}

/* Doctor Profile Page Styles */
.doctor-hero {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
}

.doctor-hero-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: start;
}

.doctor-image-large {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.doctor-image-large:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.doctor-image-large img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.doctor-image-large:hover img {
    transform: scale(1.1);
}

.doctor-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--yellow);
    color: var(--dark-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.doctor-badge:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
}

.doctor-info-main h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.doctor-title {
    font-size: 1.2rem;
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.doctor-header:hover .doctor-title {
    transform: translateX(5px);
    color: var(--dark-teal);
}

.doctor-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.doctor-rating:hover .stars {
    transform: scale(1.1);
}

.doctor-rating:hover .stars i {
    transform: scale(1.2) rotate(10deg);
}

.doctor-rating .stars {
    transition: all 0.3s ease;
}

.doctor-rating .stars i {
    transition: all 0.3s ease;
}

.review-count {
    color: var(--gray);
    font-size: 0.9rem;
}

.doctor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.stat-item i {
    transition: all 0.3s ease;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-teal);
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--gray);
}

.doctor-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.doctor-details {
    padding: 4rem 0;
    background: var(--white);
}

.doctor-details-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.detail-section {
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.detail-section:hover {
    background: rgba(20, 184, 166, 0.03);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.detail-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.detail-section:hover h2 {
    color: var(--primary-teal);
    transform: translateX(5px);
}

.detail-section h2 i {
    color: var(--primary-teal);
    transition: all 0.3s ease;
}

.detail-section:hover h2 i {
    transform: scale(1.2) rotate(10deg);
}

.detail-section p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.qualification-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qualification-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.qualification-item:hover {
    background: var(--white);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qualification-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--dark-teal);
}

.qualification-item i {
    transition: all 0.3s ease;
}

.qualification-item i {
    font-size: 1.5rem;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.qualification-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.qualification-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.specializations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.specialization-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    font-weight: 500;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    cursor: pointer;
}

.specialization-item:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

.specialization-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.specialization-item i {
    transition: all 0.3s ease;
}

.specialization-item i {
    color: var(--primary-teal);
}

.availability-schedule {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.schedule-item:hover {
    background: var(--white);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.schedule-item .day {
    font-weight: 600;
    color: var(--dark-gray);
}

.schedule-item .time {
    color: var(--gray);
}

.sidebar-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray);
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(20, 184, 166, 0.1);
    color: var(--dark-gray);
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    color: var(--primary-teal);
    width: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.3) rotate(10deg);
    color: var(--dark-teal);
}

.languages {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.languages span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.languages span:hover {
    background: rgba(20, 184, 166, 0.1);
    transform: translateX(5px);
    color: var(--primary-teal);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.languages i {
    color: var(--primary-teal);
    transition: all 0.3s ease;
}

.languages span:hover i {
    transform: scale(1.3) rotate(360deg);
    color: var(--dark-teal);
}

.awards-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark-gray);
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.award-item:hover {
    background: rgba(251, 191, 36, 0.1);
    transform: translateX(5px);
}

.award-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.award-item i {
    transition: all 0.3s ease;
}

.award-item i {
    color: var(--yellow);
    font-size: 1.2rem;
}

.review-summary {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.review-summary:hover {
    background: rgba(20, 184, 166, 0.05);
    transform: scale(1.02);
}

.review-stat {
    text-align: center;
    transition: all 0.3s ease;
}

.review-stat:hover .stat-number {
    transform: scale(1.2);
    color: var(--primary-teal);
}

.review-stat:hover .stars-small {
    transform: scale(1.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-gray);
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stars-small {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    color: var(--yellow);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stars-small i {
    transition: all 0.3s ease;
}

.review-stat:hover .stars-small i {
    transform: scale(1.2) rotate(10deg);
}

.stat-text {
    color: var(--gray);
    font-size: 0.9rem;
}

.btn-view-reviews {
    width: 100%;
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-view-reviews:hover {
    background: var(--dark-teal);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

.btn-view-reviews:hover i {
    transform: rotate(360deg);
}

.btn-view-reviews i {
    transition: all 0.3s ease;
}

.doctor-reviews {
    padding: 4rem 0;
    background: var(--light-gray);
}

.doctor-reviews h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.review-card:hover .reviewer-avatar {
    transform: scale(1.1) rotate(5deg);
}

.reviewer-avatar {
    transition: all 0.3s ease;
}

/* Appointment Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8) translateY(-50px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--light-gray);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--gray);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.modal-actions .btn-primary {
    flex: 1;
}

.modal-actions .btn-secondary {
    flex: 1;
}

/* Doctor Profile Specific Animations */
.doctor-header {
    transition: all 0.3s ease;
}

.doctor-rating:hover .review-count {
    color: var(--primary-teal);
    transform: scale(1.05);
}

.review-count {
    transition: all 0.3s ease;
}

.doctor-actions button {
    transition: all 0.3s ease;
}

.sidebar-card h3 {
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-card:hover h3 {
    color: var(--primary-teal);
    transform: translateX(5px);
}

.detail-section h4 {
    transition: all 0.3s ease;
}

.qualification-item:hover h4 {
    color: var(--primary-teal);
    transform: translateX(5px);
}

.qualification-item:hover p {
    color: var(--dark-gray);
}

.review-date {
    transition: all 0.3s ease;
}

.review-card:hover .review-date {
    color: var(--primary-teal);
    transform: scale(1.05);
}

.review-card:hover h4 {
    color: var(--primary-teal);
    transform: translateX(5px);
}

.review-card h4 {
    transition: all 0.3s ease;
}

.stars i {
    transition: all 0.3s ease;
}

.review-card:hover .stars i {
    transform: scale(1.2) rotate(10deg);
}

/* Additional Doctor Profile Hover Animations */
.doctor-hero-content {
    transition: all 0.3s ease;
}

.doctor-info-main:hover {
    transform: translateY(-2px);
}

.doctor-actions button:hover {
    transform: translateY(-3px) scale(1.05);
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-text {
    transition: all 0.3s ease;
}

.review-stat:hover .stat-text {
    color: var(--primary-teal);
    transform: scale(1.05);
}

/* Modal Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-overlay.active .modal-content {
    animation: modalFadeIn 0.3s ease;
}

/* Scroll animations for detail sections */
.detail-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.detail-section:not(:hover) {
    opacity: 1;
}

/* Qualification item text hover */
.qualification-item h4 {
    transition: all 0.3s ease;
}

.qualification-item:hover h4 {
    color: var(--primary-teal);
    transform: translateX(5px);
}

.qualification-item p {
    transition: all 0.3s ease;
}

.qualification-item:hover p {
    color: var(--dark-gray);
}

/* Availability schedule hover enhancements */
.schedule-item .day {
    transition: all 0.3s ease;
}

.schedule-item .time {
    transition: all 0.3s ease;
}

.schedule-item:hover .day {
    color: var(--primary-teal);
    font-weight: 700;
}

.schedule-item:hover .time {
    color: var(--dark-gray);
    font-weight: 600;
}

/* Award item text hover */
.award-item span {
    transition: all 0.3s ease;
}

.award-item:hover span {
    color: var(--primary-teal);
    font-weight: 600;
}

/* Language item hover */
.languages span:hover {
    font-weight: 600;
}

/* Contact item text hover */
.contact-item span {
    transition: all 0.3s ease;
}

.contact-item:hover span {
    color: var(--dark-gray);
    font-weight: 600;
}

/* Doctor reviews section title */
.doctor-reviews h2 {
    transition: all 0.3s ease;
    cursor: default;
}

.doctor-reviews:hover h2 {
    color: var(--primary-teal);
    transform: scale(1.02);
}

/* Section headers hover */
.section-header h2,
.detail-section h2 {
    position: relative;
}

.section-header h2::after,
.detail-section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-teal);
    transition: width 0.3s ease;
}

.section-header:hover h2::after,
.detail-section:hover h2::after {
    width: 60px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.reviewer-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.review-date {
    color: var(--gray);
    font-size: 0.85rem;
}

.review-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-heading {
        font-size: 2.25rem;
    }

    .priorities-grid {
        grid-template-columns: 1fr;
    }

    .features-content,
    .testimonial-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-image img {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctor-hero-content {
        grid-template-columns: 300px 1fr;
    }

    .doctor-details-content {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .section-header h2,
    .about-text h2,
    .features-text h2,
    .testimonials h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(20, 184, 166, 0.3), transparent);
    }

    .hero-stat-item {
        align-items: center;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .doctor-hero-content {
        grid-template-columns: 1fr;
    }

    .doctor-stats {
        grid-template-columns: 1fr;
    }

    .specializations-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .stats-badges {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons button {
        width: 100%;
    }

    .specialty-buttons {
        justify-content: center;
    }

    .testimonial-images {
        flex-direction: column;
    }

    .testimonial-images img {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .services,
    .about,
    .features,
    .testimonials,
    .cta {
        padding: 3rem 0;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .appointment-card {
        flex-direction: column;
        text-align: center;
    }

    .newsletter {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }
}

