body{
    margin: 0;
    padding: 0;
    background-color: #0F172A;
    font-family: 'Lato' ,'sans-serif';
    box-sizing: border-box;
}

.nav-items{
    margin: 0 auto;
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: #ffffff;
    background-color: #000000;
    list-style-type: none;
    font-weight: 600;
    z-index: 1000;
}

.nav-items li{
    cursor: pointer;
}

.nav-items a{
    color: #ffffff;
}

#main-header{
    position: relative; 
    min-height: 90vh; /* Takes up the remaining 90% of screen height (100vh minus 10vh navbar) */
    color: #ffffff;
    display: flex;
}

#main-header .left{
    width: 45%; 
    padding-top: 100px;
    padding-left: 10%;
    color: #ffffff;
    z-index: 2; /* Ensures text stays layered on top of any background pieces */
}

#main-header .left .big-text{
    font-size: 70px;
    color: #ffffff;
    font-weight: 900;
}

#main-header .left .sub-head{
    font-size: 50px;
    color: #ffffff;
    font-weight: 800;
    margin-top: 40px;
}

#main-header .left p{
    font-size: 30px;
    font-weight: 500;
    margin-top: 40px;
}

#main-header .left .overview{
    margin-top: 60px;
    display: flex;
    justify-content: space-evenly;
}



#main-header .right{
    position: absolute;
    top: 0;          /* Flushes it seamlessly right against the navbar */
    bottom: 0;       /* Forces it to extend to the very bottom of the page container */
    right: 0;        /* Aligns it to the right edge of the screen */
    width: 45%;      /* Dictates how far left the white background extends */
    background: linear-gradient(135deg, #1E293B 0%, #3B82F6 100%); 
    z-index: 1;
    
    /* Centers your image inside the new full-height white block */
    display: flex;
    justify-content: center;
    align-items: center;

    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

#main-header .right img{
    height: 60vh;
    width: 50vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border: 10px solid rgba(255, 255, 255, 0.1); 
}

.gradient-text{
    color: skyblue;
}
.about-me-page{
    display: flex;
    color: #ffffff;
    flex-direction: column;
    align-items: center;
}
.heading{
    text-align: center;
    padding-top: 30px;
    font-size: 400%;
    font-weight: 900;
    padding: 30px;
}

.about-paras{
    padding-top: 50px;
    padding-left: 5%;        /* Replaces individual paragraph margins */
    padding-right: 5%;       /* Replaces individual paragraph margins */
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* FIX: Prevents layout issues if one has more text */
    justify-content: space-between;
    gap: 100px;
}

.about-paras .left-para,
.about-paras .right-para{
    flex:1;
    text-align: justify;
    font-size: 150%;
    font-weight: 500;
}

.about-cards{
    padding-top: 75px;
    display: flex;
    justify-content: space-evenly;
    gap: 100px
}

.about-cards .about-card{
    width: 300px;
    list-style-type: " - ";
    background-color: #1E293B;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border: 10px solid rgba(255, 255, 255, 0.1); 
    padding: 15px;
}
.about-card h5{
    margin: 0;
    padding: 0;
    font-size: 200%;
    text-align: center;
    font-weight: 500;
    text-decoration: underline;
    padding-bottom: 30px;
    padding-top: 20px;

}
.about-card li {
  list-style-position: inside; /* Forces bullets inside the border */
  padding-left: 0;             /* Removes extra default space */
  padding-bottom: 20px;
}

.about-card .card-details{
    padding: 5px;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    font-size: 150%;
    font-weight: 500;
}

.skills-page{
    color: #ffffff ;
}

.prog-lang, .web-technologies, .dsml, .tools, .codingprof{
    margin-left: 10vh;
}

.skills-page h3{
    font-weight: 700;
    font-size: 150%;
    text-decoration: underline;
}

.tags{
    display: inline-block;
    padding: 10px 35px;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.5s ease-in;
}

.tags:hover{
    background-color: #e5e7eb;
    transform: translateY(-2px);
}

.progtags, .web-tags, .ml-tags, .tool-tags,.cod-tags{
    display: flex;
    gap: 30px;
}

.projects-page{
    color: #ffffff;
}

.project-cards{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    box-sizing: border-box;
    padding: 10px 60px;
}
.project-card{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1 1 calc(50% - 12px);
    background-color: #334155;
    gap: 30px;
    padding: 24px;
    min-height: 40vh;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border: 10px solid rgba(255, 255, 255, 0.1); 
    box-sizing: border-box;

    position: relative;
}

.proj-matter{
    display: flex;
    flex-direction: column;
    flex: 1;
    color: #E2E8F0;
}

.proj-img img{
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}
.proj-matter h2{
    padding: 0px;
}
.proj-matter a{
    color: #ffffff;
}
.project-link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1; 
}

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

