
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: black;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

nav {
    height: 60px;
    width: calc(100% - 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px;
    border-radius: 10px;
    position: fixed;
    z-index: 100;
    padding: 15px 50px;
    background-color: rgba(18, 18, 19, 0.6);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.nav-links a {
    color: azure;
    padding: 0 20px;
    text-decoration: none;
    font-size: 20px;
    font-family: 'Work Sans', sans-serif;
    transition: transform 0.3s ease-in-out, color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
    color: lightblue;
    text-shadow: 0 0 5px violet, 0 0 10px blue, 0 0 10px violet;
    transform: scale(1.1);
}

.menu-toggle {
    display: none;
}

.hamburger-label {
    display: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 30px;
    height: 3px;
    background-color: azure;
    margin: 6px 0;
    border-radius: 2px;
}

/* background */
.background_decoration {
    position: fixed;
    z-index: -2;
    height: 100vh;
    top: 0;
    width: 100vw;
    left: 0;
}

.background_decoration div {
    position: absolute;
    height: 30px;
    width: 30px;
    bottom: 0;
    animation: updown 30s infinite;
}

#sp1 {
    /* scale: 0.2; */
    left: 15%;
    width: 20px;
    height: 20px;
    animation-delay: 1s;
    bottom: -20px;
    animation-duration: 35s;
}

#sp2 {
    left: 50%;
    width: 20px;
    height: 20px;
    animation-delay: 2.5s;
    bottom: -20px;
    animation-duration: 30s;
}

#mp1 {
    left: 10%;
    height: 90px;
    width: 90px;
    animation-delay: 1s;
    bottom: -90px;
    animation-duration: 15s;
}

#lp1 {
    left: 90%;
    height: 150px;
    width: 150px;
    animation-delay: 3s;
    bottom: -150px;
    animation-duration: 12s;
}

#lp2 {
    left: 40%;
    height: 150px;
    width: 150px;
    animation-delay: 0s;
    bottom: -150px;
    animation-duration: 35s;
}

@keyframes updown {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-110vh) rotate(900deg);
        opacity: 0.1;
        border-radius: 60%;
    }
}

/* hero section */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px;
    box-sizing: border-box;
    z-index: 2;
}

.hero-text {
    padding: 30px;
    margin: 10px;
    border-radius: 15px;
    z-index: 2;
    backdrop-filter: blur(10px);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.hero-text:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(119, 74, 97, 0.4);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    flex-direction: row-reverse;
    width: 100%;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: khaki;
    margin-bottom: 16px;
}

.hero-description {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: lemonchiffon;
}

.hero-image {
    z-index: 1;
    flex: 0.5;
}

.profile-img {
    z-index: 10;
    width: 350px;
    height: 300px;
    border-radius: 20%;
    object-fit: cover;
    backdrop-filter: blur(5px);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(119, 74, 97, 0.4);
}

/* About Section */
.about {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px;
    box-sizing: border-box;
    z-index: 2;
}

.about-text {
    padding: 30px;
    margin: 10px;
    border-radius: 15px;
    z-index: 2;
    backdrop-filter: blur(10px);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    text-align: center;
    max-width: 800px;
}

.about-text:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(119, 74, 97, 0.4);

}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    z-index: 2;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-subtitle {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: khaki;
    margin-bottom: 16px;
}

.about-description {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: lemonchiffon;
    line-height: 1.8;
}

.resume-btn {
    display: inline-block;
    background: linear-gradient(35deg, black, darkgrey);
    color: white;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resume-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 60, 126, 0.4);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(145, 43, 63, 0.4);
}

