* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    overflow-x: hidden;
}

.home {
    background-image: url(../../assets/pic2.jpg);
    background-repeat: no-repeat;
    background-size: 100vw;
}

.container {
    height: 100vh;
    display: grid;
}

.navbar {
    position: fixed !important;
    top: 0;
    display: flex;
    width: 100vw;
    justify-content: center;
    font-size: 25px;
    padding: 40px;
    z-index: 1000;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
nav a {
    color: white;
    text-decoration: none;
    padding-left: 15px;
}
a:hover {
    color: #ff0000;
}

button a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.button {
    background: linear-gradient(45deg, #2f2e2f, #121213);
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #b7b9bb, #e9e6ec);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

.button:active {
    transform: scale(0.98);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    color: #121213;
}

.button:hover a {
    color: #fff;
    text-decoration: none;
}

.text {
    font-size: 50px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-align: center;
    position: relative;
    top: 20%;
    margin-left: 45px;
    margin-top: 12%;
    color: rgb(237, 237, 237);
}

.text p {
    font-size: 28px;
    gap: 20px;
}

.content-image {
    width: 600px;
    height: 600px;
    margin-left: 30px;
    margin-bottom: 50px;
    box-sizing: border-box;
    border-radius: 10px;
}

.button {
    color: rgb(232, 222, 222);
    border-radius: 40px;
    padding: 3px;
    width: 200px;
    height: 50px;
}

p {
    padding-bottom: 40px;
}

.container2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-image: url(../../assets/pic2.jpg);
    background-repeat: no-repeat;
    background-size: 100vw;
    background-position: center;
    padding: 5%;
    justify-items: center;
    align-items: center;
    font-family: 'Cambria', Cochin, Georgia, Times, 'Times New Roman', serif;
    height: 100vh;
    transition: background-color 0.5s ease;
}

.column1 img {
    border-radius: 50%;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    animation: fadeInImage 2s forwards;
}

.column1 img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.column2 {
    text-align: center;
    color: white;
    font-size: 30px;
    max-width: 600px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    opacity: 0;
    animation: fadeInText 2s 1s forwards;
}

.column2 h2 {
    font-size: 50px;
    padding: 20px;
    font-weight: bold;
    color: #f0f0f0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.column2 p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ddd;
}

.column2:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInImage {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container2 {
        grid-template-columns: 1fr;
        padding: 3%;
        background-size: 100vw;
    }

    .column1 img {
        max-width: 80%;
        margin: 0 auto;
    }

    .column2 {
        font-size: 20px;
        max-width: 90%;
    }

    .column2 h2 {
        font-size: 40px;
    }
}
/* .project-heading{
    position: relative;
   top: 10%;
    left: 40%;
} */

#skills {
    background-image: url(/assets/pic2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 16%;
 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}
.skill-heading{
position: relative;
left: 45%;
bottom: 15%;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
font-size: 50px;
color: white;
}
.skill-item .percent {
    font-size: 18px;
    font-weight: bold;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: #ffffff;
    float: right;
}

#skills h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #444;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-item span {
    font-size: 18px;
    font-weight: bold;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: #ffffff;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #eee;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 8px;
}

.progress {
    height: 100%;
    border-radius: 20px;
    transition: width 0.4s ease;
}

.progress.html {
    background: linear-gradient(90deg, #ff7b54, #ff3d54);
    width: 95%;
}

.progress.css {
    background: linear-gradient(90deg, #4d9fff, #007bff);
    width: 85%;
}

.progress.js {
    background: linear-gradient(90deg, #ffd54d, #ffc107);
    width: 70%;
}

.progress.sql {
    background: linear-gradient(90deg, #8bc34a, #4caf50);
    width: 85%;
}

.progress.Python {
    background: linear-gradient(90deg, #673ab7, #9c27b0);
    width: 85%;
}

.progress.life-skills {
    background: linear-gradient(90deg, #00cdf6, #be80c8);
    width: 70%;
}

.progress.english {
    background: linear-gradient(90deg, #1a6f09, #277bb0);
    width: 70%;
}

ul {
    list-style: none;
    max-height: 300px;
}

ul::-webkit-scrollbar {
    width: 6px;
}

ul::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

ul::-webkit-scrollbar-thumb:hover {
    background: #888;
}

ul::-webkit-scrollbar-track {
    background: transparent;
}

#projects {
    text-align: left;
     display: flex;
    justify-content: center; 
    padding: 10% 5%;
    
    background-image: url(/assets/pic2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.project-heading {
    display: block;
    color: #000000;
    font-size: 40px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin-bottom: 20px;
}
.pro-heading{
    position:relative;
    bottom: 10%;
    left: 40%;
    font-size: 30px;

}
.project {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.img-box {
    width: 50%;
    padding-top: 12%;
}

.img-box img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #000000;
}

.content-box {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.paragraph {
    font-size: 18px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: #333;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}

.buttonpro {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    background-color: #141414;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    align-self: flex-start;
}

.buttonpro:hover {
    background-color: #57595e;
    transform: scale(1.1);
}

.buttonpro a {
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .project {
        flex-direction: column;
        align-items: center;
    }

    .img-box {
        width: 90%;
        margin-bottom: 20px;
    }

    .content-box {
        width: 90%;
    }

    .paragraph {
        font-size: 16px;
    }

    .buttonpro {
        font-size: 14px;
    }
}

#contact {
    background-image: url(/assets/pic2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.para1 h2 {
    font-size: 60px;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    position: relative;
    top: 20%;
}

.para1 p {
    font-size: 30px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    top: 25%;
}

.icons {
    text-align: center;
    position: relative;
    top: 70%;
}

.icons a {
    font-size: 40px;
    color: #f7f3f3;
    margin: 0 15px;
    padding-top: 8%;
    transition: color 0.3s ease-in-out;
}

.icons a:hover {
    color: #000101;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    top: 20%;
}

input, textarea {
    padding: 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease-in-out;
}

input:focus, textarea:focus {
    border-color: #0c0a09;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button {
    padding: 15px;
    background-color: #0c0a09;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease;
}

button:hover {
    background-color: #333;
    transform: scale(1.05);
}

button:active {
    transform: scale(0.98);
}




