/* ROOT */
html, body {
    cursor: url('media/WhatsApp Image 2026-03-28 at 3.16.40 AM 1 (1).png'), auto;
    height: 100%;
    margin: 0;
}
a:hover {
    cursor: pointer;
}

.custom-hover:hover {
    cursor: url('media/WhatsApp Image 2026-03-28 at 3.16.40 AM 1 (2).png'), pointer;
}
/* MAIN PAGE STRUCTURE */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* CONTENT takes remaining space */
.content {
    flex: 1;
}

.footer {
    display: flex;
    justify-content: space-between; /* pushes images left & right */
    align-items: center;
    padding: 10px 20px;
    
}

.footer img {
    max-height: 200px;
    width: auto;
}

body {
    margin: 0;
    background-color: #3D1B1C;
    color: white;

    display: flex;
    flex-direction: column;
    min-height: 100vh; /* full screen height */
}

img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
    max-width: 100%;
    height: auto;
}

/* ===== PAGE 1 ===== */

.top-left {
    position: absolute;
    top: 30px;
    left: 50px;
    font-family: 'Sedan', serif;
}

.top-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-row a {
    color: white;
    font-size: 22px;
    text-decoration: none;
}

.top-row a:last-child:hover {
    text-decoration: underline;
}

.linkedin-img {
    width: 35px;
    height: 35px;
}

.email {
    margin-top: 10px;
    font-size: 18px;
}

.email a {
    color: white;
    text-decoration: none;
}

.email a:hover {
    text-decoration: underline;
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 0 40px;
}

/* Wrapper to control positioning */
.image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center; /* center main image */
    margin-bottom: 40px;
}

/* Main image centered */
.main-img {
    width: 549px;
    height: 177px;
    object-fit: contain;
}

/* Side image on right */
.side-img {
    width: 300px;
    height: 300px;
    object-fit: contain;

    position: absolute;
    right: 60px; 
    top: 50%;
    transform: translateY(-90%);
}
.description {
    font-family: 'Irish Grover', cursive;
    font-size: 22px;
    max-width: 1500px;
}

/* ===== PAGE 2 ===== */

.education-section {
    padding: 80px 60px;
    font-family: 'Sedan', serif;
}

.education-title {
    font-size: 48px;
    margin-bottom: 40px;
}

.education-content {
    display: flex;
    align-items: center;
}

.edu-image {
    position: relative;
    left: -60px;
}

.edu-image img {
    width: 700px;
    height: 300px;
}

.edu-info {
    margin-left: auto;
    text-align: right;
}

.location {
    font-size: 20px;
}

.date {
    font-size: 18px;
}

.achievement img {
    width: 316px;
    height: 45px;
}

/* ===== WORK EXPERIENCE ===== */

.work-title {
    font-size: 48px;
    margin-top: 120px;
    margin-bottom: 60px;
}

/* Timeline container */
.timeline {
    position: relative;
    margin-left: 40px;
    border-left: 2px solid white;
}

/* Each item */
.timeline-item {
    position: relative;
    padding: 40px 0 40px 40px;
}

/* Circle */
.timeline-item::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 50px;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
}

/* Content layout */
.timeline-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.job-title {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    font-size: 30px; /* bigger */
    font-weight: 700; /* bold */
    margin-bottom: 15px;
}
.job-desc {
    font-family: 'Sedan', serif;
    font-size: 18px;
    max-width: 800px;
}

/* RIGHT SIDE */
.company {
    text-align: right;
}

.company-name {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    font-size: 22px; /* bigger */
    font-weight: 700; /* bold */
    margin-bottom: 5px;
}

.company-location,
.company-date {
    font-family: 'Sedan', serif;
    font-size: 16px;
}


/* ===== PROJECTS ===== */

.projects-title {
    font-size: 48px;
    margin-top: 120px;
    margin-bottom: 60px;
    font-family: 'Sedan', serif;
}