/* Education Section */
.education {
    min-height: 100vh;
    padding: 80px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.education-container {
    max-width: 1200px;
    width: 100%;
}

.education-main-title {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    justify-items: center;
}

.education-card {
    background-color: rgba(18, 18, 19, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    width: 100%;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.education-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(119, 74, 97, 0.4);
}

.education-degree {
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.education-school {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    color: #23a6d5;
    margin-bottom: 10px;
    font-weight: 500;
}

.education-duration {
    font-size: 1rem;
    color: khaki;
    margin-bottom: 15px;
    font-weight: 500;
}

.education-description {
    font-size: 1rem;
    color: lemonchiffon;
    line-height: 1.6;
    margin-bottom: 10px;
}

.education-achievement {
    font-size: 1rem;
    color: #e73c7e;
    font-weight: 600;
}

/* Skills Section */
.skills {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px;
    box-sizing: border-box;
    z-index: 2;
}

.skills-text {
    padding: 30px;
    margin: 10px;
    border-radius: 15px;
    z-index: 2;
    backdrop-filter: blur(10px);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    text-align: center;
    max-width: 800px;
}

.skills-text:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(119, 74, 97, 0.4);
}

.skills-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    z-index: 2;
}

.skills-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skills-subtitle {
    font-size: 20px;
    color: khaki;
    margin-bottom: 16px;
}

.skills-description {
    font-size: 1.1rem;
    color: lemonchiffon;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Skills List */
.skills-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.skill-category {
    font-size: 1.1rem;
    color: lemonchiffon;
    margin-bottom: 15px;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    line-height: 1.6;
}

.skill-category strong {
    color: #23a6d5;
    font-weight: 600;
}


/* Projects Section */
.projects {
    min-height: 100vh;
    padding: 80px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects-container {
    max-width: 1200px;
    width: 100%;
}

.projects-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    justify-items: center;
}

/* Individual Project Card */
.project-card {
    /* background-color: rgba(18, 18, 19, 0.6); */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    max-width: 400px;
    width: 100%;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(119, 74, 97, 0.4);
}


.project-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: all 0.4s ease;
    filter: grayscale(100%) brightness(70%);
}

.project-card img:hover {
    filter: grayscale(0%) brightness(90%);
}

/* Project Information */
.project-info {
    text-align: center;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.project-description {
    font-size: 1rem;
    color: lemonchiffon;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tech-tag {
    background-color: rgba(189, 181, 184, 0.2);
    color: darkgrey;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.github-btn {
    display: inline-block;
    background: linear-gradient(30deg, grey,black );
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.github-btn:hover {
    transform: translateY(-2px);
    border: 1px solid rgba(145, 43, 63, 0.4);
    box-shadow: 0 5px 15px rgba(145, 43, 63, 0.4);
}


/* Contact Section */
.contact {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px;
    box-sizing: border-box;
    z-index: 2;
}

.contact-text {
    padding: 40px;
    margin: 10px;
    border-radius: 15px;
    z-index: 2;
    backdrop-filter: blur(10px);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    text-align: center;
    max-width: 700px;
}

.contact-text:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(119, 74, 97, 0.4);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    z-index: 2;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    font-size: 20px;
    color: khaki;
    margin-bottom: 16px;
}

.contact-description {
    font-size: 1.1rem;
    color: lemonchiffon;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-info {
    margin: 30px 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.getintouch {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}


.contact-label {
    font-weight: 600;
    color: white;
    min-width: 120px;
    font-size: 1rem;
}

.contact-link {
    color: darkgrey;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: lightslategrey;
    text-shadow: 0 0 5px rgba(246, 0, 94, 0.5);
}

.contact-text {
    color: lemonchiffon;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border: 1px solid rgba(145, 43, 63, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 60, 126, 0.3);
    /* color: #ca9dae; */
    
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    letter-spacing: 0.5px;
}





/*  Media query --- */

/* nav */
@media screen and (max-width: 768px) {

    nav {
        display: flex;
        justify-content: flex-end;
        padding: 15px 20px;
        background: none;
        backdrop-filter: blur(0px);
    }

    .hamburger-label {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 10px;
        width: 250px;
        background-color: rgba(18, 18, 19, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .nav-links a {
        padding: 15px 0;
        width: 100%;
        text-align: center;
    }

    .menu-toggle:checked~.nav-links {
        display: flex;
    }
}

/* background */

@media (max-width: 768px) {

    #sp1,
    #sp2,
    #lp1 {
        scale: 0.5;
    }

    #mp1,
    #lp2 {
        scale: 0.8;
    }

}

/* hero */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }
  


    @media (max-width: 1024px) {
        .education-card {
            max-width: 400px;
        }
    }

    @media (max-width: 768px) {
        .education {
            padding: 60px 20px;
        }

        .education-grid {
            grid-template-columns: 1fr;
            gap: 25px;
        }

        .education-main-title {
            font-size: 2.5rem;
        }

        .education-card {
            max-width: 100%;
            padding: 25px;
        }
    }

    /* edu */
    @media (max-width: 480px) {
        .education {
            padding: 40px 15px;
        }

        .education-main-title {
            font-size: 2.2rem;
        }

        .education-card {
            padding: 20px 15px;
        }

        .education-degree {
            font-size: 1.2rem;
        }

        .education-school {
            font-size: 1.1rem;
        }

        .education-duration {
            font-size: 0.9rem;
        }

        .education-description {
            font-size: 0.95rem;
        }
    }

    @media (max-width: 320px) {
        .education-main-title {
            font-size: 1.8rem;
        }

        .education-degree {
            font-size: 1.1rem;
        }
    }


    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .projects-main-title {
        font-size: 2.5rem;
    }
}

/* contact */
@media (max-width: 768px) {
    .contact {
        padding: 40px 20px;
    }

    .contact-text {
        padding: 40px 30px;
        min-height: 500px;
        margin: 10px;
    }

    .contact-title {
        font-size: 2.8rem;
    }

    .contact-subtitle {
        font-size: 1.2rem;
    }

    .contact-description {
        font-size: 1.1rem;
    }

    .contact-info {
        text-align: center;
        max-width: 100%;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 15px 20px;
    }

    .contact-label {
        min-width: auto;
    }

    .social-links {
        gap: 20px;
    }

    .social-btn {
        padding: 14px 25px;
        font-size: 1rem;
        min-width: 100px;
    }

    .resume-btn-contact {
        padding: 15px 30px;
        font-size: 1.1rem;
        min-width: 180px;
    }
}