@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --first-color: #025368;
    --second-color: #5499ff;
    --black-color: #000;
    --gray-color: #282828;
    --white-color: #fff;

    --body-font: 'Poppins', sans-serif;
    --h1-font-size: 2.5rem;
    --h2-font-size: 1rem;
    --normal-font-size: .93rem;
    --small-font-size: .81rem;

    --z-back: -10;
    --z-normal: 1;
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;

    --header-height: 3rem;
    --font-bold: 700;
}

html{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    background-color: var(--gray-color) !important;
    color: var(--white-color) !important;
    font-weight: var(--font-bold);
    overflow: auto;
    position: relative;
    width: 100%;

}

img {
    max-width: 100%;
    height: auto;
}

.bd-grid {
    margin-left: 1rem;
    margin-right: 1rem;
}

a {
    text-decoration: none !important;
}

.l-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--black-color);
}

/*NAV*/

.nav {
    height: max-content;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: var(--font-bold);
    justify-content: center;
}

.nav-list {
    text-align: center;
    margin-bottom: 0 !important;
}

.nav-item {
    margin-bottom: 2rem;
}

.nav-link {
    color: var(--white-color) !important;
}

.nav-link:hover {
    position: relative;
}

.nav-link:hover::after {
    position: absolute;
    content: '';
    width: 1.5rem;
    height: 0.1875rem;
    left: 0.125rem;
    top: 2.125rem;
    background-color: var(--first-color);
}

.nav-logo {
    font-size: var(--normal-font-size);
    color: var(--white-color);
}

.nav-logo span {
    color: blue;
}

.nav-toggle {
    cursor: pointer;
    font-size: 1.5rem;
}

.l-main {
    /* height: calc(100vh - var(--header-height)); */
    background-color: var(--gray-color);
    padding: 0 !important;
}

/*HOME*/

.home {
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    height: 100vh;
}

.home-information {
    padding-left: 1.5rem;
    margin-top: 3rem;
    /* border-left: 5px solid var(--second-color); */
    z-index: var(--z-tooltip);
    justify-content: space-between;
    display: flex;
}

.hero-text-wrapper{
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-img{
    width: 450px;
    height: 450px;
}

.home-img img{
    width: 100%;
    border-radius: 100%;
    object-fit: cover;
    height: 100%;
    box-shadow: 0 10px 10px 0 #219ebc4a, 0 6px 3px 0 #219ebc1f;
}

.home-pressent {
    font-size: var(--small-font-size);
}

.home-title {
    font-size: 4rem;
    font-weight: 400;
    width: 100%;
}

.home-skill {
    font-size: 1.5rem;
    width: 60%;
    display: flex;
}

.home-button {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--white-color);
    padding: 0.625rem 1.5rem;
    border-radius: .25rem;
    border: 1px solid #00b4d8;
    color: #00b4d8;
}



.hero-btn-wrapper{
    display: flex;
    gap: 3rem;
}

.home-social {
    display: flex;
    padding: 2rem;
    gap: 2rem;
}

.home-social-icon {
    margin-bottom: 2rem;
    font-size: 1.33rem;
    cursor: pointer;
    transition: .5s;
}

.home-social-icon:hover {
    color: var(--first-color);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
}

.first {
    background-color: var(--first-color);
}

.second {
    background-color: var(--first-color);
    left: 33.3%;
}

.third {
    background-color: var(--first-color);
    left: 66.6%;
}


/* project cards css*/

.project-inner{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
}

.project-image{
    width: 100%;
    position: relative;
}

.overlay-bl{
    background-color: #000000db;
    width: 100%;
    height: 0%;
    position: absolute;
    transition: 0.6s;
}

