/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --gray-color: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="ltr"] {
    text-align: left;
}

/* RTL Support for Navbar */
[dir="rtl"] .navbar-nav {
    margin-right: auto;
    margin-left: auto;
}

[dir="rtl"] .navbar-nav .nav-link {
    margin: 0 0.25rem;
}

[dir="rtl"] .search-container {
    margin-left: 0;
    margin-right: 1rem;
}



/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: relative;
    z-index: 1000;
}

.navbar {
    padding: 1.5rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-brand {
    animation: logoPulse 2s ease-in-out infinite;
    transform: scale(1.05);
}

.navbar.scrolled .navbar-nav .nav-link {
    padding: 0.6rem 1rem !important;
    font-size: 0.9rem;
}

.navbar.scrolled .navbar-toggler {
    padding: 0.4rem 0.6rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    animation: logoWave 4s ease-in-out infinite;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(30, 64, 175, 0.05));
}

.navbar-brand:hover {
    transform: scale(1.15) rotate(1deg);
    color: var(--secondary-color) !important;
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.1));
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
    transition: left 0.6s ease;
    border-radius: inherit;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    animation: waveLine 4s ease-in-out infinite;
    opacity: 0.8;
}

.navbar-brand:hover::before {
    left: 100%;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: width 0.4s ease;
    border-radius: 2px;
}

.navbar-brand:hover::after {
    width: 100%;
}

