/* ===== style.css ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #1A8A3A;
    --primary-green-light: #4CAF50;
    --primary-green-bg: #E8F5E9;
    --secondary-gold: #D4A843;
    --secondary-gold-light: #F5E6B8;
    --dark: #1A1A2E;
    --gray: #5A5A6E;
    --light-gray: #F5F7FA;
    --white: #FFFFFF;
    --shadow: 0 10px 40px rgba(26, 138, 58, 0.12);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--light-gray);
    color: var(--dark);
    line-height: 1.8;
    direction: rtl;
}

/* ===== HEADER ===== */
header {
    background: var(--white);
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
    border-bottom: 3px solid var(--primary-green);
}

header.scrolled {
    height: 65px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.12);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
}

.logo i {
    color: var(--primary-green);
    font-size: 2rem;
    background: var(--primary-green-bg);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(26, 138, 58, 0.15);
}

.logo .green-text {
    color: var(--primary-green);
}

.logo .gold-text {
    color: var(--secondary-gold);
}

nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

nav a {
    color: var(--gray);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 20px;
    left: 20px;
    height: 3px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 10px;
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
}

nav a:hover,
nav a.active {
    color: var(--primary-green);
}

nav a i {
    margin-left: 8px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 10px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== MAIN ===== */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 250px);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, #0F5C28 100%);
    color: var(--white);
    padding: 120px 5% 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(212, 168, 67, 0.08);
    transform: rotate(15deg);
    border-radius: 50%;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-content .badge {
    display: inline-block;
    background: var(--secondary-gold);
    color: var(--primary-green);
    padding: 6px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--secondary-gold);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 550px;
    margin-bottom: 30px;
}

.hero-content .btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-gold);
    color: var(--white) !important;
    border-color: var(--secondary-gold);
    font-family: 'Cairo';
}

.btn-primary i {
    color: var(--white) !important;
}

.btn-primary:hover {
    background: #C49A3A;
    border-color: #C49A3A;
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 168, 67, 0.35);
}

.btn-primary:hover i {
    color: var(--white) !important;
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-3px);
}

.btn-outline i {
    color: var(--white);
}

.btn-outline:hover i {
    color: var(--primary-green);
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== STATS ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 60px 5%;
    background: var(--white);
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid #e8eef0;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--primary-green);
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-green);
    display: block;
}

.stat-item .number .plus {
    color: var(--secondary-gold);
}

.stat-item .label {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 600;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 10px;
    display: block;
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-green);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-gold);
    border-radius: 10px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: 15px;
}

/* ===== FEATURES ===== */
.features {
    padding: 80px 5%;
    background: var(--primary-green-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-bottom-color: var(--secondary-gold);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== PROJECTS ===== */
.projects-preview {
    padding: 80px 5%;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    background: var(--white);
    border: 1px solid #e8eef0;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.project-card .image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-green), #0F5C28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.project-card .info {
    padding: 25px;
}

.project-card .info h3 {
    color: var(--primary-green);
    margin-bottom: 8px;
}

.project-card .info p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== TAGS ===== */
.project-card .info .tag {
    display: inline-block;
    background: var(--secondary-gold);
    color: var(--white) !important;
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 10px;
}

.project-card .info .tag i {
    color: var(--white) !important;
    margin-left: 6px;
}

/* ===== PROJECTS FILTER BUTTONS ===== */
.filter-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid var(--primary-green);
    background: var(--white);
    color: var(--primary-green);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.filter-btn:hover {
    background: var(--primary-green-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 138, 58, 0.15);
}

.filter-btn.active {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 4px 20px rgba(26, 138, 58, 0.25);
}

.filter-btn i {
    margin-left: 8px;
}

/* ===== ABOUT PAGE ===== */
.about-page {
    padding: 80px 5%;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-grid .image {
    background: linear-gradient(135deg, var(--primary-green), #0F5C28);
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 6rem;
}

.about-grid .text h2 {
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.about-grid .text p {
    color: var(--gray);
    margin-bottom: 15px;
    text-align: justify;
}

/* ===== ORGANIZATION CHART ===== */
.org-chart {
    margin-top: 80px;
    padding: 40px;
    background: var(--primary-green-bg);
    border-radius: 20px;
    border: 2px solid var(--primary-green);
}

.org-chart h3 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 30px;
}

.org-chart h3 i {
    color: var(--secondary-gold);
    margin-left: 10px;
}

.org-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    text-align: center;
}

.org-item {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    min-width: 180px;
    border: 2px solid var(--primary-green);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.org-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(26, 138, 58, 0.15);
    border-color: var(--secondary-gold);
}

.org-item i {
    font-size: 2rem;
    color: var(--primary-green);
    display: block;
    margin-bottom: 8px;
}

.org-item h4 {
    color: var(--primary-green);
    font-size: 1rem;
    margin-bottom: 4px;
}

.org-item p {
    color: var(--gray);
    font-size: 0.8rem;
    margin: 0;
}

/* ===== CONTACT ===== */
.contact-page {
    padding: 80px 5%;
    background: var(--primary-green-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-green), #0F5C28);
    padding: 50px;
    border-radius: 20px;
    color: var(--white);
}

.contact-info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info-card .item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-card .item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-gold);
    font-size: 1.2rem;
}

.contact-info-card .item .text {
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8eef0;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(26, 138, 58, 0.12);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* ===== MAP SECTION ===== */
.map-section {
    margin-top: 50px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--primary-green);
    background: var(--white);
    padding: 40px;
    text-align: center;
}

.map-section .map-icon {
    font-size: 4rem;
    color: var(--primary-green);
    display: block;
    margin-bottom: 15px;
}

.map-section h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.map-section p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 5px;
}

.map-section .map-placeholder {
    background: var(--primary-green-bg);
    border-radius: 12px;
    padding: 40px 20px;
    margin-top: 20px;
    border: 2px dashed var(--primary-green);
}

.map-section .map-placeholder i {
    font-size: 3rem;
    color: var(--primary-green);
    opacity: 0.5;
}

.map-section .map-placeholder p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ===== FOOTER ===== */
footer {
    background: #0F5C28;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 5%;
    text-align: center;
    border-top: 3px solid var(--secondary-gold);
}

footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: right;
    margin-bottom: 30px;
}

footer .footer-grid h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

footer .footer-grid a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 8px;
    transition: var(--transition);
}

footer .footer-grid a:hover {
    color: var(--secondary-gold);
}

footer .copy {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    font-size: 0.9rem;
}

footer .copy span {
    color: var(--secondary-gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 5% 60px;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-content .btn-group {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 30px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    nav.open {
        right: 0;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid #eee;
        color: var(--dark);
    }

    nav a::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-item .number {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-info-card {
        padding: 30px 20px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .org-item {
        min-width: 140px;
        padding: 15px 20px;
    }
}
/* ===== MAP CONTAINER ===== */
.map-container {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--primary-green);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 350px;
}

.map-section .map-placeholder {
    background: var(--primary-green-bg);
    border-radius: 12px;
    padding: 40px 20px;
    margin-top: 20px;
    border: 2px dashed var(--primary-green);
}