/* JAY MATAJI */

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

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

html{
    scroll-behavior: smooth;
}

body{
    width: 100%;
    min-height: 100vh;
    background-color: black;
    color: white;
    overflow-x: hidden;
}

/* ================= NAVBAR ================= */

nav{
    width: 100%;
    min-height: 88px;
    padding: 18px 6%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

.nav-container{
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo span{
    color: #0a8be8;
    text-shadow: 0 0 10px #0a8be8;
}

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

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

.nav-container .links a::before{
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #0a8be8;
    transition: 0.2s linear;
}

.nav-container .links a:hover::before{
    width: 100%;
}

.nav-container .links a:hover,
.nav-container .links a.active{
    color: #0a8be8;
}

/* ================= HAMBURGER ================= */

.hamburg,
.cancel{
    cursor: pointer;
    color: white;
    display: none;
    font-size: 2.35rem;
}

/* Font Awesome sets display on .fa-solid; keep hamburger hidden on desktop */
.nav-container > i.hamburg{
    display: none;
}

/* ================= MOBILE MENU ================= */

.dropdown{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);

    display: flex;
    justify-content: center;
    align-items: center;

    transform: translateY(-100%);
    transition: 0.4s ease;

    z-index: 999;
}

.dropdown.active{
    transform: translateY(0);
}

.dropdown .links{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dropdown .links a{
    color: white;
    text-decoration: none;
    font-size: 1.65rem;
    transition: 0.3s ease;
}

.dropdown .links a:hover{
    color: #0a8be8;
}

.cancel{
    position: absolute;
    top: 30px;
    right: 40px;
}

/* ================= GENERAL SECTION ================= */

section{
    width: 100%;
    min-height: 100vh;
}

/* ================= HERO SECTION ================= */

.main-container{
    width: 100%;
    min-height: 90vh;

    display: flex;
    justify-content: space-evenly;
    align-items: center;

    padding: 40px 8%;
    gap: 50px;
}

.main-container .content{
    width: 48%;
    padding-top: 20px;
}

.content h1{
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.content h1 span{
    color: #0a8be8;
    text-shadow: 0 0 10px #0a8be8;
}

.content .typewriter{
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin: 10px 0;
}

.content .typewriter-text{
    color: #0a8be8;
    text-shadow: 0 0 10px #0a8be8;
}

.typewriter-cursor{
    color: #0a8be8;
    font-weight: 300;
}

.content p{
    font-size: 1.5rem;
    line-height: 2;
    color: #d4d4d4;
    margin: 25px 0;
}

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

.content .btn-cta{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 220px;
    height: 55px;
    background-color: #0a8be8;
    color: white;
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: 34px;
    text-decoration: none;
    box-sizing: border-box;
    transition: 0.3s ease;
    cursor: pointer;
}

.content .btn-cta:hover{
    transform: scale(1.05);
    color: #0a8be8;
    border: 2px solid #0a8be8;
    background-color: transparent;
    box-shadow: 0 0 30px #0a8be8;
}

/* ================= IMAGE ================= */

.main-container .image{
    width: 400px;
    aspect-ratio: 1/1;

    border-radius: 50%;
    overflow: hidden;

    box-shadow: 0 0 50px #0a8be8;
}

.main-container .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.main-container .image:hover{
    animation: animate 1.5s ease-in-out infinite;
}

@keyframes animate{
    0%{
        transform: scale(1);
    }

    50%{
        transform: scale(1.05);
    }

    100%{
        transform: scale(1);
    }
}

/* ================= SOCIAL ================= */

.social-photo{
    display: flex;
    align-items: center;
    gap: 30px;
}

.social-links{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-links a{
    text-decoration: none;
}

.social-links i{
    display: flex;
    justify-content: center;
    align-items: center;

    width: 3rem;
    height: 3rem;

    border: 0.2rem solid #0a8be8;
    border-radius: 50%;

    color: #0a8be8;
    font-size: 1.5rem;

    transition: 0.3s ease;
}

.social-links i:hover{
    transform: scale(1.2);
    color: black;
    background-color: #0a8be8;
    box-shadow: 0 0 15px #0a8be8;
}

/* ================= PROJECTS ================= */

.projects{
    padding: 80px 10%;
}

.projects-title{
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 50px;
}

.projects-title span{
    color: #0a8be8;
    text-shadow: 0 0 12px #0a8be8;
}

.projects-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
}

.project-card{
    background: #111;
    border-radius: 18px;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.3s ease;
}

.project-card:hover{
    transform: translateY(-10px);
    border-color: #0a8be8;
    box-shadow: 0 0 20px #0a8be8;
}

.project-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info{
    padding: 20px;
    text-align: center;
}

.project-info h3{
    margin-bottom: 10px;
    color: #0a8be8;
    text-shadow: 0 0 8px #0a8be8;
}

.project-info p{
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.projects-container a{
    text-decoration: none;
}

/* ================= SKILLS ================= */

.skills-section{
    width: 100%;
    min-height: 100vh;
    padding: 40px 8% 80px;
}

.skills-wrapper{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skills-category{
    background: rgba(255,255,255,0.03);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;

    padding: 30px;

    backdrop-filter: blur(10px);

    box-shadow: 0 0 25px rgba(10,139,232,0.08);

    transition: 0.3s ease;
}

.skills-category:hover{
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(10,139,232,0.2);
}

.skills-category h3{
    font-size: 1.7rem;
    margin-bottom: 25px;

    color: #0a8be8;

    position: relative;
    padding-left: 18px;
}

.skills-category h3::before{
    content: "";

    position: absolute;

    left: 0;
    top: 5px;

    width: 5px;
    height: 80%;

    background: #0a8be8;
    border-radius: 10px;
}

.skills-container{
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.skill-card{
    padding: 14px 24px;

    border-radius: 12px;

    background: #151515;

    border: 1px solid rgba(255,255,255,0.08);

    color: white;

    font-size: 1rem;
    font-weight: 500;

    transition: 0.3s ease;

    cursor: pointer;
}

.skill-card:hover{
    transform: translateY(-6px) scale(1.05);

    background: #0a8be8;
    color: black;

    box-shadow: 0 0 20px #0a8be8;
}

/* ================= Contact page ================= */

.contact-section{
    width: 100%;
    min-height: 100vh;
    padding: 80px 8%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-subtitle{
    text-align: center;

    color: #bdbdbd;

    margin-top: -25px;
    margin-bottom: 60px;

    font-size: 1rem;
}

/* GRID */

.modern-contact-container{
    display: grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap: 30px;
}

/* CARD */

.contact-info-card{
    position: relative;

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 24px;

    padding: 45px 30px;

    text-align: center;

    backdrop-filter: blur(14px);

    overflow: hidden;

    transition: 0.4s ease;
}

/* GLOW EFFECT */

.contact-info-card::before{
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    background: rgba(10,139,232,0.15);

    border-radius: 50%;

    top: -80px;
    right: -80px;

    filter: blur(40px);
}

/* HOVER */

.contact-info-card:hover{
    transform: translateY(-12px);

    border-color: #0a8be8;

    box-shadow: 0 0 30px rgba(10,139,232,0.35);
}

/* ICON */

.contact-icon{
    width: 80px;
    height: 80px;

    margin: auto auto 25px;

    border-radius: 50%;

    background: rgba(10,139,232,0.12);

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid rgba(10,139,232,0.3);
}

.contact-icon i{
    font-size: 2rem;

    color: #0a8be8;
}

/* TEXT */

.contact-info-card h3{
    font-size: 1.7rem;

    margin-bottom: 15px;

    color: white;
}

.contact-info-card p{
    color: #cfcfcf;

    margin-bottom: 30px;

    line-height: 1.7;

    word-break: break-word;
}

/* BUTTON */

.contact-info-card .contact-card-btn{
    width: 190px;
    height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 40px;

    background: linear-gradient(
    135deg,
    #0a8be8,
    #0066ff
    );

    color: white;
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}

.contact-info-card .contact-card-btn:hover{
    transform: scale(1.05);

    box-shadow: 0 0 25px #0a8be8;
}

/* MOBILE */

@media(max-width:768px){

.contact-section{
    padding: 60px 5%;
}

.contact-subtitle{
    margin-bottom: 40px;
}

.contact-info-card{
    padding: 35px 25px;
}

.contact-info-card h3{
    font-size: 1.4rem;
}

.contact-info-card .contact-card-btn{
    width: 100%;
}

}

/* ================= RESPONSIVE ================= */

@media(max-width:884px){

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

.hamburg,
.cancel{
    display: block;
}

.nav-container > i.hamburg{
    display: block;
}

.main-container{
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

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

.main-container .image{
    width: 260px;
}

.social-photo{
    flex-direction: column;
    gap: 20px;
}

.social-links{
    flex-direction: row;
}

.projects{
    padding: 60px 5%;
}

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

.skills-section{
    padding: 30px 5% 60px;
}

.skill-card{
    width: 100%;
    text-align: center;
}

}

@media(max-width:440px){

.logo{
    font-size: 1.6rem;
}

.content h1{
    font-size: 2rem;
}

.content .typewriter{
    font-size: 1.4rem;
}

.content p{
    font-size: 0.9rem;
}

.content .btn-cta{
    width: 100%;
}

.main-container .image{
    width: 220px;
}

}