/* Modern Variables & Reset */
:root {
    --primary: #0B4F6C;
    --primary-light: #1B7CA5;
    --primary-dark: #083548;
    --secondary: #DBA858;
    --secondary-light: #F4C67A;
    --accent: #01C7C8;
    --accent-light: #40E0D0;
    --gold: #DBA858;
    --success: #2ECC71;
    --text: #2C3E50;
    --text-light: #607D8B;
    --white: #ffffff;
    --light: #F8FAFC;
    --gray: #E2E8F0;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    --shadow: 0 4px 20px rgba(11, 79, 108, 0.1);
    --shadow-lg: 0 10px 40px rgba(11, 79, 108, 0.15);
    --shadow-xl: 0 20px 60px rgba(11, 79, 108, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Cormorant Garamond', serif;
}

/* Disable Selection */
*, 
*::before, 
*::after {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a{
    text-decoration: none;
    color: inherit;
}

/* Disable Image Dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Allow Selection for Input Fields */
input, 
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 5.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-family: var(--font-primary);
}

.lead {
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-family: var(--font-primary);
}

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

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Fix section scrolling */
section {
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Fix container heights and overflow */
.container,
.section-header,
.expertise-section,
.credentials-section,
.contact-section,
.footer-section01,
.hero-slider,
.hero-content,
.expertise-grid,
.credentials-grid,
.contact-wrapper,
.info-items-container,
.footer-grid01,
.footer-container01,
.luxury-footer01 {
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
}

/* Fix mobile menu scrolling */
@media (max-width: 992px) {
    .nav-links {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        height: calc(100vh - 80px) !important;
        padding-bottom: 50px;
    }

    .nav-links > * {
        overflow: visible !important;
    }
}

/* Fix map container */
.map-container01 {
    overflow: hidden !important; /* Keep map contained */
    height: 300px !important;
}

/* Fix certificate slider */
.certificates-slider {
    overflow: hidden !important; /* Keep slider contained */
}

/* Fix hero slider */
.hero-slider {
    overflow: hidden !important; /* Keep slider contained */
    height: 100vh !important;
    min-height: 700px !important;
}

/* Fix any fixed height elements */
.before-after-slider,
.process-image,
.about-image {
    overflow: hidden !important;
}

/* Ensure proper scrolling for the whole page */
body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* Fix grid layouts to prevent individual scrolling */
.expertise-grid,
.credentials-grid,
.contact-wrapper,
.info-items-container,
.footer-grid01 {
    display: grid;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

/* Fix card heights */
.expertise-card,
.contact-card,
.info-item,
.footer-section01 {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

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

/* Modern Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: hidden;
}

/* Enhanced Header */
.top-bar {
    background: var(--gradient-dark);
    padding: 12px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

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

.contact-info span {
    margin-right: 25px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    opacity: 0.9;
    transition: var(--transition);
}

.contact-info span:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.contact-info i {
    margin-right: 8px;
    color: var(--secondary);
}

.social-links a {
    color: var(--white);
    margin-left: 20px;
    transition: var(--transition);
    opacity: 0.8;
    font-size: 1.1rem;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--secondary);
}

/* Enhanced Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    transition: all 0.4s ease;
}

nav.sticky {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

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

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.4s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 20px;
}

.virtual-consult-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.virtual-consult-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.appointment-btn {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

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

/* Enhanced Hero Section */
.animated-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    z-index: 1;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1.2s ease, opacity 1.2s ease;
}

.hero-slider .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.swiper-slide-active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 20px;
    padding: 10px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    backdrop-filter: blur(5px);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.4s;
}

.swiper-slide-active .hero-subtitle {
    transform: translateY(0);
    opacity: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.6s;
}

.swiper-slide-active .hero-content h1 {
    transform: translateY(0);
    opacity: 1;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.8s;
}

.swiper-slide-active .hero-content p {
    transform: translateY(0);
    opacity: 1;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 1s;
}

.swiper-slide-active .hero-buttons {
    transform: translateY(0);
    opacity: 1;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    z-index: -1;
    transition: all 0.5s ease;
}

.cta-button:hover::before {
    transform: scale(1.1);
}

.cta-button.primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    box-shadow: 0 10px 20px rgba(219, 168, 88, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(219, 168, 88, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--secondary);
}

.cta-button.secondary:hover {
    background: rgba(219, 168, 88, 0.1);
    transform: translateY(-3px);
    border-color: var(--secondary);
}

.cta-button i {
    margin-left: 10px;
    font-size: 1.2rem;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    z-index: 10;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
    color: #fff;
}

/* Swiper Pagination Styles */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #fff;
    border-color: #2196f3;
    transform: scale(1.2);
}

/* Hero Features */
.hero-features {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.3s;
}

.swiper-slide-active .hero-features {
    transform: translateY(0);
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    padding: 15px 25px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature i {
    font-size: 2rem;
    color: var(--secondary);
}

.feature-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-features {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 600px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .hero-features {
        padding: 20px;
    }

    .feature {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-features {
        display: none;
    }
}

/* Specialties Section */
#specialties {
    padding: 100px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.specialty-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.specialty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialty-icon i {
    font-size: 35px;
    color: var(--white);
}

/* Technology Section */
.parallax-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/tech-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    color: var(--white);
    padding: 100px 0;
}

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

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.tech-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    padding: 40px;
    color: var(--white);
}

.appointment-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 163, 200, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 163, 200, 0.3);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .specialty-card {
        padding: 30px 20px;
    }
}

/* Add new modern components */
.nav-buttons {
    display: flex;
    gap: 15px;
}

