*{
    box-sizing: border-box;
    font-family: sans-serif;
    scroll-behavior: smooth;
}
body{
    margin: 0;
    padding: 10px 30px;
}
header{
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
}
header>*{
    width: 33.33%;
}
header .logo{
    height: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
}
header .logo img{
    width: auto;
    height: 45px;
    border-radius: 15px;
}
header ul{
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
    color: #161616a2;
    font-size: 1.08rem;
    font-weight: 700;
    position: relative;
    transition: 0.3s;
}
header ul a.active,header ul a:hover{
    color: #059601e6;
}
header ul a::after,header ul a::before{
    content: '';
    position: absolute;
    top: 130%;
    height: 4px;
    background: #f32121;
    border-radius: 10px;
    width: 0;
    left: 0;
    transition: 0.3s;
}
header ul a.active::after,header ul a:hover::after{
    left: 8px;
    width: 60%;
}
header ul a.active::before,header ul a:hover::before{
    left: 0;
    width: 4px;
}
header .button{
    display: flex;
    align-items: center;
    justify-content: end;
}
header .button button{
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(to right bottom, #ed2d38, #93151c);
    box-shadow: #ed2d385c 0 5px 10px;
    color: #fff;
}
/*  */
.header-box,footer{
    width: 100%;
    height: 250px;
    display: flex;
    flex-direction: column;
    background: #01963a;
    background-size: cover;
    background-position: center;
    margin: 30px 0;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    position: relative;
}
.header-box::before,footer::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/2x.jpg') no-repeat;
    background-size: cover;
    border-radius: inherit;
    opacity: 0.25;
}
.header-box>*,footer>*{
    z-index: 1;
}
.header-box h1{
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 10px #0000002d;
}
.header-box input{
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 50%;
    height: 70px;
    border-radius: 15px;
    border: none;
    outline: none;
    padding: 0 20px;
    box-shadow: 0 10px 30px #0000002d;
    font-size: 1.08rem;
}
nav{
    margin: 70px 0;
}
nav ul{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 10px;
}
nav ul a{
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 50px;
}
nav ul a.active,nav ul a:hover{
    background: linear-gradient(to right bottom, #ed2d38, #93151c);
    color: #fff;
}
/*  */
.top-news{
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
}
.top-news img{
    width: 50%;
    border-radius: 20px;
}
.top-news video{
    width: 100%;
    border-radius: 20px;
}
.top-news .text-container{
    padding-left: 30px;
}
.top-news .text-container h1{
    font-size: 2.3rem;
    margin-top: 0;
}
.top-news .text-container p{
    opacity: 0.9;
}

/*  */

.news-section{
    margin: 50px 0;
}
.news-section h1{
    text-align: center;
    font-size: 2.1rem;
    color: #01963a;
    position: relative;
}
.news-section h1::after{
    content: "";
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background: #f32121;
    border-radius: 5px;
}
.news-section .row{
    display: flex;
    gap: 40px 3%;
    flex-wrap: wrap;
    justify-content: center;
}
.news-section .row .news-box{
    width: 31%;
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}
.news-section .row .news-box .img-container{
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
}
.news-section .row .news-box .img-container img{
    width: 100%;
    height: auto;
    min-width: 100%;
    min-height: 100%;
}
.news-box .news-date{
    color: #01963a;
    margin: 20px 0 0;
    font-size: 0.9rem;
}
.news-box h3{
    margin: 15px 0;
    text-transform: capitalize;
}
.news-box .news-content{
    margin: 0;
}
/*  */
footer{
    align-items: start;
    justify-content: start;
    padding: 0;
    height: fit-content;
    box-shadow: 0 0 25px #06960163;
    margin: 100px 0 0;
    background: #8e0007;
}
footer::before{
    background: url('../images/news/93604210100084640360no.jpg') no-repeat;
    background-size: cover;
}
footer .row{
    width: 100%;
    height: 100%;
    display: flex;
}
footer form{
    height: 100%;
    width: 40%;
    background: #fff;
    margin: 0 70px;
    padding: 40px 20px;
}
footer form .form-control{
    display: flex;
    flex-direction: column;
}
footer form .form-control input{
    margin: 5px 0 20px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #0000006f;
    padding: 0 10px;
    outline: none;
    font-size: 1.09rem;
}
footer form button{
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: 2px solid #93151c;
    background: none;
    color: #93151c;
    font-size: 1.1rem;
    margin: 10px 0 20px;
    cursor: pointer;
    outline: none;
}
footer form button:hover{
    background: linear-gradient(to right bottom, #ed2d38, #93151c);
    color: #fff;
    border: none;
}
footer form input[type="checkbox"]{
    margin: 0 10px 0 0;
    width: 15px;
}
footer .footer-content{
    color: #fff;
    padding: 30px 0;
    font-size: 1.2rem;
}
footer .footer-content h1{
    position: relative;
    margin: 20px 0;
}
footer .footer-content h1::before{
    content: "";
    position: absolute;
    top: 110%;
    left: 0;
    width: 90px;
    height: 4px;
    background: #fff;
    border-radius: 5px;
}
footer .footer-content h4{
    margin: 30px 0;
}
footer .footer-content ul li{
    list-style: decimal;
    margin: 15px 0;
}