.navbar-nav {
    margin-left: auto;
    margin-right: auto;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    margin: 0 0.25rem;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: rgba(37, 99, 235, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
    outline: none;
}

.navbar-toggler:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(37, 99, 235, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Language Toggle */
.language-toggle .btn {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.language-toggle .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* RTL Support for Language Toggle */
[dir="rtl"] .language-toggle .btn {
    margin-left: 0;
    margin-right: 0.5rem;
}

/* Navbar Container */
.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar Brand Container */
.navbar-brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

/* Search Container */
.search-container {
    max-width: 300px;
}

.search-input {
    border-radius: 25px 0 0 25px;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
}

.search-btn {
    border-radius: 0 25px 25px 0;
    border: 2px solid var(--primary-color);
    border-right: none;
    padding: 0.75rem 1rem;
}

/* RTL Support for Search */
[dir="rtl"] .search-input {
    border-radius: 0 25px 25px 0;
    border-left: 2px solid var(--primary-color);
    border-right: 2px solid var(--border-color);
}

[dir="rtl"] .search-btn {
    border-radius: 25px 0 0 25px;
    border-left: none;
    border-right: 2px solid var(--primary-color);
}



/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

/* Hero Slider Navigation */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-btn.prev {
    left: 20px;
}

.hero-nav-btn.next {
    right: 20px;
}

/* Hero Slider Indicators */
.hero-slider-indicators {
    position: absolute;
    bottom: 220px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    background: white;
    border-color: white;
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.7);
}

/* RTL Support for Hero Slider */
[dir="rtl"] .hero-nav-btn.prev {
    left: auto;
    right: 20px;
}

[dir="rtl"] .hero-nav-btn.next {
    right: auto;
    left: 20px;
}

[dir="rtl"] .hero-nav-btn i {
    transform: scaleX(-1);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 100px;
    padding-bottom: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Search Form Container */
.search-form-container {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    transform: translateY(0);
    z-index: 10;
}

.search-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.search-form .form-control,
.search-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.search-form .form-control:focus,
.search-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* RTL Support for Search Form */
[dir="rtl"] .search-form .input-group {
    flex-direction: row-reverse;
}

[dir="rtl"] .search-form .form-control {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border-left: none;
    border-right: 2px solid var(--border-color);
}

[dir="rtl"] .search-form .form-select {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border-left: none;
    border-right: 2px solid var(--border-color);
}

[dir="rtl"] .search-form .btn {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border-right: none;
    border-left: 2px solid var(--border-color);
}

[dir="rtl"] .search-form .form-control:focus,
[dir="rtl"] .search-form .form-select:focus {
    border-left: none;
    border-right: 2px solid var(--primary-color);
}

[dir="rtl"] .search-form .btn:focus {
    border-right: none;
    border-left: 2px solid var(--primary-color);
}

/* ===== SECTIONS ===== */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== DESTINATIONS SECTION ===== */
.destinations-section {
    padding: 5rem 0;
}

.destination-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.destination-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.destination-card:hover .destination-image img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(30, 64, 175, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.destination-card:hover .destination-overlay {
    opacity: 1;
}

.destination-price {
    color: white;
    text-align: center;
}

.destination-price .currency {
    font-size: 0.875rem;
    opacity: 0.8;
}

.destination-price .amount {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.destination-content {
    padding: 1.5rem;
}

.destination-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.destination-content p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.destination-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray-color);
}

.feature i {
    color: var(--accent-color);
}

/* ===== PACKAGES SECTION ===== */
.packages-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.package-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.package-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.package-card:hover .package-image img {
    transform: scale(1.1);
}

.package-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.package-content {
    padding: 1.5rem;
}

.package-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.package-content p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.package-details {
    margin-bottom: 1rem;
}

.detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-color);
}

.detail i {
    color: var(--primary-color);
    width: 16px;
}

.package-price {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.package-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.package-price .currency {
    font-size: 1rem;
    color: var(--gray-color);
}

.package-price .per-person {
    font-size: 0.875rem;
    color: var(--gray-color);
    display: block;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 5rem 0;
}

.about-content {
    padding-right: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-color);
    font-weight: 600;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h5 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.newsletter-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 0.75rem 1rem;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 0.75rem 1rem;
}

/* RTL Support for Input Groups */
[dir="rtl"] .input-group {
    flex-direction: row-reverse;
}

[dir="rtl"] .input-group .form-control {
    border-radius: 0 25px 25px 0;
    border-left: none;
    border-right: 2px solid var(--border-color);
}

[dir="rtl"] .input-group .btn {
    border-radius: 25px 0 0 25px;
    border-right: none;
    border-left: 2px solid var(--border-color);
}

[dir="rtl"] .input-group .form-control:focus {
    border-left: none;
    border-right: 2px solid var(--primary-color);
}

[dir="rtl"] .input-group .btn:focus {
    border-right: none;
    border-left: 2px solid var(--primary-color);
}

/* General Input Group RTL Support */
[dir="rtl"] .input-group > .form-control:not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

[dir="rtl"] .input-group > .form-control:not(:first-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

[dir="rtl"] .input-group > .btn:not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

[dir="rtl"] .input-group > .btn:not(:first-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ===== MODALS ===== */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
}

.modal-title {
    color: var(--dark-color);
    font-weight: 600;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .stats-row {
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .search-form-container {
        transform: translateY(0);
        position: relative;
        margin-top: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .stats-row {
        justify-content: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .hero-nav-btn.prev {
        left: 10px;
    }
    
    .hero-nav-btn.next {
        right: 10px;
    }
    
    .hero-content {
        padding-bottom: 160px;
    }
    
    .hero-slider-indicators {
        bottom: 180px;
    }
    
    [dir="rtl"] .hero-nav-btn.prev {
        left: auto;
        right: 10px;
    }
    
    [dir="rtl"] .hero-nav-btn.next {
        right: auto;
        left: 10px;
    }
    
    .navbar-brand {
        font-size: 2rem;
        animation: logoWave 3s ease-in-out infinite;
        padding: 0.4rem 0.8rem;
    }
    
    .navbar-nav {
        margin: 1rem 0;
        gap: 0.25rem;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        font-size: 1rem;
        border-radius: 8px;
        background: rgba(37, 99, 235, 0.05);
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: rgba(37, 99, 235, 0.15);
        transform: translateY(-1px);
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: var(--border-radius);
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .navbar-actions {
        justify-content: center;
        margin: 1rem 0 0 0;
        gap: 0.75rem;
    }
    
    .language-toggle .btn {
        margin-left: 0;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .user-actions {
        justify-content: center;
        margin: 1rem 0 0 0;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .user-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        min-width: auto;
    }
    
    [dir="rtl"] .user-actions .btn {
        margin-right: 0;
    }
    
    .hero-title {
        font-size: 2rem;
        max-width: 100%;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        margin: 0.5rem 0;
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .search-form {
        padding: 1.5rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .hero-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .hero-nav-btn.prev {
        left: 5px;
    }
    
    .hero-nav-btn.next {
        right: 5px;
    }
    
    .hero-content {
        padding-bottom: 120px;
    }
    
    .hero-slider-indicators {
        bottom: 140px;
    }
    
    [dir="rtl"] .hero-nav-btn.prev {
        left: auto;
        right: 5px;
    }
    
    [dir="rtl"] .hero-nav-btn.next {
        right: auto;
        left: 5px;
    }
    
    .navbar-brand {
        font-size: 1.8rem;
        animation: logoWave 2.5s ease-in-out infinite;
        padding: 0.3rem 0.6rem;
    }
    
    .navbar-nav {
        margin: 0.75rem 0;
        gap: 0.2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.6rem 0.8rem !important;
        margin: 0.2rem 0;
        font-size: 0.95rem;
        border-radius: 6px;
    }
    
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
    }
    
    .navbar-toggler {
        padding: 0.4rem 0.6rem;
    }
    
    .navbar-actions {
        justify-content: center;
        margin: 0.75rem 0 0 0;
        gap: 0.5rem;
    }
    
    .language-toggle .btn {
        margin-left: 0;
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .user-actions {
        justify-content: center;
        margin: 0.75rem 0 0 0;
        gap: 0.4rem;
        flex-wrap: wrap;
    }
    
    .user-actions .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
        min-width: auto;
    }
    
    .user-actions .dropdown-menu {
        min-width: 180px;
    }
    
    [dir="rtl"] .user-actions .btn {
        margin-right: 0;
    }
    
    .hero-content {
        padding-top: 80px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 1.75rem;
        max-width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .search-form-container {
        padding: 1rem 0;
    }
    
    .search-form {
        padding: 1rem;
        margin: 0 1rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 1rem;
    }
    
    .package-content,
    .destination-content {
        padding: 1rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-collapse.show {
    animation: slideDown 0.3s ease-out;
}

.navbar-nav .nav-link {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.navbar-nav .nav-link:nth-child(1) { animation-delay: 0.1s; }
.navbar-nav .nav-link:nth-child(2) { animation-delay: 0.2s; }
.navbar-nav .nav-link:nth-child(3) { animation-delay: 0.3s; }
.navbar-nav .nav-link:nth-child(4) { animation-delay: 0.4s; }
.navbar-nav .nav-link:nth-child(5) { animation-delay: 0.5s; }

@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(37, 99, 235, 0.6), 0 0 30px rgba(37, 99, 235, 0.4);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes logoWave {
    0% {
        transform: skewX(0deg) scale(1);
        border-radius: 15px;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(30, 64, 175, 0.05));
    }
    25% {
        transform: skewX(3deg) scale(1.02);
        border-radius: 20px 10px 10px 20px;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(30, 64, 175, 0.08));
    }
    50% {
        transform: skewX(0deg) scale(1.05);
        border-radius: 15px;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.1));
    }
    75% {
        transform: skewX(-3deg) scale(1.02);
        border-radius: 10px 20px 20px 10px;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(30, 64, 175, 0.08));
    }
    100% {
        transform: skewX(0deg) scale(1);
        border-radius: 15px;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(30, 64, 175, 0.05));
    }
}

@keyframes waveLine {
    0% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    25% {
        opacity: 0.6;
        transform: scaleX(1.1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
    75% {
        opacity: 0.6;
        transform: scaleX(1.1);
    }
    100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* ===== NAVBAR UTILITY CLASSES ===== */
.navbar-spacing {
    padding-top: 100px;
}

.navbar-spacing-sm {
    padding-top: 80px;
}

.navbar-spacing-lg {
    padding-top: 120px;
}

/* ===== ARABIC NAVBAR STYLING ===== */
[dir="rtl"] .navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95)) !important;
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.25rem 0;
}

[dir="rtl"] .navbar.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98)) !important;
    border-bottom: 2px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    padding: 1rem 0;
}

[dir="rtl"] .navbar-brand {
    font-family: 'Amiri', 'Noto Naskh Arabic', serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    border-radius: 20px;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(30, 64, 175, 0.08));
    border: 2px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

[dir="rtl"] .navbar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.15), transparent);
    transition: right 0.6s ease;
    border-radius: inherit;
}

