@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
*{
    box-sizing: border-box;
    margin: 0%;
    padding: 0%;
    text-transform: capitalize;
    font-family: "Roboto Slab", serif;
    scroll-behavior: smooth;
}

header{
    position
    : relative;
    padding: 2em 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.1));
}

#home{
    background-color: rgb(207, 233, 255);
}

.logo{
    font-size: 1.5em;
    font-weight: 600;
    margin-left:20px;
}

.navbar{
    width: 100%;
    padding: 1rem 4rem;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
    top: 0;
    position: fixed;
}

.navbar.scrolled{
    background-color: #71bdff;
    border: none;
    transition:0.5s ease;
}

.nav_items{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.nav_items li{
    list-style: none;
    padding: 1em;
}

.nav_items li a{
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.nav_items li::before{
    content: '';
    height: 2px;
    width: 0%;
    background: #ff6a00;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav_items li:hover::before{
    width: 100%;
}

.btn{
    padding: 5px 15px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}

.btn a{
    text-decoration: none;
    color: #edf6fd;
}

.btn2{
    background-color:rgb(255, 179, 79);
    color: #fff;
    border: none;
    border-radius: 5px;
}

.btn2:hover{
    color: #ffffff;
    border:none;
    background-color: rgb(255, 203, 135);
    border-radius: 5px;
    transition:0.5s ease;
}

/* ______main */
.main{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 6em 2em 2em 2em;
    box-sizing: border-box;
    width: 100%;
    margin: auto;
}

.left h1{
    font-size: 3em;
}

.left p{
    font-size: 14px;
    line-height: 1.5rem;
    padding: 2% 0;
}

.right{
    display: flex;
    justify-content: center;
    align-items: center;
}

.right img{
   width: 500px;
   max-width: 100%;
   height: auto;
}
.user_display {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* __________________USER DISPLAY (MOBILE ONLY)__________________ */
@media screen and (max-width: 820px) {
  .user_display {
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    margin-left: auto;
    padding-right: 1rem;
    margin-top: 10px;
  }

  .user_display span {
    font-size: 14px;
    font-weight: 500;
  }

  .user_display #logout_btn {
    font-size: 14px;
    padding: 6px 12px;
    background-color: rgb(255, 179, 79);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
}

@media screen and (max-width: 465px) {
  .user_display {
    align-items: flex-end;
    padding: 0;
    margin-top: 10px;
    margin-right: 1rem;
  }

  .user_display span {
    font-size: 13px;
    text-align: center;
  }

  .user_display #logout_btn {
    padding: 5px 10px;
    font-size: 13px;
  }
}


/* ________about */
.sec{
    padding: 8% 0 5% 0;
    width: 82%;
    margin: auto;
}

.head,.Service_box{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0em 6em;
    align-items: center;
}

.head .sub_heading,
.head .heading{
    grid-column: 1;
}

.sub_heading{
    color: #0071c5;
    font-size: 1.7em;
}

.heading{
    font-size: 3em;
}
.head .para{
    grid-column: 2;
    text-align: left;
    color: #000000;
    font-size: medium;
}
.boxes{
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
}
.box{
    text-align: center;
}
.box span, .right_box li span, .box_1 span{
    display: inline-block;
    font-size: 2.3em;
    margin-bottom: 2rem;
    padding: 10px 17px;
    color: #0092ff;
    border-radius: 5px;
    background-color: #f2f2f2;
    border: 4px solid #fff;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.1);
}
.box h4{
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}
.box:hover span, .right_box li:hover span{
    padding: 14px 21px;
    color: #fff;
    border: none;
    cursor: pointer;
    background: linear-gradient(to bottom, #082567, #0071c5);
}
/* __________services */
.head_1{
    width: 70%;
    text-align: center;
    margin: auto;
}
.para{
    color: #000000;
}
.head_1 .heading{
    padding: 15px 0;
}
.Service_box{
    padding-top: 4rem;
    gap: 0em 3em;
}
.Service_box li{
    list-style: none;
}
.left_box p{
    font-size: 14px;
    padding: 15px 0;
    line-height: 1.5;
    margin-right: 3em;
    color: #000000;
}
.left_box li{
    padding: 15px 0;
}
.left_box li i{
    color: #fff;
    padding: 1px;
    background: linear-gradient(to bottom, #082567 ,#0071c5);
    border-radius: 50%;
    margin-right: 12px;
}
.left_box button{
    margin-top: 2em;
}
.right_box li{
    display: flex;
    align-items: flex-start;
    gap: 1em;
    margin: 2% 0;
}
.right_box h4{
    font-size: 19px;
}
.right_box p{
    font-size: 15px;
    padding-top: 12px;
    color: #000000;
}
/* ________route */
.boxes_1{
    margin-inline: auto;
    margin-top: 4rem;
    position: relative;
}
.box_1{
    position: absolute;
    max-width: 190px;
}
.box_1 span{
    margin-bottom: 0.5rem;
    font-size: 1.7rem;
    background-color: #edf6fd;
}
.box_1:nth-child(1){
    left: 5rem;
    top: 1rem;
}
.box_1:nth-child(2){
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}
.box_1:nth-child(3){
    left: 5rem;
    bottom: 0rem;
}
.box_1:nth-child(4){
    right: 5rem;
    top: 1rem;
    text-align: right;
}
.box_1:nth-child(5){
    right: 1rem;
    top: 50%;
    text-align: right;
    transform: translateY(-50%);
}
.box_1:nth-child(6){
    right: 5rem;
    bottom: 0rem;
    text-align: right;
}
.boxes_1 img{
    width: 420px;
    display: flex;
    margin-inline: auto;
}
/* ___________contact */
.contact{
    background: linear-gradient(to bottom ,#082567 , #0071c5);
    margin: 4% auto;
    border-radius: 15px;
    color: #fff;
}
.box_2{
    text-align: center;
    margin-top: 2%;
}
.box_2 input{
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
    border: NONE;
    border-radius: 5PX;
}

.box_2 textarea{
    position:relative;
    padding: 10px 10px;
    font-size: 16px;
    outline: none;
    border: NONE;
    border-radius: 5PX;
    top:17px;
    height:45px;
}

.box_2 button{
    background-color: #ff9100;
    color: #fff;
    border:none;
    border-radius:5px;
}
/* ___________footer */
.footer{
    display: flex;
    justify-content: space-evenly;
    gap: 4rem 2rem;
    border-bottom: 1px solid #777;
    grid-template-columns: repeat(4,1fr);
}
.footer_col h4{
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    letter-spacing: 1px;
}
.footer_links{
    display: grid;
    gap: 1rem;
}
.footer ul,.footer_bar ul{
    list-style: none;
}
.footer_links li a{
    text-decoration: none;
    color: #777;
}
.footer_links li a:hover{
    color: #0092ff;
}
.footer_bar{
    padding-block: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer_bar h4{
    font-size: 1.5rem;
    font-weight: 700;
}
.footer_bar p{
    font-weight: 500;
    color: #777;
}
.footer_socials{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.footer_socials li a{
    display: inline-block;
    padding: 8px 10px;
    font-size: 1rem;
    color: #000;
    text-decoration: none;
    border-radius: 100%;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.1);
}
.footer_socials li a:hover{
    background: linear-gradient(to bottom, #082567, #0071c5);
    color: #fff;
}

.nav_menu {
  display: none;
}

/* __________responsive */
@media only screen and (max-width:920px){
    .main{
        width: 95%;
    }
    .left h1{
        font-size: 2.7em;
    }
    .navbar {
        padding: 1rem 0rem
    }
    .sec{
        width: 90%;
    }
}
@media only screen and (max-width:820px){
.nav_items{
    position: absolute;
    top: -1%;
    left: 0%;
    width: 100%;
    padding: 5em 0em 2em 0;
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 0.2rem;
    background-color: #71bdff;
    transition: 0.5s;
    z-index: -1;
    transform: translateY(-100%);
}
.nav_items.open{
    transform: translateY(0);
}
 .nav_menu {
    display: none;
    font-size: 2rem;
    cursor: pointer;
  }
.nav_btns{
    display: none;
}
.main,.head,.Service_box {
    grid-template-columns:  1fr;
}
.head_1 {
    width: 95%;
}
.head .para{
    grid-column: 1;
}
.boxes{
    grid-template-columns: repeat(2, 1fr);
}
.boxes_1 img{
    opacity: 0.4;
}
.footer{
    grid-template-columns: repeat(3, 1fr);
}
}
@media only screen and (max-width:680px){
    .boxes{
        grid-template-columns: repeat(1, 1fr);
    }
    .route{
        width: 100%;
    }
    .footer_bar{
        flex-direction: column;
        text-align: center;
    }
    .footer{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width:465px){
.left h1{
    font-size: 2em;
}
.heading{
    font-size: 2.5em;
}
.main{
    width: 100%;
}
.box_1{
    width: 100px;
}
.boxes_1 img{
    width: 300px;
    padding: 5em 0;
}
.box_2 input,.box_2 button{
    width: 70%;
    margin:10px;
}
.box_2 button{
    margin-top: 2%;
    margin:10px;
}
.footer{
    grid-template-columns: repeat(1, 1fr);
}
}