/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2c3e50;
    --accent-color: #FF6B35;
    --orange: #FF6B35;
    --orange-dark: #e55a2b;
    --orange-light: #ff8c5a;
    --text-dark: #1a1a1a;
    --text-medium: #333333;
    --text-light: #555555;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-orange: 0 4px 15px rgba(255, 107, 53, 0.25);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Cairo', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-medium);
    background-color: var(--bg-white);
    direction: rtl;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    border-bottom: 2px solid rgba(255, 107, 53, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
    min-width: 0;
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo h1 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--primary-color);
}

.nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
}

.nav a:hover {
    color: var(--orange);
    background: rgba(255, 107, 53, 0.1);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 80%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    flex-shrink: 0;
    margin-right: 1rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    width: 100%;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(44, 62, 80, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--orange);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.hero-date .day {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.hero-date .month {
    font-size: 1rem;
    font-weight: 400;
    display: block;
    margin-top: 0.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: var(--white);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    color: var(--white);
    margin-bottom: 2rem;
    max-height: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-btn {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    border: 2px solid transparent;
}

.hero-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    pointer-events: none;
}

.hero-prev,
.hero-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(1.1);
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--orange);
    width: 30px;
    border-radius: 6px;
    border-color: var(--white);
}

.indicator:hover {
    background: rgba(255, 107, 53, 0.7);
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* News Section */
.news-section {
    background: var(--white);
    padding: 4rem 0;
}

.news-section .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 2rem;
    transition: all 0.3s;
}