[dir="rtl"] .navbar-brand:hover::before {
    right: 100%;
}

[dir="rtl"] .navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: width 0.4s ease;
    border-radius: 2px;
}

[dir="rtl"] .navbar-brand:hover::after {
    width: 100%;
}

[dir="rtl"] .navbar-brand:hover {
    transform: scale(1.08) rotate(-1deg);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(30, 64, 175, 0.12));
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

[dir="rtl"] .navbar-nav {
    margin-right: auto;
    margin-left: auto;
    gap: 0.75rem;
    direction: rtl;
}

[dir="rtl"] .navbar-nav .nav-link {
    font-family: 'Cairo', 'Noto Sans Arabic', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
    padding: 0.875rem 1.5rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(37, 99, 235, 0.1);
    text-align: center;
    min-width: 120px;
}

[dir="rtl"] .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.1));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

[dir="rtl"] .navbar-nav .nav-link:hover::before,
[dir="rtl"] .navbar-nav .nav-link.active::before {
    opacity: 1;
}

[dir="rtl"] .navbar-nav .nav-link:hover,
[dir="rtl"] .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

[dir="rtl"] .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: all 0.3s ease;
    transform: translateX(50%);
    border-radius: 2px;
}

[dir="rtl"] .navbar-nav .nav-link:hover::after,
[dir="rtl"] .navbar-nav .nav-link.active::after {
    width: 70%;
}

