/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --color-bg-dark: #070708;
    --color-bg-card: #121215;
    --color-bg-input: #1a1a1f;
    --color-primary: #e5030f;
    --color-primary-hover: #ff222d;
    --color-primary-glow: rgba(229, 3, 15, 0.25);
    --color-primary-glow-heavy: rgba(229, 3, 15, 0.5);
    --color-text-main: #f5f5f9;
    --color-text-muted: #8e8e93;
    --color-border: #24242b;
    --color-border-hover: #3a3a46;
    --color-whatsapp: #25d366;
    --color-whatsapp-hover: #20ba5a;
    --color-card-shadow: rgba(0, 0, 0, 0.5);
    
    /* Layout */
    --max-width: 1200px;
    --navbar-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   GLOBAL RESET & FONTS
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal);
}

/* Language Switching Logic */
body.lang-ar {
    font-family: 'Cairo', sans-serif;
}
body.lang-en {
    font-family: 'Outfit', sans-serif;
}

body.lang-ar .lang-en { display: none !important; }
body.lang-en .lang-ar { display: none !important; }

/* Global Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

button, select, input, textarea {
    font-family: inherit;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--color-primary-glow-heavy);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
    fill: none;
}

/* ==========================================================================
   NAVBAR (GLASSMORPHISM)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: rgba(7, 7, 8, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all var(--transition-normal);
}

.navbar-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--color-text-main);
    line-height: 1.1;
}

.brand-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 8px 0;
    position: relative;
}

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

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

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

.btn-contact-nav {
    color: var(--color-text-main) !important;
}

.btn-contact-nav::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-border-hover);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
    width: 28px;
    height: 28px;
}

.mobile-menu-btn svg {
    width: 100%;
    height: 100%;
}

.mobile-menu-btn .menu-icon-close {
    display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--navbar-height) + 60px);
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(229,3,15,0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(229, 3, 15, 0.1);
    border: 1px solid rgba(229, 3, 15, 0.2);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(229, 3, 15, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(229, 3, 15, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(229, 3, 15, 0); }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #fff;
    text-align: start;
}

body.lang-ar .hero-title {
    font-size: 52px;
}

.text-highlight {
    color: var(--color-primary);
    position: relative;
    display: block;
    font-weight: 900;
}

.hero-description {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    text-align: start;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Media - Animated Rider */
.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(229, 3, 15, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.hero-floating-card {
    position: absolute;
    background: rgba(18, 18, 21, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
}

.card-1 {
    top: 20%;
    left: -10%;
    animation: float-card-1 6s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: -5%;
    animation: float-card-2 6s ease-in-out infinite 1s;
}

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

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

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(229, 3, 15, 0.15);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 20px;
    height: 20px;
}

.card-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.card-info p {
    font-size: 11px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 100px 0;
    position: relative;
    border-top: 1px solid var(--color-border);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--color-text-muted);
}

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

.service-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    transform-origin: left;
}

