/*=========================================
        PROGRAMS SECTION
=========================================*/

.programs{

    position:relative;

    padding:120px 0;

    overflow:hidden;

    background:#F8FAFC;

}

.programs-title{

    width:min(760px,100%);

    margin:0 auto 80px;

    text-align:center;

}

.programs-title h2{

    margin:22px 0;

    color:#131B29;

    font-size:clamp(2.6rem,4vw,3.5rem);

    font-weight:800;

    line-height:1.15;

}

.programs-title p{

    max-width:680px;

    margin:auto;

    color:#6B7280;

    line-height:1.9;

    font-size:1.05rem;

}
/* =========================
   Grid
========================= */

.programs-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

}

/* أول وآخر كارت بعرض كامل */

.program-card:nth-child(1){

    grid-column:1 / -1;

    min-height:520px;

}

.program-card:nth-child(4){

    grid-column:1 / -1;

    min-height:520px;

}

/* الكارتين في النص */

.program-card:nth-child(2),

.program-card:nth-child(3){

    min-height:420px;

}
/* =========================
   Card
========================= */

.program-card{

    position:relative;

    overflow:hidden;

    border-radius:30px;

    min-height:470px;

    box-shadow:0 25px 60px rgba(19,27,41,.12);

}
.program-card img{

    width:100%;

    height:100%;

    position:absolute;

    inset:0;

    object-fit:cover;

    transition:.6s;

}
.program-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:40px;

    background:linear-gradient(

        transparent 10%,

        rgba(19,27,41,.92)

    );

    color:#fff;

}
/* =========================
   Icon
========================= */

.program-icon{

    width:70px;

    height:70px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(10px);

    margin-bottom:24px;

    transition:.35s;

}

.program-icon i{

    color:#fff;

    font-size:28px;

}

/* =========================
   Text
========================= */

.program-overlay h3{

    font-size:2rem;

    font-weight:700;

    margin-bottom:15px;

    transition:.35s;

}

.program-overlay p{

    max-width:420px;

    margin-bottom:28px;

    color:rgba(255,255,255,.9);

    line-height:1.8;

}

/* =========================
   Button
========================= */

.program-overlay a{

    display:inline-flex;

    align-items:center;

    gap:12px;

    width:max-content;

    padding:14px 26px;

    border:1px solid rgba(255,255,255,.35);

    border-radius:50px;

    color:#fff;

    font-weight:600;

    transition:.35s;

}

.program-overlay a i{

    transition:.35s;

}

.program-overlay a:hover{

    background:#966A30;

    border-color:#966A30;

    color:#fff;

}

.program-overlay a:hover i{

    transform:translateX(6px);

}

/* =========================
   Hover
========================= */

.program-card{

    cursor:pointer;

    transition:.45s;

}

.program-card:hover{

    transform:translateY(-12px);

    box-shadow:0 35px 80px rgba(19,27,41,.18);

}

.program-card:hover img{

    transform:scale(1.08);

}

.program-card:hover .program-overlay{

    background:linear-gradient(

        transparent 0%,

        rgba(19,27,41,.96)

    );

}

.program-card:hover .program-icon{

    background:#966A30;

    transform:translateY(-6px) scale(1.08);

}

.program-card:hover h3{

    transform:translateY(-4px);

}
