@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

/* navbar styling */
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 15px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}
.navbar.sticky{
    padding: 15px 0;
    background: navy;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color: white;
    font-size: 35px;
    font-weight: 600;
}
.navbar .logo a span{
    color: navy;
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span{
    color: white;
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: white;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s;
}
.navbar .menu li a:hover{
    color: navy;
}
.navbar.sticky .menu li a:hover{
    color: white;
}

/* menu btn styling */
.menu-btn{
    color: white;
    font-size: 23px;
    cursor: pointer;
    display: none;
}

.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    background: navy;
    right: 30px;
    bottom: 30px;
    text-align: center;
    line-height: 45px;
    color: white;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.scroll-up-btn.show{
    opacity: 1;
    pointer-events: auto;
}

/* home section styling */
.home{
    display: flex;
    /* background: url("images/banner.JPEG") no-repeat center; */
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cdefs%3E%3Cpattern id='pattern' width='40' height='40' viewBox='0 0 40 40' patternUnits='userSpaceOnUse' patternTransform='rotate(135)'%3E%3Crect id='pattern-background' width='400%25' height='400%25' fill='rgba(211, 211, 211,1)'%3E%3C/rect%3E%3Ccircle fill='rgba(0, 0, 128,1)' cx='40' cy='20' r='0.25'%3E%3C/circle%3E%3Ccircle fill='rgba(255, 255, 255,1)' cx='0' cy='20' r='1'%3E%3C/circle%3E%3Ccircle fill='rgba(255, 255, 255,1)' cx='40' cy='20' r='1'%3E%3C/circle%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23pattern)' height='100%25' width='100%25'%3E%3C/rect%3E%3C/svg%3E");
    height: 100vh;
    color: white;
    min-height: 500px;
    font-family: 'Ubuntu', sans-serif;
}
.home .max-width{
    margin: auto 0 auto 7%;
}
.home .home-content .text-1{
    font-size: 27px;
}
.home .home-content .text-2{
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}
.home .home-content .text-3{
    font-size: 40px;
    margin: 5px 0;
}
.home .home-content .text-3 span{
    color: navy;
    font-weight: 500;
}
.home .home-content a{
    display: inline-block;
    background: navy;
    color: white;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid navy;
    transition: all 0.3s ease; 
}

.home .home-content a:hover{
    background-color: rgb(1, 1, 87);
}

/* about section styling */
section{
    padding: 100px 0;
}
.about{
    font-family: 'PT Sans', sans-serif;
}
.about .title{
    position: relative;
    text-align: center;
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 5px;
    font-family: 'Ubuntu', sans-serif;
}
/* .about .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: black;
    transform: translateX(-50%);
}
.about .title::after{
    content: "Who I am";
    position: absolute;
    bottom: -13px;
    left: 50%;
    font-size: 23px;
    color: navy;
    padding: 5px;
    background: white;
    transform: translateX(-50%);
} */
.about .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 210px;
    height: 3px;
    background: black;
    transform: translateX(-50%);
}
.about .title::after{
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50%;
    font-size: 23px;
    color: navy;
    padding: 5px;
    background: white;
    transform: translateX(-50%);
}
.about .about-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.about .about-content .left{
    width: 45%;
}
.about .about-content .left img{
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 6px;
}
.about .about-content .right{
    width: 55%;
}
.about .about-content .right .text{
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about .about-content .right .text span{
    color: navy;
}
.about .about-content .right p{
    text-align: justify;
    font-size: 20px;
    margin: 25px auto;
}
.about .about-content .right a{
    display: inline-block;
    background: navy;
    color: white;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    border-radius: 6px;
    border: 2px solid navy;
    transition: all 0.3s ease; 
}
.about .about-content .right a:hover{
    background-color: rgb(1, 1, 87);
}

/* education styling  */
.education{
    font-family: 'PT Sans', sans-serif;
    background-color: lightgrey;
}
.education .title{
    position: relative;
    text-align: center;
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 5px;
    font-family: 'Ubuntu', sans-serif;
}
.education .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 210px;
    height: 3px;
    background: black;
    transform: translateX(-50%);
}
.education .title::after{
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50%;
    font-size: 23px;
    color: navy;
    padding: 5px;
    background: lightgray;
    transform: translateX(-50%);
}
.education .education-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.education .education-content .left{
    width: 370px;
}
.education .education-content .left img{
    height: 260px;
    width: 260px;
    object-fit: cover;
    border-radius: 6px;
    margin: auto;
}
.education .education-content .right{
    width: 58%;
}
.education .education-content .right .school-header{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.education .education-content .right .school-name{
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 10px;
}
.education .education-content .right .date{
    float: right;
    font-size: 17px;
}
.education .education-content .right .school-header-2{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}
.education .education-content .right .text{
    font-size: 16px;
    margin: 10px auto;
}
.education .education-content .right p{
    text-align: justify;
}
.margin-bottom {
     margin-bottom: 80px;
}

/* experience styling */
.experience{
    font-family: 'PT Sans', sans-serif;
    background-color: white;
}
.experience .title{
    position: relative;
    text-align: center;
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 5px;
    font-family: 'Ubuntu', sans-serif;
}
.experience .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 231px;
    height: 3px;
    background: black;
    transform: translateX(-50%);
}
.experience .title::after{
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50%;
    font-size: 23px;
    color: navy;
    padding: 5px;
    background: white;
    transform: translateX(-50%);
}
.experience .experience-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.experience .experience-content .left{
    width: 330px;
}
.experience .experience-content .left img{
    width: 230px;
    object-fit: cover;
    border-radius: 6px;
    margin: auto;
}
.experience .experience-content .right{
    width: 65%;
}
.experience .experience-content .right .company-header{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.experience .experience-content .right .company-name{
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 10px;
}
.experience .experience-content .right .date{
    float: right;
    font-size: 17px;
}
.experience .experience-content .right .company-header-2{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}
.experience ul {
    margin-left: 1rem;
}
.experience ul li {
    margin-bottom: 0.5rem;
}

/* projects styling */
.project{
    font-family: 'PT Sans', sans-serif;
    background-color: lightgray;
}
.project .title{
    position: relative;
    text-align: center;
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 5px;
    font-family: 'Ubuntu', sans-serif;
}
.project .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 175px;
    height: 3px;
    background: black;
    transform: translateX(-50%);
}
.project .title::after{
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50%;
    font-size: 23px;
    color: navy;
    padding: 5px;
    background: lightgray;
    transform: translateX(-50%);
}
.project .project-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.project .project-content .left{
    width: 650px;
}
.project .project-content .left img{
    width: 600px;
    object-fit: cover;
    border-radius: 6px;
    margin: auto;
}
.project .project-content .right{
    width: 40%;
}
.project .project-content .right .project-header{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.project .project-content .right .project-name{
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 10px;
}
.project .project-content .right a{
    display: inline-block;
    background: navy;
    color: white;
    font-size: 17px;
    font-weight: 500;
    padding: 10px 25px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid navy;
    transition: all 0.3s ease; 
}
.project .project-content .right a:hover{
    background-color: rgb(1, 1, 87);
}

/* contact styling */
.contact{
    font-family: 'PT Sans', sans-serif;
    background-color: white;
}
.contact .title{
    position: relative;
    text-align: center;
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-family: 'Ubuntu', sans-serif;
}
.contact .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 235px;
    height: 3px;
    background: black;
    transform: translateX(-50%);
}
.contact .title::after{
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50%;
    font-size: 23px;
    color: navy;
    padding: 5px;
    background: white;
    transform: translateX(-50%);
}
.contact .contact-list{
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
}
.contact .contact-list a{
    background: white;
    color: navy;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    padding: 16px 25px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid navy;
    transition: all 0.3s ease; 
    word-wrap: break-word;
}
.contact .contact-list a:hover{
    background-color: navy;
    color: white;
}