.project-image:hover .overlay-bl{
    height: 100%;
    transition: 0.6s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-cta-wr{
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: 0.6s;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.project-cta-wr .home-button{
    width: 60%;
    text-align: center;
}

.project-cta-wr .live-btn{
    width: 60%;
}

.hero-btn-wrapper .live-btn{
    margin-top: 1.5rem;
}

.live-btn{
    background-color: #00b4d8;
    border: 1px solid #00b4d8;
    color: black;
    border: none;
    border-radius: 5px;
    padding: 0.625rem 1.5rem;
    text-align: center;
}

.project-image:hover .project-cta-wr{
    opacity: 1;
    transition: 0.6s;
}

.site-btn1{
    color: white;
    border: 1px solid white;
    padding: 5px 35px;
    background-color: #ffffff2b;
}

.project-image img{
    width: 100%;
}


.project-title{
    font-size: 1.3rem;
    color: white;
    margin: 1rem 0rem;
}

.page-title-wrapper{
    padding: 3rem 0rem;
}

.page-title{
    margin: 2rem auto;
    font-size: 3rem;
    text-align: center;
}

/* project cards css ends*/

.black{
    color: #000;
}

.skills-wrapper{
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.skill-group{
    background-color: #dedede;
    padding: 1rem;
}

.skill-name{
    color: #000;
}


.skills-item{
    display: flex;
    align-items: center;
}

.skill-group{
    min-width: 25%;
}


.skill-title{
    text-align: center;
    text-transform: capitalize;
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 800;
    font-family: "Raleway", sans-serif;
    width: 95%;
    margin: 1rem auto;
}

/* .skill-title:after, .skill-title:before {
    content: " ";
    display: block;
    border-bottom: 2px solid #5499ff;
} */

.skill-group-inner{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 60%;
    margin: auto;
}


.skill-title-hr{
    border: 0;
    height: 2px;
    background-image: linear-gradient(90deg, #00000000, #000000, #00000000);
}


.contact-sec-dt{
    padding-bottom: 5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section-inner .page-title{
    margin: 0rem auto !important;
}

.footer-social-icons{
    display: flex;
    padding: 1rem;
    margin: 0;
    gap: 1rem;
}

.contact-link{
    color: #fff !important;
}

.contact-link.phone, .contact-link.email{
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-link.icon i{
    font-size: 1.2rem;
    color: #ffffff;
}

@media screen and (max-width: 1200px) {
    .hero-text-wrapper{
        width: 50%;
    }    
    .home-img {
        width: 400px;
        height: 400px;
    }
}

@media screen and (max-width: 992px) {
    .project-inner {
        grid-template-columns: 1fr 1fr;
    }
    .skills-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .home-information{
        flex-direction: column-reverse;
        align-items: center;
        margin-top: 9rem;
        gap: 3rem;
    }

    .home {
        height: max-content;
    }

    .hero-text-wrapper {
        width: 100%;
        align-items: center;
    }

    .home-title {
        font-size: 3rem;
        text-align: center;
    }

    .l-main {
        position: relative;
        top: 7rem;
    }
    

}

@media screen and (max-width: 768px) {
    .home-information {
        margin-top: 2rem;
        gap: 3rem;
        padding-top: 2rem;
    }
    .l-main {
        top: 0rem;
    }
    .skills-wrapper {
        grid-template-columns: 1fr;
    }
    .project-inner {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        background-image: -webkit-gradient(linear, left top, left bottom, from(var(--black-color)), to(var(--first-color)));
        background-image: linear-gradient(var(--black-color), var(--first-color));
        width: 100%;
        height: max-content;
        padding: 1.5rem;
        border-radius: 0 0 1rem 1rem;
        transition: .5s;
    }

    .show {
        top: 0;
    }


}

@media screen and (max-width: 400px) {
    
    .home-img {
        width: 300px;
        height: 300px;
    }

    .hero-btn-wrapper{
        flex-direction: column;
        gap: 0 !important;
    }
}

@media screen and (min-width: 768px) {
    :root {
        --h1-font-size: 4.5rem;
        --h2-font-size: 2rem;
        --normal-font-size: 1rem;
        --small-font-size: 1.37rem;
    }

    body {
        margin: 0;
    }

    .nav {
        height: max-content;
    }

    .nav.bd-grid {
        padding: 2rem;
    }

    .nav-list {
        display: flex;
        padding-top: 0;
    }

    .nav-item {
        margin-left: 3rem;
        margin-bottom: 0;
    }

    .nav-toggle {
        display: none;
    }

    .home {
        grid-template-rows: max-content 20px;
        align-content: center;
    }

    .home-information {
        margin-top: 2rem;
    }

    .home-social {
        flex-direction: row;
        padding-top: 2.5rem;
        padding-bottom: 0;
    }

    .home-social-icon {
        margin-right: 2rem;
        margin-bottom: 0;
    }

    /* .home-img {
        width: 553px;
        right: 5%;
    } */

}

@media screen and (min-width: 1200px) {
    .bd-grid {
        margin-left: auto;
        margin-right: auto;
    }
}