/* Global Styles */
:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --primary-green: #059669;
    --secondary-green: #10b981;
    --light-green: #34d399;
    --dark-blue: #1e3a8a;
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --text-gray: #4b5563;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    color: var(--dark-blue);
    font-weight: 600;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.appointment-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
}

.appointment-btn:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--secondary-green));
    transform: translateY(-2px);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(5, 150, 105, 0.8));
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-content .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Features Section */
.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Trusted Network Section */
.trusted-network-logo {
    max-width: 200px;
    height: auto;
    margin: 20px;
    transition: transform 0.3s ease;
}

.trusted-network-logo:hover {
    transform: scale(1.05);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: var(--white);
    text-decoration: none;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--light-blue);
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .social-links a {
    margin-left: 0;
    margin-right: 10px;
}

[dir="rtl"] .feature-card i {
    margin-left: 0;
    margin-right: 10px;
}

[dir="rtl"] .contact-info i {
    margin-left: 10px;
    margin-right: 0;
}

[dir="rtl"] .form-control {
    text-align: right;
}

[dir="rtl"] .input-group > .form-control {
    border-radius: 0 4px 4px 0;
}

[dir="rtl"] .input-group > .input-group-text {
    border-radius: 4px 0 0 4px;
}

[dir="rtl"] .timeline-item::before {
    left: auto;
    right: -20px;
}

[dir="rtl"] .timeline-content {
    padding-left: 0;
    padding-right: 40px;
}

[dir="rtl"] .partner-logo {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .media-item {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .testimonial-content {
    padding-left: 0;
    padding-right: 20px;
}

[dir="rtl"] .testimonial-author {
    padding-left: 0;
    padding-right: 20px;
}

[dir="rtl"] .testimonial-author img {
    margin-left: 10px;
    margin-right: 0;
}

[dir="rtl"] .footer-links li {
    padding-left: 0;
    padding-right: 20px;
}

[dir="rtl"] .footer-links li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .trusted-network-logo {
    margin-left: 20px;
    margin-right: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.2rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .navbar-brand img {
        height: 60px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Language Switcher */
.lang-switch {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    margin-left: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lang-switch:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

[dir="rtl"] .lang-switch {
    margin-right: 1rem;
    margin-left: 0;
}

/* Language Switcher in Mobile */
@media (max-width: 768px) {
    .lang-switch {
        margin: 0.5rem 0;
        text-align: center;
        display: block;
    }
} 