[dir="rtl"] .navbar-toggler {
    border: 2px solid rgba(37, 99, 235, 0.2);
    padding: 0.6rem 0.8rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

[dir="rtl"] .navbar-toggler:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

[dir="rtl"] .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.2);
    outline: none;
}

[dir="rtl"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(37, 99, 235, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[dir="rtl"] .navbar-actions {
    margin-right: auto;
    margin-left: 0;
    gap: 1rem;
}

[dir="rtl"] .language-toggle .btn {
    font-family: 'Cairo', 'Noto Sans Arabic', sans-serif;
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-left: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.1));
    border: 2px solid rgba(37, 99, 235, 0.15);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

[dir="rtl"] .language-toggle .btn:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(30, 64, 175, 0.2));
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

[dir="rtl"] .search-container {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .search-input {
    border-radius: 25px 0 0 25px;
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-left: none;
    padding: 0.75rem 1.25rem;
    font-family: 'Cairo', 'Noto Sans Arabic', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

[dir="rtl"] .search-input:focus {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
    background: rgba(255, 255, 255, 1);
}

[dir="rtl"] .search-btn {
    border-radius: 0 25px 25px 0;
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-right: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

[dir="rtl"] .search-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

[dir="rtl"] .user-actions {
    margin-right: auto;
    margin-left: 0;
    gap: 0.75rem;
    flex-direction: row-reverse;
}

[dir="rtl"] .user-actions .btn {
    font-family: 'Cairo', 'Noto Sans Arabic', sans-serif;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.1));
    border: 2px solid rgba(37, 99, 235, 0.15);
    color: var(--primary-color);
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
}

[dir="rtl"] .user-actions .btn:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(30, 64, 175, 0.2));
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

[dir="rtl"] .user-actions .btn:last-child {
    margin-right: 0;
    margin-left: 0;
}

[dir="rtl"] .user-actions .dropdown {
    direction: rtl;
}

[dir="rtl"] .user-actions .dropdown-menu {
    border-radius: 20px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    min-width: 180px;
    text-align: right;
    right: 0;
    left: auto;
}

[dir="rtl"] .user-actions .dropdown-item {
    font-family: 'Cairo', 'Noto Sans Arabic', sans-serif;
    border-radius: 15px;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    color: var(--dark-color);
    transition: all 0.3s ease;
    text-align: right;
    flex-direction: row-reverse;
    gap: 0.75rem;
}

[dir="rtl"] .user-actions .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.1));
    color: var(--primary-color);
    transform: translateX(-3px);
}

[dir="rtl"] .user-actions .dropdown-item i {
    margin-left: 0.5rem;
    margin-right: 0;
    font-size: 1.1rem;
}

[dir="rtl"] .user-actions .dropdown-toggle::after {
    margin-right: 0.5rem;
    margin-left: 0;
    transform: rotate(180deg);
}

[dir="rtl"] .user-actions .dropdown-divider {
    margin: 0.5rem 0;
    border-color: rgba(37, 99, 235, 0.1);
}

