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

*{
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body{
    width: 100%;
    min-height: 100vh;
    background-color: rgb(4,0,26);
    overflow-x: hidden;
}

nav{
    width: 100%;
    height: 10vh;
    position: sticky;
}

.nav-container{
    width: min(1100px, 92%);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(8, 2, 38, 0.95);
    border-radius: 12px;
    padding: 0 3px;
}

.logo{
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.logo span{
    color: rgb(128,42,0);
    text-shadow: 0 0 10px rgb(128,42,0) ;
}

.hamburg,
.cancel{
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

.nav-container .links {
    display: flex;
}

.nav-container .links a{
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}

.nav-container .links a:hover{
    color: rgb(128,42,0);
    border-bottom: 2px solid rgb(128,42,0);
}

.dropdown{
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0  20px black;
    transition: 0.2s linear;
}

.dropdown .links a{
    display: flex;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    justify-content: center;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover{
    background-color: rgb(128,42,0);
}

.home-section{
    width: 100%;
    min-height: 90vh;
    padding-top: 32px;
}

.main-container{
    width: min(1100px, 92%);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(32px, 6vw, 90px);
}

.main-container .content{
    color: white;
    width: 40%;
    min-height: 100px;
}

.content h1{
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}

.content h1 span{
    font-weight: 700;
    text-shadow: 0 0 10px rgb(128,42,0);
    color: rgb(128,42,0);
}

.content .typewriter{
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 18px;
}

.typewriter span{
    color: rgb(128,42,0);
    text-shadow:  0 0 10px rgb(128,42,0);
}

.content p{
    font-size: clamp(0,4rem, 0.2rem + 9vw, 1rem);
    margin: 0 0 24px 0;
}

.social-links i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid rgb(128,42,0);
    border-radius: 50%;
    color: rgb(128,42,0);
    margin: 0 15px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}

.social-links{
    margin-bottom: 14px;
}

.social-links i:hover{
    scale: 1.3;
    filter: drop-shadow(0 0 10px rgb(128,42,0));
    color: black;
    background-color: rgb(128,42,0);
}

.content button{
    width: 50%;
    height: 6vh;
    margin: 18px 0 0 0;
    background-color: rgb(128,42,0);
    color: white;
    border: none;
    outline: none;
    font-size: 120%;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
}

.content button:hover{
    scale: 1.1;
    color: rgb(194,64,0);
    border: 2px solid rgb(194,64,0);
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px 5px rgb(194,64,0);
}

.main-container .image{
    width: min(42vw, 650px);
    height: auto;
    border-radius: 90%;
    overflow: hidden;
    box-shadow: 0 0 70px rgb(0,13,77);
    flex-shrink: 0;
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.main-container .image img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.main-container .image:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 90px rgba(0,13,77,0.95);
    filter: saturate(1.08);
}

@keyframes animate {
    0%{
        scale: 1;
    }
    50%{
        scale: 1.05;
    }
    100%{
        scale: 1;
    }
}

.education-section{
    width: 100%;
    padding: 50px 0 80px;
}

.education-container{
    width: min(1100px, 92%);
    margin: 0 auto;
    color: white;
}

.education-container h2{
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
    color: rgb(128,42,0);
    text-shadow: 0 0 12px rgb(128,42,0);
    margin-bottom: 10px;
}

.education-subtitle{
    color: #ddd;
    margin-bottom: 30px;
}

.education-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.education-card{
    background: linear-gradient(160deg, rgba(0, 13, 77, 0.35), rgba(8, 2, 38, 0.95));
    border: 1px solid rgba(128,42,0,0.5);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 18px;
    box-shadow: 0 0 18px rgba(128,42,0,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.education-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(194,64,0,0.35);
}

.education-logo{
    width: 88px;
    height: 88px;
    border-radius: 14px;
    border: 1px solid rgba(128,42,0,0.7);
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.education-logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.education-content h3{
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 6px;
}

.education-years{
    color: rgb(194,64,0);
    font-weight: 600;
    margin-bottom: 8px;
}

.education-content p{
    color: #e5e5e5;
    line-height: 1.55;
}

.education-social{
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.education-social a{
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1.5px solid rgb(128,42,0);
    color: rgb(128,42,0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.education-social a:hover{
    color: black;
    background-color: rgb(128,42,0);
    box-shadow: 0 0 12px rgb(128,42,0);
}

.skills-section{
    width: 100%;
    padding: 30px 0 90px;
}

.skills-container{
    width: min(1100px, 92%);
    margin: 0 auto;
    color: white;
}

.skills-container h2{
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
    color: rgb(128,42,0);
    text-shadow: 0 0 12px rgb(128,42,0);
    margin-bottom: 10px;
}

.skills-subtitle{
    color: #ddd;
    margin-bottom: 26px;
}

.skills-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.skills-card{
    background: linear-gradient(155deg, rgba(0, 13, 77, 0.34), rgba(8, 2, 38, 0.95));
    border: 1px solid rgba(128,42,0,0.5);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 0 18px rgba(128,42,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skills-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(194,64,0,0.33);
}

.skills-card h3{
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: #fff;
}

.skill-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags span{
    padding: 8px 12px;
    border: 1px solid rgb(128,42,0);
    border-radius: 999px;
    background-color: rgba(128,42,0,0.14);
    color: #f6f6f6;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.skill-tags span:hover{
    color: black;
    background-color: rgb(128,42,0);
    box-shadow: 0 0 12px rgba(128,42,0,0.8);
}

.certifications-block{
    margin-top: 34px;
}

.certifications-block h3{
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #fff;
}

.certifications-note{
    color: #ddd;
    margin-bottom: 18px;
}

.certifications-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.certificate-card{
    background: linear-gradient(160deg, rgba(0, 13, 77, 0.3), rgba(8, 2, 38, 0.95));
    border: 1px solid rgba(128,42,0,0.5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 18px rgba(128,42,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certificate-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(194,64,0,0.3);
}

.certificate-image{
    width: 100%;
    height: 190px;
    background-color: rgba(255,255,255,0.06);
}

.certificate-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.certificate-content{
    padding: 16px 18px 18px;
}

.certificate-content h4{
    font-size: 1.12rem;
    color: #fff;
    margin-bottom: 6px;
}

.certificate-content p{
    color: #ddd;
    margin-bottom: 12px;
}

.certificate-link{
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: rgb(128,42,0);
    border: 1px solid rgb(128,42,0);
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.certificate-link:hover{
    background-color: transparent;
    color: rgb(194,64,0);
    border-color: rgb(194,64,0);
}

.certificate-skills{
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.certificate-skills span{
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgb(128,42,0);
    background-color: rgba(128,42,0,0.14);
    color: #f5f5f5;
    font-size: 0.9rem;
}

.projects-section{
    width: 100%;
    padding: 20px 0 90px;
}

.projects-container{
    width: min(1100px, 92%);
    margin: 0 auto;
    color: white;
}

.projects-container h2{
    font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
    color: rgb(128,42,0);
    text-shadow: 0 0 12px rgb(128,42,0);
    margin-bottom: 10px;
}

.projects-subtitle{
    color: #ddd;
    margin-bottom: 24px;
}

.projects-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-card{
    background: linear-gradient(160deg, rgba(0, 13, 77, 0.3), rgba(8, 2, 38, 0.95));
    border: 1px solid rgba(128,42,0,0.5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 18px rgba(128,42,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(194,64,0,0.3);
}

.project-image{
    width: 100%;
    height: 210px;
    background-color: rgba(255,255,255,0.06);
}

.project-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-content{
    padding: 16px 18px 20px;
}

.project-content h3{
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 8px;
}

.project-content p{
    color: #ddd;
    line-height: 1.5;
    margin-bottom: 14px;
}

.project-links{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-links a{
    text-decoration: none;
    color: white;
    border: 1px solid rgba(8, 2, 38, 0.95);
    border-radius: 8px;
    padding: 8px 12px;
    background-color: rgba(128,42,0,0.14);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.project-links a:hover{
    color: black;
    background-color: rgb(128,42,0);
    box-shadow: 0 0 12px rgba(128,42,0,0.8);
}

.contact-footer{
    width: 100%;
    padding: 60px 0 40px;
    background-color: rgb(128,42,0);
    border-top: 1px solid rgba(255, 214, 182, 0.4);
    position: relative;
}

.footer-container{
    width: min(1100px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: start;
}

.footer-contact-info h2{
    font-size: clamp(1.6rem, 1.1rem + 2vw, 2.3rem);
    color: rgb(235, 186, 139);
    text-shadow: 0 0 10px rgba(235, 186, 139, 0.45);
    margin-bottom: 10px;
}

.footer-contact-info p{
    color: #f0dfd1;
    margin-bottom: 14px;
    line-height: 1.5;
}

.footer-email{
    color: #fff4ea;
    text-decoration: none;
    border-bottom: 1px solid rgba(235, 186, 139, 0.8);
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-email:hover{
    color: rgb(255, 202, 156);
}

.footer-location{
    color: #f0dfd1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.footer-social{
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-social a{
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    border: 1.4px solid rgba(8, 2, 38, 0.95);
    color: rgb(255, 225, 198);
    background-color: rgba(8, 2, 38, 0.95);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.footer-social a:hover{
    color: rgb(255, 225, 198);
    background-color: rgba(8, 2, 38, 0.95);
    box-shadow: 0 0 12px rgba(8, 2, 38, 0.55);
}

.footer-nav-links{
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-nav-links a{
    color: #fff1e5;
    text-decoration: none;
    border: 1px solid rgba(8, 2, 38, 0.95);
    background-color: rgba(8, 2, 38, 0.95);
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-nav-links a:hover{
    color: #fff1e5;
    background-color: rgba(8, 2, 38, 0.95);
}

.footer-form{
    background: rgba(8, 2, 38, 0.95);
    border: 1px solid rgba(235, 186, 139, 0.42);
    border-radius: 16px;
    padding: 20px;
    display: grid;
    gap: 12px;
    box-shadow: 0 0 18px rgba(53, 28, 14, 0.35);
}

.footer-form input,
.footer-form textarea{
    width: 100%;
    background-color: rgb(235, 186, 139);
    border: 1px solid rgba(255, 214, 182, 0.45);
    color: rgb(49, 24, 12);
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 0.95rem;
    outline: none;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder{
    color: rgba(49, 24, 12, 0.7);
}

.footer-form input:focus,
.footer-form textarea:focus{
    border-color: rgb(255, 214, 182);
    box-shadow: 0 0 0 2px rgba(255, 214, 182, 0.25);
}

.footer-form button{
    justify-self: start;
    background-color: rgb(210, 145, 95);
    color: rgb(49, 24, 12);
    border: 1px solid rgb(210, 145, 95);
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-form button:hover{
    background-color: rgba(8, 2, 38, 0.95);
    color: #fff4ea;
    border-color: rgba(8, 2, 38, 0.95);
}

.footer-form button:disabled{
    opacity: 0.65;
    cursor: not-allowed;
}

.back-to-top{
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    border: 1.5px solid rgba(8, 2, 38, 0.95);
    color: rgb(255, 225, 198);
    background-color: rgba(8, 2, 38, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-to-top:hover{
    color: rgb(255, 225, 198);
    background-color: rgba(8, 2, 38, 0.95);
    box-shadow: 0 0 12px rgba(8, 2, 38, 0.65);
}


@media (max-width:884px) {
    nav .logo{
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }

    .main-container{
        display: flex;
        flex-direction: column-reverse;
        gap: 24px;
    }

    .nav-container .links{
        display: none;
    }

    .hamburg,
    .cancel{
        display: block;
    }

    .main-container .content{
        width: 80%;
    }
    .social-links i{
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }

    .main-container .image{
        z-index: -1;
        width: min(56vw, 380px);
        height: auto;
    }

    .education-grid{
        grid-template-columns: 1fr;
    }

    .skills-grid{
        grid-template-columns: 1fr;
    }

    .certifications-grid{
        grid-template-columns: 1fr;
    }

    .projects-grid{
        grid-template-columns: 1fr;
    }

    .footer-container{
        grid-template-columns: 1fr;
    }
}


@media (max-width:440px) {
    .main-container .image{
        width: min(72vw, 300px);
        height: auto;
    }

    .main-container .content{
        width: 80%;
    }

    .main-container button{
        margin-top: 15px;
    }

    .education-card{
        flex-direction: column;
        align-items: flex-start;
    }
}


