/* Dental Clinic Styles - Lumiera */

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

/* Additional mobile reset */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

:root {
    --primary-gold: #D4AF37;
    --light-gold: #F4E4BC;
    --dark-gold: #B8860B;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #666666;
    --white: #ffffff;
    --cream: #FFF8DC;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Alexandria', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--dark-gray);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    /* Prevent text scaling on mobile */
    -ms-text-size-adjust: 100%;
    margin: 0;
    padding: 0;
}

/* Typography with Alexandria font */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Alexandria', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Make all titles use Alexandria */
.section-title,
.doctor-title,
.reviews-title,
.main-title,
.logo-name-main,
.logo-name-header {
    font-family: 'Alexandria', sans-serif !important;
}

/* Better mobile touch targets */
button,
.btn,
input,
textarea {
    min-height: 44px;
    /* iOS recommended touch target size */
    touch-action: manipulation;
    /* Prevent double-tap zoom */
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    height: 100vh;
    /* Force full height */
    background-image: url('images/cover.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    /* Fallback color */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    background-attachment: scroll;
    /* Changed from fixed to scroll for better performance */
    overflow: hidden;
    /* Prevent scroll issues */
    will-change: transform;
    /* Optimize for animations */
}

/* Hero CTA Overlay */
.hero-cta-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-main-title {
    font-family: 'Alexandria', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #D69234 0%, #BA975C 50%, #E69E3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-family: 'Alexandria', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--white);
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta-btn {
    font-family: 'Alexandria', sans-serif;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

.hero-cta-btn.primary {
    background: linear-gradient(135deg, #D69234, #E69E3C);
    color: #000;
    box-shadow: 0 8px 25px rgba(214, 175, 55, 0.4);
}

.hero-cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(214, 175, 55, 0.6);
    background: linear-gradient(135deg, #E69E3C, #FFD700);
}

.hero-cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-gold);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-cta-btn.secondary:hover {
    background: rgba(214, 175, 55, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(214, 175, 55, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Ensure the image loads properly */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./images/cover.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    background-attachment: scroll;
    /* Changed from fixed to scroll for better performance */
}

/* Mobile optimization for hero section */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        /* Better performance on mobile */
        min-height: 60vh;
        height: 60vh;
        /* Reduce height for mobile */
        background-size: cover;
        background-position: center center;
    }

    .hero-section::before {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }

    .hero-main-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-cta-btn {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }

    .scroll-indicator {
        bottom: 15px;
    }

    .scroll-indicator span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 50vh;
        height: 50vh;
        /* Even smaller height for very small screens */
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        width: 100vw;
        /* Full viewport width */
        margin: 0;
        padding: 0;
    }

    .hero-section::before {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        width: 100%;
        height: 100%;
    }

    .hero-main-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-cta-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        max-width: 250px;
    }

    /* Remove any body margins/padding on mobile */
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
}

.hero-overlay {
    display: none;
    /* Hide all text content */
}

.hero-content {
    display: none;
    /* Hide all text content */
}

.hero-content {
    text-align: center;
    color: var(--white);
}

.main-title-section {
    margin-bottom: 60px;
}

.main-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.lumiera-text {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-gold);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    display: block;
}

