/* شبكة معرض الصور العصرية */
.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s;
}
.gallery-item:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
    z-index: 2;
}
.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    transition: filter 0.18s;
}
.gallery-item .gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, rgba(26,41,86,0.12) 0%, rgba(26,41,86,0.22) 100%);
    opacity: 0;
    transition: opacity 0.18s;
    display: flex;
    align-items: flex-end;
    border-radius: 16px;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-content {
    padding: 1rem 1.2rem;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
/* Lightbox overlay عصري */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(20, 30, 60, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: lightboxFadeIn 0.35s cubic-bezier(.4,1.4,.6,1) both;
}
@keyframes lightboxFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}
.lightbox-overlay img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
    animation: lightboxImgIn 0.38s cubic-bezier(.4,1.4,.6,1) both;
}
@keyframes lightboxImgIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
.lightbox-overlay button {
    position: absolute;
    top: 24px;
    right: 36px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.7rem;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.18s;
}
.lightbox-overlay button:hover {
    color: #ffb300;
}
/* بطاقات الأنشطة العصرية */
.activities-cards-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.activity-card-modern {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1.5px 6px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s;
    display: flex;
    flex-direction: column;
    min-height: 340px;
}
.activity-card-modern:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
}
.activity-card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
.activity-card-body {
    padding: 1.2rem 1.3rem 1.1rem 1.3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.activity-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2956;
    margin-bottom: 0.5rem;
}
.activity-card-desc {
    font-size: 1rem;
    color: #444;
    margin-bottom: 0.2rem;
    flex: 1;
}
/* تنسيق الفوتر الحديث */
.main-footer {
    background: var(--main-blue);
    color: var(--main-white);
    padding: 2.5rem 0 1rem 0;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -2px 12px rgba(10,35,66,0.07);
    margin-top: 3rem;
}
.footer-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.footer-logo-block img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--main-white);
    box-shadow: 0 2px 8px rgba(10,35,66,0.10);
}
.footer-logo-block h4 {
    color: var(--main-gold);
    font-size: 1.2rem;
    margin-top: 0.7rem;
}
.footer-links-block h4, .footer-contact-block h4 {
    color: var(--main-gold);
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}
.footer-links-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-block li {
    margin-bottom: 0.5rem;
}
.footer-links-block a {
    color: var(--main-white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.footer-links-block a:hover {
    color: var(--main-gold);
}
.footer-contact-block p {
    margin: 0.5rem 0;
    font-size: 1rem;
}
.footer-contact-block a {
    color: var(--main-gold);
    text-decoration: none;
    font-weight: bold;
}
.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.footer-social a {
    color: var(--main-white);
    font-size: 1.5rem;
    transition: color 0.2s;
}
.footer-social a:hover {
    color: var(--main-gold);
}
.footer-bottom {
    text-align: center;
    color: var(--main-white);
    font-size: 1rem;
    border-top: 1px solid #eab54333;
    padding-top: 1rem;
}
/* تنسيق معرض الصور */
.gallery-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.gallery-card {
    background: var(--main-white);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(10,35,66,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gallery-images {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 1.2rem;
    margin-bottom: 1rem;
}
.gallery-images img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(10,35,66,0.10);
    border: 2px solid var(--main-gold);
    transition: transform 0.2s;
}
.gallery-images img:hover {
    transform: scale(1.08);
}
.gallery-card-title {
    color: var(--main-blue);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}
/* تنسيق قسم الأخبار */
.news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.news-card {
    background: var(--main-white);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(10,35,66,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.news-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
.news-card-content {
    padding: 1.2rem;
}
.news-card-content h4 {
    color: var(--main-blue);
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}
.news-card-content p {
    color: var(--main-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
}
.news-readmore {
    background: var(--main-gold);
    color: var(--main-blue);
    padding: 0.4rem 1.2rem;
    border-radius: 16px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s;
}
.news-readmore:hover {
    background: #ffd36e;
}
/* تنسيق قسم الرؤية والرسالة */
.vision-mission-flex {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
}
.vision-block, .mission-block {
    background: var(--main-white);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(10,35,66,0.07);
    padding: 2rem 1.5rem;
    flex: 1;
    min-width: 240px;
}
.vision-block h3, .mission-block h3 {
    color: var(--main-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.vision-block p, .mission-block p {
    color: var(--main-dark);
    font-size: 1.1rem;
}
/* تنسيق قسم عن المدرسة */
.about-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    background: var(--main-white);
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(10,35,66,0.07);
    padding: 2.5rem 2rem;
    margin: 2rem 0;
}
.about-info h2 {
    color: var(--main-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}
.about-info p {
    font-size: 1.15rem;
    color: var(--main-dark);
    margin-bottom: 1.5rem;
}
.about-img img {
    width: 320px;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(10,35,66,0.10);
    border: 4px solid var(--main-gold);
}
/* تنسيق البانر الرئيسي (Hero) */
.hero-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: linear-gradient(90deg, var(--main-blue) 60%, var(--main-gold) 100%);
    padding: 3rem 0 2rem 0;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 4px 24px rgba(10,35,66,0.08);
}
.hero-banner-img {
    width: 340px;
    height: 340px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(10,35,66,0.12);
    border: 6px solid var(--main-white);
}
.hero-banner-text {
    color: var(--main-white);
    max-width: 420px;
}
.hero-banner-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--main-gold);
}
.hero-banner-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.hero-banner-btn {
    background: var(--main-gold);
    color: var(--main-blue);
    padding: 0.7rem 2rem;
    border-radius: 32px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(234,181,67,0.10);
    transition: background 0.2s;
}
.hero-banner-btn:hover {
    background: #ffd36e;
}
/* تنسيق الهيدر الحديث */
.main-header {
    background: var(--main-blue);
    color: var(--main-white);
    box-shadow: 0 2px 8px rgba(10,35,66,0.08);
    padding-bottom: 0.5rem;
}
.main-header .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.main-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--main-white);
    box-shadow: 0 2px 8px rgba(10,35,66,0.10);
}
.school-title h1 {
    font-size: 2rem;
    margin: 0;
    color: var(--main-white);
}
.school-motto {
    color: var(--main-gold);
    font-weight: bold;
    font-size: 1.1rem;
}
.header-actions {
    display: flex;
    gap: 1rem;
}
.header-btn {
    background: var(--main-gold);
    color: var(--main-blue);
    padding: 0.5rem 1.2rem;
    border-radius: 24px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(234,181,67,0.10);
    transition: background 0.2s;
}
.header-btn:hover {
    background: #ffd36e;
}
.lang-toggle {
    background: var(--main-white);
    color: var(--main-blue);
    border: none;
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(10,35,66,0.10);
}
.main-nav {
    background: var(--main-blue);
    border-top: 1px solid #eab54333;
    padding: 0.5rem 0;
}
.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.main-nav a {
    color: var(--main-white);
    font-weight: 500;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.main-nav a:hover {
    color: var(--main-gold);
}
/* ألوان الهوية الوطنية */
:root {
    --main-blue: #0a2342;
    --main-gold: #eab543;
    --main-white: #fff;
    --main-gray: #f5f6fa;
    --main-dark: #222;
}

body {
    background: var(--main-gray);
    color: var(--main-dark);
    font-family: 'Tajawal', 'Open Sans', Arial, sans-serif;
}
/* تنسيق معرض الصور داخل كل بطاقة */
.gallery-images {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 8px;
}
.gallery-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.gallery-images img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
/* تحسين بطاقات الأخبار والأنشطة والمعرض */
.news-list, .activities-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-item, .activity-card, .gallery-item {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(30,58,138,0.08), 0 1.5px 6px rgba(59,130,246,0.08);
    padding: 24px;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.7s;
}

.news-item:hover, .activity-card:hover, .gallery-item:hover {
    box-shadow: 0 12px 36px rgba(30,58,138,0.15), 0 3px 12px rgba(59,130,246,0.12);
    transform: translateY(-4px) scale(1.02);
}

.news-item-image img, .activity-item-image img, .gallery-item img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(30,58,138,0.07);
    cursor: pointer;
    transition: transform 0.3s;
}
.gallery-item img:hover {
    transform: scale(1.08);
}

.news-item-title, .activity-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-item-date {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 8px;
}

.news-item-content {
    font-size: 1.05rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.activity-item-category {
    font-size: 0.95rem;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.activity-item-description {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 8px;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(30,58,138,0.08), rgba(241,196,15,0.08));
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 12px;
    pointer-events: none;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* School Colors */
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-gold: #f1c40f;
    --dark-gold: #d4ac0d;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --black: #0f172a;
    
    /* Typography */
    --font-arabic: 'Tajawal', sans-serif;
    --font-english: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Arabic Direction */
[dir="rtl"] {
    font-family: var(--font-arabic);
}

[dir="ltr"] {
    font-family: var(--font-english);
}

body {
    font-family: var(--font-arabic);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar {
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled .navbar {
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.brand-text {
    min-width: 0;
    flex: 1;
    text-align: right;
    margin-right: 10px;
}

[dir="ltr"] .brand-text {
    text-align: left;
    margin-right: 0;
    margin-left: 10px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header.scrolled .logo {
    width: 50px;
    height: 50px;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.2);
}

.brand-text .school-name {
    font-size: 1.6rem;
    margin: 0;
    color: var(--primary-blue);
    line-height: 1.1;
    font-weight: 700;
    transition: var(--transition);
    letter-spacing: -0.5px;
}

.school-type {
    font-size: 1rem;
    margin: 2px 0 0 0;
    color: var(--accent-gold);
    font-weight: 500;
    line-height: 1;
}

.header.scrolled .brand-text .school-name {
    font-size: 1.3rem;
}

.header.scrolled .school-type {
    font-size: 0.9rem;
}

.school-motto {
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin: 2px 0 0 0;
    font-weight: 500;
    font-style: italic;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--dark-gold));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-toggle {
    background: linear-gradient(135deg, var(--accent-gold), var(--dark-gold));
    color: var(--primary-blue);
    border: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(241, 196, 15, 0.3);
}

.lang-toggle:hover {
    background: linear-gradient(135deg, var(--dark-gold), var(--accent-gold));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(241, 196, 15, 0.4);
}

.lang-toggle:active {
    transform: translateY(0);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(30, 58, 138, 0.1);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(59, 130, 246, 0.6));
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--white);
    opacity: 0.95;
}

.hero-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.hero-prev, .hero-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    pointer-events: all;
}

.hero-prev:hover, .hero-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Vision & Mission Section */
.vision-mission {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.vision-card, .mission-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vision-card::before, .mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
}

.vision-card h3, .mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.vision-text, .mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 30px;
    color: var(--gray);
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.feature:hover {
    background: var(--accent-gold);
    transform: translateX(10px);
}

.feature:hover [dir="rtl"] {
    transform: translateX(-10px);
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.feature span {
    font-weight: 600;
    color: var(--dark-gray);
}

.about-images {
    display: grid;
    gap: 20px;
    grid-template-columns: 2fr 1fr;
}

.main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.main-image:hover img {
    transform: scale(1.05);
}

.side-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-images img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.side-images img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Activities Section */
.activities {
    padding: var(--section-padding);
    background: var(--white);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.activity-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-gold);
}

.activity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.activity-card:hover .activity-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
}

.activity-card h3 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.activity-card p {
    text-align: center;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--dark-gray);
    font-weight: 500;
    position: relative;
    padding-right: 25px;
    transition: var(--transition);
}

.activity-list li:last-child {
    border-bottom: none;
}

.activity-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 10px;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.1rem;
}

[dir="ltr"] .activity-list li {
    padding-right: 0;
    padding-left: 25px;
}

[dir="ltr"] .activity-list li::before {
    right: auto;
    left: 0;
}

.activity-list li:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

[dir="ltr"] .activity-list li:hover {
    transform: translateX(-5px);
}

/* Activities Gallery */
.activities-gallery {
    margin-top: 60px;
    text-align: center;
}

.activities-gallery h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
}

