html {
  scroll-behavior: smooth;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* This is for the Navigation bar */

.navbar{
    background-color: black;
    height: 80px;
    display: flex;
    justify-content: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar_container{
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar_logo{
    background-color: #ff8177;
    background-image: linear-gradient(to top, #ff0844 0%, #ffb1 100%);
    background-size: 100%;
    -webkit-background-clip:text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color:transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 4rem;
}

.menu{
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.menu_item{
    height: 80px;
}

.menu_links{
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.menu_links:hover{
    color: rgb(0, 157, 255);
    transition: all 0.3s ease;
}

/* Mobile Responsive for Navigation bar */

@media screen and (max-width: 960px){
    .navbar_container{
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 1300;
        padding: 0;
    }

    .menu{
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 50%;
        position: relative;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height:70vh;
        z-index: -1;
        background: #131313;
    }

    .menu.active{
        background: #131313;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 60vh;
        font-size: 1.6rem;
    }

    #navbar_logo{
        padding: 25px;
        font-size: 2rem;
    }

    .navbar_toggle .bar{
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background: #fff;
    }

    .menu_item{
        width: 100%;
    }

    .menu_links{
        text-align: center;
        padding: 0px 5px;
        width: 100%;
        display: table;
    }

    #mobile-menu{
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar_toggle .bar{
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2){
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg)
    }

    #mobile-menu.is-active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg)
    }
}

/* This is the Body Section */

.main{
    background-color: #141414;
}

.main_container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    height: 120vh;
    background-color: #141414;
    z-index: 1;
    width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
}

.leftside h1{
    font-size: 4rem;
    margin-top: 3rem;
    text-align: center;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color:transparent;
}

.leftside h2{
    font-size: 4rem;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #21d4fd 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color:transparent;
}

.leftside p{
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.leftside_btn{
    font-size: 1rem;
    background-image: linear-gradient(to top, #f77062 0%, #fe5196 100%);
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color: #fff;
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    outline: none;
}

.leftside_btn a{
    font-weight: 600;
    position: relative;
    z-index: 2;
    color: #fff;
    text-decoration: none;
}

.leftside_btn:after{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #4837ff;
    transition: all 0.35s;
    border-radius: 4px;
}

.leftside_btn:hover{
    color: #fff;
}

.leftside_btn:hover:after{
    width: 100%;
}

.rightside {
    text-align: center;
    color: #fff;
}


#rightside_img{
    margin-top: 10px;
    height:80%;
    width: 80%;
}

/* This is Body Mobile Responsive */

@media screen and (max-width:768px) {
    .main_container{
        display:grid;
        grid-template-columns: auto;
        align-items: center;
        width: 100%;
        margin: 0, auto;
        height: 190vh;
    }

    .leftside{
        text-align: center;
        margin-bottom: 2rem;
    }

    .leftside h1{
        font-size: 2.5rem;
        margin-top: 1rem;
    }

    .leftside h2{
        font-size: 2rem;
    }
    
    .leftside p{
        margin-top: 1rem;
        font-size: 1.5rem;
    }
    
}

@media screen and (max-width: 480px){
    .main_container{
        height: 120vh;
    }
    
    .leftside{
        margin-top: 1.5rem;
    }
    
    .leftside h1{
        font-size: 2rem;
        margin-top: 3rem;
    }

    .leftside h2{
        font-size: 2rem;
    }

    .leftside p{
        margin-top: 2rem;
        font-size: 1.5rem;
    }
}

.leftside_btn{
    padding: 12px 36px;
    margin: 1.5rem;
}

.rightside{
    margin-top: 1.5rem;
}

/* This is the Services Section */

.services{
    margin-top: 0rem;
    background: #141414;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 200vh;
}

.services h1{
    background: #ff8177;
    background-image: linear-gradient(to right,
     #ff8177 0%,
     #ff86867a 0%,
     #ff8c7f21 0%,
     #cf556c 78%,
     #b12a5b 100%
    );
    background-size: 100%;
    margin-bottom: 3rem;
    margin-top: 3rem;
    font-size: 2.5rem;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color:transparent;
}

.services_container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.services_card{
    margin: 1rem;
    height: 400px;
    width: 500px;
    border-radius: 4px;
    background-image: linear-gradient(to bottom,
    rgba(0,0,0,0)0%,
    rgba(17,17,17,0.6)100%),
    url('/Images/block.jpeg');
    background-size: cover;
    position: relative;
    color: #fff;
}

.services_card:nth-child(2){
background-image: linear-gradient(to bottom,
rgba(0,0,0,0)0%,
rgba(17,17,17,0.6)100%),
url('Images/techstock.jpg');
background-size: cover;
}

.services_card:nth-child(3){
background-image: linear-gradient(to bottom,
rgba(0,0,0,0)0%,
rgba(17,17,17,0.6)100%),
url('Images/data\ analytics.jpg');
background-size: cover;
}

.services h2{
    position: absolute;
    top: 350px;
    left: 30px;
    font-size: 2rem;
}

.services_card p{
    position: absolute;
    top: 400px;
    left: 30px;
}

.services_card button{
    color: #fff;
    padding: 10px 20px;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #f77062;
    top: 440px;
    left: 30px;
    font-size: 1rem;
    cursor: pointer;
}

.services_card:hover{
    transform: scale(1.075);
    transition: 0.2s ease-in;
    cursor: pointer;
}


/* This is Mobile Responsive for Services */

@media screen and (max-width:960px) {
    .services{
        width: 100%;
        height: 1600px;
    }

    .services h1{
        font-size: 2rem;
        text-align: center;
        margin-top: 5rem;
        margin-bottom: 1rem;
    }
    
    .services_card{
        margin-top: 1rem;
        width: 85%;
    }
    
    .services_card h2{
        font-size: 1.3rem;
    }
}

@media screen and (max-width:480px){
    .services h1{
        font-size: 2rem;
        text-align: center;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

/* This is the About Us Section */

.about_us{
    background-color: #fff;
    padding: 2rem 2rem;
    align-items: center;
}

.about_us h1{
color: black;
text-align: center;
margin-bottom: 1.5rem;
}

.about_us p{
    color: black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* This is the Contact Us Section */

.contact_us{
    background-color: #fff;
    padding: 2rem 2rem;
    align-items: center;
}

.contact_us h1{
color: black;
text-align: center;
margin-bottom: 1.5rem;
}

.contact_us p{
    color: black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* This is the Footer Section */

.footer_container{
    background-color: #141414;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.copyright{
    color: #fff;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.social_icon--link{
   color: #fff; 
   font-size: 35px;
}

.social_icons{
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 240px;
    height: 10px;
}

.fa-facebook{
    color: blue;
}

.fa-linkedin{
    color: blue;
}

.fa-youtube{
    color: rgb(197, 9, 9);
}

.fa-instagram{
    color: #fe5196;
}

@media screen and (max-width:960px) {
    .copyright{
    color: #fff;
    font-size: 1rem;
    margin-bottom: 3rem;
    }
}

@media screen and (max-width:480px) {
    .copyright{
    color: #fff;
    font-size: 1rem;
    margin-bottom: 3rem;
    }
}

/* This is for the Web Development Page */

/* This is the Top Section */

.top{
    width: 100%;
    height: 800px;
    background-size: cover;
    background-image: url('Images/dre\ binary2.jpeg');
    background-position: center; /* centers the image */
    background-repeat: no-repeat; /*prevents the image from repeating*/
}

.top h1{
    text-align: center;
    font-size: 4rem;
    background-color: #ff8177;
    background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color:transparent;
}

.top h2{
    text-align: center;
    position: absolute;
    bottom: -300px;
    left: 40%;
    transform: translate(-50%);
    font-size: 4rem;
    /* color: white; */
    background-color: #21d4fd;
    background-image: linear-gradient(to top, #21d4fd 0%, #ffb199 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color:transparent;
}


/* This is the Mobile Response for Top Section */
@media screen and (max-width:960px){
    
    .top{
        width: 100%;
        height: 480px;
        background-size: cover;
    }
    .top h1{
        font-size: 1.6rem;
    }

    .top h2{
        font-size: 2.1rem;
        text-align: center;
        position: absolute;
        bottom: 1px;
        left: 20%;
        transform: translate(-20%);
    }
}

@media screen and (max-width:480px){
    .top{
        width: 100%;
        height: 400px;
        background-size: cover;
    }
    .top h1{
        font-size: 1.6rem;
    }
    
    .top h2{
        font-size: 1.6rem;
        text-align: center;
        position: absolute;
        bottom: 200px;
        left: 20%;
        transform: translate(-20%);
    }
}


/* This is for the Project Section */
.project{
    width: 100%;
    overflow: hidden;
}


.img_row{   
    background-color: #6dd5ef;
    display: flex;  
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 10px;
}

.img_row img{
    width: 22%;
    height: auto;
    padding: 5px 0px;
    margin: 5px 5px;
    object-fit: cover;
}

.project h1, h2{
    text-align: center;
    font-size: 3rem;
}

.project p{
    font-size: 1.5rem;
    font-family: Georgia, 'Times New Roman', Times, serif ;
     margin: 40px 50px;
}

.project ul{
    margin: 10px 100px;
    font-size: 1.5rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    list-style-type: disc;
    margin-bottom: 50px;
}

/* This is Mobile Responsive for Project Section */
@media screen and (max-width:960px){
    
    .project{
    width: 100%;
    overflow: hidden;
    }

    .img_row{
        gap: 5px;
        margin: 2px;
    }

    .img_row img{
        padding: 3px 0px;
        margin: 3px 0px;
    }

    .project h1, h2{
        font-size: 1.4rem;
    }

    .project h1{
        margin-top: 40px;
    }

    .project p{
        margin: 20px 25px;
        font-size: 1rem;
    }

    .project ul{
        margin: 5px 50px;
        margin-bottom: 30px;
        font-size: 1rem;
    }
}

/* This is for Data Analysis Page */

/* Project Images */
.img_row-analysis{
    background-color: #21d4fd;
    padding: 30px;
    margin: 0px 15px;
    display: flex;
    flex-direction: column;
}

.img_row-analysis img{
    object-fit: cover;
    height: 50%;
}

/* This is Mobile Responsive for Data Analysis Section */
@media screen and (max-width:960px){
    .img_row-analysis{
        padding: 8px;
        margin: 5px 5px;
    }
}

/* This is for the popup notification */

.notification {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: black;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 15px 15px 25px black;
    font-size: 30px;
    display: none;
    text-align: center;
    animation: fadeInOut 7s ease forwards;
  }

  @keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -60%); }
    10% { opacity: 1; transform: translate(-50%, -50%); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -40%); }
  }