.proj-tag{
    display: inline-block;
    padding: 5px 25px;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.5s ease-in;
}
.proj-tag:hover{
    background-color: #e5e7eb;
    transform: translateY(-2px);
}

.certification-page{
    color: #ffffff;
}

.highlighted-card{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background-color: #1e2937;
    border: 6px solid #f472b6;
    padding: 32px;
    border-radius: 18px;
    width: 75%;
    margin: 0 auto;
    margin-top: 10px;
    position: relative;
}


.cert-link::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index:1;
}

.cert-image{
    width: 45%;
    height: 100%;
}
.cert-image img{
    width: 100%;
    height: 100%;
}

.certification-page h3{
    color: #cbd5e1;
}

.certification-page h2{
    padding: 0px;
    font-size: 250%;
    margin: 0px;
}

.certification-page .achievement-highlights{
    color: #67e8f9;
    font-size: 180%;
}

.certification-page .achievement-highlights ul{
    margin: auto;
    font-weight:700;
}

.certification-page .description{
    margin: 10px;
    font-size: 130%;
    font-weight: 500;
}

.cert-cards{
    width: 80%;
    display: flex;
    flex-direction: row;
    margin: 25px auto;
    justify-content:space-around;
    padding: 0;
}

.cert-cards .cert-card{
    background-color: #1e2937;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    border: 5px solid #f472b6;
    width: 25%;
    flex-wrap: wrap;
    position: relative;
}

.cert-cards .cert-card i{
    size: 200%;
}
a{
    color: white;
}

.highlighted-card ul{
    list-style-type:circle;
}

.footer{
    padding: 20px;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer .contact{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer .contact h3{
    font-size:200%;
    padding: 0%;
    margin: 0;
}

.contact i{
    font-size: 40px;
}

.contact a{
    font-size: 25px;
}

.contact .connect{
    margin-top: 20px;
    display: flex;
    gap: 60px;
}

.footer .copyright{
    padding: 10px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

/* ===========================
   MOBILE RESPONSIVE STYLES
   =========================== */

@media (max-width: 768px){

    /* NAVBAR */

    .nav-items{
        flex-wrap: wrap;
        height: auto;
        gap: 15px;
        padding: 15px 0;
        font-size: 0.9rem;
    }

    /* HERO SECTION */

    #main-header{
        flex-direction: column;
        min-height: auto;
    }

    #main-header .left{
        width: 90%;
        padding: 40px 20px;
        margin: 0 auto;
        text-align: center;
    }

    #main-header .left .big-text{
        font-size: 2.8rem;
    }

    #main-header .left .sub-head{
        font-size: 2rem;
        margin-top: 20px;
    }

    #main-header .left p{
        font-size: 1.2rem;
        margin-top: 20px;
    }

    #main-header .left .overview{
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }


    #main-header .right{
        position: static;
        width: 100%;
        clip-path: none;
        padding: 40px 0;
    }

    #main-header .right img{
        width: 250px;
        height: auto;
    }

    /* ABOUT */

    .heading{
        font-size: 2.5rem;
    }

    .about-paras{
        flex-direction: column;
        gap: 25px;
        padding-top: 20px;
    }

    .about-paras .left-para,
    .about-paras .right-para{
        font-size: 1.1rem;
    }

    .about-cards{
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .about-cards .about-card{
        width: 85%;
    }

    .about-card .card-details{
        font-size: 1.1rem;
    }

    /* SKILLS */

    .prog-lang,
    .web-technologies,
    .dsml,
    .tools,
    .codingprof{
        margin-left: 20px;
        margin-right: 20px;
    }

    .progtags,
    .web-tags,
    .ml-tags,
    .tool-tags,
    .cod-tags{
        flex-wrap: wrap;
        gap: 15px;
    }

    .tags{
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    /* PROJECTS */

    .project-cards{
        padding: 15px;
    }

    .project-card{
        flex-direction: column;
        flex: 1 1 100%;
        text-align: center;
        min-height: auto;
    }

    .proj-img img{
        width: 100%;
        max-width: 280px;
        height: auto;
    }

    .proj-matter{
        align-items: center;
    }

    .tech-tags{
        justify-content: center;
    }

    /* FEATURED CERTIFICATE */

    .highlighted-card{
        width: 90%;
        flex-direction: column;
        padding: 20px;
    }

    .cert-image{
        width: 100%;
    }

    .certification-page h2{
        font-size: 2rem;
        text-align: center;
    }

    .certification-page .achievement-highlights{
        font-size: 1.2rem;
    }

    .certification-page .description{
        font-size: 1rem;
    }

    /* CERTIFICATE CARDS */

    .cert-cards{
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 90%;
    }

    .cert-cards .cert-card{
        width: 100%;
        box-sizing: border-box;
    }

    /* FOOTER */

    .contact .connect{
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .contact a{
        font-size: 1rem;
    }

    .contact i{
        font-size: 28px;
    }

    .footer .copyright{
        text-align: center;
    }
}