:root {
    --primary-color: #ff6600;
    /* Tra VISA Orange */
    --primary-hover: #e65c00;
    --secondary-color: #ff8533;
    /* Lighter Orange for accents */
    --secondary-hover: #cc5200;
    --bg-color: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    background-image: radial-gradient(circle at top right, #e0e7ff 0%, transparent 40%),
        radial-gradient(circle at bottom left, #fef3c7 0%, transparent 40%);
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
strong {
    font-weight: 600;
    color: #000;
}

/* Utilities */
.view {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.view.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.row {
    display: flex;
    gap: 1.5rem;
}

.col {
    flex: 1;
}

.mt-4 {
    margin-top: 1.5rem;
}

.text-muted {
    color: var(--text-muted);
}

.bold {
    font-weight: 600;
}

.space-between {
    justify-content: space-between;
    display: flex;
    width: 100%;
}

.right {
    justify-content: flex-end;
    display: flex;
    width: 100%;
}

/* Buttons */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
}

.pulse-animation {
    animation: pulseGlow 2s infinite;
    transition: all 0.3s ease;
}

.pulse-animation:hover {
    transform: scale(1.05);
    animation: none;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* Secondary uses Amber */
.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--secondary-hover);
}

.btn-back {
    background: transparent;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}

.btn-back:hover {
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--text-main);
}

.logo i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn-lang {
    background: transparent;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #1e293b;
    cursor: pointer;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--card-bg);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: var(--radius);
    overflow: hidden;
    top: 100%;
    left: 0;
}

/* Specific Dropdown positioning for RTL */
[dir="rtl"] .dropdown-content {
    left: auto;
    right: 0;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 150px);
}

/* Phase 1: Homepage */
.hero {
    position: relative;
    text-align: center;
    padding: 0;
    margin-bottom: 2rem;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    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;
    padding: 2rem;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: #1e3a8a;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    max-width: 400px;
    margin: 2rem auto 0;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.25rem;
    z-index: 5;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.25rem;
    border: 2px solid var(--border-color);
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: #fff;
    position: relative;
    z-index: 4;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    background: #e0e7ff;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Countries Grid */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.category-card,
.country-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
}

.category-card:hover,
.country-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}


.flag-wrapper {
    height: 70px;
    width: 60px;
    margin: 5px;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.flag-wrapper img {
    max-height: 40px;
    width: auto;
    transition: transform 0.5s ease;
}

.category-card:hover .flag-wrapper img,
.country-card:hover .flag-wrapper img {
    transform: scale(1.1);
}

.card-content {
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.apply-icon {
    display: none;
}

/* Forms & Wizard */
.wizard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.wizard-title h2 {
    font-size: 2rem;
}

/* Stepper */
.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    color: var(--text-muted);
}

.step.active {
    color: var(--secondary-color);
}

.step.completed .step-circle {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
    z-index: 2;
}

.step.active .step-circle {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
    position: absolute;
    top: 45px;
    white-space: nowrap;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 1rem;
    transform: translateY(-10px);
}

/* Wizard Layout */
.wizard-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.wizard-main {
    flex: 1;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.wizard-sidebar {
    width: 320px;
    position: sticky;
    top: 90px;
}

.summary-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.summary-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    align-items: center;
}

.dest-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mini-flag {
    width: 28px;
    height: 20px;
    border-radius: 2px;
    object-fit: cover;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.5rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.125rem;
}

.summary-total.lg {
    font-size: 1.25rem;
}

.total-price {
    color: var(--primary-color);
}

/* Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-control,
input[type="text"],
input[type="date"],
input[type="number"],
input[type="email"],
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
}

.form-control:focus,
input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Counter */
.counter-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff;
}

.btn-counter {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border: none;
    color: var(--text-main);
}

.btn-counter:hover {
    background: #e2e8f0;
}

.counter-wrapper input {
    width: 60px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-radius: 0;
}

