/* ===================================
   CSS Variables for Theme Colors
   =================================== */
:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-accent: #f0f4f8;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Brand Colors */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-secondary: #ec4899;
    --color-accent: #f59e0b;
    --color-success: #10b981;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #1e1b4b 100%);
}

.dark-theme {
    /* Dark Theme Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-accent: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ===================================
   Global Styles & Reset
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    opacity: 1 !important;
}

a {
    text-decoration: none;
    opacity: 1 !important;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

p, span, div, li {
    opacity: 1 !important;
    color: inherit;
}

/* Ensure text is always visible */
[data-en], [data-ar] {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ===================================
   Navigation Bar
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(15, 23, 42, 0.95);
}

.dark-theme .navbar {
    background-color: rgba(15, 23, 42, 0.95);
}

body:not(.dark-theme) .navbar {
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 65px;
    width: auto;
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.dark-theme .logo-img {
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.5)) invert(1);
}

body:not(.dark-theme) .logo-img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo:hover .logo-img {
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1 !important;
    visibility: visible !important;
}

.logo i {
    color: var(--color-primary);
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.control-btn {
    background: var(--bg-accent);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.control-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.lang-toggle {
    width: auto;
    padding: 0 1rem;
    border-radius: 20px;
}

.lang-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 70%);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
    opacity: 0.3;
}

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

.hero-text {
    animation: fadeInLeft 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fbbf24);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    animation: shimmer 3s linear infinite;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.services-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    line-height: 1.8;
}

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

.service-card {
    background-color: var(--bg-secondary);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.dark-theme .service-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.6) 100%);
    backdrop-filter: blur(10px);
}

body:not(.dark-theme) .service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.service-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.4);
    border-color: var(--color-primary);
}

.dark-theme .service-card:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.8);
}

body:not(.dark-theme) .service-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, rgba(99, 102, 241, 0.05) 100%);
    border-color: var(--color-primary);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.15);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

.service-title {
    font-size: 1.625rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
    font-weight: 400;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

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

.testimonial-card {
    background-color: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--color-primary);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-quote {
    opacity: 0.6;
    transform: scale(1.1);
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.author-info h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.contact .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 1rem;
}

.info-card {
    background-color: var(--bg-secondary);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    min-height: 200px;
    justify-content: center;
}

.info-card.clickable {
    cursor: pointer;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.info-card.clickable:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.info-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.info-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.info-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 100%;
    font-weight: 500;
    word-break: break-word;
}

/* Office Hours Section */
.office-hours-section {
    margin-top: 4rem;
    background: var(--gradient-primary);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.office-hours-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hours-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.office-hours-header h3 {
    font-size: 2rem;
    color: white;
    margin: 0;
    font-weight: 700;
}

.office-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.hours-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.hours-item.special {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
}

.hours-item.special:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.6);
}

.hours-item .day {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
}

.hours-item .time {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.hours-item.special .time {
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--bg-secondary);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

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

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

[dir="rtl"] .footer-logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-description {
    text-align: right;
}

[dir="rtl"] .footer-social {
    text-align: right;
}

[dir="rtl"] .social-links {
    justify-content: flex-end;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    opacity: 1 !important;
    visibility: visible !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.dark-theme .footer-logo-img {
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.5)) invert(1);
}

body:not(.dark-theme) .footer-logo-img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1 !important;
    visibility: visible !important;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    max-width: 400px;
}

.footer-social h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--bg-accent);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

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

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

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

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

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (min-width: 769px) {
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .logo-img {
        height: 55px;
        padding: 5px 10px;
    }
    
    .footer-logo-img {
        height: 50px;
        padding: 5px 10px;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .office-hours-section {
        padding: 2rem;
    }
    
    .office-hours-header h3 {
        font-size: 1.5rem;
    }
    
    .office-hours-grid {
        grid-template-columns: 1fr;
    }
    
    .about,
    .services,
    .testimonials,
    .contact {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 45px;
        padding: 4px 8px;
    }
    
    .footer-logo-img {
        height: 40px;
        padding: 4px 8px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }
    
    .scroll-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

/* RTL Support for Arabic */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .nav-menu {
    left: auto;
    right: -100%;
}

[dir="rtl"] .nav-menu.active {
    left: auto;
    right: 0;
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .info-card {
    flex-direction: row-reverse;
}

[dir="rtl"] .scroll-top {
    right: auto;
    left: 2rem;
}

@media (max-width: 480px) {
    [dir="rtl"] .scroll-top {
        right: auto;
        left: 1.5rem;
    }
}
