:root {
    --white: #ffffff;
    --black: #000000;
    --red-uae: #CE1126;
    --green-uae: #007A5E;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --transition: all 0.3s ease;
    --border-gray: #e0e0e0;
    --text-dark: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    direction: ltr;
}

html[lang="ar"] {
    direction: rtl;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    margin-top: 110px;
}

html[lang="ar"] body {
    font-family: 'Poppins', 'Cairo', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--white) 0%, rgba(206, 17, 38, 0.02) 100%);
    padding: 0.5rem 0; /* قلل الـ padding */
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    border-bottom: 2px solid var(--red-uae);
    box-shadow: 0 2px 10px rgba(206, 17, 38, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem; /* قلل gap */
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder img {
    height: clamp(40px, 8vw, 60px); /* responsive + أصغر لـ slim header */
    width: auto;
    max-width: 200px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(206, 17, 38, 0.2));
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 10px;
    padding: 10px;
}

.nav-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
    outline: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--red-uae);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--red-uae);
    transition: var(--transition);
}

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

/* Language Toggle */
.lang-toggle-link {
    margin-left: 1rem;
    font-weight: 600;        
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--red-uae);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, rgba(206, 17, 38, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(206, 17, 38, 0.08), transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

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

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.hero-content h1 span {
    color: var(--red-uae);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
    max-width: 500px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-uae) 0%, #a60a23 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(206, 17, 38, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(206, 17, 38, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.himage-placeholder img {
    width: 100%;
    height: 360px;
    border-radius: 15px;
    border: 2px solid var(--red-uae);
    box-shadow: 0 8px 25px rgba(206, 17, 38, 0.15);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--red-uae);
    position: relative;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--green-uae), var(--red-uae), var(--green-uae));
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: linear-gradient(135deg, var(--white) 0%, rgba(206, 17, 38, 0.02) 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid var(--border-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(206, 17, 38, 0.15);
    border-color: var(--red-uae);
}

.card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 2px solid var(--border-gray);
    background: linear-gradient(135deg, rgba(206, 17, 38, 0.1) 0%, rgba(0, 122, 94, 0.05) 100%);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.service-icon {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(206, 17, 38, 0.1) 0%, rgba(0, 122, 94, 0.05) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid var(--border-gray);
}

.service-icon i {
    font-size: 4rem;
    color: var(--red-uae);
    transition: var(--transition);
}

.card:hover .service-icon i {
    transform: scale(1.1) rotate(5deg);
    color: var(--green-uae);
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 20px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--red-uae);
    font-weight: 700;
}

.card p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.seats {
    font-size: 0.9rem;
    color: var(--green-uae);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.seats i {
    margin-right: 8px;
}

.card-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.view-btn,
.register-btn,
.contact-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    border: none;
    outline: none;
}

.view-btn {
    background: transparent;
    color: var(--red-uae);
    border: 1.5px solid var(--red-uae);
}

.view-btn:hover {
    background: rgba(206, 17, 38, 0.1);
    transform: scale(1.03);
}

.register-btn,
.contact-btn {
    background: linear-gradient(135deg, var(--red-uae) 0%, #a60a23 100%);
    color: var(--white);
}

.register-btn:hover,
.contact-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(206, 17, 38, 0.25);
}

/* About Page Styles */
.about-page .section-title {
    margin-bottom: 2rem;
}

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

.about-text h3 {
    color: var(--red-uae);
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.about-text p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    border: 2px solid var(--red-uae);
    box-shadow: 0 8px 20px rgba(206, 17, 38, 0.15);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border: 2px solid var(--red-uae);
    border-radius: 15px;
    width: 80%;
    max-width: 700px;
    position: relative;
    animation: slideIn 0.4s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.close {
    color: var(--red-uae);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--dark-gray);
    transform: rotate(90deg);
}

.modal-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(206, 17, 38, 0.1) 0%, rgba(0, 122, 94, 0.05) 100%);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid var(--border-gray);
}

.modal-image i {
    font-size: 5rem;
    color: var(--red-uae);
}

.modal h2 {
    color: var(--red-uae);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.8rem;
}