body[dir="rtl"] .service-card::before {
    transform-origin: right;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(229, 3, 15, 0.05);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card:hover .service-icon {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px var(--color-primary-glow-heavy);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.service-desc-text {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   CALCULATOR & BOOKING SECTION
   ========================================================================== */
.calculator-section {
    padding: 100px 0;
    background-color: rgba(18, 18, 21, 0.4);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.calc-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.calc-text .section-title {
    text-align: start;
    margin-bottom: 24px;
}

.calc-text .section-desc {
    text-align: start;
    margin-bottom: 40px;
}

.route-details {
    width: 100%;
}

.route-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: var(--radius-md);
    width: 100%;
}

.info-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.route-info-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.route-info-card p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Calculator Card Styling */
.calc-card {
    background: rgba(18, 18, 21, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(229, 3, 15, 0.03);
    position: relative;
}

.calc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(229, 3, 15, 0.1);
    pointer-events: none;
}

.calc-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: start;
}

.form-select, .form-input, .form-textarea {
    background-color: var(--color-bg-input);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    width: 100%;
    outline: none;
    transition: all var(--transition-fast);
}

.form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    /* Custom arrow for selects */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238e8e93'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    background-size: 18px;
    padding-left: 45px;
}

body[dir="rtl"] .form-select {
    background-position: left 16px center;
    /* For RTL, adjust padding and arrow placement */
    background-position: left 16px center;
}

/* Swap background arrow side in EN */
body.lang-en .form-select {
    background-position: right 16px center;
    padding-left: 18px;
    padding-right: 45px;
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(229, 3, 15, 0.15);
    background-color: rgba(26, 26, 31, 0.8);
}

.form-textarea {
    min-height: 80px;
    resize: vertical;
}

/* Optional Details Toggle */
.booking-toggle-wrapper {
    display: flex;
    justify-content: flex-start;
}

.btn-toggle-details {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.btn-toggle-details:hover {
    color: var(--color-primary-hover);
}

.optional-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px dashed var(--color-border);
    padding-top: 20px;
    transition: all var(--transition-normal);
}

.optional-details.hidden {
    display: none;
}

/* Result Panel */
.calc-result {
    background-color: rgba(229, 3, 15, 0.05);
    border: 1px solid rgba(229, 3, 15, 0.15);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.result-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.result-price {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(229, 3, 15, 0.3);
}

.result-price .currency {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.result-note {
    font-size: 11px;
    color: var(--color-text-muted);
}

/* WhatsApp Order Button */
#btnOrder {
    background-color: var(--color-whatsapp);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    border: none;
    color: #fff;
}

#btnOrder:hover {
    background-color: var(--color-whatsapp-hover);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-us-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--color-border);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.why-us-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-img {
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
    transition: transform var(--transition-normal);
}

.why-us-media:hover .why-us-img {
    transform: scale(1.05);
}

.why-us-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.why-us-content .section-title {
    text-align: start;
    margin-bottom: 20px;
}

.why-us-content .section-desc {
    text-align: start;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.feature-item-inline {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    text-align: start;
}

.feature-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    background-color: rgba(229, 3, 15, 0.08);
    border: 1px solid rgba(229, 3, 15, 0.15);
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-heading {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.feature-item-inline p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 100px 0;
    background: radial-gradient(circle at bottom, rgba(229,3,15,0.02) 0%, rgba(0,0,0,0) 60%);
}

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

.testimonial-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px var(--color-card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.stars {
    color: #ffd200;
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-align: start;
}

.testimonial-text {
    font-size: 15px;
    color: var(--color-text-main);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: start;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.client-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    text-align: start;
}

.client-city {
    font-size: 12px;
    color: var(--color-text-muted);
    display: block;
    text-align: start;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-section {
    background-color: rgba(10, 10, 12, 0.98);
    border-top: 1px solid var(--color-border);
    padding: 80px 0 0;
    color: var(--color-text-main);
}

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

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    text-align: start;
    max-width: 320px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.contact-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: start;
}

.contact-link-item:hover {
    color: var(--color-primary);
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
    text-align: start;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

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

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: start;
}

.footer-menu li {
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer-menu a:hover {
    color: var(--color-primary);
    padding-inline-start: 4px;
}

.footer-menu a {
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-creator {
    font-weight: 600;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

/* Tablet Layout */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title, .hero-description {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .calc-text {
        align-items: center;
        text-align: center;
    }
    
    .calc-text .section-title, .calc-text .section-desc {
        text-align: center;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Navigation Bar Trigger */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background-color: var(--color-bg-dark);
        border-top: 1px solid var(--color-border);
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        gap: 40px;
        transition: left var(--transition-normal);
        z-index: 999;
    }
    
    body[dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
        transition: right var(--transition-normal);
    }
    
    /* Open States */
    .nav-menu.open {
        left: 0;
    }
    
    body[dir="rtl"] .nav-menu.open {
        right: 0;
    }
    
    .navbar.menu-active .menu-icon-open {
        display: none;
    }
    
    .navbar.menu-active .menu-icon-close {
        display: block;
    }

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

/* Mobile Screen Tuning */
@media (max-width: 576px) {
    .hero-title {
        font-size: 36px !important;
    }
    
    body.lang-ar .hero-title {
        font-size: 38px !important;
    }
    
    .hero-floating-card {
        padding: 10px;
    }
    
    .card-1 {
        left: -5%;
    }
    
    .card-2 {
        right: -2%;
    }
    
    .calc-card {
        padding: 24px 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}
