/* General Styles */
:root {
    --primary-color: #0A2342; /* Navy Blue */
    --secondary-color: #D4AF37; /* Gold */
    --light-gray: #f4f4f4;
    --white-color: #ffffff;
    --font-family: 'Cairo', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
    direction: rtl;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Header */
.header {
    background: rgba(10, 35, 66, 0.8);
    backdrop-filter: blur(5px);
    color: var(--white-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li a {
    color: var(--white-color);
    text-decoration: none;
    padding: 5px 15px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #c5a230;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white-color);
    color: var(--white-color);
    margin-right: 10px;
}

.btn-secondary:hover {
    background: var(--white-color);
    color: var(--primary-color);
}
.btn-primary-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}
.btn-primary-outline:hover {
     background: var(--secondary-color);
     color: var(--primary-color);
}

.nav-toggle { display: none; }


/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.service-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

/* Why Us Section */
.why-us { background: var(--light-gray); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Testimonials Section - UPDATED */
.testimonial-slider {
    max-width: 800px;
    margin: auto;
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
    border-radius: 10px;
}
.testimonial-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 50px 60px;
    color: var(--white-color);
    text-align: center;
}
.testimonial-slide p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
}
.testimonial-slide cite {
    display: block;
    margin-top: 20px;
    color: var(--secondary-color);
    font-weight: bold;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s;
}
.slider-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}
.slider-btn.prev { right: 10px; }
.slider-btn.next { left: 10px; }


/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white-color);
    padding-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-col h3, .footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.footer-col ul { list-style: none; }
.footer-col a { color: var(--white-color); text-decoration: none; }
.social-icons a {
    margin-left: 15px;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    border-top: 1px solid #2a4a6d;
}
.footer-bottom a {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Responsive (Mobile) - UPDATED */
@media(max-width: 768px) {
    .section-title { font-size: 2rem; }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001; /* Ensure it's on top */
    }

    .navbar {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary-color);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding-top: 80px;
    }
    
    .navbar.active {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 20px 0;
    }
    
    .nav-links li a {
        font-size: 1.5rem;
    }

    .header .btn-primary-outline { display: none; }

    .hero-content h1 { font-size: 2.5rem; }

    .services-grid, .features-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
}



/* =================================
   About Us Page Styles
==================================== */

.page-header {
    background: linear-gradient(rgba(10, 35, 66, 0.7), rgba(10, 35, 66, 0.7)), url(https://images.unsplash.com/photo-1526628953301-3e589a6a8b74?q=80&w=2006&auto=format&fit=crop) no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    color: var(--white-color);
    margin-top: 75px; /* To offset the fixed header */
}

.page-header h1 {
    font-size: 3rem;
    color: var(--secondary-color);
}

.about-content .about-text {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.about-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
    margin-top: 30px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--light-gray);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.value-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.navbar .nav-links a.active {
    color: var(--secondary-color);
    font-weight: bold;
}








/* =================================
   Contact Us Page Styles
==================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info h3, .contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-info ul {
    list-style: none;
}

.contact-info ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-info ul li i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-left: 15px;
    margin-top: 5px;
    width: 25px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: none;
}

/* Map Section */
.map-section {
    margin-top: 60px;
}

.map-section h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Responsive adjustments for contact page */
@media(max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}





/* =================================
   Services Page Styles
==================================== */

.service-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-block.reverse {
    direction: ltr; /* Trick to reverse order in RTL layout */
}

.service-block.reverse .service-details {
    direction: rtl;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.service-image img:hover {
    transform: scale(1.05);
}

.service-details h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
/* Underline effect for service title */
.service-details h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.service-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.service-features li i {
    color: var(--secondary-color);
    margin-left: 10px;
    font-size: 1.2rem;
}

.service-details .btn-primary {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Responsive adjustments for services page */
@media(max-width: 992px) {
    .service-block,
    .service-block.reverse {
        grid-template-columns: 1fr;
        direction: rtl; /* Reset direction for mobile */
    }
    .service-details h2 {
        font-size: 2rem;
    }
}









/* =========================================
   ARTISTIC & DYNAMIC REDESIGN V2
========================================= */

/* --- General Animation Class --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Artistic Activities Gallery Page --- */
.artistic-header {
    background: var(--primary-color);
    text-align: center;
    padding: 80px 0;
}
.artistic-header h1 {
    color: var(--secondary-color);
    font-size: 3rem;
}
.artistic-header p {
    color: var(--white-color);
    font-size: 1.2rem;
    opacity: 0.8;
}

.activities-gallery-section {
    background: #fdfdfd;
}

.art-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.art-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: box-shadow 0.4s ease;
    height: 450px;
}
.art-card:hover {
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.art-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.art-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.art-card:hover .art-card-image {
    transform: scale(1.1);
}

.art-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.art-card-content {
    transform: translateY(20px);
    transition: transform 0.5s ease;
}
.art-card:hover .art-card-content {
    transform: translateY(0);
}

.art-card-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: block;
}
.art-card-title {
    font-size: 1.6rem;
    color: var(--white-color);
    line-height: 1.4;
    margin-bottom: 15px;
}
.art-card-cta {
    color: var(--secondary-color);
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.art-card:hover .art-card-cta {
    opacity: 1;
}

/* --- Immersive Activity Details Page --- */
.immersive-hero {
    height: 60vh;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Parallax Effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.immersive-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 35, 66, 0.7); /* Dark Blue Overlay */
}
.immersive-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white-color);
}
.immersive-hero .article-title {
    font-size: 3.5rem;
    color: var(--white-color);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.immersive-hero .article-meta {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}
.immersive-hero .article-meta i {
    color: var(--secondary-color);
}

.pro-activity-details-section {
    padding-top: 0;
    margin-top: -80px; /* Pull the content up */
    position: relative;
    z-index: 5;
}
.pro-activity-details-section .article-container {
    padding: 60px 70px;
}

.article-body {
    padding-top: 20px;
}

/* Artistic first letter */
.article-body p:first-of-type::first-letter {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    float: right;
    margin-left: 15px;
    line-height: 0.8;
}















/* Hero Section */
.hero {
    height: 100vh; /* ارتفاع كامل الشاشة */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    /* === الجزء الجديد: إضافة الصورة كخلفية === */
    background-image: url('img/hero-bg.jpg'); /* تأكد من أن الصورة بهذا الاسم والمسار */
    background-size: cover; /* لتغطية كامل المساحة */
    background-position: center center; /* لتوسيط الصورة */
    background-attachment: fixed; /* لتأثير البارالاكس عند التمرير */
}

/* طبقة معتمة فوق الصورة لإبراز النص */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1; /* يجب أن تكون فوق الخلفية */
}

/* يجب أن يكون المحتوى فوق الطبقة المعتمة */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}













































