﻿
html, body {
    font-family: 'Tajawal', sans-serif;
    /*font-family: Arial, sans-serif;*/
    margin: 0;
    padding: 0;
    text-align: center;
}

.text_button {
    position: relative;
    /*flex-direction: column;*/
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    text-align: center;
    /*padding-bottom: 50px;*/
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: black;
    padding: 20px 0;
    padding-bottom: 30px;
}

.hero {
    position: relative;
    /*background: url('@Url.Content("~/Content/images/Slider-Img-2.jpg")') no-repeat center center/cover;*/
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-bottom: 50px;
}

    .hero::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70%;
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
        z-index: 1; /* Lower than overlay */
    }

.overlay {
    /* z-index: 2;*/
    /* margin-top: 20px;*/
    /*position: absolute;*/
    /* bottom: 50px;*/
    /*top:1px;*/
    padding: 5px;
    text-align: center;
    width: 100%;
    /*left: 50%;
            transform: translateX(-50%);*/
}

.cta-button {
    border-radius: 10px;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    /*position: absolute;*/
    /*margin-top: 5px;*/
    /*bottom: 20px;*/
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    padding: 10px 20px;
    /* z-index: 2;*/
}

    .cta-button:hover {
        background-color: #218838;
    }
.stats {
    position: relative;
    display: flex;
    justify-content: space-between; /* Distribute the stat-boxes evenly */
    gap: 20px;
    background: #40ac5c;
    padding: 10px;
    color: white;
    border-radius: 10px;
    margin-top: -10px;
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
}

.stat-box {
    text-align: center;
    padding: 15px;
    /*width: 100px;*/ /* Ensure consistent width for each stat-box */
}

@media (max-width: 768px) {
    .stats {
        width: 90%; /* Ensure stats container is more flexible on smaller screens */
    }

    .stat-box {
        width: 80px; /* Further reduce the width on smaller screens */
        padding: 10px; /* Adjust padding to fit content */
    }
}

    /*.stats {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 20px;
    background: #28a745;
    padding: 10px;
    color: white;
    border-radius: 10px;
    margin-top: -10px;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
}

.stat-box {
    text-align: center;*/
    /*background: rgba(255, 255, 255, 0.2);*/
    /*padding: 15px;
    padding-right:15px;
    padding-left:15px;*/
    /*border-radius: 20px;*/
    /*width: 120px;
}*/

    .info-section {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 20px 0;
    }

    .info-card {
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        /*width: 150px;*/
    }

        .info-card img {
            width: 50px;
            height: 50px;
        }

    .pagedesc {
        padding-top: 30px;
        padding-right: 80px;
        padding-left: 80px;
    }

    /* Remove padding for .pagedesc on screens smaller than 600px (e.g., phones) */
    @media (max-width: 600px) {
        .pagedesc {
            padding-top: 15px;
            padding-right: 0px;
            padding-left: 0px;
            font-size: small;
        }
    }