.virtual-consult-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.virtual-consult-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* About Section Enhancement */
.about-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--light) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-section {
        padding: 80px 0;
    }

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

    .about-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
        position: relative;
    }

    .about-content {
        order: 2;
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .credentials {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-grid {
        gap: 30px;
    }

    .about-image {
        max-width: 400px;
    }

    .about-content h2 {
        font-size: 2.8rem;
    }

    .about-content .subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .about-content .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .credentials {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .credential-item {
        display: flex;
        align-items: center;
        gap: 20px;
        background: var(--light);
        padding: 20px;
        border-radius: 15px;
        box-shadow: var(--shadow);
        transition: transform 0.3s ease;
    }

    .credential-item:hover {
        transform: translateY(-5px);
    }

    .credential-item i {
        font-size: 2rem;
        color: var(--secondary);
        background: var(--white);
        padding: 15px;
        border-radius: 12px;
        box-shadow: var(--shadow);
    }

    .experience-badge {
        position: absolute;
        bottom: -20px;
        right: 20px;
        background: var(--gradient-gold);
        padding: 20px 30px;
        border-radius: 20px;
        box-shadow: var(--shadow-lg);
        color: var(--white);
        text-align: center;
        animation: float 3s ease-in-out infinite;
    }

    .experience-badge .years {
        font-size: 2.5rem;
        font-weight: 700;
        display: block;
        line-height: 1;
    }

    .experience-badge .text {
        font-size: 1rem;
        opacity: 0.9;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 40px 0;
    }

    .about-grid {
        gap: 25px;
    }

    .about-image {
        max-width: 320px;
    }

    .about-content h2 {
        font-size: 2.4rem;
    }

    .about-content .subtitle {
        font-size: 1.1rem;
    }

    .about-content .lead {
        font-size: 1rem;
        line-height: 1.6;
    }

    .credential-item {
        padding: 15px;
        gap: 15px;
    }

    .credential-item i {
        font-size: 1.5rem;
        padding: 12px;
    }

    .experience-badge {
        bottom: -15px;
        right: 15px;
        padding: 15px 25px;
        border-radius: 15px;
    }

    .experience-badge .years {
        font-size: 2rem;
    }

    .experience-badge .text {
        font-size: 0.9rem;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-content {
    padding-right: 40px;
}

.about-content h2 {
    font-size: 3.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.about-content:hover h2::after {
    width: 100%;
}

.about-content .subtitle {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.about-content .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 3rem;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--secondary);
}

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

.credential-item {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.credential-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        rgba(219, 168, 88, 0.2) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(219, 168, 88, 0.2) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.credential-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.credential-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.credential-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.credential-item h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.credential-item p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.4s ease;
}

.experience-badge:hover {
    transform: translateY(-10px) rotate(3deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 1rem;
    color: var(--text);
    display: block;
    margin-top: 5px;
}

@media (max-width: 1200px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .about-content h2 {
        font-size: 3rem;
    }
}

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

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

    .about-content {
        padding-right: 0;
        text-align: center;
    }

    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-content .lead {
        padding-left: 0;
        border-left: none;
        text-align: left;
    }

    .credentials {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 3rem auto 0;
    }

    .experience-badge {
        bottom: 20px;
        right: 20px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .about-content h2 {
        font-size: 2.5rem;
    }

    .about-content .subtitle {
        font-size: 1.2rem;
    }

    .about-content .lead {
        font-size: 1.1rem;
    }

    .credential-item {
        padding: 20px;
    }

    .experience-badge .years {
        font-size: 2rem;
    }
}

/* Enhanced Services Section */
.services-section {
    padding: 100px 0;
    background: var(--light);
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 30px;
    color: var(--white);
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light);
}

.service-features li:last-child {
    border-bottom: none;
}

.learn-more {
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.learn-more:hover {
    gap: 12px;
}

/* Enhanced Doctors Section */
.doctors-section {
    padding: 100px 0;
    background: var(--white);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.doctor-image {
    position: relative;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.1);
}

.doctor-info {
    padding: 25px;
    text-align: center;
}

.doctor-info h3 {
    margin-bottom: 5px;
}

.specialty {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 5px;
}

.credentials {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.doctor-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.doctor-social a {
    color: var(--text-light);
    transition: var(--transition);
}

.doctor-social a:hover {
    color: var(--primary);
}

/* Enhanced Contact Section */
.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header h2 {
    font-size: 4rem;
    background: linear-gradient(to right, var(--secondary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header:hover h2::after {
    width: 200px;
}

.section-header .lead {
    color: var(--white);
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 35px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(219, 168, 88, 0.2);
}

.contact-card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(219, 168, 88, 0.3);
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover .card-icon i {
    transform: scale(1.2);
}

.card-content h4 {
    color: var(--secondary);
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-links a {
    color: var(--white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.contact-links a:hover {
    color: var(--secondary);
    opacity: 1;
    transform: translateX(10px);
}

.contact-links i {
    color: var(--secondary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-links a:hover i {
    transform: scale(1.2);
}

.hours-grid {
    display: grid;
    gap: 15px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    color: var(--white);
    font-weight: 500;
    opacity: 0.9;
}

.hours-item .time {
    color: var(--secondary);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--gradient-gold);
    color: var(--white);
    transform: translateY(-5px) rotate(10deg);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(219, 168, 88, 0.2);
}

.map-container {
    height: 100%;
    min-height: 600px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.8) contrast(1.2);
    transition: all 0.5s ease;
}

.map-container:hover iframe {
    filter: grayscale(0) contrast(1);
}

/* Add floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.contact-card {
    animation: float 6s ease-in-out infinite;
}

.contact-card:nth-child(1) { animation-delay: 0s; }
.contact-card:nth-child(2) { animation-delay: 1.5s; }
.contact-card:nth-child(3) { animation-delay: 3s; }
.contact-card:nth-child(4) { animation-delay: 4.5s; }

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-wrapper {
        gap: 40px;
    }

    .contact-info-cards {
        gap: 25px;
    }

    .contact-card {
        padding: 30px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 992px) {
    .contact-section {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 3.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        min-height: 400px;
        order: -1;
    }
}

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

    .section-header h2 {
        font-size: 3rem;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-card {
        text-align: center;
    }

    .card-icon {
        margin: 0 auto 20px;
    }

    .contact-links a {
        justify-content: center;
    }

    .hours-item {
        justify-content: space-around;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .section-header .lead {
        font-size: 1.1rem;
    }

    .contact-card {
        padding: 25px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-content h4 {
        font-size: 1.4rem;
    }

    .contact-links a {
        font-size: 1rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}


.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-3px);
    border-color: var(--secondary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.contact-item:hover {
    color: var(--white);
    transform: translateX(5px);
}

.contact-item i {
    width: 20px;
    color: var(--secondary);
}

.contact-item a,
.contact-item span {
    color: inherit;
    text-decoration: none;
    font-size: 1rem;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 10px 20px;
    border-bottom: 1px solid var(--light);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: var(--text);
    text-decoration: none;
    display: block;
}

.dropdown-menu a:hover {
    color: var(--primary);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
    transition: var(--transition);
    z-index: 1001;
    margin-left: auto;
}

.mobile-menu-btn:hover {
    color: var(--gold);
}

.mobile-menu-btn.active {
    color: var(--gold);
}

.mobile-menu-btn i {
    pointer-events: none;
}

@media screen and (max-width: 992px) {
    .mobile-menu-btn {
        display: block !important;
        order: 1;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: 0.3s ease;
        z-index: 1000;
        gap: 2rem;
        align-items: flex-start;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: flex !important;
        transform: translateX(-100%);
    }

    .nav-links.active {
        left: 0;
        transform: translateX(0);
    }

    /* RTL Mobile Menu */
    .rtl .nav-links {
        left: 0;
        right: 0;
        transform: translateX(100%);
        text-align: right;
        align-items: flex-end;
    }

    .rtl .nav-links.active {
        transform: translateX(0);
    }

    .rtl .mobile-menu-btn {
        margin-right: auto;
        margin-left: 0;
        order: 3;
    }

    .rtl .nav-buttons {
        margin-right: 0;
        margin-left: 1rem;
        order: 2;
    }

    .rtl .logo {
        order: 1;
        margin-right: 0;
        margin-left: auto;
    }

    .rtl .mobile-lang-switcher {
        text-align: right;
        width: 100%;
    }

    .rtl .mobile-lang-switcher .lang-btn {
        justify-content: right;
        padding-right: 1.5rem;
        width: 100%;
    }

    .rtl .mobile-lang-switcher .lang-dropdown a {
        justify-content: right;
        padding-right: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .nav-buttons {
        gap: 0.5rem;
    }

    .mobile-menu-btn {
        font-size: 20px;
        padding: 0.3rem;
        display: block !important;
    }

    .nav-links {
        padding: 1.5rem;
    }

    .appointment-btn {
        padding: 0.6rem;
    }

    .rtl .nav-links {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .rtl .mobile-lang-switcher .lang-btn,
    .rtl .mobile-lang-switcher .lang-dropdown a {
        padding-right: 1rem;
    }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal.show .modal-content {
    transform: translateY(0);
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background: var(--success);
    color: var(--white);
}

.notification.error {
    background: var(--accent);
    color: var(--white);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--border-radius);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

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

/* Sticky Navigation */
nav.scroll-down {
    transform: translateY(-100%);
}

nav.scroll-up {
    transform: translateY(0);
    background: var(--white);
    box-shadow: var(--shadow);
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animations */
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

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

/* Contact Link Styles */
.contact-link {
    text-decoration: none;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary);
    transform: translateY(-1px);
}

/* Enhanced Dropdown Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 250px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 0;
    border: 1px solid var(--gray);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--white);
    border-left: 1px solid var(--gray);
    border-top: 1px solid var(--gray);
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 25px;
}

.dropdown-menu i {
    font-size: 1.1rem;
    color: var(--primary);
    opacity: 0.8;
}

/* Active Link Style */
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
    background: var(--secondary);
}

/* Enhanced Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .contact-info span {
        margin-right: 15px;
        font-size: 0.9rem;
    }
    
    .nav-links {
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--light);
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .contact-info span {
        margin-right: 0;
    }
    
    .social-links {
        margin-top: 5px;
    }
}

/* Credentials Section */
.credentials-section {
    padding: 100px 0;
    position: relative;
    background: var(--light);
    width: 100%;
    overflow: hidden;
}

/* Update the grid layout */
.credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    color: var(--secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.credentials-content h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.education-timeline {
    position: relative;
    padding-left: 50px;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary) 0%, rgba(219, 168, 88, 0.3) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-icon {
    position: absolute;
    left: -50px;
    width: 35px;
    height: 35px;
    background: var(--white);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    box-shadow: 0 0 0 5px rgba(219, 168, 88, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    background: var(--secondary);
    color: var(--white);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.timeline-details {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-badge {
    margin-top: 3rem;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-badge i {
    font-size: 2rem;
    color: var(--secondary);
}

.contact-badge .contact-info {
    display: flex;
    flex-direction: column;
}

.contact-badge span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-badge a {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-badge a:hover {
    color: var(--secondary);
}

/* Fix certificates showcase */
.certificates-showcase {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    margin-top: 40px;
}

.certificates-slider {
    width: 100%;
    position: relative;
    overflow: visible;
}

/* Update navigation buttons */
.certificates-slider .swiper-button-next,
.certificates-slider .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.certificates-slider .swiper-button-next:after,
.certificates-slider .swiper-button-prev:after {
    font-size: 20px;
}

/* Coverflow Effect */
.certificates-slider .swiper-slide-shadow-left,
.certificates-slider .swiper-slide-shadow-right {
    background-image: linear-gradient(to left, rgba(0,0,0,0.1), transparent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .certificates-showcase {
        padding: 0;
        margin: 0 -15px; /* Compensate for container padding */
        width: calc(100% + 30px);
    }

    .certificates-slider {
        padding: 0 15px;
    }

    .certificates-slider .swiper-slide {
        height: 300px;
    }
    
    .certificates-slider .swiper-button-next,
    .certificates-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .certificates-showcase {
        padding: 30px 15px;
    }
    
    .certificates-slider .swiper-slide {
        height: 250px;
    }
    
    .certificates-slider .swiper-button-next,
    .certificates-slider .swiper-button-prev {
        display: none;
    }
}

/* Expertise Section */
.expertise-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.expertise-section .section-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.expertise-section h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.expertise-section h2::after {
    background: var(--secondary);
}

.expertise-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1);
}

.expertise-icon i {
    font-size: 2rem;
    color: var(--white);
}

.expertise-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

@media (max-width: 992px) {
    .process-section {
        padding: 60px 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }

    .process-grid .process-image {
        order: 1;
    }

    .process-grid .process-content {
        order: 2;
    }

    .process-grid.reverse {
        direction: ltr;
    }

    .process-grid.reverse .process-image {
        order: 1;
    }

    .process-grid.reverse .process-content {
        order: 2;
    }

    .process-content {
        padding: 20px 0;
        text-align: center;
    }

    .process-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .process-image img {
        height: 300px;
    }

    .appointment-btn {
        display: none !important;
    }
}

.process-grid:last-child {
    margin-bottom: 0;
}

.process-grid.reverse {
    direction: rtl;
}

.process-grid.reverse .process-content {
    direction: ltr;
}

.process-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.process-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.process-image:hover img {
    transform: scale(1.1);
}

.process-content {
    padding: 40px;
}

.process-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.process-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.process-content .appointment-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.process-content .appointment-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.process-content .appointment-btn i {
    transition: transform 0.3s ease;
}

.process-content .appointment-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-grid.reverse {
        direction: ltr;
    }

    .process-content {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px; /* Reduced gap for mobile to fit better */
    }
    
    /* Adjust card padding for mobile to fit 2 columns */
    .expertise-card {
        padding: 20px 15px;
    }
    
    /* Adjust icon size for mobile */
    .expertise-icon {
        width: 60px;
        height: 60px;
    }
    
    .expertise-icon i {
        font-size: 24px;
    }
    
    /* Adjust text size for mobile */
    .expertise-card h3 {
        font-size: 1rem;
    }
    
    .expertise-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .timeline-item {
        padding-left: 30px;
    }

    .timeline-icon {
        width: 30px;
        height: 30px;
        left: -40px;
    }

    .process-content h3 {
        font-size: 1.8rem;
    }
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, 
        rgba(11, 79, 108, 0.9) 0%,
        rgba(11, 79, 108, 0.8) 40%,
        transparent 100%
    );
    pointer-events: none;
}

.location-card {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 300px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.location-header i {
    font-size: 2rem;
    color: var(--secondary);
}

.location-header h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0;
}

.location-card p {
    color: var(--text-light);
    margin: 5px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.direction-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 25px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.direction-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

.direction-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .map-overlay {
        background: linear-gradient(to bottom,
            rgba(11, 79, 108, 0.9) 0%,
            rgba(11, 79, 108, 0.8) 40%,
            transparent 100%
        );
    }

    .location-card {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 280px;
    }
}

/* Base Animation Classes */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.expertise-grid .expertise-card:nth-child(1) { transition-delay: 0.1s; }
.expertise-grid .expertise-card:nth-child(2) { transition-delay: 0.2s; }
.expertise-grid .expertise-card:nth-child(3) { transition-delay: 0.3s; }

.hero-features .feature:nth-child(1) { transition-delay: 0.1s; }
.hero-features .feature:nth-child(2) { transition-delay: 0.2s; }
.hero-features .feature:nth-child(3) { transition-delay: 0.3s; }
.hero-features .feature:nth-child(4) { transition-delay: 0.4s; }

/* Remove preloader styles */
.preloader {
    display: none;
}

/* Before & After Image Comparison */
.before-after-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: col-resize;
    background-color: #fff;
}

.before-after-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after-slider .before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    z-index: 2;
}

.before-after-slider .after {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.before-after-slider .handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--white);
    transform: translateX(-50%);
    z-index: 3;
}

.handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--white);
    transform: translateX(-50%);
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.handle-circle i {
    font-size: 12px;
    color: var(--primary);
}

.slider-labels {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-labels span {
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.before-after-slider.resizing .handle-circle {
    background: var(--secondary);
    transform: translate(-50%, -50%) scale(1.1);
}

.before-after-slider.resizing .handle-circle i {
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .before-after-slider {
        height: 300px;
    }
    
    .handle-circle {
        width: 36px;
        height: 36px;
    }
    
    .slider-labels span {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .before-after-slider {
        height: 250px;
    }
    
    .slider-labels {
        top: 10px;
        padding: 0 10px;
    }
}

.slide-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%) rotate(45deg);
    transition: all 1s ease;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
}

.before-after-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
    position: relative;
    overflow: hidden;
}

.before-after-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-gold);
    box-shadow: 0 0 20px var(--secondary);
}

.before-after-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(219, 168, 88, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.before-after-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.before-after-header {
    text-align: center;
    margin-bottom: 50px;
}

.before-after-header h2 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.before-after-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.before-after-header.visible h2::after {
    transform: scaleX(1);
    transform-origin: left;
}

.before-after-header p {
    font-size: 1.2rem;
    color: var(--text);
    max-width: 700px;
    margin: 1.5rem auto;
    line-height: 1.8;
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    cursor: grab;
}

.before-after-slider:active {
    cursor: grabbing;
}

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

.before-after-slider .before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    z-index: 2;
    border-right: 2px solid var(--white);
    transition: width 0.3s ease-out;
}

.before-after-slider .after {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.before-after-slider .handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    z-index: 3;
    transition: background 0.3s ease;
}

.handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.handle-circle i {
    font-size: 14px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.before-after-slider:hover .handle-circle {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.before-after-slider.resizing .handle-circle {
    background: var(--secondary);
    transform: translate(-50%, -50%) scale(1.2);
}

.before-after-slider.resizing .handle-circle i {
    color: var(--white);
    transform: scale(1.2);
}

.slider-labels {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
}

.slider-labels span {
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.before-after-slider:hover .slider-labels span {
    opacity: 1;
    transform: translateY(0);
}

.before-after-info {
    margin-top: 40px;
    text-align: center;
}

.before-after-info h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.before-after-info p {
    color: var(--text);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .before-after-slider {
        height: 500px;
    }
}

@media (max-width: 992px) {
    .before-after-slider {
        height: 450px;
    }

    .before-after-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .before-after-slider {
        height: 400px;
        border-radius: 20px;
    }

    .handle-circle {
        width: 40px;
        height: 40px;
    }

    .slider-labels {
        top: 20px;
        padding: 0 20px;
    }

    .slider-labels span {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .before-after-slider {
        height: 300px;
        border-radius: 15px;
    }

    .before-after-header h2 {
        font-size: 2rem;
    }

    .handle-circle {
        width: 36px;
        height: 36px;
    }

    .slider-labels span {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Enhanced Language Switcher */
.language-switcher {
    position: relative;
    margin: 0 1rem;
    z-index: 1002;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1.2rem;
    background: transparent;
    border: 2px solid var(--gold);
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover {
    background: var(--gold-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    background: white;
    border-radius: 15px;
    padding: 0.8rem 0;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(212, 175, 55, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.lang-dropdown a:hover {
    background: var(--gold-gradient);
    color: white;
}

.lang-dropdown a.active {
    background: rgba(212, 175, 55, 0.1);
}

/* Enhanced Appointment Button */
.appointment-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    background: var(--gold-gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.appointment-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.appointment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.appointment-btn:hover i {
    transform: translateX(5px);
}

/* RTL Enhancements */
.rtl .nav-buttons {
    flex-direction: row-reverse;
    margin-right: auto;
    margin-left: 0;
    gap: 1.5rem;
}

.rtl .language-switcher {
    margin: 0 0 0 1rem;
}

.rtl .lang-btn {
    flex-direction: row-reverse;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.rtl .lang-dropdown {
    left: 0;
    right: auto;
    text-align: right;
}

.rtl .lang-dropdown a {
    flex-direction: row-reverse;
    font-family: 'Cairo', sans-serif;
}

.rtl .appointment-btn {
    flex-direction: row-reverse;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.rtl .appointment-btn i {
    transform: scaleX(-1);
}

.rtl .appointment-btn:hover i {
    transform: scaleX(-1) translateX(5px);
}

/* Mobile Enhancements */
@media screen and (max-width: 992px) {
    .nav-buttons {
        gap: 1rem;
    }

    .language-switcher {
        margin: 0;
    }

    .lang-btn {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }

    .appointment-btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.95rem;
    }

    .rtl .nav-buttons {
        gap: 1rem;
    }

    .rtl .mobile-lang-switcher {
        width: 100%;
        margin: 1rem 0;
    }

    .rtl .mobile-lang-switcher .lang-btn {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
    }

    .rtl .mobile-lang-switcher .lang-dropdown {
        width: 100%;
        position: static;
        margin-top: 0.5rem;
        box-shadow: none;
        border: 1px solid rgba(212, 175, 55, 0.1);
    }

    .rtl .mobile-lang-switcher .lang-dropdown a {
        justify-content: center;
        padding: 1rem;
    }
}

/* Mobile Menu Language Switcher */
.mobile-lang-switcher {
    display: none;
    width: 100%;
    margin: 1rem 0;
    order: 2;
}

@media screen and (max-width: 992px) {
    .nav-buttons .language-switcher {
        display: none;
    }

    .mobile-lang-switcher {
        display: block;
    }

    .mobile-lang-switcher .language-switcher {
        display: block;
        width: 100%;
    }

    .mobile-lang-switcher .lang-btn {
        width: 100%;
        justify-content: center;
        background: rgba(212, 175, 55, 0.1);
    }

    .mobile-lang-switcher .lang-dropdown {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .mobile-lang-switcher .language-switcher.active .lang-dropdown {
        display: block;
    }
}

/* Desktop/Mobile Visibility Classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Enhanced Mobile Menu Styles */
@media screen and (max-width: 992px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    nav .container {
        padding: 0 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 5rem 2rem 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    /* Mobile Language Switcher */
    .mobile-lang-switcher {
        width: 100%;
        padding: 1rem 0;
    }

    .mobile-lang-switcher .language-switcher {
        width: 100%;
    }

    .mobile-lang-switcher .lang-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem;
        border: none;
        background: transparent;
        font-size: 1.1rem;
        color: var(--text-dark);
    }

    .mobile-lang-switcher .lang-dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 0.5rem;
        padding: 0;
        box-shadow: none;
        border: none;
        background: transparent;
    }

    .mobile-lang-switcher .language-switcher.active .lang-dropdown {
        display: block;
    }

    .mobile-lang-switcher .lang-dropdown a {
        padding: 0.8rem 1rem;
        margin: 0.2rem 0;
        border-radius: 8px;
        background: rgba(212, 175, 55, 0.05);
    }

    .mobile-lang-switcher .lang-dropdown a:hover,
    .mobile-lang-switcher .lang-dropdown a.active {
        background: var(--gold-gradient);
        color: white;
    }

    /* RTL Mobile Menu */
    .rtl .nav-links {
        right: auto;
        left: -100%;
        text-align: right;
    }

    .rtl .nav-links.active {
        right: auto;
        left: 0;
    }

    .rtl .mobile-lang-switcher .lang-btn {
        justify-content: flex-end;
    }

    .rtl .mobile-lang-switcher .lang-dropdown a {
        justify-content: flex-end;
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: none;  /* Hidden by default on desktop */
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border: none;
        border-radius: 50%;
        background: transparent;  /* Removed gold gradient */
        color: var(--dark) !important;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1010;
    }

    .mobile-menu-btn i {
        color: var(--dark) !important;
        font-size: 1.4rem;
        transition: transform 0.3s ease;
        display: block !important;
    }

    .mobile-menu-btn:hover {
        transform: translateY(-2px);
    }

    .mobile-menu-btn.active {
        background: transparent;  /* Removed gold dark */
    }

    .mobile-menu-btn.active i {
        transform: rotate(90deg);
        color: var(--gold) !important;  /* Change color on active state */
    }

    @media screen and (max-width: 992px) {
        .mobile-menu-btn {
            display: flex !important;  /* Force display on mobile */
            order: 3;
            margin-left: 1rem;
        }

        .rtl .mobile-menu-btn {
            margin-left: 0;
            margin-right: 1rem;
            order: 3;
        }

        .nav-buttons {
            order: 2;
        }

        .logo {
            order: 1;
        }
    }

    @media screen and (max-width: 576px) {
        .mobile-menu-btn {
            width: 40px;
            height: 40px;
            margin-left: 0.5rem;
        }

        .mobile-menu-btn i {
            font-size: 1.2rem;
        }
    }
}

/* Additional Mobile Styles */
@media screen and (max-width: 576px) {
    .nav-links {
        width: 100%;
        max-width: none;
    }

    .mobile-lang-switcher .lang-btn,
    .mobile-lang-switcher .lang-dropdown a {
        font-size: 1rem;
        padding: 0.8rem;
    }
}

/* RTL Certificates Slider Fixes */
.rtl .certificates-slider {
    direction: ltr; /* Keep slider direction LTR for proper functionality */
}

.rtl .certificates-slider .swiper-button-next {
    transform: rotate(180deg);
}

.rtl .certificates-slider .swiper-button-prev {
    transform: rotate(180deg);
}

.rtl .certificate-item {
    direction: rtl; /* Keep content direction RTL */
}

.rtl .certificates-showcase h3 {
    text-align: right;
}

.contact-badge {
    background-color: var(--gold) !important;
}

.contact-info2 {
    background-color: var(--gold) !important;
}

.contact-info {
    background: var(--gradient-dark) !important;
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    box-shadow: 0 0 20px var(--secondary);
}

.contact-info h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.contact-info:hover h2::after {
    width: 100%;
}

.contact-info .lead {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 4rem;
    font-size: 1.4rem;
    line-height: 1.8;
    max-width: 800px;
}

.info-items-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.info-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

.info-item i {
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    color: var(--white);
    font-size: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(219, 168, 88, 0.3);
    transition: all 0.3s ease;
}

.info-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.info-item-content {
    flex: 1;
}

.info-item h4 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-item p, 
.info-item a {
    color: var(--white);
    opacity: 0.9;
    font-size: 1.2rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.info-item a:hover {
    color: var(--secondary);
    opacity: 1;
}

@media (max-width: 1200px) {
    .contact-info {
        padding: 50px;
    }

    .info-item {
        padding: 30px;
    }

    .info-item i {
        width: 70px;
        height: 70px;
        min-width: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .contact-info {
        padding: 40px;
        text-align: center;
    }

    .contact-info h2 {
        font-size: 3rem;
    }

    .contact-info h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info .lead {
        font-size: 1.3rem;
        margin: 0 auto 3rem;
    }

    .info-items-container {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
        gap: 25px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
        gap: 20px;
    }

    .info-item i {
        width: 90px;
        height: 90px;
        min-width: 90px;
        font-size: 2.2rem;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-info {
        padding: 35px 25px;
        border-radius: 25px;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }

    .contact-info .lead {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .info-items-container {
        gap: 20px;
    }

    .info-item {
        padding: 30px 20px;
    }

    .info-item i {
        width: 80px;
        height: 80px;
        min-width: 80px;
        font-size: 2rem;
    }

    .info-item h4 {
        font-size: 1.4rem;
    }

    .info-item p,
    .info-item a {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-info {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .contact-info h2 {
        font-size: 2.2rem;
    }

    .contact-info .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .info-items-container {
        gap: 15px;
    }

    .info-item {
        padding: 25px 20px;
    }

    .info-item i {
        width: 70px;
        height: 70px;
        min-width: 70px;
        font-size: 1.8rem;
    }

    .info-item h4 {
        font-size: 1.3rem;
    }

    .info-item p,
    .info-item a {
        font-size: 1rem;
    }
}

/* Add floating animation for info items */
@keyframes floatItem {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.info-item {
    animation: floatItem 3s ease-in-out infinite;
    animation-delay: calc(var(--item-index, 0) * 0.2s);
}

/* Enhanced Mobile Contact Section */
@media (max-width: 992px) {
    .contact-section {
        padding: 60px 0;
        background: linear-gradient(145deg, var(--primary-dark) 0%, #1a1a2e 100%);
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-header h2 {
        font-size: 3rem;
        text-align: center;
        padding: 0 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .map-container {
        min-height: 300px;
        order: -1;
        margin: 0 15px;
        border-radius: 20px;
        transform: translateY(-20px);
        opacity: 0;
        animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .contact-card {
        padding: 25px;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 20px;
        transform: translateY(20px);
        opacity: 0;
        animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .contact-card:nth-child(1) { animation-delay: 0.2s; }
    .contact-card:nth-child(2) { animation-delay: 0.4s; }
    .contact-card:nth-child(3) { animation-delay: 0.6s; }
    .contact-card:nth-child(4) { animation-delay: 0.8s; }

    .card-icon {
        width: 60px;
        height: 60px;
        margin: 0;
        border-radius: 15px;
    }

    .card-icon i {
        font-size: 1.5rem;
    }

    .card-content {
        flex: 1;
    }

    .card-content h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        text-align: left;
    }

    .contact-links {
        align-items: flex-start;
    }

    .contact-links a {
        justify-content: flex-start;
        font-size: 1rem;
        padding: 8px 0;
    }

    .hours-grid {
        text-align: left;
    }

    .hours-item {
        padding: 10px 0;
    }

    .social-links {
        justify-content: flex-start;
        margin-top: 15px;
        gap: 12px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* Enhanced Mobile Animations */
    @keyframes slideUp {
        from {
            transform: translateY(20px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Add touch-friendly hover states */
    .contact-card:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.07);
    }

    .social-link:active {
        transform: scale(0.9);
    }

    .contact-links a:active {
        transform: translateX(5px);
        color: var(--secondary);
    }
}

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

    .section-header h2 {
        font-size: 2.5rem;
    }

    .section-header .lead {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .map-container {
        min-height: 250px;
        margin: 0 10px;
    }

    .contact-info-cards {
        padding: 0 10px;
    }

    .contact-card {
        padding: 20px;
        border-radius: 15px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .card-icon i {
        font-size: 1.3rem;
    }

    .card-content h4 {
        font-size: 1.2rem;
    }

    /* Add pull-to-refresh style animation */
    .contact-card {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .contact-card.pull {
        transform: scale(0.95);
    }

    /* Add smooth scroll snap */
    .contact-info-cards {
        scroll-snap-type: y mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .contact-card {
        scroll-snap-align: start;
    }

    /* Enhanced touch feedback */
    .contact-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), 
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        border-radius: inherit;
    }

    .contact-card:active::after {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header .lead {
        font-size: 1rem;
        line-height: 1.6;
    }

    .map-container {
        min-height: 200px;
        border-radius: 15px;
    }

    .contact-card {
        padding: 18px;
        gap: 15px;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }

    .card-icon i {
        font-size: 1.2rem;
    }

    .card-content h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .contact-links a {
        font-size: 0.95rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    /* Add loading shimmer effect */
    @keyframes shimmer {
        0% {
            background-position: -200% 0;
        }
        100% {
            background-position: 200% 0;
        }
    }

    .contact-card.loading {
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.05) 37%,
            rgba(255, 255, 255, 0.03) 63%
        );
        background-size: 200% 100%;
        animation: shimmer 1.5s infinite;
    }

    /* Add haptic feedback styles */
    .contact-card:active {
        transform: scale(0.97);
    }

    .social-link:active {
        transform: scale(0.9) rotate(5deg);
    }

    /* Optimize touch targets */
    .contact-links a {
        padding: 10px 0;
        margin: -5px 0;
    }

    .social-links {
        margin: -5px;
        padding: 5px;
    }

    .social-link {
        margin: 5px;
    }
}

/* Add native-like momentum scrolling */
.contact-info-cards {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Add pull-to-refresh animation */
@keyframes pullRefresh {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(10px) scale(0.97);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.contact-card.pulling {
    animation: pullRefresh 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add mobile gesture hints */
.contact-card::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:last-child::before {
    display: none;
}

.contact-info-cards:hover .contact-card::before {
    opacity: 1;
}

/* Enhanced loading states */
.contact-section.loading .contact-card {
    animation: none;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.05) 37%,
        rgba(255, 255, 255, 0.03) 63%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Add mobile-first animations */
@media (prefers-reduced-motion: no-preference) {
    .contact-card {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    background-color 0.3s ease,
                    box-shadow 0.3s ease;
    }

    .card-icon {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .contact-links a {
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .social-link {
        transition: transform 0.2s ease, background-color 0.2s ease;
    }
}

/* Add mobile gesture animations */
@media (hover: none) {
    .contact-card:active {
        transform: scale(0.98);
    }

    .contact-links a:active {
        transform: translateX(5px);
    }

    .social-link:active {
        transform: scale(0.9) rotate(5deg);
    }
}

/* Mobile Responsive Header Styles */
@media (max-width: 768px) {
    header {
        width: 100%;
        overflow-x: hidden;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .nav-links {
        width: 100%;
    }

    .logo-img {
        max-width: 150px;
        height: auto;
    }

    .mobile-menu-btn {
        margin-right: 0;
    }

    .nav-buttons {
        margin-left: 10px;
    }

    .language-switcher {
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .logo-img {
        max-width: 120px;
    }

    .nav-buttons {
        margin-left: 5px;
    }

    .language-switcher .lang-btn {
        padding: 5px 8px;
    }

    .flag-icon {
        width: 20px;
        height: 20px;
    }

    .lang-text {
        font-size: 12px;
    }
}
li{
    list-style: none;
}

/* Add these rules to prevent horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Fix container width */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Fix grid layouts */
.expertise-grid,
.credentials-grid,
.contact-wrapper,
.info-items-container,
.footer-grid01 {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fix padding issues on mobile */
@media (max-width: 768px) {
    .section-header,
    .expertise-section,
    .credentials-section,
    .contact-section,
    .footer-section01 {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .expertise-card,
    .contact-card,
    .info-item {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    /* Fix map container */
    .map-container01 {
        width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
}

/* Fix navigation on mobile */
@media (max-width: 992px) {
    .nav-links {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .nav-links.active {
        padding: 80px 15px 20px;
    }
}

/* Fix hero section */
.hero-slider,
.hero-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Fix footer */
.luxury-footer01 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.footer-container01 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Add these styles to fix horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Fix certificate slider container */
.certificates-showcase {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 60px 0;
    margin: 0;
}

.certificates-slider {
    width: 100%;
    max-width: 100%;
    position: relative;
    padding: 0 40px; /* Add padding for navigation buttons */
}

.certificates-slider .swiper-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
}

.certificates-slider .swiper-slide {
    width: 300px; /* Fixed width for slides */
    height: 400px;
    flex-shrink: 0;
}

/* Navigation buttons positioning */
.certificates-slider .swiper-button-prev {
    left: 0;
}

.certificates-slider .swiper-button-next {
    right: 0;
}

/* Container fix */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: hidden;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .certificates-showcase {
        padding: 30px 0;
    }

    .certificates-slider {
        padding: 0 20px;
    }

    .certificates-slider .swiper-slide {
        width: 250px;
        height: 350px;
    }
}

/* Simple certificate slider styles */
.certificates-showcase {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background: var(--light);
    position: relative;
}

/* Remove this problematic ::before */
.certificates-showcase::before {
    display: none; /* or remove the entire ::before block */
}

.certificates-slider {
    width: 100%;
    position: relative;
}

.certificates-slider .swiper-slide {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-item {
    width: 100%;
    height: 100%;
}

.certificate-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Simple navigation buttons */
.certificates-slider .swiper-button-next,
.certificates-slider .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--primary);
}

.certificates-slider .swiper-button-next:after,
.certificates-slider .swiper-button-prev:after {
    font-size: 20px;
}

/* Ensure RTL support */
[dir="rtl"] .footer-menu01 {
    text-align: right;
}

[dir="rtl"] .footer-section01 {
    direction: rtl;
}

/* Add more RTL-specific styles as needed */

/* Enhanced Footer Styles */
.luxury-footer01 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #051926 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

/* Decorative wave effect */
.footer-wave01 {
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,218.7C672,203,768,149,864,128C960,107,1056,117,1152,133.3C1248,149,1344,171,1392,181.3L1440,192L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

.footer-container01 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid01 {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Footer Sections */
.footer-section01 {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer-section01:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Logo Section */
.footer-logo01 {
    margin-bottom: 25px;
}

.footer-logo01 img {
    max-width: 180px;
    height: auto;
}

/* Contact Info */
.footer-text01 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-link01 {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link01:hover {
    color: var(--secondary);
}

/* Social Icons */
.social-links01 {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon01 {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon01:hover {
    background: var(--secondary);
    transform: translateY(-3px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(219, 168, 88, 0.3);
}

/* Footer Headings */
.footer-heading01 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading01::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

[dir="rtl"] .footer-heading01::after {
    left: auto;
    right: 0;
}

/* Footer Menu */
.footer-menu01 {
    list-style: none;
}

.footer-menu01 li {
    margin-bottom: 12px;
}

.footer-menu01 a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-menu01 a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

[dir="rtl"] .footer-menu01 a:hover {
    transform: translateX(-5px);
}

/* Map Container */
.map-container01 {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Footer Bottom */
.footer-bottom01 {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright01 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.developer-credit01 a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credit01 a:hover {
    color: var(--secondary);
}

/* RTL Support */
[dir="rtl"] .footer-grid01 {
    direction: rtl;
}

[dir="rtl"] .social-links01 {
    direction: ltr; /* Keep social icons in original direction */
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
    .footer-grid01 {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .luxury-footer01 {
        padding: 60px 0 20px;
    }

    .footer-grid01 {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section01 {
        padding: 15px;
    }

    .footer-bottom01 {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .social-links01 {
        justify-content: center;
    }

    .footer-heading01 {
        text-align: center;
    }

    .footer-heading01::after {
        left: 50%;
        transform: translateX(-50%);
    }

    [dir="rtl"] .footer-heading01::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-menu01 {
        text-align: center;
    }

    .footer-menu01 a {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .luxury-footer01 {
        padding: 60px 0 20px;
    }

    .footer-grid01 {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section01 {
        padding: 15px;
    }

    .footer-bottom01 {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .social-links01 {
        justify-content: center;
    }

    .footer-heading01 {
        text-align: center;
    }

    .footer-heading01::after {
        left: 50%;
        transform: translateX(-50%);
    }

    [dir="rtl"] .footer-heading01::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-menu01 {
        text-align: center;
    }

    .footer-menu01 a {
        justify-content: center;
    }
}