/* Responsive Arabic Navbar */
@media (max-width: 768px) {
    [dir="rtl"] .navbar {
        padding: 1rem 0;
    }
    
    [dir="rtl"] .navbar-brand {
        font-size: 1.8rem;
        padding: 0.5rem 1rem;
    }
    
    [dir="rtl"] .navbar-nav {
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    [dir="rtl"] .navbar-nav .nav-link {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem !important;
        margin: 0.25rem 0;
        min-width: auto;
        width: 100%;
        text-align: center;
    }
    
    [dir="rtl"] .navbar-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin: 1rem 0;
    }
    
    [dir="rtl"] .language-toggle .btn {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    
    [dir="rtl"] .user-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    [dir="rtl"] .user-actions .btn {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    
    [dir="rtl"] .search-container {
        margin: 0.5rem 0;
        width: 100%;
    }
    
    [dir="rtl"] .search-input,
    [dir="rtl"] .search-btn {
        padding: 0.875rem 1rem;
    }
}

@media (max-width: 576px) {
    [dir="rtl"] .navbar {
        padding: 0.75rem 0;
    }
    
    [dir="rtl"] .navbar-brand {
        font-size: 1.5rem;
        padding: 0.4rem 0.8rem;
    }
    
    [dir="rtl"] .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1rem !important;
    }
    
    [dir="rtl"] .navbar-toggler {
        padding: 0.4rem 0.6rem;
    }
    
    [dir="rtl"] .user-actions .dropdown-menu {
        min-width: 160px;
        right: 0;
        left: 0;
        margin: 0 auto;
    }
}

/* ===== ARABIC SPECIFIC UTILITIES ===== */
[dir="rtl"] .me-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

[dir="rtl"] .me-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}

[dir="rtl"] .text-start {
    text-align: right !important;
}

/* RTL Support for Hero Subtitle */
[dir="rtl"] .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ===== UTILITY CLASSES ===== */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-light { color: var(--light-color) !important; }
.text-dark { color: var(--dark-color) !important; }
.text-gray { color: var(--gray-color) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-info { background-color: var(--info-color) !important; }
.bg-light { background-color: var(--light-color) !important; }
.bg-dark { background-color: var(--dark-color) !important; }

.shadow { box-shadow: var(--shadow) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.rounded { border-radius: var(--border-radius) !important; }

.transition { transition: var(--transition) !important; }

/* ===== LOADING ANIMATION ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .footer,
    .search-form-container,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        height: auto;
        min-height: auto;
    }
} 

/* ===== ARABIC NAVBAR ENHANCEMENTS ===== */
[dir="rtl"] .navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(37, 99, 235, 0.3) 25%, 
        rgba(30, 64, 175, 0.5) 50%, 
        rgba(37, 99, 235, 0.3) 75%, 
        transparent 100%);
    animation: arabicBorder 4s ease-in-out infinite;
}

@keyframes arabicBorder {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

[dir="rtl"] .navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
}

[dir="rtl"] .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(37, 99, 235, 0.1), 
        transparent);
    transition: right 0.6s ease;
    border-radius: inherit;
}

[dir="rtl"] .navbar-nav .nav-link:hover::before {
    right: 100%;
}

[dir="rtl"] .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: all 0.4s ease;
    transform: translateX(50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

[dir="rtl"] .navbar-nav .nav-link:hover::after,
[dir="rtl"] .navbar-nav .nav-link.active::after {
    width: 80%;
}

[dir="rtl"] .navbar-brand {
    position: relative;
    overflow: hidden;
}

[dir="rtl"] .navbar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(37, 99, 235, 0.2), 
        transparent);
    transition: right 0.8s ease;
    border-radius: inherit;
}

[dir="rtl"] .navbar-brand:hover::before {
    right: 100%;
}

[dir="rtl"] .navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: width 0.6s ease;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

[dir="rtl"] .navbar-brand:hover::after {
    width: 100%;
}

[dir="rtl"] .navbar-brand:hover {
    transform: scale(1.1) rotate(-2deg);
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.15), 
        rgba(30, 64, 175, 0.15));
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 
        0 10px 30px rgba(37, 99, 235, 0.2),
        0 0 20px rgba(37, 99, 235, 0.1);
}

