
@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=Comfortaa:wght@300..700&family=Edu+VIC+WA+NT+Beginner:wght@400..700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Noto+Sans+Gurmukhi:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Edu+VIC+WA+NT+Beginner:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Noto+Sans+Gurmukhi:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "poppins" sans-serif;
}


:root{
    --main-color: #023047;
    --active-color: #ffb703;
    --hover-color: #ffb703;
    --text-color: #EBF4F6;
    --hover-text-color: #37B7C3;
    --font-color: #fff;
    --font-size: 1.5rem;
    --font-family: "Poppins", sans-serif;
    --logo-font-size: 2.5rem;
}


:root {
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-200: #bae6fd;
    --sky-300: #7dd3fc;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --sky-800: #075985;
    --sky-900: #0c4a6e;
    --sky-950: #082f49;
}
body{
    background-color: #023047;
}

@keyframes scroll {
    0% {
        transform: translatex(0%);
        }
  
    100% {
        transform: translatex(-100%*3);
        }
}

.card:hover {
    transform: scale(1.05);
}

p{
    font-size: var(--font-size);
    color: var(--text-color);
    font-weight: 300;
}
body{
    font-family: "poppins", sans-serif;
    transition: color 0.3s ease-in-out;
    background: var();
 
}

html{
    scroll-behavior: smooth;
}
p{
    color: rgb(255, 255, 255);
}

/* Navigation Bar */
nav, .nav-links{
    display: flex;
    align-items: center;
    
}
nav{
    justify-content: space-around;
    align-items: center;
    
  
 
}
.nav-links{
    margin-top: 2rem;
    gap: 2em;
    list-style: none;
    font-size: .8rem;
    border: 1px solid white;
    padding: 15px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    
   
}
a#active{
    color: var(--sky-600);
    text-decoration: underline;
    text-underline-offset: .5rem;
}
a{
    color: rgb(255, 255, 255);
    text-decoration: none;
    text-decoration-color: white;
}
a:hover{
    color: var(--sky-600);
    text-decoration: underline;
    text-underline-offset: .5rem;
}


/* Home page starts from here */

.home-section{
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: 70vh;
}
.home-image img{
    transition: all 0.5s ease;
    width: 300px;
    cursor: pointer;
    transform: translate (0, 0);
    animation: swing 4s infinite ease;
    border-radius: 50%;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.home-image img:hover{
    animation: spin .2s ease infinite;
}

@keyframe spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

@keyframes swing {
    0% { transform: translateY(0);}
    50% { transform: translateY(-20px);}
    100% { transform: translateY(0);}
}




.social-links{
    position: absolute;
    left:0;
    position: fixed;
    background-color: #0c4a6e;
    margin-left: 5rem;
    padding: 10px;
    border-radius: 30px;
    align-items: center;
    bottom: 10rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.social-links i{
    display: block;
    color: rgb(255, 255, 255);
    font-size: 1rem;
    transition: color 0.3s ease-in-out;
    padding: 20px 15px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.social-links i:hover{
    color: var(--hover-text-color);
    cursor: pointer;
    transform: scale(1.05);
    transition:  0.1s ease-in-out;
}

.home-text, .text h1{
    color: rgb(255, 255, 255);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.text h3{
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.text p{
    color: rgb(255, 255, 255);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 200;
    margin-bottom: 1rem;
}
.text .btn{
    background-color: var(--sky-600);
    color: rgb(255, 255, 255);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    transition: background-color 0.3s ease-in-out;
    margin-top: 2rem;
    cursor: pointer;
    margin-right: 10px;
}

.text .btn:hover{
    background-color: var(--sky-600);
    cursor: pointer;
    transform: scale(1.05);
    transition:  0.1s ease-in-out;
    text-decoration: none;
    text-decoration-color: rgb(181, 181, 181);
    text-underline-offset: none;
}
.text a{
    color: rgb(255, 255, 255);
    text-decoration: none;
    text-decoration-color: rgb(181, 181, 181);
    font-size: .8rem;
}

/* Hire me png image */
.hire-me img{
    width: 10%;
    transition: all 0.5s ease;
    transform: translate (0, 0);
    cursor: pointer;
    z-index: 999;
    position: absolute;
    top: 0;
    right: 30px;
    animation: roll  9s ease infinite;
    transition: transform 0.3s ease-in-out;

}
.hire-me img:hover{
    transform: scale(1.05);
    animation: none;

}


@keyframes roll {
    0% { transform: translate   X(0);}
    50% { transform: translateX(-50px);}
    100% { transform: translateX(0);}
}

/* About me section */

.about-me{
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: 70vh;
}

/* about me section */

.service-section h1{
font-size: 2rem;
text-align: center;
margin-bottom: 3rem;
color: white;
}
.service-cards{
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}
.service-card h3{
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.service-card p{
    color: white;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.service-card i{
    color: white;
    font-size: 5rem;
    transition: color 0.3s ease-in-out;
}

.service-card{
    width: 300px;
    height: 300px;
    background-color: #0c4a6e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    text-align: center;
    opacity: 0.8;
    cursor: pointer;
    transition: .3s ease;;
}

.service-card:hover{
    transform: scale(1.02);
    cursor: pointer;
    background-color: #0c4a6e;
}


/* project section start here */
#projects h1{
margin-top: 2rem;
font-size: 2rem;
text-align: center;
color: white;
}

.project-cards{
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;

}
.project-card{
    width: 450px;
    height: 300px;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
}

.project-card:hover{
    transform: scale(1.02);
    cursor: pointer;
}
.project-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}


/* contact */

.contact_container{
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}
#contact h2{
    font-size: 2rem;
    text-align: center;
    color: white;
    margin: 2rem;
}
form{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input[type="text"], input[type="email"], textarea{
    width: 80%;
    padding: 20px;
    border-radius: 5px;
    border: none;
    outline: none;
    background-color: #f8f9fa;
    margin: auto;
}

input[type="submit"]{
    background-color: var(--sky-600);
    color: rgb(255, 255, 255);
    border: none;
    width: 80%;
    padding: 10px 20px;
    border-radius: 30px;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
    margin: auto;
}

input[type="submit"]:hover{
    background-color: var(--sky-600);
    cursor: pointer;
}
textarea{
  height: 100px;
}

/* Footer */

.footer p{
    color: white;
    text-align: center;
    margin-top: 5rem;
    font-size:.8rem;
    margin-bottom: 2rem;
}




