/* footer section styling */
footer {
    background: lightgray;
    font-family: 'PT Sans', sans-serif;
    color: black;
    padding: 20px 20px;
    text-align: center;
}
footer span a{
    color: blue;
    text-decoration: none;
}
footer span a:hover{
    text-decoration: underline;
}
.image-hover img{
    overflow: hidden;
    transition: transform .5s ease;
}
.image-hover:hover img{
    transform: scale(1.03);
    opacity: 0.8;
}

/* responsive media query start */
@media (max-width: 1300px) {
    .home .max-width{
        margin-left: 0px;
    }
    .project .project-content .left img{
        width: 100%;
    }
    .project .project-content .right{
        width: 75%;
    }
    .project .project-content .right .project-header{
        margin-top: 20px;
    }
}

@media (max-width: 1100px) {
    .about .about-content .left img{
        height: 350px;
        width: 350px;
    }
    .education .education-content .left img{
        height: 250px;
        width: 250px;
    }
    .experience .experience-content .left img{
        width: 200px;
    }
    .experience .experience-content .right{
        flex: 100%;
    }
}

@media (max-width: 990px) {
    .max-width{
        padding: 0 50px
    }
}

@media (max-width: 950px) {
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: black;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .home .home-content .text-2{
        font-size: 70px;
    }
    .home .home-content .text-3{
        font-size: 35px;
    }
    .home .home-content a{
        font-size: 23px;
        padding: 10px 30px;
    }
    .max-width{
        max-width: 800px;
    }
    .about .about-content .column{
        width: 100%;
    }
    .about .about-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right{
        flex: 100%;
    }
    .education .education-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .education .education-content .right{
        flex: 100%;
    }
    .experience .experience-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .experience .experience-content .right{
        flex: 100%;
    }
    .project .project-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 10px;
    }
    .project .project-content .right{
        flex: 100%;
    }
    .contact .contact-list{
        width: 80%;
    }
    .contact .contact-list a{
        font-size: 17px;
    }
}

@media (max-width: 690px) {
    .max-width{
        padding: 0 23px;
    }
    .home .home-content .text-2{
        font-size: 60px;
    }
    .home .home-content .text-3{
        font-size: 32px;
    }
    .home .home-content a{
        font-size: 20px;
    }
}

@media (max-width: 500px) {
    .home .home-content .text-2{
        font-size: 50px;
    }
    .home .home-content .text-3{
        font-size: 27px;
    }
    .home .home-content a{
        font-size: 20px;
        padding: 9px 20px;
    }
}