.hint {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Multiple Applicant Cards */
.applicant-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.applicant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.applicant-number {
    font-weight: 600;
    color: var(--secondary-color);
}

/* File Upload */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: var(--transition);
}

.upload-zone:hover {
    border-color: var(--primary-color);
    background: #f0fdf4;
    /* Light green hover */
}

.upload-zone i {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.upload-zone span {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.upload-zone small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.file-input {
    display: none;
}

/* Filled State */
.upload-zone.filled {
    border-color: var(--success);
    background: #ecfdf5;
    border-style: solid;
}

.upload-zone.filled i {
    color: var(--success);
}

/* Checkout View */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.payment-methods {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eff6ff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.payment-badges {
    display: flex;
    gap: 1rem;
    font-size: 2rem;
    color: #1e3a8a;
}

.gateway-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1e40af;
}

.checkout-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.checkout-card h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.checkout-card h3:first-child {
    margin-top: 0;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.25rem;
}

.input-icon input {
    padding-left: 3rem;
}

/* Success View */
.success-container {
    text-align: center;
    max-width: 500px;
    margin: 4rem auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.success-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {

    .wizard-content,
    .checkout-grid {
        flex-direction: column;
    }

    .wizard-sidebar,
    .checkout-summary-section {
        width: 100%;
    }

    .row {
        flex-direction: column;
        gap: 0;
    }

    .upload-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--card-bg);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: var(--shadow);
        display: none;
        z-index: 1000;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.nav-active {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        background-color: #f1f5f9;
        text-align: center;
        width: 100%;
        margin-top: 1rem;
    }

    .dropdown:hover .dropdown-content,
    .dropdown.active .dropdown-content {
        display: block;
    }

    .mobile-menu-btn {
        display: block !important;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Phase 6 Enhancements */
.hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* WhatsApp and Fast Pay FABs */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Country Info View */
.info-hero {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow);
}

.info-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 1;
}

.info-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
}

.info-hero-content h1 {
    color: white;
    margin: 0;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.info-flag {
    width: 80px;
    height: 55px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.info-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .info-container {
        grid-template-columns: 1fr;
    }
}

.info-main {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.requirements-list {
    list-style: none;
    margin-top: 1.5rem;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.requirements-list i {
    color: var(--success);
    font-size: 1.5rem;
    margin-top: 0.1rem;
}

.info-sidebar .info-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 90px;
}

.info-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    color: var(--text-main);
}

.info-stat i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Phase 7 & 8: True RTL Support */
body.rtl {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', 'Outfit', sans-serif;
}

body.rtl .search-box input {
    padding: 1rem 3.25rem 1rem 1.5rem;
}

body.rtl .whatsapp-fab,
body.rtl .fast-pay-fab {
    right: auto;
    left: 30px;
}

body.rtl .search-box i {
    left: auto;
    right: 1.25rem;
}

body.rtl .btn-primary i,
body.rtl .btn-secondary i {
    transform: scaleX(-1);
    margin-right: 0.5rem;
    margin-left: 0;
}

body.rtl .requirements-list li {
    padding-right: 0;
}

body.rtl .btn-back i {
    transform: scaleX(-1);
    margin-left: 0.5rem;
    margin-right: 0;
}

body.rtl .form-actions.right {
    justify-content: flex-start;
}

/* -------------------------------------
   Footer Styles (Phase 9)
-------------------------------------- */
.site-footer {
    background: #0f172a;
    /* Dark Slate background */
    color: #cbd5e1;
    padding: 4rem 2rem 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid #1e293b;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

body.rtl .footer-col h4::after {
    left: auto;
    right: 0;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.35rem 0;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

body.rtl .footer-col ul li a:hover {
    transform: translateX(-5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e293b;
    color: #fff;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    font-size: 0.85rem;
    color: #64748b;
}

.payment-methods-footer {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Travel Gallery */
.travel-gallery {
    margin-top: -2rem;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 4px solid #fff;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-item {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(n+2) {
        display: none;
    }
}