/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Force no horizontal scroll - Ultimate fix */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
}

body > * {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Hide only horizontal scrollbars - keep vertical scrollbars visible */
html {
    overflow-x: hidden !important;
    overflow-y: auto; /* Allow vertical scrolling */
}

body {
    overflow-x: hidden !important;
    overflow-y: auto; /* Allow vertical scrolling */
}

/* Hide horizontal scrollbar only for Firefox */
html, body {
    scrollbar-width: thin; /* Show vertical scrollbar */
}

/* For webkit browsers - show vertical scrollbar only on html/body, hide horizontal */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 12px;
    height: 0; /* Hide horizontal scrollbar */
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Hide scrollbars on all sections and other elements */
section::-webkit-scrollbar,
.hero::-webkit-scrollbar,
.about-section::-webkit-scrollbar,
.services-section::-webkit-scrollbar,
.gallery-section::-webkit-scrollbar,
.testimonials-section::-webkit-scrollbar,
.faq-section::-webkit-scrollbar,
.contact-section::-webkit-scrollbar,
.stats-section::-webkit-scrollbar,
*:not(html):not(body)::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

[dir="rtl"] html,
[dir="rtl"] body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

:root {
    --primary-color: #2c7cd1;
    --primary-dark: #1e5aa8;
    --secondary-color: #4a90e2;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
}

* {
    max-width: 100%;
}


[dir="rtl"] html,
[dir="rtl"] body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

section,
.hero,
.about-section,
.services-section,
.gallery-section,
.testimonials-section,
.faq-section,
.contact-section,
.stats-section {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    position: relative;
}

[dir="rtl"] section,
[dir="rtl"] .hero,
[dir="rtl"] .about-section,
[dir="rtl"] .services-section,
[dir="rtl"] .gallery-section,
[dir="rtl"] .testimonials-section,
[dir="rtl"] .faq-section,
[dir="rtl"] .contact-section,
[dir="rtl"] .stats-section {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

/* Arabic Font Support - Apply Cairo font when Arabic is selected */
html[dir="rtl"] body,
html[lang="ar"] body {
    font-family: 'Cairo', 'Poppins', sans-serif;
}

/* Ensure all text elements use Cairo font in Arabic/RTL mode */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] span,
html[dir="rtl"] a,
html[dir="rtl"] button,
html[dir="rtl"] li,
html[dir="rtl"] td,
html[dir="rtl"] th,
html[dir="rtl"] label,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] option,
html[dir="rtl"] div,
html[dir="rtl"] strong,
html[dir="rtl"] em,
html[dir="rtl"] small,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] p,
html[lang="ar"] span,
html[lang="ar"] a,
html[lang="ar"] button,
html[lang="ar"] li,
html[lang="ar"] td,
html[lang="ar"] th,
html[lang="ar"] label,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select,
html[lang="ar"] option,
html[lang="ar"] div,
html[lang="ar"] strong,
html[lang="ar"] em,
html[lang="ar"] small {
    font-family: 'Cairo', 'Poppins', sans-serif !important;
}

/* RTL Support */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .container {
    direction: rtl;
}

html[dir="rtl"] .text-center {
    text-align: center;
}

html[dir="rtl"] .section-header {
    text-align: center;
}

