/* =========================================
   ROOT
========================================= */

:root{

    --blue:#1d4ed8;
    --green:#10b981;
    --dark:#0f172a;
    --white:#ffffff;
    --gray:#f8fafc;
    --text:#475569;

    --gradient:
    linear-gradient(
        135deg,
        #1d4ed8,
        #10b981
    );

    --shadow:
    0 15px 40px rgba(0,0,0,0.08);

    --shadow-hover:
    0 30px 70px rgba(0,0,0,0.14);
}

/* =========================================
   BODY
========================================= */

body{

    font-family:'Cairo',sans-serif;

    background:var(--gray);

    color:var(--text);

    overflow-x:hidden;

    margin:0;
    padding:0;
}

.container{

    width:90%;

    max-width:1300px;

    margin:auto;
}

/* =========================================
   HERO
========================================= */

.project-details-hero{

    position:relative;

    min-height:38vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    overflow:hidden;

    padding:80px 20px;

    background:
    linear-gradient(
        rgba(0,0,0,0.60),
        rgba(0,0,0,0.68)
    ),
    url("photo/mogmd.png");

    background-position:center center;

    background-size:cover;

    background-repeat:no-repeat;

    border-bottom-left-radius:45px;
    border-bottom-right-radius:45px;
}

/* دوائر الخلفية */

.project-details-hero::before{

    content:"";

    position:absolute;

    width:320px;
    height:320px;

    background:
    radial-gradient(
        rgba(255,255,255,0.10),
        transparent
    );

    top:-120px;
    right:-100px;

    border-radius:50%;
}

.project-details-hero::after{

    content:"";

    position:absolute;

    width:220px;
    height:220px;

    background:
    radial-gradient(
        rgba(16,185,129,0.15),
        transparent
    );

    bottom:-80px;
    left:-70px;

    border-radius:50%;
}

/* =========================================
   HERO CONTENT
========================================= */

.hero-content{

    position:relative;

    z-index:2;

    max-width:750px;

    width:100%;

    padding:10px 15px;
}

.hero-badge{

    display:inline-block;

    padding:12px 24px;

    border-radius:60px;

    background:
    rgba(255,255,255,0.12);

    border:
    1px solid rgba(255,255,255,0.15);

    color:white;

    font-size:14px;

    font-weight:700;

    margin-bottom:20px;

    backdrop-filter:blur(10px);
}

.hero-content h1{

    color:white;

    font-size:44px;

    line-height:1.5;

    font-weight:900;

    margin-bottom:15px;

    text-shadow:
    0 10px 25px rgba(0,0,0,0.35);
}

.hero-content p{

    color:#f1f5f9;

    font-size:17px;

    line-height:2;

    max-width:650px;

    margin:auto;
}

/* =========================================
   DETAILS SECTION
========================================= */

.project-details-section{

    padding:80px 0 120px;

    position:relative;
}

.details-wrapper{

    display:grid;

    grid-template-columns:
    280px 1fr;

    gap:45px;

    align-items:start;
}

/* =========================================
   IMAGE CARD
========================================= */

.details-image{

    position:sticky;

    top:110px;

    background:white;

    border-radius:30px;

    overflow:hidden;

    box-shadow:var(--shadow);

    padding:15px;

    height:fit-content;
}

.details-image img{

    width:100%;

    height:280px;

    object-fit:cover;

    border-radius:22px;

    transition:0.5s ease;
}

.details-image:hover img{

    transform:scale(1.03);
}

/* =========================================
   CONTENT CARD
========================================= */

.details-content{

    position:relative;

    background:white;

    border-radius:35px;

    padding:60px;

    width:100%;

    box-shadow:var(--shadow);
}

.details-content::before{

    content:"";

    position:absolute;

    width:160px;
    height:160px;

    background:
    radial-gradient(
        rgba(29,78,216,0.08),
        transparent
    );

    top:-40px;
    left:-40px;

    border-radius:50%;
}

.details-tag{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 24px;

    border-radius:50px;

    background:
    rgba(29,78,216,0.10);

    color:var(--blue);

    font-weight:800;

    margin-bottom:25px;
}

.details-content h2{

    font-size:48px;

    color:var(--dark);

    line-height:1.3;

    margin-bottom:28px;

    font-weight:900;
}

.details-content p{

    font-size:18px;

    line-height:2.4;

    margin-bottom:24px;

    color:#64748b;
}

/* =========================================
   TABLE
========================================= */

.details-table{

    margin-top:45px;

    border-radius:25px;

    overflow:hidden;

    box-shadow:
    0 15px 40px rgba(0,0,0,0.06);
}

.details-table table{

    width:100%;

    border-collapse:collapse;

    background:white;
}

.details-table th{

    background:var(--gradient);

    color:white;

    padding:22px;

    font-size:17px;
}

.details-table td{

    padding:20px;

    text-align:center;

    border-bottom:
    1px solid #edf2f7;

    font-weight:700;

    color:#334155;
}

.details-table tr:hover{

    background:#f8fafc;
}

/* =========================================
   INFO BOXES
========================================= */

.info-boxes{

    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:25px;

    margin-top:45px;
}

.info-card{

    background:#f8fafc;

    border-radius:28px;

    padding:25px;

    display:flex;

    gap:18px;

    transition:0.4s ease;

    border:
    1px solid rgba(0,0,0,0.04);
}

.info-card:hover{

    transform:translateY(-8px);

    box-shadow:
    0 18px 40px rgba(0,0,0,0.08);
}

.info-card i{

    width:65px;
    height:65px;

    border-radius:50%;

    background:var(--gradient);

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

    flex-shrink:0;
}

.info-card h4{

    color:var(--dark);

    font-size:22px;

    margin-bottom:8px;

    font-weight:800;
}

.info-card p{

    margin:0;

    font-size:15px;

    line-height:1.9;
}

/* =========================================
   BUTTON
========================================= */

.donate-main-btn{

    display:inline-flex;

    align-items:center;

    gap:14px;

    margin-top:50px;

    padding:18px 42px;

    border-radius:60px;

    text-decoration:none;

    background:var(--gradient);

    color:white;

    font-size:18px;

    font-weight:800;

    transition:0.4s ease;

    box-shadow:
    0 18px 45px rgba(29,78,216,0.28);
}

.donate-main-btn:hover{

    transform:
    translateY(-6px)
    scale(1.04);

    box-shadow:
    0 30px 65px rgba(29,78,216,0.38);
}

/* =========================================
   TABLET
========================================= */

@media(max-width:1100px){

    .details-wrapper{

        grid-template-columns:1fr;
    }

    .details-image{

        position:relative;

        top:0;

        max-width:450px;

        margin:auto;
    }

    .hero-content h1{

        font-size:40px;
    }

    .details-content h2{

        font-size:38px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

    .project-details-hero{

        min-height:30vh;

        padding:60px 18px;

        border-bottom-left-radius:30px;
        border-bottom-right-radius:30px;
    }

    .hero-badge{

        font-size:12px;

        padding:10px 18px;
    }

    .hero-content h1{

        font-size:28px;

        line-height:1.6;
    }

    .hero-content p{

        font-size:15px;

        line-height:1.9;
    }

    .details-content{

        padding:30px 22px;
    }

    .details-content h2{

        font-size:28px;
    }

    .details-content p{

        font-size:16px;

        line-height:2;
    }

    .details-image img{

        height:240px;
    }

    .info-boxes{

        grid-template-columns:1fr;
    }

    .info-card{

        padding:20px;
    }

    .donate-main-btn{

        width:100%;

        justify-content:center;

        font-size:16px;

        padding:16px 20px;
    }
}