.modal p {
    margin-bottom: 15px;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Service modal image */
.service-modal-image {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.service-modal-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* View More Button Wrapper */
.view-more-wrapper {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.view-more-wrapper .btn {
  min-width: 170px;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--white) 0%, rgba(206, 17, 38, 0.03) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-section .section-title {
    color: var(--red-uae);
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.info-card {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1.5px solid var(--border-gray);
    border-radius: 15px;
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    border-color: var(--red-uae);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(206, 17, 38, 0.1);
}

.info-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(206, 17, 38, 0.1);
    color: var(--red-uae);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    font-size: 1.4rem;
    transition: var(--transition);
    border: 1.5px solid var(--red-uae);
}

.info-card:hover .info-icon {
    background: var(--red-uae);
    color: var(--white);
    transform: rotate(10deg);
}

.info-content h3 {
    color: var(--red-uae);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 700;
}

.info-content p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border: 1.5px solid var(--border-gray);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 1.8rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-gray);
    padding: 10px 5px;
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--red-uae);
    outline: none;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 5px;
    color: var(--dark-gray);
    font-size: 0.95rem;
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--red-uae);
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, var(--red-uae) 0%, #a60a23 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 35px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(206, 17, 38, 0.2);
    text-transform: uppercase;
    outline: none;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(206, 17, 38, 0.3);
}

/* =========================================
   تنسيق شريط السوشيال ميديا (يمين الشاشة)
========================================= */
.social-sidebar {
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2000;
}