.project-item {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* LEFT SIDE */
.project-left {
    max-width: 800px;
}

.project-name {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    font-size: 30px;
    font-weight: 700;
}

.project-rank {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}

.project-desc {
    font-family: 'Sedan', serif;
    font-size: 18px;
    line-height: 1.6;
}

/* RIGHT SIDE */
.project-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.project-img1 {
    width: 655px;
    height: 537px;
    object-fit: contain;
}

.project-img2 {
    width: 400px;
    height: 500px;
    object-fit: contain;
    margin-top: 40px;

    position: relative;
    right: -60px; 
}
/* LEFT SIDE */
.project-left {
    max-width: 800px;
}

.project-name {
    font-size: 30px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    margin-top: 30px;
}

.project-desc {
    font-family: 'Sedan', serif;
    font-size: 18px;
    margin-top: 15px;
}

.project-link {
    color: white;
    text-decoration: underline;
}

/* ===== BANNER ===== */
.project-banner {
    margin-top: 60px;
}

.project-banner img {
    width: 1684px;
    height: 84px;
    object-fit: contain;

    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== CAROUSEL ===== */
.carousel-center {
    margin-top: 60px;
}

/* Invisible centered box */
.carousel-box {
    width: 1200px;
    max-width: 100%;
    position: relative;
    margin: 0 auto;   /* 🔥 centers perfectly */

    overflow: hidden;
}

/* Track */
.carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 20s linear infinite;
}

/* Images */
.carousel-img {
    width: 541px;
    height: 988px;
    object-fit: cover;
}
.project-list {
    margin-top: 10px;
    padding-left: 20px;
    font-family: 'Sedan', serif;
}

.project-list li {
    margin-bottom: 8px;
}
/* TITLE */
.publications-title {
    font-size: 48px;
    margin-top: 0px;
    margin-bottom: 40px;
    font-family: 'Sedan', serif;
}

/* CARD */
.publication-card {
    border: 2px solid white;
    padding: 30px 40px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* LEFT SIDE */
.publication-left {
    max-width: 900px;
}

.publication-name {
    font-size: 26px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    margin-bottom: 15px;
}

.publication-desc {
    font-family: 'Sedan', serif;
    font-size: 18px;
    line-height: 1.6;
}

/* RIGHT SIDE */
.publication-right {
    text-align: right;
}

.publication-type {
    font-size: 20px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.publication-date {
    font-size: 16px;
    font-family: 'Sedan', serif;
    margin-top: 5px;
}
/* TITLE */
.ui-title {
    font-size: 48px;
    margin-top: 120px;
    margin-bottom:0px;
    font-family: 'Sedan', serif;
}

.ui-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto; /* smaller spacing */
}

/* BACKGROUND IMAGE */
.ui-bg {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top; /* 🔥 align to top */
}

/* VIDEO POSITION */
.ui-overlay {
    position: absolute;

    top: 83%;     /* adjust slightly */
    left: 23.5%;    /* adjust slightly */

    width: 53%;
    height: auto;
}

/* VIDEO FIT */
.ui-overlay video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
/* TITLE */
.certificates-title {
    font-size: 48px;
    margin-top: 120px;
    margin-bottom: 40px;
    font-family: 'Sedan', serif;
}

/* ITEM */
.certificate-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* LEFT */
.certificate-left {
    max-width: 800px;
}

.certificate-name {
    font-size: 26px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    margin-bottom: 10px;
}

.certificate-desc {
    font-family: 'Sedan', serif;
    font-size: 18px;
    line-height: 1.6;
    width: 100%;
    max-width: 800px;
}

/* RIGHT */
.certificate-right {
    text-align: right;
}

.certificate-company {
    font-size: 20px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}
/* TITLE (same style as other sections) */
.programming-title {
    font-size: 48px;
    margin-top: 120px;
    margin-bottom: 40px;
    font-family: 'Sedan', serif;
}

/* ROW */
.programming-row {
    display: flex;
    justify-content: space-between; /* push to edges */
    align-items: center;
    width: 100%;
}

/* LEFT IMAGE */
.prog-img-left {
    width: 400px;
    height: auto;
    object-fit: contain;
}

/* RIGHT IMAGE */
.prog-img-right {
    width: 500px;
    height: auto;
    object-fit: contain;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: center; /* CENTER EVERYTHING */
    align-items: center;

    padding: 15px 0;

    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);

    z-index: 1000;

    opacity: 0;
    transform: translateY(-20px);
    transition: 0.3s ease;
}
.header.active {
    opacity: 1;
    transform: translateY(0);
}
/* INNER CONTAINER */
.header-inner {
    display: flex;
    align-items: center;
    gap: 40px; /* SAME GAP between logo + menu */

    max-width: 1200px;
    width: 100%;
    justify-content: center;
}

/* LOGO */
.header-logo img {
    width: 80px;
}

/* MENU */
.header-menu {
    display: flex;
    gap: 40px; /* SAME GAP */
}

.header-menu a {
    color: white;
    text-decoration: none;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
    font-size: 17px;
}

.header-menu a:hover {
    text-decoration: underline;
}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
/* ===== SCROLLBAR (Chrome, Edge, Safari) ===== */
::-webkit-scrollbar {
    width: 6px; /* thin */
}

::-webkit-scrollbar-track {
    background: #3D1B1C; /* same as body */
}

::-webkit-scrollbar-thumb {
    background: #888; /* color of the scroll */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* ===== SCROLLBAR (Firefox) ===== */
* {
    scrollbar-width: thin;
    scrollbar-color: #888 #3D1B1C; /* thumb + track */
}
/* SKILLS SECTION */
.skills-title{
font-size:48px;
margin-top:120px;
margin-bottom:40px;
font-family:'Sedan', serif;
}

.skills-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.skill-card{
border:1px solid rgba(255,255,255,0.2);
padding:25px;
border-radius:18px;
background:rgba(255,255,255,0.03);
backdrop-filter:blur(8px);
transition:0.3s ease;
}

.skill-card:hover{
transform:translateY(-8px);
border-color:white;
}

.skill-card h3{
font-size:24px;
margin-bottom:15px;
font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;
}

.skill-card p{
font-size:17px;
line-height:1.6;
font-family:'Sedan', serif;
}
/* ===== TABLET ===== */
@media (max-width: 1024px) {
 
    body {
        overflow-x: hidden;
    }
 
    /* HERO */
    .center {
        height: auto;
        padding: 60px 20px;
    }
 
    .image-wrapper {
        margin-top: 40px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
 
    .main-img {
        width: 60%;
        height: auto;
        z-index: 1;
        transform: translateX(50px);
    }
 
    .side-img {
        position: absolute;
        right: 10px;
        top: 5px;
        width: 150px;
        height: auto;
        transform: none;
    }
 
    .description {
        font-size: 18px;
        padding: 0 20px;
    }
 
    /* EDUCATION */
    .education-section {
        padding: 60px 30px;
    }
 
    .education-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
 
    .edu-image {
        left: 0;
        width: 100%;
        overflow: hidden;
    }
 
    .edu-image img {
        width: 100%;
        height: auto;
    }
 
    .edu-info {
        text-align: center;
        margin-left: 0;
    }
 
    /* WORK */
    .timeline-content {
        flex-direction: column;
        gap: 20px;
    }
 
    .company {
        text-align: left;
    }
 
    /* PROJECTS */
    .project-item {
        flex-direction: column;
        gap: 30px;
    }
 
    .project-right {
        align-items: center;
    }
 
    .project-img1 {
        width: 100%;
        height: auto;
    }
 
    .project-img2 {
        width: 65%;
        height: auto;
        display: block;
        margin-left: auto;
        right: 0;
    }
 
    /* CAROUSEL */
    .carousel-box {
        width: 100%;
        margin: 0 auto;
    }
 
    .carousel-img {
        width: 70vw;
        height: auto;
    }
 
    /* UI SECTION */
    .ui-wrapper {
        margin: 40px auto;
    }
 
    .ui-overlay {
        top: 83%;
        left: 25%;
        width: 50%;
    }
 
    /* PUBLICATIONS */
    .publication-card {
        flex-direction: column;
        gap: 20px;
    }
 
    .publication-right {
        text-align: left;
    }
 
    /* CERTIFICATES */
    .certificate-item {
        flex-direction: column;
        gap: 20px;
    }
 
    /* PROGRAMMING */
    .programming-row {
        flex-direction: column;
        gap: 20px;
    }
 
    .prog-img-left,
    .prog-img-right {
        width: 80%;
    }
 
      .footer {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    }

    .footer img {
        max-height: 100px;
        max-width: 50%; /* prevents image from exceeding half the screen */
        width: auto;
    }
 
    /* FIX: banner overflow on tablet */
    .project-banner img {
        width: 100%;
        height: auto;
        left: 0;
        transform: none;
    }
}
 
/* ===== PHONES ===== */
@media (max-width: 600px) {
 
    body {
        overflow-x: hidden;
    }
 
    /* HEADER */
    .header {
        display: none;
    }
 
    /* TOP LEFT */
    .top-left {
        position: static;
        text-align: left;
        margin: 20px;
    }
 
    .center {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        padding: 0 10px;
        margin-top: -20px;
    }
 
    .image-wrapper {
        margin-top: 20px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 16px;
    }
 
    /* BADER */
    .main-img {
        width: 60%;
        height: auto;
        transform: none;
    }
 
    /* SPONGEBOB */
    .side-img {
        position: absolute;
        right: 1px;
        top: -40px;
        width: 80px;
        height: auto;
        transform: none;
    }
    .carousel-box {
        width: 100%;
        max-width: 800px;
        height: 700px;
        margin: 0 auto;
    }
    .carousel-img {
    width: 400px;
    height: 988px;
    object-fit: cover;
}
 
    /* TEXT */
    .description {
        font-size: 10px;
        text-align: center;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
 
    .edu-image {
        left: 0;
        width: 100%;
        overflow: hidden;
    }
 
    .edu-image img {
        width: 100%;
        margin-left: 0;
        height: auto;
    }
 
    /* TITLES */
    .education-title,
    .work-title,
    .projects-title,
    .ui-title,
    .publications-title,
    .certificates-title,
    .programming-title {
        font-size: 28px;
        text-align: center;
    }
 
    /* TEXT */
    .job-title,
    .project-name {
        font-size: 20px;
    }
 
    .job-desc,
    .project-desc,
    .certificate-desc {
        font-size: 14px;
        width: 100%;
    }
 
    /* TIMELINE */
    .timeline {
        margin-left: 10px;
    }
 
    .timeline-item {
        padding-left: 20px;
    }
 
    /* CAROUSEL */
    .carousel-img {
        width: 85vw;
        height: auto;
    }
 
    /* UI SECTION */
    .ui-overlay {
        top: 83%;
        left: 25%;
        width: 50%;
    }
 
    /* IMAGES */
    .footer img,
    .ui-bg,
    video {
        width: 100%;
        height: auto;
    }
 
    /* FIX: banner overflow on phone */
    .project-banner img {
        width: 100%;
        height: auto;
        left: 0;
        transform: none;
    }
 
    /* FIX: project img2 right offset */
    .project-img2 {
        right: 0;
    }
 
    /* SPACING */
    .education-section {
        padding: 40px 20px;
    }
 
    .footer {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    }

    .footer img {
        max-height: 80px;
        max-width: 45%; /* prevents image from exceeding half the screen */
        width: auto;
    }
 
    .page {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
 
    .content {
        flex: 1;
    }
}
