html,body{
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #f8ffff;
    box-shadow: 0px 0px 4px grey;
}
header img{
    width: 70px;
    background: transparent;
    padding: 15px;
}
header nav ul{
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
}
header nav ul li a{
    color: black;
    text-decoration: none;
    position: relative;
}
header nav ul li a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0%;
    height: 2px;
    background-color: #151f44;
    transition: .3s ease-in-out;
}
header nav ul li a:hover::after{
    width: 70%; 
}
#ham, #cancel{
    display:none;
    color: black;
    text-decoration: none;
}


.hero{
    background-image: linear-gradient(180deg, rgba(165, 206, 199, 0.6) 0%, #151f33 80%), url("images/pexels-pok-rie-239659-scaled.jpg") !important;
    background-position: top 25% right 0;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 60vh;
}
.hero h1{
    font-family: 'Noto Serif', Georgia, "Times New Roman", serif;
    font-size: 60px;
    margin-top: 20px;
    letter-spacing: 5px;
    font-weight: 500;
}
.hero h2{
    letter-spacing: 5px;
}

.middle{
    margin-top: 50px;
}
.middle h1{
    color: #333;
    font-family: 'Noto Serif', Georgia, "Times New Roman", serif;
    font-size: 45px;
    letter-spacing: 5px;
    font-weight: 500;
    padding: 20px 150px;
}
.below h1{
    color: #fff;
    font-family: 'Noto Serif', Georgia, "Times New Roman", serif;
    font-size: 40px;
    letter-spacing: 5px;
    font-weight: 500;
    padding: 0;
}
.middle .below{
    height: 110vh;
    background-color: #151f33;
    color: #ddd;
    padding: 20px 150px;
}
.below a{
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    position: relative;
}
.below a span{
    margin-left: 4px;
}
.below a::after{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 2px;
    background: #fff;   
}
.pics{
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
.content1{
    text-align: center;
    width: 500px;
    background-image: radial-gradient(circle at top left, rgba(21, 31, 51, 0.8) 0%, rgba(21, 31, 51, 0.7) 100%), url(images/img4.jpg);
    background-color: #000000;
    background-position: bottom 25% left 35%;
    border-radius: 10px 10px 10px 10px;
    background-size: cover;
    overflow: hidden;
    padding:60px 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.content1:nth-child(2){
    background-image: radial-gradient(circle at top left, rgba(21, 31, 51, 0.8) 0%, rgba(21, 31, 51, 0.7) 100%), url(images/img5.jpg);
}
.content1:nth-child(3){
    background-image: radial-gradient(circle at top left, rgba(21, 31, 51, 0.8) 0%, rgba(21, 31, 51, 0.7) 100%), url(images/img6.jpg);
}
.content1:nth-child(4){
    background-image: radial-gradient(circle at top left, rgba(21, 31, 51, 0.8) 0%, rgba(21, 31, 51, 0.7) 100%), url(images/img7.jpg);
}
.content1 h3{
    font-weight: 550;
    letter-spacing: 3px;
}
.quiz{
    margin: 60px;
    text-align: center;
}
.quiz h2{
    font-size: 45px;
    font-weight: 500;
    font-family: 'Noto Serif', Georgia, "Times New Roman", serif;
}
.quiz a{
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    color: #000;
    border: 1px solid #151f44;
    position: relative;
    z-index: 10;
}
/* a {
    text-decoration: none;
    color: black;
    text-align: center;
    font-size: 20px;
    padding: 7px 10px;
    transition: 0.3s ease;
    position: relative;
    z-index: 10;
} */
.quiz a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    background: #151f44;
    width: 0%;
    height: 100%;
    transition: 0.3s ease-in-out;
    z-index: -1;
}
.quiz a:hover{
    color: #fff;
}
.quiz a:hover::after{
    width: 100%;
    transition: 0.3s ease-in-out;
}

.review{
    margin-top:60px ;
    padding: 0px 80px;
}
.review h3{
    padding-left: 40px;
    display: inline-block;
    letter-spacing: 4px;
    font-weight: 500;
    position: relative;
}
.review h3::after{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 60%;
    height: 2px;
    background: #151f33;    
}
.review .contain{
    margin-top: 20px;
     display: flex;
     align-items: center;
     justify-content: space-around;
}
.review .contain .card{
    margin:0px 30px;
    padding: 15px 25px;
    border-radius: 4px;
    background: #f5f5f5;
    text-align: justify;
}

footer{
    background: rgba(165, 206, 199, 0.6);
    text-align: center;
    padding: 30px;
}
footer .social{
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer .social a{
   width: 30px;
   height: 30px;
   border-radius: 50%;
   text-align: center;
   text-decoration: none;
   color: #000;
   position: relative;
   margin: 0 5px;
   z-index: 10;
   overflow: hidden;
    padding: 2px;
    border: 1px solid #151f44;
}
footer .social a .fab{
    font-size: 20px;
    line-height: 30px;
    position: relative;
    transition: 0.5s;
    z-index: 10;
}
footer .social a:hover i{
    color: #fff;
}
footer .social a::after{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: -90px;
    background: #151f44;
    z-index: -10;
    transition: 0.5s;
}
footer .social a:hover::after{
    left: 0;
}
.close{
    margin: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.contact h4{
    font-weight: 400;
}

footer a, .contact a{
    color: #000;
}

/* ABOUT PAGE */
.back{
    background-image: linear-gradient(180deg, rgba(165, 206, 199, 0.6) 0%, #151f33 80%), url("images/img.jpg") !important;
    background-position: top 25% right 0;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 60vh;
}
.back h1{
    font-family: 'Noto Serif', Georgia, "Times New Roman", serif;
    font-size: 60px;
    margin-top: 20px;
    letter-spacing: 5px;
    font-weight: 500;
}
.back h2{
    letter-spacing: 5px;
}
.info1{
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0px 80px;
}
.info2{
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0px 80px;
}
.mission h3{
    display: inline-block;
    position: relative;
    letter-spacing: 5px;
}
.sub-info1{
    padding-right: 30px;
    text-align: justify;
}
.sub-info2{
    width: 50vw;
    text-align: justify;

}
.mission h3::after{
    content: "";
    position: absolute;
    bottom: -10px;
    left:0;
    width: 70%;
    height: 2px;
    background: #151f33;   
}
.mission p{
    color: #666666;
}
.info1 img{
    width: 656px;
    height: 556px;
}
.info2 img{
    width: 356px;
}
.next{
    margin-top: 70px;
}
.next .container{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0px 80px;
}
.more h3{
    letter-spacing: 3px;
    font-weight: 400;
}

.next .container .more{
    width: 500px;
    height:300px;
    margin:0px 15px;
    padding: 15px 25px;
    border-radius: 4px;
    background: #f5f5f5;
    text-align: justify;
}



/* SUPPORT PAGE */
.banner{
    background-image: linear-gradient(180deg, rgba(165, 206, 199, 0.6) 0%, #151f33 80%), url("images/img8.jpg") !important;
    background-position: 50%;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 60vh;
}
.banner h1{
    font-family: 'Noto Serif', Georgia, "Times New Roman", serif;
    font-size: 60px;
    margin-top: 20px;
    letter-spacing: 5px;
    font-weight: 500;
}
.banner h2{
    letter-spacing: 5px;
    text-transform: uppercase;
}
.service{
    margin-top: 55px;
    padding: 0px 140px;
}
.service h1{
    font-family: 'Noto Serif', Georgia, "Times New Roman", serif;
    font-size: 40px;
    margin-top: 20px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    margin-bottom: 70px;
}
.service h1::after{
    content: "";
    position: absolute;
    bottom: -25px;
    left:0;
    width: 40%;
    height: 2px;
    background: #151f33;   
}
.service h3{
    font-size: 23px;
    font-weight: 450;
}

.outer{
    display: flex;
    align-items: center;
    margin-top: 40px;
}
.inform{
    margin:0px 10px;
    padding: 15px 25px;
    border-radius: 4px;
    background: #f5f5f5;
    text-align: center;
    width: 500px;
    height: 270px;
}
.inform h4{
    text-align: center;
    text-transform: uppercase;
    font-weight: 550;
}
.service p, .inform p{
    color: #666;
}
.target{
    margin-top: 55px;
    padding: 0px 140px;
}
.target h1{
    font-family: 'Noto Serif', Georgia, "Times New Roman", serif;
    font-size: 40px;
    margin-top: 20px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    margin-bottom: 70px;
}
.target h1::after{
    content: "";
    position: absolute;
    bottom: -25px;
    left:0;
    width: 30%;
    height: 2px;
    background: #151f33;    
}
.target-set{
    display: flex;
    align-items: center;
}
.target-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 20px;
    text-align: center;
}
.target-card img{
    width: 300px;
}
.target-card h3{
    font-weight: 300;
    font-size: 21px;
}
.target-card p{
    color: #666;
    line-height: 23px;
}
.reach{

    margin: 55px 140px;
    padding: 30px 80px;
    background: #f4f4f4;
    /* text-align: center; */
}
.reach h1{
    font-family: 'Noto Serif', Georgia, "Times New Roman", serif;
    font-size: 40px;
    margin-top: 20px;
    font-weight: 500;
    position: relative;
    margin-bottom: 70px;
    text-align: center;
    position: relative;
    display: inline-block;
    padding: 0 35%;
}
.reach h1::after{
    content: "";
    position: absolute;
    bottom: -25px;
    left:39%;
    width: 10%;
    height: 2px;
    background: #151f33;  
}
.reach form{
    padding: 0px 80px;
    color: #666;
    margin-left: 40px;
}
.reach form input[type="text"], .reach form input[type="email"]{
   width: 25vw;
   height: 40px;
   outline: none;
   color: #666;
   border: 1px solid #999;
   font-size: 15px;
}
.reach form input::placeholder, .reach form textarea::placeholder{
    font-size: 15px;
    transition: .2s ease-in-out;
}
.reach form input:focus::placeholder, .reach form textarea:focus::placeholder{
    font-size: 10px;
    transition: .2s ease-in-out;
}
.reach form textarea{
    width: 51vw;
    height:120px;
    outline: none;
    color: #666;
    border: 1px solid #999;
}
.reach form .sub{
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 5px;
    background:#151f44;
    position: relative;
    left: 74%;
    cursor: pointer;
    letter-spacing: 2px;
}
.sub:hover{
   opacity: 0.9;
}


/* INVOLVED PAGE */
.involve-banner{
    background-image: linear-gradient(180deg, rgba(165, 206, 199, 0.6) 0%, #151f33 80%), url("images/img12.jpg") !important;
    background-position: 30%;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 60vh;
}
.involve-banner h1{
    font-family: 'Noto Serif', Georgia, "Times New Roman", serif;
    font-size: 60px;
    margin-top: 20px;
    letter-spacing: 5px;
    font-weight: 500;
}
.involve-banner h2{
    letter-spacing: 5px;
    text-transform: uppercase;
}


/* QUIZ PAGE */
.quiz-banner{
    background-image: linear-gradient(180deg, rgba(165, 206, 199, 0.6) 0%, #151f33 80%), url("images/img13.jpg") !important;
    background-position: 50%;
    background-size: cover;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 60vh;
}
.quiz-banner h1{
    font-family: 'Noto Serif', Georgia, "Times New Roman", serif;
    font-size: 60px;
    margin-top: 20px;
    letter-spacing: 5px;
    font-weight: 500;
}
.quiz-banner h2{
    letter-spacing: 5px;
    text-transform: uppercase;
}
.question-set{
    padding: 0px 120px;
    margin-top: 45px;
}
.question-set  h2{
    font-family: 'Noto Serif', Georgia, "Times New Roman", serif;
    font-size: 35px;
    margin-top: 20px;
    letter-spacing: 5px;
    font-weight: 500;
}
.question{
    margin: 30px;
}
label{
    background-color: #e9eef5;
    padding: 10px 30px;
    margin: 0px 5px;
    border-radius: 50px;
    border: 1px solid #d0d9e3;
    display: inline-flex;
}
.question-set form input[type="radio"]:checked + label {
    background-color: #1fb4bb;
    color: #fff;
}
.question-set form input[type = "submit"]{
    margin: 30px;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 5px;
    background:#1fb4bb;
    cursor: pointer;
    letter-spacing: 2px;
    border: none;
    outline: none;
}
.question-set form input[type = "submit"]:hover{
    opacity: 0.9;
}
.result{
    color: red;
}
/* Base styles (apply to all sizes) */
/* Add your existing base styles here or keep them in style.css */

/* Small devices (phones, 0px – 599px) */
@media (max-width: 599px) {
    header, nav ul {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #nav {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    #ham, #cancel {
        display: block;
        font-size: 24px;
        margin: 10px;
    }

    .hero h1, .hero h2, .hero p,
    .review, .quiz, .middle, .close, footer {
        padding: 10px;
        text-align: center;
    }

    .pics {
        flex-direction: column;
    }

    .content-box {
        width: 90% !important;
        margin: 10px auto;
    }

    .content-container {
        margin: 0;
        padding: 10px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* Medium devices (tablets, 600px – 1023px) */
@media (min-width: 600px) and (max-width: 1023px) {
    nav ul {
        flex-direction: row;
        justify-content: space-around;
    }

    .pics {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .content-container {
        margin: 0 50px;
    }

    .content-box {
        width: 45% !important;
    }
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
    #ham, #cancel {
        display: none;
    }

    nav ul {
        display: flex !important;
        flex-direction: row;
        justify-content: flex-end;
    }

    .pics {
        display: flex;
        justify-content: space-between;
    }

    .content-container {
        margin: 0 200px;
    }

    .content-box {
        width: 45% !important;
    }
}
/* Add this to your style.css */

/* Mobile devices (phones, max 599px) */
