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

*{
    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;
}

#menu-icon {
    font-size: 3.6rem;
    color: #b74b4b;
    display: none;
    cursor: pointer;
}

.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){
    #menu-icon {
        display: block;
    }

    nav{
        position: absolute;
        display: none;
        top: 100%;
        right: 0;
        width: 40%;
        border-left: 3px solid #b74b4b;
        border-bottom: 3px solid #b74b4b;
        border-bottom-left-radius: 2rem;
        padding: 2rem;
        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 Media Icons Styling */
.social-media {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;
    gap: 1.5rem; /* spacing between icons */
    margin: 3rem 0;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    color: #b74b4b; /* icon color */
    border: 0.2rem solid #b74b4b; /* circle border */
    border-radius: 50%;
    background-color: transparent;
    transition: 0.3s ease, transform 0.3s ease;
}

.social-media a:hover {
    color: black; /* icon color on hover */
    background-color: #b74b4b; /* circle background */
    transform: scale(1.3) translateY(-5px);
    box-shadow: 0 0 25px #b74b4b; /* glowing effect */
}

.social-media a i {
    line-height: 1; /* center icon vertically */
}

.btn{
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.8rem;
    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;
}

.typing-text{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text {
    color: #b74b4b;
    position: relative;
    display: inline-block;
}

.typing-text::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #b74b4b;
    animation: cursor-blink 0.8s infinite;
}

@keyframes cursor-blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }

    .services-container,
    .skills-container {
        gap: 2rem;
    }
}

@media(max-width:995px){
    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3{
        font-size: 2.5rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }

    .services-container,
    .skills-container,
    .education-container,
    .experience-container {
        flex-direction: column;
    }

    .services-box,
    .skills-box,
    .education-box,
    .experience-box {
        width: 100%;
        margin-bottom: 2rem;
    }

    .contact form .input-box input {
        width: 100%;
        margin-bottom: 1.5rem;
    }
}

/* Projects Section Styling */
.heading {
    text-align: center;
    font-size: 4.5rem;
    margin-bottom: 5rem;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-box {
    flex: 1 1 30rem;
    background: #161616;
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid #b74b4b;
    transition: .5s ease;
}

.services-box:hover {
    border-color: #b74b4b;
    transform: scale(1.02);
    box-shadow: 0 0 25px #b74b4b;
}

.services-box i {
    font-size: 7rem;
    color: #b74b4b;
    margin-bottom: 2rem;
}

.services-box h3 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.services-box p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.project-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-buttons .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.6rem;
}

/* Skills Section Styling */
.skills-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.skills-box {
    flex: 1 1 30rem;
    background: #161616;
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    border: .2rem solid #b74b4b;
    transition: .5s ease;
}

.skills-box:hover {
    border-color: #b74b4b;
    transform: scale(1.02);
    box-shadow: 0 0 25px #b74b4b;
}

.skills-box h3 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    text-align: center;
}

.skills-bar .bar {
    margin: 3rem 0;
}

.skills-bar .bar .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skills-bar .bar .info span {
    font-size: 1.8rem;
    font-weight: 500;
}

.skills-bar .bar .progress-line {
    position: relative;
    width: 100%;
    height: 1rem;
    background: #161616;
    border-radius: 0.5rem;
    border: 0.2rem solid #b74b4b;
}

.skills-bar .bar .progress-line span {
    position: absolute;
    height: 100%;
    border-radius: 0.5rem;
    background: #b74b4b;
}

.skills-bar .bar .progress-line .html {
    width: 90%;
}

.skills-bar .bar .progress-line .css {
    width: 85%;
}

.skills-bar .bar .progress-line .js {
    width: 80%;
}

.skills-bar .bar .progress-line .react {
    width: 75%;
}

.skills-bar .bar .progress-line .agenticai {
    width: 85%;
}

.skills-bar .bar .progress-line .claudeai {
    width: 80%;
}

.skills-bar .bar .progress-line .dataauto {
    width: 75%;
}

.skills-bar .bar .progress-line .mlconcepts {
    width: 70%;
}
.skills-bar .bar .progress-line .langchain {
    width: 80%;
}

.skills-bar .bar .progress-line .python {
    width: 95%;
}

.skills-bar .bar .progress-line .java {
    width: 80%;
}

.skills-bar .bar .progress-line .flask {
    width: 80%;
}

.skills-bar .bar .progress-line .git {
    width: 90%;
}

.skills-bar .bar .progress-line .github {
    width: 90%;
}

.skills-bar .bar .progress-line .agentverse {
    width: 80%;
}

.skills-bar .bar .progress-line .uiux {
    width: 65%;
}


/* Education Section Styling */
.education-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.education-box {
    flex: 1 1 30rem;
    background: #161616;
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    border: .2rem solid #b74b4b;
    transition: .5s ease;
}

.education-box:hover {
    border-color: #b74b4b;
    transform: scale(1.02);
    box-shadow: 0 0 25px #b74b4b;
}

.education-content .content {
    padding: 1.5rem;
}

.education-content .content .year {
    font-size: 1.8rem;
    color: #b74b4b;
    padding-bottom: 0.5rem;
}

.education-content .content .year i {
    padding-right: 0.5rem;
}

.education-content .content h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.education-content .content p {
    font-size: 1.6rem;
}

/* Experience Section Styling */
.experience-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.experience-box {
    flex: 1 1 30rem;
    background: #161616;
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    border: .2rem solid #b74b4b;
    transition: .5s ease;
}

.experience-box:hover {
    border-color: #b74b4b;
    transform: scale(1.02);
    box-shadow: 0 0 25px #b74b4b;
}

.experience-content .content {
    padding: 1.5rem;
}

.experience-content .content .year {
    font-size: 1.8rem;
    color: #b74b4b;
    padding-bottom: 0.5rem;
}

.experience-content .content .year i {
    padding-right: 0.5rem;
}

.experience-content .content h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.experience-content .content p {
    font-size: 1.6rem;
}

/* Contact Section Styling */
.contact-content {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: #161616;
    border-radius: 0.8rem;
    border: 0.2rem solid #b74b4b;
    transition: 0.5s ease;
}

.contact-item:hover {
    border-color: #b74b4b;
    transform: scale(1.05);
    box-shadow: 0 0 25px #b74b4b;
}

.contact-item i {
    font-size: 2.4rem;
    color: #b74b4b;
}

.contact-item a {
    font-size: 1.6rem;
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    color: #b74b4b;
}

/* Footer Styling */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: #161616;
}

.footer-text p {
    font-size: 1.6rem;
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    background: #b74b4b;
    border-radius: 0.8rem;
    transition: 0.5s ease;
}

.footer-iconTop a:hover {
    box-shadow: 0 0 25px #b74b4b;
    transform: scale(1.1);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: black;
}
