/* ============================================
   Tooth Fairy Dental Clinic - Production CSS
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
}

/* Skip to Main Content Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2a5298;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10001;
    border-radius: 0 0 4px 0;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #4caf50;
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navigation Styles
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: linear-gradient(135deg, #2a7aaa 0%, #2a5298 50%, #00b4db 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    justify-content: center;
    flex-grow: 1;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem;
    border-radius: 25px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.nav-cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #4caf50, #8bc34a);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.nav-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 1rem 0;
    min-width: 200px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #2a5298;
}

.nav-link i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* ============================================
   Hero Section Styles
   ============================================ */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: hero-slideshow 20s ease-in-out infinite;
    z-index: 1;
    transform: scale(1.1);
}

.hero-bg-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-bg-slide:nth-child(2) {
    animation-delay: 6s;
}

.hero-bg-slide:nth-child(3) {
    animation-delay: 12s;
}

.hero-bg-slide:nth-child(4) {
    animation-delay: 18s;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 122, 170, 0.7) 0%, rgba(42, 82, 152, 0.7) 50%, rgba(0, 180, 219, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 3;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInUp 1s ease 0.3s forwards;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInUp 1s ease 0.6s forwards;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #4caf50, #8bc34a);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInUp 1s ease 0.9s forwards;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
}

/* ============================================
   About Us Section Styles
   ============================================ */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.about-section::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 1200 800"><defs><pattern id="medical-dots" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="rgba(76,175,80,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23medical-dots)"/></svg>');
    opacity: 0.3;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* removed margin-top to avoid visual gap; use flex to center image */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.doctors-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.about-image:hover .doctors-image {
    transform: scale(1.05);
}