/* RTL Layout Adjustments */
html[dir="rtl"] .nav-wrapper {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .about-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .service-detail-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .service-detail-content.reverse {
    flex-direction: row;
}

html[dir="rtl"] .contact-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .service-link i.fa-arrow-right {
    transform: scaleX(-1);
}

html[dir="rtl"] .testimonial-prev i,
html[dir="rtl"] .testimonial-next i {
    transform: scaleX(-1);
}

html[dir="rtl"] .mobile-menu-toggle {
    order: -1;
}

html[dir="rtl"] .language-switcher {
    order: -2;
}

/* RTL Text Alignment */
html[dir="rtl"] .text-left {
    text-align: right;
}

html[dir="rtl"] .text-right {
    text-align: left;
}

/* RTL Margins and Padding */
html[dir="rtl"] .service-link i {
    margin-left: 0;
    margin-right: 8px;
}

html[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-info {
    flex-direction: row-reverse;
}

/* RTL Team Section */
html[dir="rtl"] .team-credentials {
    text-align: right;
}

html[dir="rtl"] .team-video-decoration {
    right: auto;
    left: -40px;
}

html[dir="rtl"] .team-video-decoration::before {
    right: auto;
    left: -20px;
}

html[dir="rtl"] .team-video-decoration::after {
    left: auto;
    right: -50px;
}

/* RTL Testimonials Slider */
html[dir="rtl"] .testimonials-track {
    direction: rtl;
}

html[dir="rtl"] .testimonials-nav {
    flex-direction: row-reverse;
}

/* RTL Services Page */
html[dir="rtl"] .service-detail-content {
    direction: rtl;
}

html[dir="rtl"] .service-detail-content.reverse {
    direction: ltr;
}

html[dir="rtl"] .service-detail-content > * {
    direction: rtl;
}

html[dir="rtl"] .service-detail-content.reverse > * {
    direction: ltr;
}

html[dir="rtl"] .service-benefits {
    text-align: right;
    padding-right: 0;
    padding-left: 0;
}

html[dir="rtl"] .service-benefits li {
    text-align: right;
    padding-left: 0;
    padding-right: 30px;
}

html[dir="rtl"] .service-benefits li::before {
    right: 0;
    left: auto;
}

html[dir="rtl"] .service-detail-text {
    text-align: right;
}

html[dir="rtl"] .service-detail-text h2,
html[dir="rtl"] .service-detail-text h3 {
    text-align: right;
}

html[dir="rtl"] .service-detail-text p {
    text-align: right;
}

/* Toast Notification */
.toast-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

.toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
    width: 100%;
    max-width: 550px;
    padding: 0 20px;
}

html[dir="rtl"] .toast-container {
    left: 50%;
    right: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.toast {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(44, 124, 209, 0.4);
    width: 100%;
    max-width: 550px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    animation: scaleIn 0.4s ease-out;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid rgba(4, 120, 87, 0.7);
}

html[dir="rtl"] .toast {
    animation: scaleIn 0.4s ease-out;
}

.toast-icon {
    width: 50px;
    height: 50px;
    background: rgba(4, 120, 87, 0.4);
    border: 2px solid rgba(4, 120, 87, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: scaleIn 0.5s ease-out 0.2s both;
}

.toast-icon i {
    font-size: 1.8rem;
    color: white;
    animation: checkmark 0.6s ease-out 0.3s both;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-message {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 10px;
}

.toast-booking-number {
    font-size: 1rem;
    font-weight: 600;
    background: rgb(3 109 79 / 90%);
    border: 1px solid rgba(4, 120, 87, 0.7);
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 10px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.toast-clinic-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(4, 120, 87, 0.7);
}

.toast-clinic-info-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
}

html[dir="rtl"] .toast-clinic-info-title {
    text-align: right;
    justify-content: flex-end;
}

.toast-clinic-info-title i {
    font-size: 1.1rem;
}

.toast-clinic-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast-clinic-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgb(3 109 79 / 90%);
    border: 1px solid rgba(4, 120, 87, 0.6);
    padding: 12px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.toast-clinic-detail-item:hover {
    background: rgb(3 109 79 / 95%);
    border-color: rgba(4, 120, 87, 0.7);
    transform: translateX(-2px);
}

html[dir="rtl"] .toast-clinic-detail-item:hover {
    transform: translateX(2px);
}

.toast-clinic-detail-icon {
    width: 35px;
    height: 35px;
    background: rgba(4, 120, 87, 0.4);
    border: 1px solid rgba(4, 120, 87, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
}

.toast-clinic-detail-content {
    flex: 1;
}

.toast-clinic-detail-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 4px;
    font-weight: 500;
}

.toast-clinic-detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.toast-clinic-detail-value a {
    color: white;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.toast-clinic-detail-value a:hover {
    opacity: 0.8;
}

.toast-maps-button {
    margin-top: 15px;
    width: 100%;
    background: rgb(3 109 79 / 90%);
    border: 2px solid rgba(4, 120, 87, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.toast-maps-button:hover {
    background: rgb(3 109 79 / 95%);
    border-color: rgba(4, 120, 87, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 109, 79, 0.5);
}

.toast-maps-button:active {
    transform: translateY(0);
}

.toast-maps-button i {
    font-size: 1.1rem;
}

/* RTL Support for Toast Clinic Info */
html[dir="rtl"] .toast-clinic-detail-item {
    text-align: right;
    flex-direction: row-reverse;
}

html[dir="rtl"] .toast-clinic-detail-content {
    text-align: right;
}

html[dir="rtl"] .toast-clinic-info-title {
    flex-direction: row-reverse;
    text-align: right;
    justify-content: flex-end;
}

html[dir="rtl"] .toast-maps-button {
    flex-direction: row-reverse;
}

html[dir="rtl"] .toast-clinic-detail-label {
    text-align: right;
}

html[dir="rtl"] .toast-clinic-detail-value {
    text-align: right;
}

/* Scrollbar styling for toast */
.toast::-webkit-scrollbar {
    width: 6px;
}

.toast::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.toast::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.toast::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.toast-booking-number span {
    flex: 1;
}

.toast-copy-btn {
    background: rgba(4, 120, 87, 0.4);
    border: 1px solid rgba(4, 120, 87, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.toast-copy-btn:hover {
    background: rgba(4, 120, 87, 0.5);
    border-color: rgba(4, 120, 87, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.5);
}

.toast-copy-btn:active {
    transform: translateY(0);
}

.toast-copy-btn.copied {
    background: rgba(4, 120, 87, 0.6);
    border-color: rgba(4, 120, 87, 1);
}

.toast-copy-btn i {
    font-size: 0.9rem;
}

.toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(4, 120, 87, 0.4);
    border: 1px solid rgba(4, 120, 87, 0.8);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    line-height: 1;
}

html[dir="rtl"] .toast-close {
    right: auto;
    left: 10px;
}

.toast-close:hover {
    background: rgba(4, 120, 87, 0.5);
    border-color: rgba(4, 120, 87, 0.9);
    transform: rotate(90deg);
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.toast.hiding {
    animation: scaleOut 0.3s ease-in forwards;
}

@keyframes scaleOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.8);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .toast-container {
        padding: 0 15px;
        max-width: calc(100% - 30px);
        width: calc(100% - 30px);
        left: 50% !important;
        right: auto !important;
    }
    
    .toast {
        padding: 20px 15px;
        max-width: 100%;
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }
    
    .toast-icon {
        width: 40px;
        height: 40px;
        align-self: center;
    }
    
    .toast-icon i {
        font-size: 1.3rem;
    }
    
    .toast-content {
        width: 100%;
    }
    
    .toast-clinic-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .toast-clinic-detail-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .toast-maps-button {
        padding: 10px 15px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .toast-title {
        font-size: 1rem;
    }
    
    .toast-message {
        font-size: 0.85rem;
    }
    
    .toast-booking-number {
        font-size: 0.9rem;
        padding: 10px 12px;
        flex-wrap: wrap;
    }
    
    .toast-clinic-info {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .toast-clinic-info-item {
        padding: 10px 12px;
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .toast-copy-btn {
        width: 100%;
        justify-content: center;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: min(1200px, 100vw);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

[dir="rtl"] .container {
    overflow-x: hidden;
}

.navbar .container {
    padding: 0 20px;
    margin: 0 auto;
    width: 100%;
    max-width: min(1200px, 100vw);
    box-sizing: border-box;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar .container {
        padding: 0 15px;
    }
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-primary.btn-block {
    width: 100%;
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 15px 0;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 968px) {
    .navbar {
        height: auto;
        min-height: 70px;
        overflow: visible !important;
    }
    
    .navbar .container {
        overflow: visible !important;
    }
    
    .nav-wrapper {
        overflow: visible !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
        min-height: 70px;
    }
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

@media (max-width: 968px) {
    .nav-wrapper {
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex-shrink: 0;
        margin-right: auto;
    }
    
    html[dir="rtl"] .logo {
        margin-right: 0;
        margin-left: auto;
    }
    
    .mobile-menu-toggle {
        flex-shrink: 0;
        margin-left: auto;
        z-index: 1001 !important;
        position: relative;
        pointer-events: auto;
    }
    
    html[dir="rtl"] .mobile-menu-toggle {
        margin-left: 0;
        margin-right: auto;
    }
}

/* Language Switcher - Simple Toggle Button */
.language-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: 20px;
    padding: 8px 16px;
    border-radius: 25px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
}

html[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 20px;
}

.language-switcher:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.language-switcher:active {
    transform: translateY(0);
}

.language-switcher .lang-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

@media (max-width: 968px) {
    .language-switcher {
        position: relative !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 8px 12px !important;
    }
    
    html[dir="rtl"] .language-switcher {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.logo-image:hover {
    transform: scale(1.05);
}

@media (max-width: 968px) {
    .logo {
        flex-shrink: 0;
    }
    
    .logo-image {
        height: 60px;
        max-width: 200px;
    }
}

.logo .tagline {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu .btn-primary {
    white-space: nowrap;
    color: white !important;
    font-size: 0.95rem;
    padding: 12px 28px;
}

.nav-menu .btn-primary:hover {
    color: white !important;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
    pointer-events: auto;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    pointer-events: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: url('../images/hero-pattern.svg');
    background-size: cover;
    background-position: center;
}

/* Decorative Teeth Background */
.teeth-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.teeth-decoration i {
    position: absolute;
    color: rgba(44, 124, 209, 0.08);
    font-size: 4rem;
    opacity: 0.6;
    animation: floatTeeth 15s ease-in-out infinite;
}

.teeth-decoration i:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    font-size: 3rem;
}

.teeth-decoration i:nth-child(2) {
    top: 20%;
    right: 8%;
    animation-delay: 1s;
    font-size: 4.5rem;
}

.teeth-decoration i:nth-child(3) {
    bottom: 25%;
    left: 10%;
    animation-delay: 2s;
    font-size: 3.5rem;
}

.teeth-decoration i:nth-child(4) {
    bottom: 15%;
    right: 12%;
    animation-delay: 1.5s;
    font-size: 4rem;
}

.teeth-decoration i:nth-child(5) {
    top: 50%;
    left: 3%;
    animation-delay: 2.5s;
    font-size: 3rem;
}

.teeth-decoration i:nth-child(6) {
    top: 60%;
    right: 5%;
    animation-delay: 3s;
    font-size: 3.5rem;
}

.teeth-decoration i:nth-child(7) {
    top: 35%;
    left: 15%;
    animation-delay: 0.5s;
    font-size: 2.5rem;
}

.teeth-decoration i:nth-child(8) {
    bottom: 40%;
    right: 18%;
    animation-delay: 1.8s;
    font-size: 3rem;
}

.teeth-decoration i:nth-child(9) {
    top: 70%;
    left: 8%;
    animation-delay: 2.2s;
    font-size: 2.8rem;
}

.teeth-decoration i:nth-child(10) {
    bottom: 10%;
    left: 20%;
    animation-delay: 3.5s;
    font-size: 3.2rem;
}

@keyframes floatTeeth {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translate(20px, -20px) rotate(5deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(-15px, -30px) rotate(-5deg);
        opacity: 0.5;
    }
    75% {
        transform: translate(25px, -10px) rotate(3deg);
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    margin-bottom: 50px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-video {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(44, 124, 209, 0.2);
}

.btn-video:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 124, 209, 0.4);
}

.btn-video i {
    font-size: 1.5rem;
    animation: playPulse 2s ease-in-out infinite;
    position: relative;
}

.btn-video:hover i {
    animation: playPulse 1s ease-in-out infinite;
}

@keyframes playPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    width: 95%;
    max-width: 1200px;
    z-index: 10001;
    animation: scaleIn 0.3s ease;
    min-height: 500px;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
}

.video-modal-close:hover {
    background: white;
    color: var(--primary-color);
    transform: rotate(90deg);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    min-height: 500px;
    height: 0;
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 500px;
    border: 0;
    object-fit: contain;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-item .rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
}

.info-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

.info-item a {
    color: var(--primary-color);
}

/* Hero Image Styles */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    animation: fadeInRight 1s ease-out;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(44, 124, 209, 0.3);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

.hero-image-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(44, 124, 209, 0.1), rgba(74, 144, 226, 0.1));
    border-radius: 50%;
    z-index: 1;
    animation: pulse 3s ease-in-out infinite;
}

.hero-image-decoration::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(44, 124, 209, 0.15), rgba(74, 144, 226, 0.15));
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite 0.5s;
}

.hero-image-decoration::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite 1s;
}

.hero-image-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(44, 124, 209, 0.4);
    z-index: 3;
    animation: slideInLeft 1s ease-out 0.5s both, bounce 2s ease-in-out infinite 2s;
}

.hero-image-badge i {
    font-size: 1.1rem;
    color: #ffd700;
    animation: rotate 3s linear infinite;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-20px) rotate(-1deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 25px;
    overflow: visible;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    animation: fadeInLeft 1s ease-out;
}

.about-image-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(44, 124, 209, 0.2), rgba(74, 144, 226, 0.2));
    border-radius: 50%;
    z-index: 0;
    animation: pulse 3s ease-in-out infinite;
}

.about-image-decoration::after {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite 0.5s;
}

.about-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1) contrast(1);
}

.about-image:hover .about-image-main {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 30px;
    border-radius: 0 0 25px 25px;
    z-index: 2;
    opacity: 0;
    transition: all 0.4s ease;
}

.about-image:hover .about-image-overlay {
    opacity: 1;
}

.about-image-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image:hover .about-image-badge {
    transform: translateY(0);
}

.about-image-badge i {
    color: #e91e63;
    font-size: 1.2rem;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20% {
        transform: scale(1.15);
    }
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.features-list {
    margin: 40px 0;
}

.features-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.features-list i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.features-list h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.features-list p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.services-section .teeth-decoration i {
    color: rgba(44, 124, 209, 0.15);
    filter: contrast(1.2) brightness(1.1) drop-shadow(0 2px 4px rgba(44, 124, 209, 0.2));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.about-section {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.about-section .teeth-decoration i {
    color: rgba(16, 185, 129, 0.15);
    filter: contrast(1.2) brightness(1.1) drop-shadow(0 2px 4px rgba(16, 185, 129, 0.2));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.gallery-section {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.gallery-section .teeth-decoration i {
    color: rgba(44, 124, 209, 0.15);
    filter: contrast(1.2) brightness(1.1) drop-shadow(0 2px 4px rgba(44, 124, 209, 0.2));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }
.service-card:nth-child(9) { animation-delay: 0.9s; }
.service-card:nth-child(10) { animation-delay: 1s; }

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(44, 124, 209, 0.25);
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0.95);
}

.service-card:hover .service-image {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1) contrast(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 124, 209, 0.85), rgba(74, 144, 226, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(3px);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    color: white;
    font-size: 4rem;
    transform: scale(0.5) rotate(-180deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: iconPulse 2s ease-in-out infinite;
}

.service-card:hover .service-overlay i {
    transform: scale(1) rotate(0deg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 25px auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.service-card > h3,
.service-card > p,
.service-card > .service-link {
    padding: 0 30px;
}

.service-card > h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.service-card > p {
    margin-bottom: 20px;
}

.service-card > .service-link {
    margin-bottom: 30px;
    display: inline-block;
}


.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    gap: 10px;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.team-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.team-video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.team-video-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.team-video-decoration {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(44, 124, 209, 0.15), rgba(74, 144, 226, 0.15));
    border-radius: 50%;
    z-index: 0;
    animation: pulse 3s ease-in-out infinite;
}

.team-video-decoration::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.08));
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite 0.5s;
}

.team-video-decoration::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(44, 124, 209, 0.1), rgba(74, 144, 226, 0.1));
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite 1s;
}

.team-video-player {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000;
}

.team-video-player:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 80px rgba(44, 124, 209, 0.3);
}

.team-video-player video,
.team-video-player .team-doctor-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 25px;
    transition: all 0.5s ease;
    object-fit: cover;
}

.team-video-player:hover video,
.team-video-player:hover .team-doctor-image {
    filter: brightness(1.1) contrast(1.05);
    transform: scale(1.05);
}

.team-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 30px;
    border-radius: 0 0 25px 25px;
    z-index: 2;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-video-player:hover .team-video-overlay {
    opacity: 1;
}

.team-video-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 28px;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-video-player:hover .team-video-badge {
    transform: translateY(0);
}

.team-video-badge i {
    color: var(--primary-color);
    font-size: 1.4rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-info {
    padding: 40px 30px;
    text-align: center;
    background: var(--bg-white);
    border-radius: 0 0 25px 25px;
    margin-top: -5px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.team-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.team-credentials {
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.team-credentials strong {
    color: var(--text-dark);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .stat-item p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 2.2rem;
    }
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Gallery Slider */
.gallery-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-item {
    min-width: 100%;
    padding: 0 15px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Before/After Pair Styles */
.gallery-item.before-after-pair {
    aspect-ratio: auto;
    background: var(--bg-white);
    padding: 0;
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 100%;
    position: relative;
}

.before-image-wrapper,
.after-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.before-image-wrapper img,
.after-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.before-image-wrapper:hover img,
.after-image-wrapper:hover img {
    transform: scale(1.1);
}

.image-label {
    position: absolute;
    top: 20px;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.before-label {
    left: 20px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
}

.after-label {
    right: 20px;
    background: rgba(40, 167, 69, 0.9);
    color: white;
}

[dir="rtl"] .before-label {
    left: auto;
    right: 20px;
}

[dir="rtl"] .after-label {
    right: auto;
    left: 20px;
}

/* Divider between before/after */
.before-after-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    z-index: 5;
    box-shadow: 0 0 10px rgba(44, 124, 209, 0.5);
}

[dir="rtl"] .before-after-container::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

/* Gallery Navigation */
.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.gallery-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.gallery-nav button:hover {
    background: var(--primary-color);
    color: white;
}

/* Fix arrow directions in RTL mode */
[dir="rtl"] .gallery-prev i.fa-chevron-left {
    transform: scaleX(-1);
}

[dir="rtl"] .gallery-next i.fa-chevron-right {
    transform: scaleX(-1);
}

/* Gallery Dots */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(44, 124, 209, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.gallery-dot:hover {
    background: var(--primary-color);
    opacity: 0.7;
}

/* Responsive styles for before/after pairs */
@media (max-width: 768px) {
    .gallery-slider {
        max-width: 100%;
    }
    
    .gallery-item {
        padding: 0 10px;
    }
    
    .before-after-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .before-image-wrapper,
    .after-image-wrapper {
        height: 400px;
        border-radius: 15px;
        overflow: hidden;
    }
    
    .before-after-container::before {
        display: none;
    }
    
    .image-label {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .before-label {
        left: 15px;
        top: 15px;
    }
    
    .after-label {
        right: 15px;
        top: 15px;
    }
    
    [dir="rtl"] .before-label {
        left: auto;
        right: 15px;
    }
    
    [dir="rtl"] .after-label {
        right: auto;
        left: 15px;
    }
    
    .gallery-nav button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .before-image-wrapper,
    .after-image-wrapper {
        height: 350px;
    }
    
    .gallery-item {
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .before-image-wrapper,
    .after-image-wrapper {
        height: 350px;
    }
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44, 124, 209, 0.3);
}

.gallery-item.before-after-pair:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 124, 209, 0.25);
}

.gallery-item.before-after-pair:hover .before-image-wrapper img {
    filter: brightness(0.95);
}

.gallery-item.before-after-pair:hover .after-image-wrapper img {
    filter: brightness(1.05);
}

.gallery-item:not(.before-after-pair) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1);
}

.gallery-item:not(.before-after-pair):hover img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 124, 209, 0.9), rgba(74, 144, 226, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.gallery-item:not(.before-after-pair):hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: all 0.4s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-overlay::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid white;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay::before {
    opacity: 1;
    transform: scale(1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-light);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-white);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 20px;
}

.testimonial-content {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.quote-icon {
    color: var(--primary-color);
    font-size: 3rem;
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonials-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-nav button:hover {
    background: var(--primary-color);
    color: white;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.contact-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;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-link,
.whatsapp-link {
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 5px;
    display: inline-block;
}

.contact-link:hover,
.whatsapp-link:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 30px;
}

.social-links h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    font-size: 1rem;
    transition: var(--transition);
}

/* Ensure form elements use Cairo font in RTL/Arabic */
html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group textarea,
html[dir="rtl"] .form-group select,
html[dir="rtl"] .form-group option,
html[dir="rtl"] .contact-form select,
html[dir="rtl"] .contact-form option,
html[lang="ar"] .form-group input,
html[lang="ar"] .form-group textarea,
html[lang="ar"] .form-group select,
html[lang="ar"] .form-group option,
html[lang="ar"] .contact-form select,
html[lang="ar"] .contact-form option {
    font-family: 'Cairo', 'Poppins', sans-serif !important;
    text-align: right !important;
}

/* Fix placeholder text alignment in RTL */
html[dir="rtl"] .form-group input::placeholder,
html[dir="rtl"] .form-group textarea::placeholder,
html[dir="rtl"] .contact-form input::placeholder,
html[dir="rtl"] .contact-form textarea::placeholder,
html[lang="ar"] .form-group input::placeholder,
html[lang="ar"] .form-group textarea::placeholder,
html[lang="ar"] .contact-form input::placeholder,
html[lang="ar"] .contact-form textarea::placeholder {
    text-align: right !important;
    direction: rtl !important;
}

/* Ensure select dropdown options use Cairo font */
html[dir="rtl"] select option,
html[lang="ar"] select option {
    font-family: 'Cairo', 'Poppins', sans-serif !important;
}

.form-success-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

.form-success-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-success-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Lottie Animation Styles */
.lottie-animation-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 0 !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    background: transparent !important;
    border-radius: 15px;
    overflow: visible !important;
    position: relative;
    width: 100% !important;
    min-height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1 !important;
}

#cleaningTeethAnimation {
    width: 100% !important;
    max-width: 250px !important;
    min-width: 150px !important;
    min-height: 150px !important;
    height: auto !important;
    background: transparent !important;
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto !important;
    flex-shrink: 0 !important;
}

#cleaningTeethAnimation svg {
    background: transparent !important;
    background-color: transparent !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 150px !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    /* Change color to match website primary blue (#2c7cd1) */
    /* Using CSS filter to convert teal/cyan to blue - adjust if needed */
    filter: brightness(0) saturate(100%) invert(27%) sepia(89%) saturate(1352%) hue-rotate(195deg) brightness(97%) contrast(87%);
}