.activities-gallery h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.activities-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
    min-height: 200px;
}

.no-activities {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gray);
    font-style: italic;
    padding: 40px 20px;
    background: var(--light-gray);
    border-radius: 15px;
    border: 2px dashed #cbd5e1;
}

.activity-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.activity-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activity-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.activity-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(30, 58, 138, 0.9));
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.activity-image:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay span {
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Gallery Section */
.gallery {
    padding: var(--section-padding);
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(59, 130, 246, 0.6));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h4 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.contact-details h4 {
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.contact-details p {
    color: var(--gray);
    font-weight: 600;
}

/* Enhanced Contact Action Links - Force Override */
.contact-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.contact-action-link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    background: rgba(30, 58, 138, 0.05) !important;
    color: var(--primary-blue) !important;
    max-width: fit-content !important;
}

.contact-action-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.phone-action {
    border-color: #28a745 !important;
    background: rgba(40, 167, 69, 0.1) !important;
    color: #28a745 !important;
}

.phone-action:hover {
    background: #28a745 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
}

.whatsapp-action {
    border-color: #25d366 !important;
    background: rgba(37, 211, 102, 0.1) !important;
    color: #25d366 !important;
}

.whatsapp-action:hover {
    background: #25d366 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
}

.snapchat-action {
    border-color: #fffc00 !important;
    background: rgba(255, 252, 0, 0.1) !important;
    color: #333 !important;
}

.snapchat-action:hover {
    background: #fffc00 !important;
    color: #333 !important;
    box-shadow: 0 4px 12px rgba(255, 252, 0, 0.3) !important;
}

.contact-action-link i {
    font-size: 1.1rem !important;
    color: inherit !important;
}

.contact-action-link span {
    font-size: 0.95rem !important;
}

/* Enhanced Contact Action Links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: rgba(30, 58, 138, 0.05);
    color: var(--primary-blue);
    max-width: fit-content;
}

.contact-action-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.phone-action {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.phone-action:hover {
    background: #28a745;
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.whatsapp-action {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.whatsapp-action:hover {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.snapchat-action {
    border-color: #fffc00;
    background: rgba(255, 252, 0, 0.1);
    color: #333;
}

.snapchat-action:hover {
    background: #fffc00;
    color: #333;
    box-shadow: 0 4px 12px rgba(255, 252, 0, 0.3);
}

.contact-action-link i {
    font-size: 1.1rem;
    color: inherit;
}

.contact-action-link span {
    font-size: 0.95rem;
}

/* Responsive adjustments for contact links */
@media (max-width: 768px) {
    .contact-links {
        align-items: flex-start;
    }
    
    .contact-action-link {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.footer-logo h4 {
    color: var(--white);
    margin: 0;
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0.9;
    flex-wrap: wrap;
}

.footer-contact i {
    color: var(--accent-gold);
    min-width: 16px;
}

/* Enhanced Contact Links */
.contact-link {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 2px 6px;
}

.contact-link:hover {
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.phone-link:hover {
    color: #28a745;
}

.snapchat-link:hover {
    color: #fffc00;
}

.whatsapp-link {
    color: var(--white);
    text-decoration: none;
    margin-left: 8px;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    background: rgba(37, 211, 102, 0.1);
}

.whatsapp-link:hover {
    color: #25d366;
    background: rgba(37, 211, 102, 0.2);
    transform: scale(1.1);
}

.whatsapp-link i {
    color: inherit;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-radius: 0 0 20px 20px;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        margin-bottom: 25px;
    }
    
    .nav-item {
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 12px 20px;
        border-radius: 10px;
        background: rgba(30, 58, 138, 0.05);
        display: block;
        transition: var(--transition);
    }
    
    .nav-link:hover {
        background: rgba(30, 58, 138, 0.1);
        transform: translateY(0);
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }
    
    .lang-toggle {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .brand-text .school-name {
        font-size: 1.2rem;
        line-height: 1.1;
    }
    
    .school-type {
        font-size: 0.85rem;
    }
    
    .school-motto {
        font-size: 0.75rem;
    }
    
    .logo {
        width: 45px;
        height: 45px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .vision-card, .mission-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-images {
        grid-template-columns: 1fr;
    }
    
    .side-images {
        flex-direction: row;
    }
    
    .side-images img {
        height: 150px;
    }
    
    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-bottom: 50px;
    }
    
    .activity-card {
        padding: 30px 20px;
    }
    
    .activity-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .activity-card h3 {
        font-size: 1.3rem;
    }
    
    .activities-images {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .activity-image img {
        height: 180px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    :root {
        --section-padding: 60px 0;
    }
    /* فيديوهات المدرسة - شبكة متجاوبة */
    .videos-grid {
        grid-template-columns: 1fr;
    }
    .video-card {
        max-width: 100%;
    }
    .video-thumb img {
        height: 180px;
    }
}

/* قسم فيديوهات المدرسة */
.school-videos {
    padding: var(--section-padding);
    background: var(--white);
}
.school-videos .section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
}
.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.video-card {
    background: var(--light-gray);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(10,35,66,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    padding: 0 0 18px 0;
}
.video-card:hover {
    box-shadow: 0 8px 24px rgba(30,58,138,0.13);
    transform: translateY(-4px) scale(1.02);
}
.video-thumb {
    position: relative;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}
.video-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0 0 12px 12px;
    transition: filter 0.2s;
    filter: brightness(0.92);
}
.video-thumb:hover img {
    filter: brightness(0.8);
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--accent-gold), var(--primary-blue));
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(30,58,138,0.18);
    cursor: pointer;
    opacity: 0.92;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}
.play-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    transform: translate(-50%, -50%) scale(1.08);
}
.video-title {
    margin-top: 16px;
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-align: center;
}

/* نافذة الفيديو المنبثقة */
.video-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.2s;
}
.video-modal-content {
    background: var(--white);
    border-radius: 18px;
    padding: 24px 18px 18px 18px;
    box-shadow: 0 8px 32px rgba(30,58,138,0.18);
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.video-modal-close {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s;
}
.video-modal-close:hover {
    color: var(--accent-gold);
}
.video-modal video {
    width: 70vw;
    max-width: 600px;
    max-height: 60vh;
    border-radius: 12px;
    background: #000;
    margin-bottom: 12px;
}
.modal-video-title {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 480px) {
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .vision-card, .mission-card {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .about-images {
        grid-template-columns: 1fr;
    }
    
    .side-images {
        flex-direction: column;
    }
    
    .side-images img {
        height: 200px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .activity-card {
        padding: 25px 15px;
    }
    
    .activity-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .activities-images {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .activity-image img {
        height: 150px;
    }
    
    .activities-gallery h3 {
        font-size: 1.5rem;
    }
    
    .hero-nav {
        padding: 0 15px;
    }
    
    .hero-prev, .hero-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RTL Specific Adjustments */
[dir="rtl"] .about-text h2::after {
    right: 0;
    left: auto;
}

[dir="rtl"] .nav-link::after {
    right: 0;
    left: auto;
}

[dir="rtl"] .feature:hover {
    transform: translateX(-10px);
}

[dir="ltr"] .feature:hover {
    transform: translateX(10px);
}

/* Enhanced Contact Form Styles */
.contact-form {
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
}

/* Field validation styles */
.form-group input.valid,
.form-group textarea.valid {
    border-color: #28a745;
    background: #f8fff9;
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #dc3545;
    background: #fff8f8;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit.loading {
    pointer-events: none;
}

/* Loading spinner */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form message animations */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutToTop {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Contact options styling */
.contact-options {
    margin-top: 15px;
}

.contact-options-header h4 {
    margin: 0 0 15px 0;
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-options-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-option-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.contact-option-btn.phone {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.contact-option-btn.snapchat {
    background: linear-gradient(135deg, #fffc00, #ffeb3b);
    color: #333;
}

.contact-option-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.contact-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Enhanced responsive design for contact form */
@media (max-width: 768px) {
    .contact-options-buttons {
        flex-direction: column;
    }
    
    .contact-option-btn {
        min-width: auto;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}}