: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: 1rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    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;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-placeholder {
    display: flex;
    align-items: center;
}

.logo-placeholder img {
    height: 100px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(206, 17, 38, 0.2));
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.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;
}

.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 media */

.social-sidebar {
  position: fixed;
  top: 44%;
  left: 18px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2000;
}
.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #CE1126 65%, #007A5E 100%);
  color: #fff;
  font-size: 1.55rem;
  box-shadow: 0 4px 14px rgba(206,17,38,0.11);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.social-sidebar a:hover {
  transform: scale(1.14) translateX(7px);
  box-shadow: 0 8px 22px rgba(206,17,38,0.23);
  background: linear-gradient(135deg, #007A5E 65%, #CE1126 100%);
}


/* 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;
    }
}