/* Remove ONLY large background rectangles (not all rectangles) */
/* #cleaningTeethAnimation svg rect - commented out as not needed */

/* Don't make all white fills transparent - only large background elements */
/* Commented out to keep animation visible */
/*
#cleaningTeethAnimation svg [fill*="rgb(255"],
#cleaningTeethAnimation svg [fill*="#fff"],
#cleaningTeethAnimation svg [fill*="#ffffff"],
#cleaningTeethAnimation svg [fill*="rgb(249"],
#cleaningTeethAnimation svg [fill*="#f9fafb"] {
    fill-opacity: 0 !important;
    fill: transparent !important;
}
*/

/* Floating Social Media Widget - WhatsApp static, others expandable */
.social-float-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    visibility: visible;
    pointer-events: auto;
    overflow: visible !important;
    max-width: none !important;
    max-height: none !important;
}

html[dir="rtl"] .social-float-widget {
    right: auto;
    left: 30px;
}

.social-float-toggle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(44, 124, 209, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: socialPulse 2s infinite;
    position: relative;
    z-index: 1001;
    margin-top: 0;
    margin-bottom: 15px;
    flex-shrink: 0;
    order: 2; /* Toggle button above WhatsApp */
}

.social-float-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(44, 124, 209, 0.5);
}