.dental-text {
    font-size: 2rem;
    color: var(--white);
    font-weight: 300;
    letter-spacing: 3px;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.welcome-arabic {
    font-size: 3rem;
    color: var(--white);
    font-weight: 600;
    margin: 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.clinic-logos-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.lumiera-logo-main {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 30px 40px;
    border-radius: 20px;
    border: 2px solid var(--primary-gold);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.logo-icon-tooth {
    font-size: 3rem;
    color: var(--primary-gold);
}

.logo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-name-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
}

.logo-subtitle-main {
    font-size: 1rem;
    color: var(--white);
    font-weight: 300;
    letter-spacing: 2px;
}

.dr-noura-badge {
    background: rgba(0, 0, 0, 0.9);
    padding: 25px 35px;
    border-radius: 15px;
    border: 2px solid var(--primary-gold);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge-title {
    font-size: 0.9rem;
    color: var(--primary-gold);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.doctor-name {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 700;
    margin: 5px 0;
    letter-spacing: 1px;
}

.doctor-surname {
    font-size: 1rem;
    color: var(--primary-gold);
    font-weight: 600;
    letter-spacing: 1px;
}

/* About Doctor Section - New Clean Design */
.about-doctor {
    padding: 100px 0;
    background: #3a3a3a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content {
    position: relative;
    max-width: 1200px;
    width: 100%;
    height: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-image-container {
    position: relative;
    z-index: 1;
}

.doctor-photo {
    width: 350px;
    height: 450px;
    border: 6px solid #ffffff;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.doctor-info-box {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 480px;
    height: 320px;
    background: rgba(65, 65, 65, 0.95);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    margin-right: -120px;
    /* Overlap with image */
}

.doctor-title {
    color: #D4AF37;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: right;
    direction: rtl;
    line-height: 1.3;
}

.doctor-text {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: right;
    direction: rtl;
    opacity: 0.95;
}

.doctor-btn {
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: #000000;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.doctor-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #FFD700, #D4AF37);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .doctor-image-container {
        margin-bottom: 30px;
    }

    .doctor-photo {
        width: 280px;
        height: 350px;
        border: 4px solid #ffffff;
    }

    .doctor-info-box {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: auto;
        margin-right: 0;
        text-align: center;
    }

    .doctor-title,
    .doctor-text {
        text-align: center;
        direction: ltr;
    }
}

.about-content {
    position: relative;
    max-width: 1400px;
    width: 100%;
    height: 600px;
    margin: 0 auto;
    padding: 0 60px;
    overflow: visible;
}

.doctor-image {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.doctor-photo {
    width: 400px;
    height: 500px;
    border: 8px solid #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

.doctor-info-card {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    height: 350px;
    background: rgba(70, 70, 70, 0.92);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border: 2px solid #007bff;
    z-index: 15;
}

.info-content {
    color: var(--white);
    text-align: right;
    direction: rtl;
}

.doctor-info-card .section-title {
    color: #D4AF37;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: right;
}

.doctor-info-card .doctor-description {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: right;
}

.doctor-image {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.doctor-photo {
    width: 400px;
    height: 500px;
    border: 8px solid #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.doctor-info-card {
    width: 719px;
    height: 440px;
    /* position: absolute; */
    top: 1109px;
    left: 982px;
    transform: rotate(0deg);
    opacity: 1;
    border-radius: 20px;
    background: rgba(70, 70, 70, 0.8);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-content {
    color: var(--white);
    text-align: right;
    direction: rtl;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-title {
    color: #D4AF37;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: right;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.doctor-description {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: right;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-gold {
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: #000;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #FFD700, #D4AF37);
}

.doctor-info-card .btn-gold {
    padding: 12px 30px;
    font-size: 1rem;
    margin-top: 15px;
}

/* Mobile responsive for about-doctor section */
@media (max-width: 768px) {
    .about-content {
        position: relative;
        height: auto;
        padding: 20px;
    }

    .doctor-image {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        text-align: center;
        margin-bottom: 30px;
    }

    .doctor-photo {
        width: 280px;
        height: 350px;
        border: 4px solid #ffffff;
        margin: 0 auto;
    }

    .doctor-info-card {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: auto;
        margin-right: 0;
        padding: 30px 20px;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .doctor-description {
        text-align: center;
        font-size: 1rem;
    }

    .info-content {
        text-align: center;
        direction: ltr;
    }
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 30px;
    font-weight: 700;
    text-align: right;
    line-height: 1.2;
}

.doctor-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--white);
    text-align: right;
}

/* Contact Form Section */
.contact-section {
    padding: 80px 0;
    background: var(--black);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-form-container {
    display: flex;
    justify-content: center;
}

.form-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-input {
    width: 100%;
    padding: 18px 20px;
    border: none;
    border-radius: 12px;
    background: #f5f5f5;
    font-family: inherit;
    font-size: 1rem;
    color: var(--black);
    transition: all 0.3s ease;
    text-align: right;
    direction: rtl;
}

.form-input:focus {
    outline: none;
    background: #eeeeee;
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: #999;
    font-weight: 400;
}

.clinic-info-section {
    color: var(--white);
    padding-right: 20px;
}

.clinic-logo-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.logo-tooth-icon {
    font-size: 3rem;
    color: var(--primary-gold);
}

.logo-text-content {
    display: flex;
    flex-direction: column;
}

.logo-name-header {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
}

.logo-subtitle-header {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 300;
    letter-spacing: 2px;
}

.clinic-description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: right;
    direction: rtl;
}

.clinic-description-text p {
    margin-bottom: 25px;
    color: var(--white);
}

.clinic-description-text p:last-child {
    font-weight: 600;
    color: var(--primary-gold);
}

/* Customer Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
    content-visibility: auto;
    /* Improve rendering performance */
    contain-intrinsic-size: auto 500px;
}

.reviews-title {
    font-size: 3rem;
    color: var(--primary-gold);
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
}

.reviews-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.review-slide {
    display: none;
    animation: slideIn 0.5s ease-in-out;
}

.review-slide.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.instagram-post {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 350px;
    width: 100%;
    border: 1px solid #e0e0e0;
}

.post-header {
    background: linear-gradient(135deg, #2c1810, #4a2c1a);
    padding: 20px;
    text-align: center;
    position: relative;
}

.clinic-logo-post {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.logo-icon-post {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.clinic-info-post {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.clinic-name-post {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
}

.clinic-subtitle-post {
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 300;
}

.post-tagline {
    font-size: 1rem;
    color: var(--white);
    font-style: italic;
    margin-bottom: 10px;
}

.dr-info {
    position: absolute;
    top: 15px;
    right: 15px;
}

.dr-handle {
    font-size: 0.7rem;
    color: var(--primary-gold);
    font-weight: 600;
}

.review-content {
    padding: 20px;
    text-align: left;
}

.reviewer-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviewer-name {
    font-weight: 600;
    color: var(--black);
    font-size: 0.9rem;
}

.review-time {
    font-size: 0.7rem;
    color: #666;
}

.rating {
    font-size: 0.8rem;
    margin: 2px 0;
}

.review-date {
    font-size: 0.7rem;
    color: #666;
}

.review-text {
    line-height: 1.6;
    font-size: 0.85rem;
    color: var(--black);
    margin-bottom: 15px;
}

.review-text p {
    margin-bottom: 10px;
}

.post-actions {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.action-text {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.engagement {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.likes {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--black);
}

.source {
    font-size: 0.7rem;
    color: #666;
}

.contact-footer {
    background: var(--primary-gold);
    padding: 10px 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-text {
    font-size: 0.8rem;
    color: var(--black);
    font-weight: 500;
}

.phone-number {
    font-size: 0.8rem;
    color: var(--black);
    font-weight: 700;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-gold);
    transform: scale(1.2);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

.btn-gold {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: var(--black);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    padding: 18px 30px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Hero Section Tablet Optimization */
    .hero-section {
        min-height: 60vh;
        height: 60vh;
        background-attachment: scroll;
        background-position: center center;
        padding: 0;
    }

    .hero-section::before {
        background-attachment: scroll;
        background-position: center center;
    }

    .container {
        padding: 0 15px;
    }

    .lumiera-text {
        font-size: 2.8rem;
    }

    .dental-text {
        font-size: 1.1rem;
    }

    .welcome-arabic {
        font-size: 1.8rem;
    }

    .clinic-logos-section {
        flex-direction: column;
        gap: 25px;
    }

    .main-title-section {
        margin-bottom: 35px;
    }

    .lumiera-logo-main {
        padding: 18px 22px;
    }

    .logo-icon-tooth {
        font-size: 1.8rem;
    }

    .logo-name-main {
        font-size: 1.4rem;
    }

    .doctor-name {
        font-size: 1.3rem;
    }

    /* Contact Form Tablet */
    .form-card {
        padding: 30px 25px;
        margin: 0 20px;
    }

    .form-input {
        padding: 12px 15px;
        font-size: 15px;
    }

    .contact-content {
        gap: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .about-doctor {
        padding: 50px 0;
    }

    .doctor-info-card {
        margin-left: 0;
        padding: 40px 30px;
    }

    .doctor-photo {
        height: 400px;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
        text-align: center;
    }

    .doctor-description {
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .form-card {
        max-width: none;
        padding: 40px 30px;
    }

    .clinic-info-section {
        padding-right: 0;
        text-align: center;
    }

    .clinic-description-text {
        text-align: center;
        direction: ltr;
    }

    .logo-name-header {
        font-size: 2rem;
    }

    /* Header Tablet */
    .header {
        padding: 8px 0;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: 1.6rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    /* Hero Section Mobile Optimization */
    .hero-section {
        min-height: 10vh;
        height: 40vh;
        background-attachment: scroll;
        background-position: center center;
        width: 100%;
        padding: 0;
    }

    .hero-section::before {
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
    }

    .lumiera-text {
        font-size: 2.2rem;
    }

    .dental-text {
        font-size: 0.9rem;
    }

    .welcome-arabic {
        font-size: 1.3rem;
    }

    .main-title-section {
        margin-bottom: 30px;
    }

    .lumiera-logo-main {
        padding: 12px 16px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }

    .dr-noura-badge {
        padding: 15px 20px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    /* Mobile container optimization */
    .container {
        padding: 0 10px;
    }

    /* About Doctor Section Mobile */
    .about-doctor {
        padding: 40px 0;
    }

    .doctor-info-box {
        padding: 20px;
        width: 100%;
        margin: 0;
        position: relative;
        transform: none;
        right: auto;
        top: auto;
    }

    .doctor-photo {
        width: 100%;
        max-width: 280px;
        height: 350px;
        margin: 0 auto 20px;
    }

    .doctor-title {
        font-size: 1.4rem;
        text-align: center;
    }

    .doctor-text {
        font-size: 0.9rem;
        text-align: center;
    }

    /* Contact Form Mobile */
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .form-card {
        padding: 20px 15px;
        margin: 0 10px;
    }

    .form-input {
        padding: 15px 12px;
        font-size: 16px;
        /* Prevents zoom on iOS */
        width: 100%;
        box-sizing: border-box;
    }

    .form-button {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }

    .clinic-info-section {
        padding: 0 10px;
        text-align: center;
    }

    .clinic-description-text {
        font-size: 0.9rem;
        text-align: center;
    }

    .logo-name-header {
        font-size: 1.6rem;
    }

    /* Reviews Section Mobile */
    .reviews-section {
        padding: 40px 0;
    }

    .reviews-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .review-item {
        min-width: 280px;
        height: 400px;
    }

    .review-image {
        width: 280px;
        height: 400px;
    }

    /* Cases Section Mobile */
    .cases-section {
        padding: 40px 0;
    }

    .cases-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .case-item {
        min-width: 250px;
        height: 300px;
        width: 250px;
    }

    .case-image {
        width: 250px;
        height: 300px;
    }

    /* Sliders Mobile */
    .reviews-slider,
    .cases-slider {
        padding: 0 10px;
    }

    .reviews-track,
    .cases-track {
        gap: 15px;
        padding: 0 10px;
    }

    /* Header Mobile */
    .header {
        padding: 5px 0;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-actions {
        gap: 0.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 500px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 10%;
    color: var(--primary-color);
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 20%;
    color: var(--secondary-color);
    animation-delay: 1s;
}

.card-3 {
    bottom: 30%;
    left: 20%;
    color: var(--accent-color);
    animation-delay: 2s;
}

.main-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.circle {
    position: absolute;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 50px;
    left: 50px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    opacity: 0.15;
    animation-direction: reverse;
    animation-duration: 15s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 100px;
    left: 100px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    opacity: 0.2;
    animation-duration: 10s;
}

/* Background Shapes */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.05;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -150px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
}

/* Features Section */
.features {
    padding: 100px 0 80px 0;
    background: #f8f9fa;
    clear: both;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.features .section-title {
    font-family: 'Alexandria', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
    font-weight: 700;
}

.section-description {
    font-size: 1.125rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
}


.about-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-points {
    margin-bottom: 2rem;
}

.point {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.point i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

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

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-brand h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.footer-column h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-stats {
        justify-content: space-around;
    }

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

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

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

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .form {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
.btn:focus,
.form-input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.2);
        --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
        --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3);
    }
}
.wrapper {
    display: flex;
    flex-direction: column;
    list-style: none;
    position: fixed;
    left: 0;
    top: 60%;
    z-index: 10;
  }
  .wrapper .icon {
    position: relative;
    background-color: #585440;
    border-radius: 0;
    padding: 15px;
    margin: 2px;
    width: 50px;
    height: 50px;
    font-size: 23px;
    display: flex;
    color: #fff;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
    .wrapper .call , .wrapper .whatsapp , .wrapper .messenger {
      border-radius:50%;
    }
  .wrapper a {
    color: #fff;
  }
  .wrapper .tooltip {
    position: absolute;
    left: 0;
    font-size: 14px;
    background: #212429;
    color: #ffffff;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  .wrapper .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #ffffff;
    left: 0px;
    top: 48px;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  .wrapper .icon:hover .tooltip {
    left: 45px !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .wrapper .icon:hover span,
  .wrapper .icon:hover .tooltip {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
  }
  .wrapper .facebook:hover,
  .wrapper .facebook:hover .tooltip,
  .wrapper .facebook:hover .tooltip::before {
    background: #1877f2;
    color: #ffffff;
  }
  .wrapper .whatsapp:hover,
  .wrapper .whatsapp:hover .tooltip,
  .wrapper .whatsapp:hover .tooltip::before {
    background: #4caf50;
    color: #ffffff;
  }
  .wrapper .instagram:hover,
  .wrapper .instagram:hover .tooltip,
  .wrapper .instagram:hover .tooltip::before {
    background: #e4405f;
    color: #ffffff;
  }
  .wrapper .call:hover,
  .wrapper .call:hover .tooltip,
  .wrapper .call:hover .tooltip::before {
    background: #128c7e;
    color: #ffffff;
  }
  .wrapper .youtube:hover,
  .wrapper .youtube:hover .tooltip,
  .wrapper .youtube:hover .tooltip::before {
    background: #cd201f;
    color: #ffffff;
  }
  a {
    color: white;
}