/* Arabic Calligraphy Effect for Brand */
[dir="rtl"] .navbar-brand {
    text-shadow: 
        0 0 10px rgba(37, 99, 235, 0.3),
        0 0 20px rgba(37, 99, 235, 0.2);
    letter-spacing: 2px;
}

[dir="rtl"] .navbar-brand:hover {
    text-shadow: 
        0 0 15px rgba(37, 99, 235, 0.5),
        0 0 30px rgba(37, 99, 235, 0.3),
        0 0 45px rgba(37, 99, 235, 0.2);
}

/* Enhanced Arabic Button Styling */
[dir="rtl"] .user-actions .btn,
[dir="rtl"] .language-toggle .btn {
    position: relative;
    overflow: hidden;
}

[dir="rtl"] .user-actions .btn::before,
[dir="rtl"] .language-toggle .btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: right 0.6s ease;
    border-radius: inherit;
}

[dir="rtl"] .user-actions .btn:hover::before,
[dir="rtl"] .language-toggle .btn:hover::before {
    right: 100%;
}

/* Arabic Search Enhancement */
[dir="rtl"] .search-container {
    position: relative;
}

[dir="rtl"] .search-container::before {
    content: '🔍';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    opacity: 0.6;
    pointer-events: none;
    z-index: 2;
}

[dir="rtl"] .search-input {
    padding-right: 3rem;
    font-family: 'Cairo', 'Noto Sans Arabic', sans-serif;
    font-size: 0.95rem;
}

[dir="rtl"] .search-input:focus {
    transform: scale(1.02);
    box-shadow: 
        0 0 0 0.2rem rgba(37, 99, 235, 0.15),
        0 4px 15px rgba(37, 99, 235, 0.1);
}

/* Arabic Dropdown Enhancement */
[dir="rtl"] .user-actions .dropdown-menu {
    animation: arabicSlideDown 0.3s ease-out;
}

@keyframes arabicSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

[dir="rtl"] .user-actions .dropdown-item {
    position: relative;
    overflow: hidden;
}

[dir="rtl"] .user-actions .dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(37, 99, 235, 0.1), 
        transparent);
    transition: right 0.4s ease;
    border-radius: inherit;
}

[dir="rtl"] .user-actions .dropdown-item:hover::before {
    right: 100%;
}

/* Arabic Mobile Menu Enhancement */
@media (max-width: 768px) {
    [dir="rtl"] .navbar-collapse {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.98), 
            rgba(248, 250, 252, 0.95));
        backdrop-filter: blur(15px);
        border-radius: 20px;
        margin: 1rem 0;
        padding: 1.5rem;
        border: 2px solid rgba(37, 99, 235, 0.1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    [dir="rtl"] .navbar-nav .nav-link {
        border: 1px solid rgba(37, 99, 235, 0.1);
        margin: 0.5rem 0;
        background: rgba(255, 255, 255, 0.8);
        transition: all 0.3s ease;
    }
    
    [dir="rtl"] .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 1);
        border-color: rgba(37, 99, 235, 0.2);
        transform: translateX(-5px);
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
    }
} 

/* ===== FINAL ARABIC NAVBAR TOUCHES ===== */
[dir="rtl"] .navbar {
    position: relative;
}

[dir="rtl"] .navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(37, 99, 235, 0.2) 20%, 
        rgba(30, 64, 175, 0.4) 50%, 
        rgba(37, 99, 235, 0.2) 80%, 
        transparent 100%);
}

/* Arabic Geometric Pattern Background */
[dir="rtl"] .navbar {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(30, 64, 175, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    background-size: 100px 100px, 150px 150px, 100% 100%;
    background-position: 0 0, 50px 50px, 0 0;
    background-repeat: repeat, repeat, no-repeat;
}

/* Enhanced Arabic Typography */
[dir="rtl"] .navbar-nav .nav-link {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: optimizeLegibility;
}

[dir="rtl"] .navbar-brand {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "kern" 1, "liga" 1, "swsh" 1;
    text-rendering: optimizeLegibility;
}

/* Arabic Hover Effects with Cultural Elements */
[dir="rtl"] .navbar-nav .nav-link:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(248, 250, 252, 0.9));
    border: 2px solid rgba(37, 99, 235, 0.2);
    box-shadow: 
        0 8px 25px rgba(37, 99, 235, 0.15),
        0 0 20px rgba(37, 99, 235, 0.1);
    transform: translateY(-3px) scale(1.02);
}