.social-float-toggle.active {
    background: var(--primary-dark);
    transform: rotate(45deg) scale(1.1);
}


.social-float-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    transform-origin: bottom center;
    z-index: 10000;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 0;
    min-height: auto;
    width: auto;
    min-width: 50px;
    align-items: flex-end;
    margin-bottom: 0;
}

html[dir="rtl"] .social-float-menu {
    right: auto;
    left: 0;
}

.social-float-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    z-index: 10000 !important;
    overflow: visible !important;
    max-height: none !important;
    align-items: flex-end !important;
}

html[dir="rtl"] .social-float-menu {
    right: auto;
    left: 0;
}

.social-float-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: scale(0.8);
    opacity: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1000;
}

.social-float-menu.active .social-float-item {
    opacity: 1 !important;
    transform: scale(1) !important;
    animation: socialIconFadeIn 0.3s ease forwards;
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10001 !important;
}

.social-float-menu.active .social-float-item:nth-child(1) {
    animation-delay: 0.05s;
}

.social-float-menu.active .social-float-item:nth-child(2) {
    animation-delay: 0.1s;
}

.social-float-menu.active .social-float-item:nth-child(3) {
    animation-delay: 0.15s;
}

.social-float-menu.active .social-float-item:nth-child(4) {
    animation-delay: 0.2s;
}