.experience-badge {
    background: linear-gradient(45deg, #4caf50, #8bc34a);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    margin: 12px;
}

/* New container for image and badge */
.image-badge-container {
    position: relative;
    display: inline-block;
}

.about-image .image-badge-container {
    width: 100%;
    height: 100%;
    display: block;
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

.about-content {
    padding: 2rem 0;
}

.about-header h2 {
    font-size: 2.8rem;
    color: #2a5298;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-subtitle {
    margin-bottom: 2rem;
}

.about-subtitle .highlight {
    display: block;
    font-size: 1.4rem;
    color: #4caf50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-subtitle .experience {
    display: block;
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 500;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 1.5rem;
    color: #4caf50;
    width: 30px;
    text-align: center;
}

.feature-item span {
    font-weight: 500;
    color: #2c3e50;
}

.about-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.about-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.about-btn.primary {
    background: linear-gradient(45deg, #4caf50, #8bc34a);
    color: white;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.about-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

.about-btn.secondary {
    background: transparent;
    color: #2a5298;
    border: 2px solid #2a5298;
}

.about-btn.secondary:hover {
    background: linear-gradient(135deg, #2a7aaa 0%, #2a5298 50%, #00b4db 100%);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   Doctor Section Styles
   ============================================ */
.doctor-section {
    padding: 5rem 0;
    background: #fff;
}

.doctor-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.doctor-image {
    position: relative;
}

.doctor-placeholder {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #2a7aaa 0%, #2a5298 50%, #00b4db 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.doctor-info h2 {
    font-size: 2.5rem;
    color: #2a5298;
    margin-bottom: 1rem;
}

.doctor-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #6c757d;
}

.appointment-btn {
    background: linear-gradient(45deg, #4caf50, #8bc34a);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.appointment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

/* ============================================
   Services Section Styles
   ============================================ */
.services {
    padding: 6rem 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(76, 175, 80, 0.05), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(30, 60, 114, 0.05), transparent 40%);
    opacity: 0.5;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    color: #2a5298;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    font-size: 1.4rem;
    margin: 1rem 0 0.5rem;
    color: #2a5298;
    font-weight: 600;
}

.service-card p {
    color: #6c757d;
    line-height: 1.7;
    padding: 0 1.5rem;
    flex-grow: 1;
}

/* Images inside the service cards (category cards) */
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.card-cta {
    margin: 1.5rem 0;
    padding: 0 1.5rem;
}

/* Focus styles for keyboard users */
.service-card:focus {
    outline: 3px solid rgba(76, 175, 80, 0.35);
    outline-offset: 4px;
    transform: translateY(-6px);
}

/* ============================================
   Testimonials Section Styles
   ============================================ */
.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2a7aaa 0%, #2a5298 50%, #00b4db 100%);
    position: relative;
}

.testimonials-section .section-title {
    color: #fff;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 350px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-author {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.testimonial-rating {
    color: #f39c12;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Contact Section Styles
   ============================================ */
.contact {
    padding: 6rem 0;
    background: #f8f9fa;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    padding: 4rem;
}

.contact-info .section-title {
    text-align: right;
}

.contact-info .section-subtitle {
    text-align: right;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: #4caf50;
    font-size: 1.5rem;
    width: 25px;
}

/* ============================================
   Info Cards Section Styles
   ============================================ */
.info-cards-section {
    padding: 6rem 0;
    background: #e9ecef;
}

.info-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.info-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.info-card-header h3 {
    font-size: 1.8rem;
    color: #2a5298;
}

.info-card-header i {
    font-size: 1.5rem;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
    padding: 1rem;
    border-radius: 50%;
}

.info-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #2c3e50;
}

.info-item i {
    color: #4caf50;
    width: 20px;
}

.info-item .time {
    margin-right: auto;
    font-weight: 600;
}

.info-item.closed .time {
    color: #e74c3c;
}

.info-card-footer {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn.instagram {
    background: #e4405f;
}

.social-btn.facebook {
    background: #3b5998;
}

.social-btn:hover {
    transform: translateY(-3px);
}

/* ============================================
   Map Section Styles
   ============================================ */
.map-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.map-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Footer Styles
   ============================================ */
.footer {
    background: linear-gradient(135deg, #2a7aaa 0%, #2a5298 50%, #00b4db 100%);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* ============================================
   Animations
   ============================================ */
@keyframes hero-slideshow {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
        transform: scale(1.2);
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Mobile Responsive Styles
   ============================================ */

/* iOS/Safari Specific Fixes */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scrolling for mobile */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Touch-friendly tap highlights */
* {
    -webkit-tap-highlight-color: rgba(76, 175, 80, 0.2);
}

/* Prevent horizontal scroll */
body,
html {
    max-width: 100%;
    overflow-x: hidden;
}

/* Tablet and Mobile (768px and below) */
@media (max-width: 768px) {

    /* Navigation improvements */
    .navbar {
        padding: 0.3rem 0;
    }

    .nav-container {
        gap: 0.5rem;
    }

    /* Hide desktop navigation items */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, rgba(42, 122, 170, 0.98) 0%, rgba(42, 82, 152, 0.98) 50%, rgba(0, 180, 219, 0.98) 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        transition: right 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        display: block;
        padding: 1rem 0.5rem;
        font-size: 1.1rem;
        width: 100%;
    }

    /* Hide social icons in mobile menu */
    .nav-container .social-icons {
        display: none;
    }

    /* Hide nav CTA button on mobile (WhatsApp sticky button serves this purpose) */
    .nav-cta-button {
        display: none;
    }

    /* Dropdown in mobile */
    .dropdown-menu {
        position: static;
        display: none;
        background: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        padding: 0;
        margin-left: 1rem;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu a {
        color: white;
        padding: 0.8rem 1rem;
        background: transparent;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Hero section */
    .hero {
        min-height: 70vh;
        height: auto;
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    /* Touch-friendly buttons */
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* About section */
    .about-section {
        padding: 3rem 0;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-image {
        min-height: auto;
    }

    .doctors-image {
        height: auto;
        max-height: 400px;
    }

    .about-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .about-subtitle .highlight {
        font-size: 1.1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-cta {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .about-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Services grid */
    .services {
        padding: 3rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        margin: 0;
    }

    /* Contact section */
    .contact {
        padding: 3rem 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-image {
        height: 250px;
    }

    .contact-image img {
        object-fit: cover;
        height: 100%;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }

    /* Info cards */
    .info-cards-section {
        padding: 3rem 0;
    }

    .info-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 2rem 1.5rem;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonial-card {
        min-width: 280px;
        padding: 2rem 1.5rem;
    }

    /* Map section */
    .map-section {
        padding: 3rem 0;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    /* Doctor sections */
    .doctor-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .doctor-placeholder {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    /* General section spacing */
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .doctor-info h2,
    .contact-info h2 {
        font-size: 1.8rem;
    }

    /* Improve touch targets */
    .contact-item {
        font-size: 1rem;
        padding: 0.5rem 0;
        min-height: 44px;
        align-items: center;
    }

    /* Social buttons */
    .social-btn {
        min-height: 44px;
        padding: 0.8rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .service-card,
    .treatment-card {
        margin: 0 10px;
    }

    .doctor-placeholder {
        width: 250px;
        height: 250px;
    }

    /* Logo for very small screens */
    .logo-image {
        height: 60px;
    }

    /* About section mobile */
    .about-header h2 {
        font-size: 1.8rem;
    }

    .about-subtitle .highlight {
        font-size: 1.1rem;
    }

    .about-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .about-cta {
        flex-direction: column;
        align-items: center;
    }

    .doctors-image {
        height: 350px;
    }

    .experience-badge {
        padding: 0.8rem 1.2rem;
    }

    .experience-badge .years {
        font-size: 1.5rem;
    }
}

/* ============================================
   WhatsApp Sticky Button
   ============================================ */
.whatsapp-sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-sticky a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-sticky a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-sticky i {
    font-size: 28px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-sticky a:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile responsive for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-sticky {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-sticky a {
        width: 55px;
        height: 55px;
    }

    .whatsapp-sticky i {
        font-size: 24px;
    }

    .whatsapp-tooltip {
        right: 65px;
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Logo responsive adjustments */
    .logo-image {
        height: 70px;
    }
}

/* ============================================
   Accessibility Improvements
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.nav-link:focus,
.cta-button:focus,
.appointment-btn:focus,
.treatment-btn:focus {
    outline: 2px solid #4caf50;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
    }

    .services {
        background: #000;
    }

    .footer {
        background: #000;
    }
}

/* Print styles */
@media print {

    .navbar,
    .footer {
        display: none;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
    }

    * {
        color: #000 !important;
        background: #fff !important;
    }
}

/* ============================================
   About Us Page Styles
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #2a7aaa 0%, #2a5298 50%, #00b4db 100%);
    color: #fff;
    padding: 12rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.doctor-profile-section {
    margin-bottom: 4rem;
}

.doctor-profile-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.doctor-profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.doctor-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-profile-content {
    padding: 3rem;
}

.doctor-name {
    font-size: 2.5rem;
    color: #2a5298;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.doctor-specialty {
    font-size: 1.2rem;
    color: #4caf50;
    font-weight: 600;
    margin-bottom: 2rem;
}

.doctor-bio h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #4caf50;
    padding-bottom: 0.5rem;
}

.doctor-bio p,
.doctor-bio ul {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
}

.doctor-bio ul {
    list-style-position: inside;
    padding-right: 1rem;
}

@media (max-width: 768px) {
    .doctor-profile-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .doctor-profile-image img {
        height: 400px;
    }

    .doctor-name {
        font-size: 2rem;
    }
}

/* ============================================
   About Clinic Section Styles
   ============================================ */
.about-clinic-section {
    padding: 4rem 0;
    background: #f8f9fa;
    border-radius: 20px;
    margin-top: 4rem;
}

.about-clinic-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-clinic-content h2 {
    font-size: 2.5rem;
    color: #2a5298;
    margin-bottom: 1.5rem;
}

.about-clinic-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.about-clinic-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-clinic-content ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: right;
}

.about-clinic-content ul li {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-clinic-content ul li i {
    color: #4caf50;
    font-size: 1.2rem;
}

/* ============================================
   LTR Override Styles
   ============================================ */

[lang="en"] body,
[lang="en"] .dental-services * {
    font-family: 'Poppins', sans-serif !important;
}

[lang="en"] body {
    text-align: left;
}

/* Navigation */
[lang="en"] .dropdown-menu {
    right: auto;
    left: 0;
}

[lang="en"] .nav-link i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Contact Section */
[lang="en"] .contact-info .section-title,
[lang="en"] .contact-info .section-subtitle {
    text-align: left;
}

/* Info Cards */
[lang="en"] .info-item .time {
    margin-right: 0;
    margin-left: auto;
}

/* WhatsApp Sticky Button */
[lang="en"] .whatsapp-sticky {
    right: auto;
    left: 20px;
}

[lang="en"] .whatsapp-tooltip {
    right: auto;
    left: 70px;
}

[lang="en"] .whatsapp-tooltip::after {
    left: auto;
    right: 100%;
    border-left-color: transparent;
    border-right-color: #333;
}

/* About Us Page */
[lang="en"] .doctor-bio ul {
    padding-right: 0;
    padding-left: 1rem;
}

[lang="en"] .about-clinic-content ul {
    text-align: left;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    [lang="en"] .nav-menu {
        right: auto;
        left: -100%;
        transition: left 0.3s ease;
    }

    [lang="en"] .nav-menu.active {
        right: auto;
        left: 0;
    }
}

/* Services Pages Specific Styles */
[lang="en"] .dental-services .service-card ul li {
    padding-right: 0;
    padding-left: 2.5rem;
    text-align: left;
}

[lang="en"] .dental-services .service-card ul li::before {
    right: auto;
    left: 0;
}

[lang="en"] .dental-services .service-card ul li::after {
    right: auto;
    left: 6px;
}

[lang="en"] .dental-services .service-card:hover ul li {
    transform: translateX(8px);
}

[lang="en"] #faqSection .faq-question {
    text-align: left;
}

.arabic-link {
    font-family: 'Tajawal', sans-serif !important;
}