.social-sidebar a {
    width: 45px; /* كبرناهم شوية عشان يبقوا أوضح */
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.social-sidebar a.facebook { background-color: #1877F2; }
.social-sidebar a.instagram { background-color: #E4405F; }
.social-sidebar a.tiktok { background-color: #000000; }
.social-sidebar a.whatsapp { background-color: #25D366; }

.social-sidebar a:hover { transform: scale(1.1); }

/* =========================================
   تنسيق الزراير العائمة الكبيرة (تحت)
========================================= */
.floating-btn {
    position: fixed;
    bottom: 20px;
    width: 60px; /* مقاس كبير يملى العين */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 28px; /* أيقونة كبيرة */
    z-index: 2000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
}

/* زرار الاتصال: شمال تحت - لونه أزرق */
.call-btn {
    left: 20px;
    background-color: #007BFF;
    color: #ffffff !important;
}

/* زرار اللوكيشن: يمين تحت (بس مرحل لجوه شوية عشان ميخبطش في الواتساب) - لونه أبيض */
.location-btn {
    right: 20px; /* مرحل لجوه */
    background-color: #ffffff;
    color: #CE1126 !important; /* لون الخريطة أحمر */
    border: 2px solid #e0e0e0; /* إطار خفيف عشان يبان */
}

.floating-btn:hover {
    transform: scale(1.1);
}

/* تعديلات السوشيال والزراير للموبايل */
@media (max-width: 768px) {
    /* ترحيل السوشيال لفوق شوية في الموبايل */
    .social-sidebar {
        top: 45%; 
        right: 10px;
    }
    
    .social-sidebar a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* الزراير العائمة في الموبايل */
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 24px;
        bottom: 15px;
    }
    
    .call-btn { 
        left: 15px; 
    }
    
    /* ترحيل زرار اللوكيشن في الموبايل عشان ميتعارضش مع الواتساب */
    .location-btn { 
        right: 15px; 
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        margin-top: 90px;
    }

    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .header-left {
        width: 100%;
        justify-content: space-between;
    }

    .nav-list {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: flex;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 1rem;
        border-bottom: 2px solid var(--red-uae);
    }

    .nav-list.active {
        display: flex;
    }
}

/* About Page Specific Styles */
.about-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, rgba(206, 17, 38, 0.08) 100%);
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    white-space: pre-line;
    line-height: 1.3;
    color: var(--text-dark);
}

/* Introduction Section */
.about-intro-section {
    background: linear-gradient(135deg, rgba(206, 17, 38, 0.02) 0%, var(--white) 100%);
    padding: 80px 0;
}

.about-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
    text-align: justify;
    white-space: pre-line;
}

.about-intro h3 {
    color: var(--red-uae);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* About Section Styles */
.about-section {
    padding: 70px 0;
    border-bottom: 1px solid var(--border-gray);
}

.about-section:last-of-type {
    border-bottom: none;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    white-space: pre-line;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    white-space: pre-line;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

.values-grid::before {
    content: '';
    display: none;
}

/* Vision List */
.vision-list {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 2rem auto 0;
    white-space: pre-line;
}

/* About Footer Section */
.about-footer-section {
    background: linear-gradient(135deg, var(--red-uae) 0%, #a60a23 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.about-footer {
    margin: 0;
}

.about-footer p {
    font-size: 2rem;
    font-weight: 700;
    white-space: pre-line;
    line-height: 1.4;
    color: var(--white);
    margin: 0;
}

/* Responsive About Page */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 1.8rem;
    }

    .about-intro,
    .about-text,
    .vision-list {
        font-size: 0.95rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-footer p {
        font-size: 1.5rem;
    }

    .about-intro-section,
    .about-section {
        padding: 50px 0;
    }

    .about-footer-section {
        padding: 60px 0;
    }
}
/* Fix for About Page - Keep nav-list in normal state */
html[lang="ar"] .nav-list {
    flex-direction: row;
    justify-content: flex-end;
}

html[lang="ar"] .nav-list a {
    color: var(--text-dark);
    font-size: 0.95rem;
}

html[lang="ar"] .nav-list a:hover,
html[lang="ar"] .nav-list a.active {
    color: var(--red-uae);
}

/* Contact Page - Fix sidebar positioning */
@media (max-width: 768px) {
    .contact-section {
        position: relative;
        z-index: 1;
    }
}

html[lang="ar"] .social-sidebar {
    right: 18px;
    left: auto;
}

.map-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.map-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--red-uae);
}

.map-placeholder iframe {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Header layout: centered logo */
.header-grid{
    display:grid;
    grid-template-columns: 1fr auto 1fr;
    align-items:center;
    gap: 1rem;
}

.main-nav{justify-self:start;}

.logo-center{justify-self:center; display:flex; align-items:center; justify-content:center;}

.header-grid .hamburger{justify-self:end;}

.logo-center img{
    height: clamp(40px, 8vw, 60px);
    width: auto;
    max-width: 200px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(206, 17, 38, 0.2));
}

/* Responsive: keep centered logo and dropdown nav */
@media (max-width: 768px) {
  .header-grid{
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo burger"
      "nav nav";
  }
  .main-nav{ grid-area: nav; justify-self: stretch; width:100%; position: relative; }
  .logo-center{ grid-area: logo; justify-self:start; }
  .header-grid .hamburger{ grid-area: burger; }
  .main-nav .nav-list{
    top: 100%;
  }
}

/* === FORCE TRUE CENTER LOGO === */
.header-grid {
  position: relative;
}

.logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.main-nav {
  width: 100%;
}

/* ===============================
   HEADER FINAL FIX (Desktop + Mobile + Landscape)
================================= */

@media (min-width: 1025px) {
  .header-grid{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
  }

  .logo-center{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .main-nav{
    display: block;
    justify-self: start;
  }
  .main-nav .nav-list{
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    gap: 1.5rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .hamburger{
    display: none !important;
    justify-self: end;
  }
}

@media (max-width: 1024px) {
  .header-grid{
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    position: relative;
  }

  .logo-center{
    position: static !important;
    transform: none !important;
    left: auto !important;
    z-index: 2;
    margin-top: 6px;
  }

  .logo-center img{
    height: 90px;
    max-width: 300px;
  }

  .hamburger{
    display: flex !important;
    margin: 6px 0 10px;
  }

  .main-nav{
    display: block !important;
    width: 100%;
    position: relative;
  }

  .main-nav .nav-list{
    display: none !important;           
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 0 20px;
    background: #fff;
    border-top: 2px solid var(--red-uae);
    z-index: 3000;
  }

  .main-nav .nav-list.active{
    display: flex !important;
  }

  .main-nav .nav-list a{
    font-size: 1.1rem;
    font-weight: 600;
  }

  html[lang="ar"] .main-nav .nav-list{
    direction: rtl;
    text-align: center;
  }
  html[lang="en"] .main-nav .nav-list{
    direction: ltr;
    text-align: center;
  }
}