.social-float-menu.active .social-float-item:nth-child(5) {
    animation-delay: 0.25s;
}

.social-float-menu.active .social-float-item:nth-child(6) {
    animation-delay: 0.3s;
}

.social-float-menu.active .social-float-item:nth-child(7) {
    animation-delay: 0.35s;
}

.social-float-menu.active .social-float-item:nth-child(8) {
    animation-delay: 0.4s;
}

.social-float-whatsapp-static {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    background: #25d366 !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem !important;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
    order: 3; /* WhatsApp at bottom */
    flex-shrink: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform: scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.social-float-toggle {
    order: 2; /* Toggle button above WhatsApp */
    margin-bottom: 15px;
    margin-top: 0;
}

/* Fallback: Simple WhatsApp Float Button (for backward compatibility) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
    animation: socialPulse 2s infinite;
}

html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes socialPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes socialIconFadeIn {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Social icon colors */
.social-float-item[data-platform="facebook"] {
    background: #1877f2;
}

.social-float-item[data-platform="instagram"] {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-float-item[data-platform="twitter"] {
    background: #1da1f2;
}

.social-float-item[data-platform="linkedin"] {
    background: #0077b5;
}

.social-float-item[data-platform="youtube"] {
    background: #ff0000;
}

.social-float-item:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .social-float-widget {
        bottom: 20px;
        right: 20px;
    }
    
    html[dir="rtl"] .social-float-widget {
        right: auto;
        left: 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    html[dir="rtl"] .whatsapp-float {
        right: auto;
        left: 20px;
    }
}

.social-float-menu.active .social-float-item:hover {
    transform: scale(1.2) translateY(-8px) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.social-float-menu.active .social-float-item:active {
    transform: scale(1.1) translateY(-5px);
}

.social-float-whatsapp-static:hover {
    transform: scale(1.15) translateY(-5px) !important;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5) !important;
}

.social-float-item[data-platform="whatsapp"] {
    background: #25d366;
    animation-delay: 0.1s;
}

/* Ensure WhatsApp static icon is always same size as other icons */
.social-float-item.social-float-whatsapp-static {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    transform: scale(1) !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
}

.social-float-item[data-platform="facebook"] {
    background: #1877f2;
    animation-delay: 0.2s;
}

.social-float-item[data-platform="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    animation-delay: 0.3s;
}

.social-float-item[data-platform="twitter"] {
    background: #1da1f2;
    animation-delay: 0.4s;
}

.social-float-item[data-platform="linkedin"] {
    background: #0077b5;
    animation-delay: 0.5s;
}

.social-float-item[data-platform="youtube"] {
    background: #ff0000;
    animation-delay: 0.6s;
}

@keyframes socialIconFadeIn {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes socialPulse {
    0% {
        box-shadow: 0 4px 15px rgba(44, 124, 209, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(44, 124, 209, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(44, 124, 209, 0.3);
    }
}

/* Pulse animation for social icons on hover */
@keyframes socialIconPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 768px) {
    .social-float-widget {
        bottom: 20px;
        right: 20px;
    }
    
    html[dir="rtl"] .social-float-widget {
        right: auto;
        left: 20px;
    }
    
    .social-float-toggle {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .social-float-item {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .social-float-whatsapp-static {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
        max-width: 45px !important;
        max-height: 45px !important;
        font-size: 1.1rem !important;
    }
}

@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);
    }
}

/* Videos Section */
.videos-section {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.videos-slider {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
    overflow: hidden;
    padding: 0 60px;
}

.videos-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    will-change: transform;
}

.video-slide {
    min-width: calc(33.333% - 20px);
    flex-shrink: 0;
    padding: 0;
}

.video-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.video-play-overlay i {
    font-size: 4rem;
    color: white;
    animation: playPulse 2s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-info h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.video-info p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

.video-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.video-slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.video-slider-prev {
    left: 0;
}

.video-slider-next {
    right: 0;
}

html[dir="rtl"] .video-slider-prev {
    left: auto;
    right: 0;
}

html[dir="rtl"] .video-slider-next {
    right: auto;
    left: 0;
}

html[dir="rtl"] .video-slider-prev i {
    transform: scaleX(-1) !important;
}

html[dir="rtl"] .video-slider-next i {
    transform: scaleX(-1) !important;
}

html[dir="rtl"] .video-slider-prev i {
    transform: scaleX(-1);
}

html[dir="rtl"] .video-slider-next i {
    transform: scaleX(-1);
}

.videos-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .video-slide {
        min-width: calc(50% - 15px);
    }
    
    .videos-slider {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .videos-section {
        padding: 60px 0;
    }
    
    .video-slide {
        min-width: 100%;
    }
    
    .videos-slider {
        padding: 0 50px;
    }
    
    .video-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .video-slider-prev {
        left: 5px;
    }
    
    .video-slider-next {
        right: 5px;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 70px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.footer-column .slogan {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-list i {
    color: var(--primary-color);
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-list span,
.contact-list a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Footer Credit - Made by HMAServ */
.footer-credit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-credit {
        font-size: 0.85rem;
        gap: 6px;
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .hmaserv-logo {
        width: 18px;
        height: 18px;
    }
}

.footer-credit i.fa-heart {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
    margin: 0 4px;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}

.hmaserv-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.hmaserv-link:hover {
    color: white;
    transform: translateY(-2px);
}

.hmaserv-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: var(--transition);
}

.hmaserv-link:hover .hmaserv-logo {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: white !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 40px 20px !important;
        transition: left 0.3s ease, right 0.3s ease !important;
        box-shadow: var(--shadow-lg) !important;
        z-index: 999999 !important;
        overflow-y: auto !important;
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        will-change: transform !important;
        isolation: isolate !important;
    }

    .nav-menu.active {
        left: 0 !important;
        right: auto !important;
    }
    
    html[dir="rtl"] .nav-menu {
        left: auto !important;
        right: -100% !important;
    }
    
    html[dir="rtl"] .nav-menu.active {
        right: 0 !important;
        left: auto !important;
    }
    
    /* Force all other content behind */
    body > section,
    body > .hero,
    body > .about-section,
    body > .services-section,
    body > .gallery-section,
    body > .testimonials-section,
    body > .faq-section,
    body > .contact-section,
    body > .stats-section {
        position: relative !important;
        z-index: 1 !important;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 100000;
        position: relative;
    }
    
    .language-switcher {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    html[dir="rtl"] .language-switcher {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .nav-menu li:last-child {
        position: relative !important;
    }
    
    .nav-menu li:last-child {
        position: relative !important;
    }
    
    .nav-menu li:last-child .language-switcher {
        position: relative !important;
    }
    
    .nav-menu li:last-child .language-dropdown {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: auto !important;
        z-index: 100001 !important;
        margin-top: 0 !important;
        width: auto !important;
        min-width: 150px !important;
        transform: translateY(0) !important;
    }
    
    html[dir="rtl"] .nav-menu li:last-child .language-dropdown {
        right: auto !important;
        left: 0 !important;
    }
    
    .nav-menu li:last-child {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
        position: relative;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image-wrapper {
        order: -1;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .hero-image-container {
        max-width: 100%;
    }

    .hero-image-decoration {
        width: 150px;
        height: 150px;
        top: -20px;
        right: -20px;
    }

    .hero-image-decoration::before {
        width: 120px;
        height: 120px;
        top: -15px;
        right: -15px;
    }

    .hero-image-decoration::after {
        width: 140px;
        height: 140px;
        bottom: -30px;
        left: -30px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image-decoration {
        width: 100px;
        height: 100px;
        top: -20px;
        right: -20px;
    }

    .about-image-decoration::after {
        width: 80px;
        height: 80px;
        top: -10px;
        right: -10px;
    }

    .team-video-decoration {
        width: 120px;
        height: 120px;
        top: -25px;
        right: -25px;
    }

    .team-video-decoration::before {
        width: 100px;
        height: 100px;
        top: -15px;
        right: -15px;
    }

    .team-video-decoration::after {
        width: 110px;
        height: 110px;
        bottom: -35px;
        left: -35px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-image-wrapper {
        order: -1;
        max-width: 350px;
        margin: 0 auto;
    }

    .hero-image-decoration {
        width: 120px;
        height: 120px;
        top: -15px;
        right: -15px;
    }

    .hero-image-decoration::before {
        width: 100px;
        height: 100px;
        top: -10px;
        right: -10px;
    }

    .hero-image-decoration::after {
        width: 110px;
        height: 110px;
        bottom: -25px;
        left: -25px;
    }

    .hero-image-badge {
        left: -10px;
        bottom: 20px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-text h2,
    .hero-tagline,
    .hero-description {
        text-align: center;
    }
    
    .hero-info {
        grid-template-columns: 1fr;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .info-item {
        white-space: normal;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .info-item strong,
    .info-item p {
        text-align: center;
    }

    .hero-info {
        grid-template-columns: 1fr;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .info-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }
    
    .info-item i {
        margin-bottom: 5px;
    }
    
    .info-item .rating {
        justify-content: center;
    }
    
    .info-item strong,
    .info-item p {
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .btn-video,
    .btn-primary.btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 16px 32px;
        font-size: 1rem;
        margin: 0 auto;
    }

    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .team-video-decoration {
        width: 80px;
        height: 80px;
        top: -15px;
        right: -15px;
    }

    .team-video-decoration::before {
        width: 70px;
        height: 70px;
        top: -10px;
        right: -10px;
    }

    .team-video-decoration::after {
        width: 75px;
        height: 75px;
        bottom: -25px;
        left: -25px;
    }

    .team-video-badge {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .team-info {
        padding: 30px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-content {
        padding: 30px 20px;
    }

    .about-image-decoration {
        width: 80px;
        height: 80px;
        top: -15px;
        right: -15px;
    }

    .about-image-decoration::after {
        width: 60px;
        height: 60px;
        top: -10px;
        right: -10px;
    }

    .logo-image {
        height: 60px;
        max-width: 220px;
    }

    .teeth-decoration i {
        font-size: 2rem !important;
        opacity: 0.25;
    }

    .teeth-decoration i:nth-child(n+7) {
        display: none;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Detail Section */
.services-detail-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.service-detail {
    margin-bottom: 100px;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

/* RTL: When page is RTL, reverse the reverse */
html[dir="rtl"] .service-detail-content.reverse {
    direction: ltr;
}

html[dir="rtl"] .service-detail-content.reverse > * {
    direction: rtl;
}

html[dir="rtl"] .service-detail-content:not(.reverse) {
    direction: rtl;
}

html[dir="rtl"] .service-detail-content:not(.reverse) > * {
    direction: rtl;
}

.service-detail-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 400px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 30px;
}

.service-detail-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-detail-text > p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-detail-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 30px 0 20px;
}

.service-benefits {
    list-style: none;
    margin-bottom: 30px;
}

.service-benefits li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.service-benefits li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Additional Services Section */
.additional-services-section {
    padding: 100px 0;
    background: var(--bg-light);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-content .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-content .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

/* Responsive for Services Page */
@media (max-width: 968px) {
    .service-detail-content {
        grid-template-columns: 1fr;
    }

    .service-detail-content.reverse {
        direction: ltr;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .service-detail-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .service-detail-text h2 {
        font-size: 1.8rem;
    }

    .service-detail-image {
        height: 300px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

