/*---------------------------------------------
                global variables
---------------------------------------------*/
:root {
    --primary-color: #BF0B1A;
    --div-box-color: #fff3f3;
    --menu-font-size: 18px;
    --paragraph-font-size: 16px;
    --paragraph-font-color: #555;
}




/* --------------------------------------------
               global definition
-------------------------------------------- */
*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

h1{
    font-size: 36px;
    font-weight: 600;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

p{
    color: var(--paragraph-font-color);
    font-size: var(--paragraph-font-size);
    font-weight: 300;
    line-height: 22px;
    padding: 10px 10px 1px;
}

ul {
    color: var(--paragraph-font-color);
    font-size: var(--paragraph-font-size);
    font-weight: 300;
    line-height: 22px;
    padding: 10px 10px 1px 50px;
    list-style-type: disc;
}
ul li {
    margin: 5px 0; /* Optional: Adds space between list items */
}



/*--------------------------------------------
             Buttons definition 
--------------------------------------------*/
.hero-btm{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding:  12px 34px;
    font-size: var(--menu-font-size);
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btm:hover{
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    transition: 1s;
}

nav .fa{
    display: none;
}







/*----- main page header -----*/
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.5), rgba(4,9,30,0.5)), url(../02_page_imges/banner.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 150px;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: var(--menu-font-size);
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 5px;
    background-color: var(--primary-color);
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}



/*----- Text box on main page -----*/
.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1{
    font-size: 62px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: var(--paragraph-font-size);
    color: white;
}




/* ---------- mobile screen --------- */
@media(max-width: 700px){

    nav img{
        width: 100px;
    }

    .text-box h1{
        font-size: 24px;
    }

    .nav-links ul li{
        display: block;
    }

    .nav-links{
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa{
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul{
        padding: 30px;
    }

    h1{
        font-size: 24px;
    }
}







/* ----------------- programs ---------------- */
.programs{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.programs-col{
    flex-basis: 31%;
    background: var(--div-box-color);
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    text-align: left;
    transition: 0.5s;
}

.programs-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}



/* ----------------- testimonials ---------------- */
.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonials-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: var(--div-box-color);
    padding: 25px;
    display: flex;
    transition: 0.5s;
}

.testimonials-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

.testimonials-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonials-col p{
    padding: 0;
}

.testimonials-col  h3{
    margin-top: 15px;
    text-align: left;
}


@media(max-width: 700px){
    .testimonials-col img{
        margin-left: 0px;
        margin-right: 15px;
    }
}


/* ----------------- footer ---------------- */
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa{
    color: var(--primary-color);
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

.fa-heart-o{
    color: var(--primary-color);
}

.footer-menu ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.footer-menu ul li a{
    color: var(--primary-color);
    text-decoration: none;
    font-size: var(--menu-font-size);
}

.read-more-link{
    color: var(--primary-color);
    text-decoration: none;
    font-size: var(--menu-font-size);
    margin-top: 20px;
    display: inline-block;
}

.read-more-link:hover {
    color: #6e2b28; /* A slight color change on hover */
}




.language-switcher select {
    font-size: var(--menu-font-size);
    color: white;
    background-color: var(--primary-color);
    border: 0;
    border-radius: 4px;
    padding: 10px;
}



/* ----------------- about us page ---------------- */
.sub-header{
    min-height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.5), rgba(4,9,30,0.5)), url(../02_page_imges/banner.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    text-align: center;
    color: white;
}

.sub-header h1{
    margin-top: 100px;
}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;    
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img{
    width: 100%;
}

.about-col h1{
    padding-top: 0;
}

.about-col p{
    padding: 15px 0 25px;
}








/* ----------------- contact page ---------------- */
.contact-us{
    width: 80%;
    margin: auto;
}

.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}

.contact-col div p{
    padding: 0;
}

.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--paragraph-font-color);
    font-weight: 400;
}





/* ----------------- Reports ---------------- */
.report{
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    padding-top: 100px;
    gap: 100px;
}

.report-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px; /* space between divs */
}

.report-column h1{
    margin-bottom: 25px;
}

.report-box{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    display: flex;
}

.report-box img{
    height: 60px;
    width: 60px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.report-box p{
    padding: 0;
}

.report-box h3{
    margin-top: 15px;
    text-align: left;
}

@media(max-width: 700px){
    .report {
        flex-direction: column; /* Stack columns vertically */
        gap: 50px; /* Adjust gap for spacing when stacked */
    }

    .report-box {
        flex-basis: auto; /* Adjust width for smaller screens */
        padding: 15px;
    }

    .report-box img{
        margin-left: 0px;
        margin-right: 15px;
    }
}