/* Arabic Button with Islamic Geometric Pattern */
[dir="rtl"] .user-actions .btn,
[dir="rtl"] .language-toggle .btn {
    background-image: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.1)),
        radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    background-size: 100% 100%, 60px 60px;
    background-position: 0 0, 0 0;
    background-repeat: no-repeat, repeat;
}

[dir="rtl"] .user-actions .btn:hover,
[dir="rtl"] .language-toggle .btn:hover {
    background-image: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(30, 64, 175, 0.2)),
        radial-gradient(circle at 70% 70%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    background-size: 100% 100%, 80px 80px;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(37, 99, 235, 0.2),
        0 0 30px rgba(37, 99, 235, 0.1);
}

/* Arabic Search with Cultural Icon */
[dir="rtl"] .search-container::before {
    content: '🔍';
    font-size: 1.2rem;
    opacity: 0.7;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

[dir="rtl"] .search-container:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    transition: all 0.3s ease;
}

/* Arabic Dropdown with Enhanced Styling */
[dir="rtl"] .user-actions .dropdown-menu {
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95)),
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.02) 0%, transparent 50%);
    background-size: 100% 100%, 100px 100px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(37, 99, 235, 0.05);
}

[dir="rtl"] .user-actions .dropdown-item:hover {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1), 
        rgba(30, 64, 175, 0.1));
    color: var(--primary-color);
    transform: translateX(-5px) scale(1.02);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

/* Arabic Mobile Enhancements */
@media (max-width: 768px) {
    [dir="rtl"] .navbar-collapse {
        background-image: 
            linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95)),
            radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
        background-size: 100% 100%, 80px 80px;
        border: 2px solid rgba(37, 99, 235, 0.1);
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.1),
            0 0 20px rgba(37, 99, 235, 0.05);
    }
    
    [dir="rtl"] .navbar-nav .nav-link {
        background-image: 
            linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8)),
            radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.02) 0%, transparent 50%);
        background-size: 100% 100%, 60px 60px;
        border: 1px solid rgba(37, 99, 235, 0.1);
        margin: 0.5rem 0;
        transition: all 0.3s ease;
    }
    
    [dir="rtl"] .navbar-nav .nav-link:hover {
        background-image: 
            linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, 0.95)),
            radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
        background-size: 100% 100%, 80px 80px;
        border-color: rgba(37, 99, 235, 0.2);
        transform: translateX(-8px) scale(1.02);
        box-shadow: 
            0 6px 20px rgba(37, 99, 235, 0.15),
            0 0 15px rgba(37, 99, 235, 0.1);
    }
} 

/* Arabic Loading Animation for Navbar */
[dir="rtl"] .navbar {
    animation: arabicNavbarLoad 0.8s ease-out;
}

@keyframes arabicNavbarLoad {
    from {
        opacity: 0;
        transform: translateY(-20px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Arabic Navbar Elements Staggered Animation */
[dir="rtl"] .navbar-brand {
    animation: arabicBrandLoad 0.6s ease-out 0.1s both;
}

[dir="rtl"] .navbar-nav .nav-link {
    animation: arabicNavLinkLoad 0.5s ease-out both;
}

[dir="rtl"] .navbar-nav .nav-link:nth-child(1) { animation-delay: 0.2s; }
[dir="rtl"] .navbar-nav .nav-link:nth-child(2) { animation-delay: 0.3s; }
[dir="rtl"] .navbar-nav .nav-link:nth-child(3) { animation-delay: 0.4s; }
[dir="rtl"] .navbar-nav .nav-link:nth-child(4) { animation-delay: 0.5s; }
[dir="rtl"] .navbar-nav .nav-link:nth-child(5) { animation-delay: 0.6s; }

[dir="rtl"] .user-actions .btn {
    animation: arabicButtonLoad 0.5s ease-out both;
}

[dir="rtl"] .user-actions .btn:nth-child(1) { animation-delay: 0.7s; }
[dir="rtl"] .user-actions .btn:nth-child(2) { animation-delay: 0.8s; }

@keyframes arabicBrandLoad {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes arabicNavLinkLoad {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes arabicButtonLoad {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
} 