.news-card.news-hidden {
    display: none;
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.load-more-btn:hover {
    background: var(--dark-grey);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.load-more-btn i {
    font-size: 1rem;
    transition: transform 0.3s;
}

.load-more-btn:hover i {
    transform: translateY(3px);
}

.load-more-btn.hidden {
    display: none;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--orange);
}

.news-date {
    background: var(--orange);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date .day {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.news-date .month {
    font-size: 1rem;
    font-weight: 400;
    display: block;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.news-card:hover .news-title {
    color: var(--orange);
}

.news-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-medium);
    text-align: justify;
    margin-bottom: 1.5rem;
}

/* News Gallery */
.news-gallery {
    display: grid;
    gap: 0.5rem;
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
}

/* 1 image - full width */
.news-gallery[data-total="1"] {
    grid-template-columns: 1fr;
}

.news-gallery[data-total="1"] .gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* 2 images - side by side */
.news-gallery[data-total="2"] {
    grid-template-columns: 1fr 1fr;
}

.news-gallery[data-total="2"] .gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* 3+ images - grid 3 columns */
.news-gallery[data-total="3"] .gallery-item img,
.news-gallery[data-total="4"] .gallery-item img,
.news-gallery[data-total="5"] .gallery-item img,
.news-gallery[data-total="6"] .gallery-item img,
.news-gallery[data-total="7"] .gallery-item img,
.news-gallery[data-total="8"] .gallery-item img,
.news-gallery[data-total="9"] .gallery-item img,
.news-gallery[data-total="3"] .gallery-item.video-item,
.news-gallery[data-total="4"] .gallery-item.video-item,
.news-gallery[data-total="5"] .gallery-item.video-item,
.news-gallery[data-total="6"] .gallery-item.video-item,
.news-gallery[data-total="7"] .gallery-item.video-item,
.news-gallery[data-total="8"] .gallery-item.video-item,
.news-gallery[data-total="9"] .gallery-item.video-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Hide images beyond the first 3 */
.gallery-item.hidden {
    display: none;
}

/* Gallery More Button */
.gallery-more-btn {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.gallery-more-btn:hover {
    background: var(--orange);
    transform: scale(1.05);
}

.gallery-more-btn i {
    font-size: 1.2rem;
}

.gallery-more-btn .more-count {
    font-weight: 700;
}

/* Hide button if 3 or fewer images */
.news-gallery[data-total="1"] .gallery-more-btn,
.news-gallery[data-total="2"] .gallery-more-btn,
.news-gallery[data-total="3"] .gallery-more-btn {
    display: none;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 1;
}

.gallery-item img {
    display: block;
    transition: transform 0.3s;
    border-radius: 5px;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Video Item in Gallery */
.gallery-item.video-item {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
    position: relative;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.video-thumbnail:hover::before {
    background: rgba(255, 107, 53, 0.5);
}

.video-thumbnail i {
    font-size: 4rem;
    z-index: 1;
    transition: transform 0.3s;
    margin-bottom: 0.5rem;
}

.video-thumbnail:hover i {
    transform: scale(1.2);
}

.video-label {
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 1;
}

.gallery-item.video-item:hover {
    transform: scale(1.02);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
    animation: fadeIn 0.3s;
}

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

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.lightbox-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.lightbox-close:hover {
    color: var(--orange);
    background: rgba(255, 107, 53, 0.8);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.lightbox-prev {
    right: 20px;
}

.lightbox-next {
    left: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.lightbox-counter span {
    color: var(--orange);
    font-weight: 700;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 2rem;
    animation: fadeIn 0.3s;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
}

.video-modal-content iframe,
.video-modal-content video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
    z-index: 10002;
}

.video-modal-close:hover {
    color: var(--orange);
    transform: scale(1.1);
}

/* About Section */
.about-section {
    background: var(--white);
    padding: 4rem 0;
}

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    transition: transform 0.3s;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    transition: transform 0.3s;
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

/* Services Section */
.services-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

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

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--orange);
    background: var(--white);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
    display: inline-block;
    color: var(--orange);
}

.service-icon i {
    display: block;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--orange-dark);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* Members Section */
.members-section {
    background: var(--white);
    padding: 4rem 0;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.member-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--orange);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.member-card:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.member-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member-phone,
.member-website {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.member-phone i,
.member-website i {
    color: var(--orange);
    font-size: 1.1rem;
    width: 20px;
}

.member-website a {
    color: var(--orange);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.member-website a:hover {
    color: var(--orange-dark);
    text-decoration: underline;
}

/* Council Section */
.council-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.council-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.council-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--orange);
}

.council-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
}

.council-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.council-card:hover .council-image img {
    transform: scale(1.1);
}

.council-info {
    padding: 1.5rem;
    text-align: center;
}

.council-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.council-position {
    font-size: 1rem;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.council-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.council-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.council-phone i {
    color: var(--orange);
    font-size: 1.1rem;
    width: 20px;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    background: var(--orange);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    transition: all 0.3s;
}

.contact-icon i {
    display: block;
}

.contact-item:hover .contact-icon {
    background: var(--orange-dark);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-medium);
    font-size: 1rem;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    direction: rtl;
    background: var(--white);
    color: var(--text-medium);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    background: var(--bg-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.btn-submit {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    font-family: 'Cairo', sans-serif;
    box-shadow: var(--shadow-orange);
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(255, 107, 53, 0.4);
}

.btn-submit:focus {
    outline: 3px solid rgba(255, 107, 53, 0.3);
    outline-offset: 2px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    border-top: 3px solid var(--orange);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--orange);
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    padding: 0.2rem 0;
}

.footer-section ul li a:hover {
    color: var(--orange);
    transform: translateX(-5px);
    padding-right: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-direction: column;
}

.social-link {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.social-link i {
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .logo h1 {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 60px;
        max-width: 100px;
    }

    .nav ul {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        border-top: 2px solid rgba(255, 107, 53, 0.1);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .nav a {
        color: var(--text-dark);
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-height: 100px;
    }

    .hero-date {
        padding: 0.75rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .hero-date .day {
        font-size: 2rem;
    }

    .hero-controls {
        padding: 0 1rem;
    }

    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-indicators {
        bottom: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .news-card {
        flex-direction: column;
    }

    .news-date {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        min-width: auto;
    }

    /* Gallery responsive */
    .news-gallery {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    .news-gallery[data-total="2"] {
        grid-template-columns: 1fr 1fr !important;
    }

    .news-gallery .gallery-item img {
        height: 200px !important;
    }

    .news-gallery[data-total="1"] .gallery-item img {
        height: 250px !important;
    }

    .gallery-more-btn {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
        bottom: 0.25rem;
        left: 0.25rem;
    }

    /* Lightbox responsive */
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        right: 10px;
    }

    .lightbox-next {
        left: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .lightbox-counter {
        bottom: 10px;
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }

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

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

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

    .member-image {
        height: 200px;
    }

    .member-name {
        font-size: 1.2rem;
    }

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

    .council-image {
        height: 220px;
    }

    .council-name {
        font-size: 1.2rem;
    }

    .logo {
        flex-direction: row;
        gap: 0.5rem;
        flex: 1;
    }

    .logo-img {
        height: 50px;
        max-width: 80px;
    }

    .logo h1 {
        font-size: 0.9rem;
        white-space: normal;
    }

    .header .container {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 450px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-height: 80px;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-date {
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-date .day {
        font-size: 1.5rem;
    }

    .hero-date .month {
        font-size: 0.9rem;
    }

    .hero-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-controls {
        padding: 0 0.5rem;
    }

    .hero-prev,
    .hero-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .news-card {
        padding: 1.5rem;
    }

    .load-more-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .news-title {
        font-size: 1.3rem;
    }
}

