@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');

:root {
    --primaryColor: #FEA958;
    --middleColor: #393E46;
    --helperColor: #400B50;
    --lightHelper: #B60C52;
    --hrColor: #A9B5DF;
    --transparentColor: rgba(0, 0, 0, 0.699);
    --shadow: rgba(189, 188, 188, 0.514);
    /* --------------------------------- */
    --whatsappColor: #25D366;
    --white: #ffff;
    --blue: #1877F2;
    --green: #25D366;
    --gray: #f8f8f8;
    --container-width: 1340px;
    --header-height: 200px;
    /* 👈 غيّر الرقم حسب الارتفاع اللي تحبه */

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

a {
    text-decoration: none;
    transition: all 0.5s;

}

ul {
    list-style: none;
}

.single-container {
    margin-top: 100px;
    color: var(--helperColor);
    display: flex;
    align-items: center;
    border: 1px dashed rgb(62 8 76 / 53%);
    background-color: #F8F5FF;
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 15px;

}

.single-section {
    padding: 250px 18px 100px 18px;
    margin-top: -200px;
    background-image: url("../img/header-shape.svg"), linear-gradient(180deg, var(--helperColor) 55%, var(--lightHelper));
    position: relative;
    background-position: center, center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: left;
    color: var(--white);
}

.single-section::before {
    content: "";
    background-image: url("../img/shiny-back.webp");
    background-size: cover;
    position: absolute;
    background-repeat: no-repeat;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
}

.single-content {
    width: 50%;
    position: relative;
    z-index: 2;
}

.single-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.single-subtitle {
    font-size: 16px;
    color: var(--primaryColor);
    margin-bottom: 24px;
}

.single-content a {
    justify-self: center;
    margin-top: 30px;
    width: 60%;
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    padding: 8px;
    border-radius: 2px 20px 2px 20px;
    background-image: linear-gradient(90deg, var(--lightHelper) 0%, var(--primaryColor) 100%);
}

.single-content a:hover {
    border-radius: 20px 2px 20px 2px;
}

.single-image-card {
    width: 50%;
    border-radius: 5px 30px 5px 30px;

}

.image-card {
    overflow: hidden;
    width: 90%;
}

.image-card img {
    border-radius: 5px 30px 5px 30px;
    width: 80%;
    display: block;
}



/* ========== responsive additions for single.css ========== */

/* reduce big paddings on medium screens */
@media (max-width: 1200px) {
    .single-section {
        padding: 250px 16px 80px 16px;
    }

    .single-title {
        font-size: 34px;
    }
}

/* tablets */
@media (max-width: 900px) {
    .single-section {
        padding: 180px 12px 80px 12px;
        margin-top: -120px;
        background-position-x: center;
    }

    .single-content,
    .single-image-card {
        width: 100%;
    }

    .single-content {
        order: 2;
        padding: 0 8px;
    }

    .single-image-card {
        order: 1;
        margin-bottom: 18px;
    }

    .single-title {
        font-size: 28px;
    }

    .single-content a {
        width: 80%;
        margin: 18px auto 0;
        font-size: 16px;
        padding: 10px;
    }

    .image-card img {
        max-width: 360px;
        margin: 0 auto;
    }
    
.single-container {
    margin-top: 10px;
}

}

/* small phones */
@media (max-width: 576px) {
    .single-section {
        padding: 150px 10px 0px 10px;
        margin-top: -90px;
    }

    .single-title {
        font-size: 22px;
        line-height: 1.2;
    }

    .single-container {
        max-width: 100%;
        padding: 0 18px;
        flex-direction: column-reverse;
    }

    .single-subtitle {
        font-size: 14px;
    }

    .single-content {
        width: 100%;
        margin-bottom: 10px;
    }

    .single-content a {
        width: 100%;
        font-size: 15px;
        padding: 10px;
    }

    .image-card {
        width: 100%;
    }

    .image-card img {
        max-width: 260px;
    }
}