* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: Cairo;
    src: url("../fonts/Cairo-Bold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: Cairo, sans-serif;
    
}

a {
    text-decoration: none;
    color: #fff;
}
:root {
    --primary-color: #066944;
    --secondary-color: #bb8a2a;
    --wave-color: #294f4ae5;
    --opacity-wave-color: #294f4a99;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --font-color: #222;
}

/* === Navbar === */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}
.navbar-container {
    background-color: var(--light-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 10px 43px 10px 43px;
}

.navbar-brand img {
    height: 55px;
}

.nav-link {
    color: #222;
    font-weight: 600;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.navbar-nav {
    margin-left: 10rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--primary-color);
}

.lang-switch a {
    color: #000;
    font-weight: 600;
    margin: 0 5px;
    text-decoration: none;
}

.btn-donate {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 8px 20px;
    /* border: none; */
    transition: 0.3s;
}

.btn-donate:hover {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

@media (max-width: 992px) {
    .navbar{padding:10px;}
    .navbar-container {padding: 10px 23px 10px 23px;}
    .donate_lang{
        justify-content: space-between;
    }
    .navbar-brand img {
    height: 40px;
}
    .rtl .event-section .event-title{font-size:45px;}
    .navbar-nav {
        margin-left: 0;
        margin-top: 1rem;
        gap: 6px;
        text-align: start;
    }

    .btn-donate {
        margin-top: 10px;
    }
}

/* === Hero Section === */
.hero {
    position: relative;
    background: url("../images/bannar.png") center center/cover no-repeat;
    height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* يجعل النص على اليمين */
    text-align: right;
    padding-right: 10%; /* مسافة من الحافة */
    overflow: hidden;
}

/* الطبقة المتدرجة */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top left, var(--wave-color) 20%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    z-index: 2;
    max-width: 500px;
    right: 18rem;
}
.hero-content span {
    color: var(--secondary-color);
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hero-content .btn-hero {
    background-color: transparent;
    color: var(--light-color);
    border-radius: 10px;
    padding: 12px 50px;
    border: 3px solid var(--light-color);
    font-weight: 600;
    transition: 0.3s;
}

.hero-content .btn-hero:hover {
    border-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .hero-content {
        right: 0;
        /*transform: translateX(10%);*/
        padding: 10px 30px;
        width: 100%;
    }
    .hero {
        justify-content: center;
        text-align: center;
        padding-right: 0;
        height: 75vh;
    }
    .hero-content .btn-hero {
        padding: 8px 15px;
    }

    .hero-overlay {
        background: rgba(41, 79, 74, 0.8); /* طبقة أبسط على الموبايل */
    }

    .hero-content h1 {
        font-size: 36px;
    }
}

/* aboutus section */

.about-btn-custom {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: bold;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.aboutus-title {
    font-size: 42px;
}
.about-btn-custom:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.content-text {
    font-size: 22px;
    line-height: 1.8;
    text-align: justify;
}

@media (max-width: 768px) {
    .content-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .btn-custom {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* === Projects Section === */
.projects-section,
.event-section {
    position: relative;
    background-color: #dae9e3;
    padding: 60px 20px;
    overflow: hidden; /* يخفي أي جزء يخرج عن حدود القسم */
}
/* --- الصورة العلوية على اليمين --- */
.projects-section .vector-bg-top {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
}

.projects-section .vector-bg-top img {
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

/* --- الصورة السفلية على اليسار --- */
.projects-section .vector-bg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.projects-section .vector-bg-bottom img {
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

/* حتى تكون البطاقات فوق الصور */
.projects-section .container {
    position: relative;
    z-index: 2;
    padding-top: 30px;
    padding-bottom: 31px;
}
.content-projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.projects-box {
    flex: 1 1 calc(25% - 25px); /* 4 كروت بالصف */
    display: flex;
    justify-content: center;
    min-width: 250px;
}

/* تصميم الكرت */
.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 300px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* الصورة */
.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* النصوص والمحتوى */
.project-content {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.project-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 8px;
}

.project-description {
    color: #555;
    font-size: 15px;
    line-height: 27px;
    font-weight: 400 !important;
    margin-bottom: 15px;
}

.project-prices span {
    color: #555;
    font-weight: 600;
}
.project-prices .child-span-first::after {
    content: "";
    display: block;
    position: relative;
    width: 3px;
    height: 2px;
    z-index: 1;
    background-color: var(--primary-color);
}
.project-prices .child-span-first::before {
    content: "";
    display: block;
    position: relative;
    top: 26px;
    width: 60px;
    height: 2px;
    background-color: #dae9e3;
}

.project-prices .child-span-two::after {
    content: "";
    display: block;
    position: relative;
    width: 60px;
    height: 2px;
    z-index: 1;
    background-color: var(--primary-color);
}
.project-prices .child-span-two::before {
    content: "";
    display: block;
    position: relative;
    top: 26px;
    width: 60px;
    height: 2px;
    background-color: #dae9e3;
}

/* زر مخصص */
.btn-custom {
    background-color: #00713d;
    color: #fff;
    border-radius: 6px;
    padding: 6px 20px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    margin-top: 25px;
    align-self: center;
    font-size: 14px;
}

.btn-custom:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

/* متجاوب مع الشاشات الصغيرة */
@media (max-width: 992px) {
    .projects-box {
        flex: 1 1 calc(50% - 25px); /* صفين */
    }
}

@media (max-width: 576px) {
    .projects-box {
        flex: 1 1 100%; /* كرت واحد بكل صف */
    }
}

/* ==============================
   STATS SECTION
   ============================== */
.stats-section {
    position: relative;
    background-image: url("../images/stats-bg.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 350px;
    overflow: hidden;
    padding: 60px 20px;
}

/* الطبقة السوداء الشفافة */
.stats-section .overlay {
    position: absolute;
    inset: 0;
    background: var(--opacity-wave-color);
    z-index: 1;
}

/* الحاوية الرئيسية */
.stats-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
}

/* كل عنصر */
.stat-item {
    flex: 0 0 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

.stat-number::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color); /* خط أصفر */
    border-radius: 2px;
}

.stat-label {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-top: 20px;
}

/* ==============================
   RESPONSIVE DESIGN
   ============================== */
@media (max-width: 992px) {
    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 50px;
    }

    .stat-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 50px 15px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

.event-section .box-forward {
    background-color: var(--light-color);
    padding: 35px 29px 35px 29px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 23px;
    flex-wrap: wrap;
    gap: 35px;
}

.event-section .event-content {
    max-width: 600px;
}
.event-section .event-image {
    max-width: 400px;
}

.event-section .event-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 52px;
    margin-bottom: 8px;
}
.event-section .event-description {
    color: #555;
    font-size: 19px;
    line-height: 30px;
    font-weight: 400 !important;
    margin-bottom: 15px;
    max-width: 300px;
}

.event-section .links-event {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.event-section span {
    color: #555;
    font-weight: 600;
}
.event-section .btn-custom-links {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.event-section .child-span-first::after {
    content: "";
    display: block;
    position: relative;
    width: 3px;
    height: 2px;
    z-index: 1;
    background-color: var(--primary-color);
}
.event-section .child-span-first::before {
    content: "";
    display: block;
    position: relative;
    top: 26px;
    width: 60px;
    height: 2px;
    background-color: #dae9e3;
}

.event-section .child-span-two::after {
    content: "";
    display: block;
    position: relative;
    width: 60px;
    height: 2px;
    z-index: 1;
    background-color: var(--primary-color);
}
.event-section .child-span-two::before {
    content: "";
    display: block;
    position: relative;
    top: 26px;
    width: 60px;
    height: 2px;
    background-color: #dae9e3;
}

.hero-standard {
    position: relative;
    background: url("../images/bannar.png") center center/cover no-repeat;
    height: 85vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* يجعل النص على اليمين */
    text-align: right;
    padding-right: 10%; /* مسافة من الحافة */
    overflow: hidden;
}

.section-about {
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 30px;
}

.section-about .section-title {
    color: var(--primary-color); /* أخضر داكن */
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}

.section-about .section-content {
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
}

.section-about .section-content ul {
    padding-right: 20px;
    margin-top: 10px;
}

.section-about .section-content li {
    margin: 8px 0;
}
.section-about .colored-title {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .section-about {
        padding: 30px 15px;
    }

    .section-about .section-title {
        font-size: 1.1rem;
    }

    .section-about .section-content {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .section-about {
        padding: 25px 10px;
    }

    .section-about .section-title {
        font-size: 1rem;
    }

    .section-about .section-content {
        font-size: 0.9rem;
    }
}

/* ========================================= 
Testimonials Section 
============================================ */
.testimonials-section .nav-tabs {
    width: fit-content;
    justify-content: flex-start;
    margin-top: 20px;
    border: 1px solid #272727;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    overflow: hidden;
    margin: 0 auto;
}

.testimonials-section .nav-tabs .nav-link {
    color: var(--dark-color);
    font-weight: bold;
    padding: 24px 60px;
    border: none;
    border-radius: 0;
    margin: 0 !important;
}

.testimonials-section .nav-tabs .nav-link.active {
    color: var(--light-color);
    background-color: var(--primary-color);
}

.testimonials-section .tab-content {
    padding: 30px 0;
}

.testimonials-section .program-title {
    color: var(--primary-color);
    font-size: 40px;
    font-weight: bold;
    text-align: justify;
    margin-bottom: 15px;
}
.testimonials-section .tab-content ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    max-width: 800px;
}
.testimonials-section .tab-content ul h4 {
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}
.testimonials-section .tab-content .program-desc {
    text-align: justify;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}
.testimonials-section .tab-content .card-section-tab .projects-box {
    flex: 1 1 calc(30% - 25px);
}
.testimonials-section .btn-donate {
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.testimonials-section .btn-donate:hover {
    background-color: #1b5e20;
}

@media (max-width: 768px) {
    .testimonials-section .nav-tabs .nav-link {
    padding: 18px 25px;
        
    }
    
    .nav-tabs .nav-link {
        padding: 8px 15px;
        font-size: 0.95rem;
    }

    .program-title {
        font-size: 37px !important;
    }

    .card-img-top {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .nav-tabs .nav-link {
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .program-desc {
        font-size: 0.95rem;
    }
}

/* ========================================= 
Join page
============================================ */
.joinus-section .join-title {
    color: var(--primary-color);
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}
.joinus-section .join-desc {
    text-align: center;
    color: var(--font-color);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

.joinus-section .cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.joinus-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    width: calc(50% - 20px);
    min-height: 200px;
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: white;
}

.joinus-section .card:hover {
    transform: translateY(-5px);
}

.joinus-section .arc-left,
.joinus-section .arc-right {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 4px solid;
    border-radius: 50%;
    z-index: 1;
}

.joinus-section .arc-left {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.joinus-section .arc-right {
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.joinus-section .card-green .arc-left,
.joinus-section .card-green .arc-right {
    border-color: var(--primary-color);
}

.joinus-section .card-yellow .arc-left,
.joinus-section .card-yellow .arc-right {
    border-color: var(--secondary-color);
}

.joinus-section .card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    flex-grow: 1;
}

.joinus-section .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.joinus-section .card-date {
    font-size: 0.85rem;
    color: #666;
    margin: 5px 0;
}

.joinus-section .card-expire {
    font-size: 0.85rem;
    color: #d32f2f;
    margin: 5px 0;
}

.joinus-section .btn-volunteer {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.joinus-section .btn-volunteer:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.joinus-section .btn-volunteer-yellow {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.joinus-section .btn-volunteer-yellow:hover {
    background-color: var(--wave-color);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .joinus-section .card {
        width: calc(50% - 20px);
        flex-direction: column;
        padding: 25px 15px;
        min-height: auto;
    }

    .joinus-section .arc-left,
    .joinus-section .arc-right {
        width: 80px;
        height: 80px;
        /*left: -20px;*/
        /*right: -20px;*/
    }

    .joinus-section .card-title {
        font-size: 1.1rem;
    }

    .joinus-section .card-date,
    .joinus-section .card-expire {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .joinus-section .card {
        width: 100%;
        padding: 20px 10px;
    }

    .joinus-section .arc-left,
    .joinus-section .arc-right {
        width: 60px;
        height: 60px;
        /*left: -15px;*/
        /*right: -15px;*/
    }

    .joinus-section .btn-volunteer,
    .joinus-section .btn-volunteer-yellow {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
}

.joinus-section .why-us-section {
    padding: 60px 20px;
    background-color: #fff;
    direction: ltr;
}

.joinus-section .section-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.joinus-section .image-side {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-height: 331px;
}

.joinus-section .image-side img {
    width: 100%;
    height: auto;
    display: block;
}

.joinus-section .text-side {
    flex: 0 0 55%;
    text-align: right;
}

.joinus-section .text-side h2 {
    direction: rtl;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.joinus-section .text-side p {
    direction: rtl;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.joinus-section .btn-volunteer {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    /*font-size: 1.1rem;*/
    transition: all 0.3s ease;
    display: inline-block;
}

.joinus-section .btn-volunteer:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* استجابة للجوال */

@media (max-width: 992px) {
    .joinus-section .card {
        width: calc(100% - 20px);
    }
}
@media (max-width: 768px) {
    .joinus-section .section-content {
        flex-direction: column;
        gap: 30px;
    }

    .joinus-section .image-side {
        flex: 0 0 100%;
        width: 310px;
        max-height: 238px;
    }

    .joinus-section .text-side {
        flex: 0 0 100%;
    }

    .joinus-section .text-side h2 {
        font-size: 1.5rem;
    }

    .joinus-section .text-side p {
        font-size: 1rem;
    }

    .joinus-section .btn-volunteer {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .joinus-section .section-content {
        padding: 20px;
    }

    .joinus-section .text-side h2 {
        font-size: 1.3rem;
    }

    .joinus-section .btn-volunteer {
        padding: 8px 20px;
        font-size: 0.95rem;
    }
}

/* ========================================= 
contactus section 
============================================ */
.contactus-section .contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.contactus-section .card {
    width: 300px;
    height: 210px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    overflow: hidden;
}

.contactus-section .card:hover {
    transform: scale(1.05);
}

.contactus-section .card::before {
    content: "";
    position: absolute;
    top: -45px;
    left: -45px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid white;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    transform: rotate(90deg);
}

.contactus-section .card::after {
    content: "";
    position: absolute;
    bottom: -45px;
    right: -45px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid white;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    transform: rotate(0deg);
}
.contactus-section .card img {
    width: 75px;
}

.contactus-section .green {
    background-color: var(--primary-color);
}

.contactus-section .gold {
    background-color: var(--secondary-color);
}

.contactus-section .icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.contactus-section .text {
    font-size: 1rem;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 600px) {
    .contactus-section .card {
        width: 100%;
        height: 200px;
    }
    .contactus-section .icon {
        font-size: 1.5rem;
    }
    .contactus-section .text {
        font-size: 0.9rem;
    }
}


/* ========================================= 
View Project Page 
============================================ */


.viewpro-section .project-card {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 30px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin: 0 auto;
}

.viewpro-section .image-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: -20px 20px 0 var(--secondary-color); /* ظل ذهبي منحنٍ */
}

.viewpro-section .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.viewpro-section .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.viewpro-section .content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.viewpro-section .content .subtitle {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.viewpro-section .badge {
  color: var(--primary-color);
  font-size: 16px;
  padding: 8px 15px;
  border-radius: 20px;
  display: inline-block;
  text-align: justify;
  font-weight: bold;
}
.viewpro-section .badge span {
    color: var(--dark-color);
}
.viewpro-section .details-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 6px 30px;
  border-radius: 12px;
  font-weight: bold;
  transition: background-color 0.2s;
  align-self: flex-start;
}

.viewpro-section .details-btn:hover {
  background-color: var(--primary-color);
}

.viewpro-section .description {
  color: #333;
  font-size: 1rem;
  text-align: justify;
}

.viewpro-section .donate-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 50px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  align-self: flex-start;
  transition: background-color 0.2s;
  margin-top: 15px;
}

.viewpro-section .donate-btn:hover {
  background-color: var(--primary-color);
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .viewpro-section .project-card {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .viewpro-section .image-wrapper {
    width: 100%;
    height: 250px;
    box-shadow: -15px 15px 0 var(--secondary-color);
  }

  .viewpro-section .content h2 {
    font-size: 1.5rem;
  }

  .viewpro-section .details-btn {
    align-self: center;
  }

  /* .viewpro-section .donate-btn {
    width: 100%;
    max-width: 300px;
  } */
}



/* ========================================= 
Footer 
============================================ */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 20px 30px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0;
    margin: 10px 0 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

/* زخارف الموج */
.decorative-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.wave-right,
.wave-left {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 120%;
    opacity: 0.8;
    z-index: 1;
}

.wave-right {
    right: -5%;
}

.wave-left {
    left: -1%;
    transform: translateY(-58%) scaleX(1);
}
.footer-section {
    max-width: 770px;
    margin: 0 auto;
}
/* النص السفلي */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .wave-right,
    .wave-left {
        opacity: 0.08;
        height: 100%;
    }
}
