@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
.home 
{
   background: url('https://images.unsplash.com/photo-1531297484001-80022131f5a1') no-repeat center center/cover;
    width: 100%;
    height: 100vh;
}

*{
    margin: 0;
    padding: 0;    
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}
html{
    font-size: 62.5%;
}
body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}
header{
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo{
    font-size: 3rem;
    color: #b74b4b;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}
.logo:hover{
    transform: scale(1.1);
}
nav a{
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}
nav a:hover,
nav a.active{
    color: #b74b4b;
    border-bottom: 3px solid #b74b4b;
}
@media(max-width:995px){
    nav{
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid #b74b4b;
        border-bottom: 3px solid #b74b4b;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: #161616;
        border-top: 0.1rem solid rgba(0,0,0,0.1);
    }
    nav.active{
        display: block;
    }
    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }
    nav a:hover,
    nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #b74b4b;
    }
}
section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}
.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
}
.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}
span{
    color: #b74b4b;
}
.home-content h3{
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.home-content p{
    font-size: 1.6rem;
}
.home-img{
    border-radius: 50%;
}
.home-img img{
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid #b74b4b;
    cursor: pointer;
    transition: 0.2s linear;
}
.home-img img:hover{
    font-size: 1.8rem;
    font-weight: 500;
}
.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #b74b4b;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #b74b4b;
}
.social-icons a:hover{
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #b74b4b;
    box-shadow: 0  0 25px #b74b4b;
}
.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #b74b4b;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #b74b4b;
    transition: 0.3s ease;
    cursor: pointer;
}
.btn:hover{
    transform: scale3d(1.03);
    background-color: #b74b4b;
    color: black;
    box-shadow: 0 0 25px #b74b4b;
}  
.skills {
    text-align: center;
    padding: 5rem 9%;
    background: linear-gradient(to right, #1e1e1e, #121212);
    color: white;
}

.skills h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #b74b4b;
    text-transform: uppercase;
    animation: fadeIn 1.5s ease-in-out;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.skill {
    background: #222;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 75, 75, 0.8);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.skill:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 75, 75, 1);
}

.skill h3 {
    font-size: 2rem;
    color: #ff4b2b;
    margin-bottom: 1rem;
}

.skill p {
    font-size: 1.6rem;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.education {
    text-align: center;
    padding: 5rem 9%;
    background: linear-gradient(to right, #1e1e1e, #121212);
    color: white;
}

.education h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #b74b4b;
    text-transform: uppercase;
    animation: fadeIn 1.5s ease-in-out;
}

.education-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.education-box {
    background: #222;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 75, 75, 0.8);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 50%;
    text-align: center;
}

.education-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 75, 75, 1);
}

.education-box h3 {
    font-size: 2rem;
    color: #ff4b2b;
    margin-bottom: 1rem;
}

.education-box p {
    font-size: 1.6rem;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact {
    text-align: center;
    padding: 5rem 9%;
    background: linear-gradient(to right, #1e1e1e, #121212);
    color: white;
}

.contact h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #b74b4b;
    text-transform: uppercase;
    animation: fadeIn 1.5s ease-in-out;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info p {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: #ff4b2b;
    margin-right: 10px;
}

.contact-info a {
    color: #b74b4b;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    margin-top: 2rem;
}

form input, form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #b74b4b;
    background: #222;
    color: white;
    font-size: 1.6rem;
    border-radius: 5px;
}

form button {
    width: 50%;
    padding: 1rem;
    background: #b74b4b;
    border: none;
    color: white;
    font-size: 1.8rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
}

form button:hover {
    background: #ff4b2b;
    transform: scale(1.05);
}


@media (max-width: 768px) {
    form {
        width: 80%;
    }

    form button {
        width: 80%;
    }
}

.experience {
    text-align: center;
    padding: 5rem 9%;
    background: linear-gradient(to right, #1e1e1e, #121212);
    color: white;
}

.experience h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #b74b4b;
    text-transform: uppercase;
    animation: fadeIn 1.5s ease-in-out;
}

.experience-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.experience-box {
    background: #222;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 75, 75, 0.8);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 50%;
    text-align: center;
}

.experience-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 75, 75, 1);
}

.experience-box h3 {
    font-size: 2rem;
    color: #ff4b2b;
    margin-bottom: 1rem;
}

.experience-box p {
    font-size: 1.6rem;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .experience-box {
        width: 80%;
    }
}

.projects {
    text-align: center;
    padding: 5rem 9%;
    background: linear-gradient(to right, #1e1e1e, #121212);
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease-in-out forwards;
}

.projects h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #b74b4b;
    text-transform: uppercase;
    animation: shimmer 3s infinite alternate; /* Shimmer effect */
}
.project-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.project-box {
    background: #222;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 75, 75, 0.8);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 60%;
    text-align: center;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: slideUp 1s ease-in-out forwards 0.5s;
}

.project-box:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 0 20px rgba(255, 75, 75, 1), 0 0 40px rgba(255, 75, 75, 0.6);
}

.project-box h3 {
    font-size: 2rem;
    color: #ff4b2b;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards 1s;
}

.project-box p {
    font-size: 1.6rem;
    opacity: 0;
    animation: fadeIn 1.2s ease-in-out forwards 1.2s;
}

.project-box ul {
    text-align: left;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards 1.5s;
}

.project-box ul li {
    margin-bottom: 0.5rem;
}

.project-box .btn {
    margin-top: 1rem;
    background-color: #ff4b2b;
    color: black;
    padding: 1rem 2.5rem;
    font-size: 1.6rem;
    border-radius: 4rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    transition: 0.3s ease-in-out;
    animation: pulse 1.5s infinite;
}


.project-box .btn:hover {
    transform: scale(1.1);
    background-color: #ff2e2e;
    box-shadow: 0 0 20px rgba(255, 75, 75, 0.9);
    animation: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Fade-in Effect */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


@keyframes shimmer {
    from {
        color: #ff4b2b;
    }
    to {
        color: #ffffff;
    }
}


@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 75, 75, 0.8);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(255, 75, 75, 1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 75, 75, 0.8);
    }
}

@media (max-width: 768px) {
    .project-box {
        width: 80%;
    }
}

