/* Root Variables */
:root {
    --primary-color: #e74c3c; /* StudioDentica primary color (orange/red) */
    --secondary-color: #333333; /* StudioDentica dark gray/charcoal */
    --accent-blue: #2c3e50; /* StudioDentica dark gray/charcoal */
    --text-dark: #333333; /* StudioDentica dark gray text */
    --text-gray: #666666; /* Medium gray for text */
    --bg-light: #F5F5F5; /* Light gray background */
    --bg-white: #ffffff;

}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Section Styles */
.section-label {
    color: var(--accent-blue);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.section-title span {
    color: var(--accent-blue);
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: var(--bg-white);
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.about-images {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    width: 80%;
    border-radius: 1rem;
    margin: 0 auto;
    display: block;
}

.secondary-image {
    position: absolute;
    bottom: -3rem;
    right: -3rem;
    width: 75%;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 15%;
    background-color: var(--accent-blue);
    color: white;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

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

.experience-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
}

.about-content {
    padding-top: 2rem;
}

.about-description {
    color: var(--text-gray);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.doctors-grid {
    display: flex;
    justify-content: center;
    position: relative;
    height: 350px;
    margin-top: 2rem;
}

.doctor-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
    width: 260px;
    position: absolute;
}

.doctor-card:first-child {
    top: 0;
    left: calc(50% - 160px);
    transform: rotate(-5deg);
    z-index: 1;
}

.doctor-card:last-child {
    bottom: 0;
    right: calc(50% - 160px);
    transform: rotate(5deg);
    z-index: 0;
}

.doctor-card:hover {
    transform: scale(1.05) rotate(0deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.doctor-card h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.doctor-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.doctor-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.team-member {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: var(--accent-blue);
    font-size: 1.25rem;
    text-align: center;
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
}

.decorative-star-1,
.decorative-star-2 {
    position: absolute;
    width: 40px;
    height: 40px;
    color: #FFD43B;
    z-index: 1;
}

.decorative-star-1 {
    top: -20px;
    left: -20px;
}

.decorative-star-2 {
    bottom: 40px;
    right: -40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.feature-item h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 50%;
}

.feature-icon i {
    font-size: 1.25rem;
    color: var(--accent-blue);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: var(--accent-blue);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background-color: #2B6CB0;
    transform: translateY(-2px);
}

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

.read-more-btn:hover i {
    transform: translateX(4px);
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.services-section .section-label {
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.services-section .section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.services-section .section-title span {
    color: var(--accent-blue);
}

.services-section .section-subtitle {
    color: var(--text-gray);
    text-align: center;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.services-section .container {
    max-width: 1400px;
    padding: 0 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    z-index: -1;
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.3s ease;
    z-index: -1;
    opacity: 0.9;
}

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

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.dental-icon {
    width: 100%;
    height: 100%;
    fill: var(--accent-blue);
    transition: fill 0.3s ease;
}

.service-card:hover .dental-icon {
    fill: white;
}

.service-card h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
    margin: 0;
}

.service-card:hover h3,
.service-card:hover p {
    color: white;
}

.service-card .feature-icon {
    background-color: var(--primary-color);
    color: white;
    margin-bottom: 1rem;
}

.service-card .feature-icon i {
    color: white;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: var(--accent-blue);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: #2B6CB0;
    transform: translateY(-2px);
}

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

.view-all-btn:hover i {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-section .container {
        padding: 0 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .secondary-image {
        display: none;
    }

    .main-image {
        width: 90%;
    }

    .experience-badge {
        width: 120px;
        height: 120px;
        right: 5%;
        bottom: 1rem;
    }

    .experience-badge span:first-child {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 2rem;
    }
}

/* Header & Navigation */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.header:not(.scrolled) .logo-text,
.header:not(.scrolled) .nav-link {
    color: var(--primary-color);
}

/* Common Button Styles */
.appointment-btn,
.hero-cta {
    background-color: var(--accent-blue);
    color: white !important;
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    border-radius: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.appointment-btn i,
.hero-cta i {
    background-color: white;
    color: var(--accent-blue);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transform: rotate(-45deg);
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.appointment-btn::before,
.hero-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 200%;
    padding-bottom: 200%;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translate(-100%, 0%) scale(1);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.appointment-btn:hover::before,
.hero-cta:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.appointment-btn:hover i,
.hero-cta:hover i {
    background-color: white;
    color: var(--primary-color);
    transform: rotate(0deg);
}

/* Desktop Menu */
.desktop-menu {
    display: none;
}

@media (min-width: 992px) {
    .desktop-menu {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 2rem;
    }
    
    .nav-link {
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 500;
        position: relative;
        padding: 0.5rem 0;
    }
    
    .nav-link:hover {
        color: var(--primary-color);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animation for menu button when sidebar is open */
body.menu-open .mobile-menu-btn .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

body.menu-open .mobile-menu-btn .bar:nth-child(2) {
    opacity: 0;
}

body.menu-open .mobile-menu-btn .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Sidebar */
#mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1001;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 30px 20px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

#mobile-sidebar.active {
    right: 0;
}

#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1000;
    display: none;
}

#mobile-menu-overlay.active {
    display: block;
}

/* Sidebar Logo Styling */
.sidebar-logo {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    justify-content: flex-start;
    padding: 12px 15px;
    border-radius: 8px;
}

.sidebar-logo img {
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    /* margin-right: 15px; */
}

.sidebar-logo h2 {
    color: #E44D26;
    font-size: 24px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Close Button Styling */
.close-btn {
    position: absolute;
    top: 30px;
    right: 20px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background-color: #E44D26;
    transform: rotate(90deg);
    color: #fff;
}

/* Navigation Links Styling */
.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.mobile-nav-link:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #E44D26;
    transform: translateX(8px);
}

.mobile-nav-link:hover:before,
.mobile-nav-link.active:before {
    height: 70%;
    left: 0;
}

.mobile-nav-link i {
    margin-right: 15px;
    color: #E44D26;
    width: 24px;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
    transform: scale(1.2);
}

/* Appointment Button Styling */
.mobile-sidebar .appointment-link {
    margin-top: auto;
    background-color: var(--accent-blue);
    color: white !important;
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    border-radius: 3rem;
    font-weight: 500;
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.mobile-sidebar .appointment-link i {
    background-color: white;
    color: var(--accent-blue);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transform: rotate(-45deg);
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.mobile-sidebar .appointment-link::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 200%;
    padding-bottom: 200%;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translate(-100%, 0%) scale(1);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.mobile-sidebar .appointment-link:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.mobile-sidebar .appointment-link:hover i {
    background-color: white;
    color: var(--primary-color);
    transform: rotate(0deg);
}

/* Phone Number Styling */
.sidebar-contact {
    margin-top: 30px;
    display: flex;
    align-items: center;
    color: #333;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-contact i {
    color: #E44D26;
    margin-right: 10px;
    font-size: 20px;
}

/* Divider Styling */
.sidebar-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 25px 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    height: calc(100vh - 80px);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
}

@media (min-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.hero-content {
    max-width: 600px;
    padding-top: 4rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-title span {
    color: var(--accent-blue);
}

.hero-description {
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-image img {
    width: auto;
    height: 90%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    object-position: bottom;
}

/* Update floating icons position */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.floating-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--accent-blue);
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: -30px;
}

.floating-icon:nth-child(2) {
    top: 50%;
    right: -30px;
}

.floating-icon:nth-child(3) {
    bottom: 10%;
    left: 10%;
}

.star-decoration {
    position: absolute;
    width: 30px;
    height: 30px;
    color: #FFD43B;
}

.star-decoration:nth-child(1) {
    top: 20%;
    right: 20%;
}

.star-decoration:nth-child(2) {
    bottom: 30%;
    right: 10%;
}

/* Google Rating Section */
.rating-section {
    text-align: center;
    margin-top: 2rem;
}

.rating-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.rating-stars {
    color: #FFD43B;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating-count {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-container {
        height: calc(100vh - 80px);
        padding: 1rem 1.5rem;
    }

    .hero-content {
        padding-top: 2rem;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        margin-top: 2rem;
        height: 50vh;
    }

    .hero-image img {
        height: 100%;
        width: auto;
        max-width: 100%;
    }

    .floating-icons {
        display: none;
    }
}

/* Mobile Sidebar Styles */
.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: var(--accent-blue);
    transform: rotate(90deg);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.mobile-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.mobile-sidebar .nav-link:hover {
    color: var(--accent-blue);
}

.mobile-sidebar .appointment-btn {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
    background-color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.mobile-sidebar .appointment-btn i {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
}

.mobile-sidebar .appointment-btn:hover {
    background-color: transparent;
    color: white !important;
    border-color: white;
}

.mobile-sidebar .appointment-btn:hover i {
    background-color: white;
    color: var(--primary-color);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Emergency Contact Buttons */
.emergency-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.emergency-button,
.whatsapp-button {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.emergency-button {
    background-color: var(--accent-blue);
}

.whatsapp-button {
    background-color: #25D366;
}

.emergency-button:hover,
.whatsapp-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .emergency-contact {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .emergency-button,
    .whatsapp-button {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border-radius: 1rem;
    overflow: hidden;
}

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

.contact-content {
    padding-right: 2rem;
}

.contact-content .section-label {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bg-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--accent-blue);
}

.contact-text {
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.5;
}

.contact-text a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--accent-blue);
}

.contact-content .make-appointment-btn {
    background-color: var(--accent-blue);
    color: white !important;
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    border-radius: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    margin-top: 2rem;
    width: fit-content;
}

.contact-content .make-appointment-btn i {
    background-color: white;
    color: var(--accent-blue);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transform: rotate(-45deg);
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.contact-content .make-appointment-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 200%;
    padding-bottom: 200%;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translate(-100%, 0%) scale(1);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.contact-content .make-appointment-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.contact-content .make-appointment-btn:hover i {
    background-color: white;
    color: var(--primary-color);
    transform: rotate(0deg);
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-map {
        min-height: 400px;
    }

    .contact-content {
        padding-right: 0;
    }
}

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

    .contact-info {
        gap: 1.5rem;
    }

    .contact-map {
        min-height: 300px;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--accent-blue);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer address {
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    line-height: 1.6;
}

.footer-contact ul,
.footer-services ul,
.footer-hours ul {
    list-style: none;
}

.footer-contact li,
.footer-services li,
.footer-hours li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.footer-contact a:hover {
    color: white;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

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

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-hours li {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 0;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.why-choose-us .section-label {
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
}

.why-choose-us .section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.why-choose-us .section-subtitle {
    color: var(--text-gray);
    text-align: center;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.features-left, .features-right {
    display: grid;
    gap: 3rem;
}

.center-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

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

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.feature-item h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 50%;
}

.feature-icon i {
    font-size: 1.25rem;
    color: var(--accent-blue);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: var(--accent-blue);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background-color: #2B6CB0;
    transform: translateY(-2px);
}

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

.read-more-btn:hover i {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .features-wrapper {
        grid-template-columns: 1fr 300px 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .features-wrapper {
        grid-template-columns: 1fr;
    }

    .features-left, .features-right {
        gap: 2rem;
    }

    .center-image {
        width: 250px;
        margin: 2rem auto;
    }

    .feature-item {
        text-align: center;
        align-items: center;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section,
    .about-section,
    .services-section,
    .why-choose-us,
    .contact-section {
        min-height: auto;
        padding: 3rem 0;
    }

    .about-grid,
    .services-grid,
    .features-wrapper {
        gap: 1rem;
    }
}

/* Testimonial Section */
.testimonial-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.testimonial-section .section-label {
    text-align: center;
    color: var(--accent-blue);
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.testimonial-section .section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    text-align: center;
}

.testimonial-section .section-subtitle {
    color: var(--text-gray);
    text-align: center;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.testimonial-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
    position: relative;
    cursor: grab;
    user-select: none;
}

.testimonial-container:active {
    cursor: grabbing;
}

.testimonial-image {
    width: 100%;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 3/4;
}

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

.testimonial-content {
    position: relative;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.testimonial-content.swiping-left {
    transform: translateX(-100px);
    opacity: 0;
}

.testimonial-content.swiping-right {
    transform: translateX(100px);
    opacity: 0;
}

.testimonial-content.reset-position {
    transform: translateX(0);
    opacity: 1;
}

.quote-icon {
    color: var(--accent-blue);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.2;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: auto;
    position: relative;
    overflow-y: auto;
    padding-right: 1rem;
}

.testimonial-text::-webkit-scrollbar {
    width: 4px;
}

.testimonial-text::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 2px;
}

.testimonial-text::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-shrink: 0;
}

.author-initials {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.author-info h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.author-info p {
    color: var(--text-gray);
    margin: 0;
}

.testimonial-nav {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-shrink: 0;
}

.nav-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.nav-button:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateX(0);
}

.nav-button.prev:hover {
    transform: translateX(-5px);
}

.nav-button.next:hover {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .testimonial-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-image {
        aspect-ratio: 16/9;
    }

    .testimonial-text {
        font-size: 1.125rem;
    }
}

/* Remove old rating styles */
.testimonial-rating {
    display: none;
}

/* About section specific */
.about-content .section-title {
    text-align: left;
}

/* Services section specific */
.services-section .section-title {
    text-align: center;
}

/* Why Choose Us section specific */
.why-choose-us .section-title {
    text-align: center;
}

/* Testimonial section specific */
.testimonial-section .section-title {
    text-align: center;
}

/* Contact section specific */
.contact-section .section-title {
    text-align: center;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.gallery-section .section-label {
    text-align: center;
    color: var(--accent-blue);
}

.gallery-section .section-title {
    text-align: center;
    color: var(--primary-color);
}

.gallery-section .section-title span {
    color: var(--accent-blue);
}

.gallery-section .section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--primary-color);
}

.gallery-item::before {
    content: '';
    display: block;
    padding-top: 100%;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: block;
    opacity: 1;
}

.gallery-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-zoom-container img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1101;
    transition: transform 0.3s ease;
}

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

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: white;
}

.gallery-swiper .swiper-pagination {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .doctor-card {
        padding: 1rem;
    }
    
    .doctor-card h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
}

/* Logo Component */
.logo-component {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-component img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-component .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.logo-component--dark .logo-text {
    color: var(--primary-color);
}

.logo-component--light .logo-text {
    color: var(--bg-white);
}

@media (max-width: 768px) {
    .logo-component img {
        height: 50px;
    }
    
    .logo-component .logo-text {
        font-size: 1.25rem;
    }
}

/* Focus styles for better accessibility */
.mobile-sidebar a:focus,
.mobile-sidebar button:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Hide focus ring on mouse interaction */
.mobile-sidebar a:focus:not(:focus-visible),
.mobile-sidebar button:focus:not(:focus-visible) {
    outline: none;
}

/* Adjust desktop menu breakpoint */
@media (max-width: 991px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
} 