@font-face {
    font-family: "PP Mori";
    src: url('./ppmori-regular.woff2') format('woff2');
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PP Mori", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    color: #fff;
}

html, body {
    height: 100%;
    width: 100%;
}

#purple{
    height: 100vh;
    width: 100vw;
    top: 0;
    position: fixed;
    z-index: 100;
    background-color: #EDBFFF;
    opacity: 0;
    display: none;
    transition: opacity ease 1s;
}

.cursor{
    height: 20px;
    width: 20px;
    border-radius: 50%;
    position: fixed;
    background-color: #EDBFFF;
    z-index: 8;
    transition: background-image ease 0.5s;
    background-position: center;
    background-size:cover ;
    mix-blend-mode: difference;
}

.main{
    background-color: #0F0D0D;
    cursor: none;
}

.page1{
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 9;
    padding-top: 12vw;
}

#nav{
    height: 55px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: fixed;
    mix-blend-mode: difference;
    z-index:102;
}

#nav img{
    height: 50px;
}

#nav-part2{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#nav #circle{
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-color: #fff;
}

#nav h4{
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

#nav h4:nth-child(1){
    border-bottom: 1.5px solid #fff;
}

.page1 h1{
    padding-top: 30px;
    font-size: 8vw;
    font-weight: 300;
    font-family: "PP Mori", Arial, sans-serif;
    margin-left: 6vw;
    transform-origin: left;
}

.page1 h2{
    font-size: 8vw;
    font-weight: 300;
    transform-origin: left;
    padding-top: 35px;
    margin-left: 17vw;
}

.page1 p{
    text-align: center;
    padding-top: 10px;
}

.page1 #image{
    width: 60%;
    margin-top: 10vw;
    position: relative;
    left: 50%;
    transform: translate(-50%,0);
}

.page2{
    min-height: 90vh; /* INCREASED from 80vh */
    width: 100%;
    padding: 100px 5vw 120px 5vw; /* ADDED bottom padding */
    position: relative;
    z-index: 9;
}

.page2 h1{
    font-size:7vw;
    font-weight: 500;
    color: #111;
    margin-bottom: 60px; /* ADDED margin bottom */
}

.page2-container{
    height: auto; /* CHANGED from 60vh to auto */
    min-height: 40vh; /* ADDED min-height */
    width: 100%;
    display: flex;
    align-items: flex-start; /* CHANGED from center to flex-start */
    justify-content: space-between;
    gap: 40px; /* ADDED gap */
}


.page2-left{
    width: 40%;
}

.page2-right {
    width: 45%;
    padding-left: 30px;
}

.page2-left h2{
    font-size: 2.2vw;
    font-weight: 300;
    color: #111;
    line-height: 3.5vw;
}

.page2-right h2 {
    font-size: 3vw;
    color: #111;
    padding-bottom: 20px;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 900;
}

.page2-right p{
    font-size: 28px;
    color: #111;
}

.page2-right button{
    width: 100%;
    border-radius: 50px;
    border: none;
    padding: 4px 0;
    background-color: #EDBFFF;
    color: #111;
    margin-top: 20px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.experience-item {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 25px;
    transition: all 0.2s ease;
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-item:hover {
    padding-left: 15px;
}

.job-title {
    font-size: 1.3vw;
    font-weight: 600;
    color: #111;
    margin-bottom: 5px;
}

.company-name {
    font-size: 1.1vw;
    color: #666;
    font-weight: 400;
    margin-bottom: 8px;
}

.job-duration {
    font-size: 0.9vw;
    color: #999;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Skills Marquee Section */
#skills-marquee {
    min-height: 15vh;
    width: 100%;
    background-color: #fff;
    padding: 4vw 0;
    position: relative;
    border-top: 2px solid #6c6c6c;
    border-bottom: 2px solid #6c6c6c;
}

#moving-text {
    overflow-x: hidden;
    white-space: nowrap;
}

#moving-text::-webkit-scrollbar {
    display: none;
}

.con {
    white-space: nowrap;
    display: inline-block;
    animation-name: move;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#moving-text h1 {
    font-size: 6vw;
    display: inline-block;
    color: #111;
    font-weight: 500;
}

.gola {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: inline-block;
    background-color: #6c6c6c;
    margin: 0.5vw 2vw;
}

@keyframes move {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.page3{
    min-height: 100vh;
    width: 100%;
    padding-top: 0;
    position: relative;
    z-index: 9;
}

.page3 h1{
    font-size: 6.8vw;
    font-weight: 300;
    color: white;
    padding:5vw;
}

.page3-part1{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.page3-part1 img{
    height: 400px;
    margin-top: 160px;
}

.page3-part1 #image1{
    height: 400px;
    margin-top: 40px;
}

.page4{
    min-height: 100vh;
    width: 100%;
    z-index: 9;
    position: relative;
    padding: 170px 100px;
}

.elem{
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.elem img{
    position: absolute;
    opacity: 0;
    transition: all ease-out 0.5s;
    transform: translateY(10%) rotate(2deg);
}

.elem img:nth-child(1){
    left: 2%;
}

.elem img:nth-child(3){
    right: 5%;
}

.text-div{
    height: 16vh;
    position: relative;
    z-index: 9;
    overflow: hidden;
}

.elem h1{
    font-size: 7.5vw;
    font-weight: 600;
    transition: all ease-out 0.5s;
}

.elem:hover h1{
    transform: translateY(-100%);
    color: #EDBFFF;
}

.elem:hover img{
    opacity: 1;
    transform: translateY(0%) rotate(0deg);
}

.page5{
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 9;
    padding: 140px 100px;
}

.page5 h2{
    font-size: 4vw;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 50px;
}

.box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding: 0 20px;
    border-top: 2px solid #dadada;
}

.page5 a.box {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.box:nth-last-child(1){
    border-bottom: 2px solid #dadada;
}

/* FIXED FOOTER FOR WINDOWS DESKTOP */
footer {
    width: 100%;
    background-color: #fff;
    padding: 60px 40px;
    position: relative;
    display: block !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}


.footer-left, .footer-right {
    flex: 1;
}

.footer-center {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.footer-section h3 {
    font-size: 1.2vw;
    font-weight: 600;
    color: #111;
    margin-bottom: 2vw;
    letter-spacing: 0.5px;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links li {
    margin-bottom: 1.5vw;
}

.social-links li a {
    display: flex;
    align-items: center;
    gap: 1vw;
    font-size: 3vw;
    font-weight: 400;
    color: #111;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links li a i {
    font-size: 2.5vw;
    color: #111;
}

.social-links li a:hover {
    color: #666;
    transform: translateX(10px);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.connect-section {
    margin-top: 4vh;
}

.connect-section h1 {
    font-size: 6vw;
    font-weight: 700;
    color: #111;
    text-align: right;
    margin: 0;
    letter-spacing: -2px;
}

.email {
    font-size: 1.4vw;
    font-weight: 500;
    color: #111;
    margin: 0;
    letter-spacing: 1px;
}

.connect-section a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.connect-section a:hover {
    opacity: 0.7;
    transform: scale(1.02);
}

.connect-section a h1 {
    font-size: 6vw;
    font-weight: 700;
    color: #111;
    text-align: right;
    margin: 0;
    letter-spacing: -2px;
    cursor: pointer;
}

/* Add to your CSS */
:root {
    --vh: 1vh;
}

/* Replace 100vh with: */
.page1, .page3, .page4, .page5 {
    min-height: calc(var(--vh) * 100);
}


/* Large Desktop and Laptop screens */
@media (max-width: 1440px) {
    .page1 h1, .page1 h2 {
        font-size: 7vw;
    }
    
    .page2 h1 {
        font-size: 6vw;
    }
    
    .page3 h1 {
        font-size: 6vw;
    }
}

/* Standard Desktop and Laptops */
@media (max-width: 1200px) {
    .page1 {
        padding-top: 15vw;
    }
    
    .page1 h1, .page1 h2 {
        font-size: 8vw;
    }
    
    .page1 #image {
        width: 65%;
        margin-top: 8vw;
    }
    
    .page2 {
        padding: 80px 4vw;
    }
    
    .page2 h1 {
        font-size: 7vw;
    }
    
    .page3 h1 {
        font-size: 7vw;
    }
    
    .page3-part1 img {
        height: 350px;
        margin-top: 140px;
    }
    
    .page3-part1 #image1 {
        height: 350px;
        margin-top: 35px;
    }
    
    .page5 {
        padding: 120px 80px;
    }
    
    .connect-section h1 {
        font-size: 7vw;
    }
}

/* Tablets and Small Laptops */
@media (max-width: 1024px) {
    .page1 {
        padding-top: 18vw;
    }
    
    .page1 h1, .page1 h2 {
        font-size: 9vw;
    }
    
    .page1 #image {
        width: 70%;
        margin-top: 10vw;
    }
    
    .page2-container {
        height: auto;
        flex-direction: column;
        gap: 30px;
    }
    
    .page2-left {
        width: 100%;
    }
    
    .page2-right {
        width: 100%;
        padding-left: 0;
    }
    
    .page2-left h2 {
        font-size: 3vw;
        line-height: 4.5vw;
    }
    
    .page2-right h2 {
        font-size: 4vw;
    }
    
    .job-title {
        font-size: 2.5vw;
    }
    
    .company-name {
        font-size: 2.2vw;
    }
    
    .job-duration {
        font-size: 2vw;
    }
    
    .page3 h1 {
        font-size: 8vw;
    }
    
    .page3-part1 {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .page3-part1 img {
        height: 280px;
        margin-top: 20px;
        width: 85%;
        object-fit: cover;
    }
    
    .page3-part1 #image1 {
        height: 280px;
        margin-top: 20px;
    }
    
    footer {
        height: auto;
        min-height: 70vh;
        padding: 4vh 3vw 8vh 3vw;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 4vh;
        padding-top: 4vh;
    }
    
    .footer-left {
        order: 1;
    }
    
    .footer-right {
        order: 2;
        align-items: flex-start;
    }
    
    .footer-center {
        order: 3;
    }
    
    .connect-section {
        margin-top: 3vh;
    }
    
    .connect-section h1 {
        font-size: 10vw;
        text-align: left;
    }
}

/* Tablets Portrait */
@media (max-width: 768px) {
    #nav {
        padding: 0 20px;
    }
    
    #nav img {
        height: 40px;
    }
    
    .cursor {
        display: none;
    }
    
    .main {
        cursor: auto;
    }
    
    .page1 {
        padding-top: 20vw;
    }
    
    .page1 h1, .page1 h2 {
        font-size: 12vw;
        margin-left: 6vw;
    }
    
    .page1 h2 {
        margin-left: 8vw;
        padding-top: 20px;
    }
    
    .page1 #image {
        width: 80%;
        margin-top: 12vw;
    }
    
    .page2 {
        padding: 60px 4vw;
    }
    
    .page2 h1 {
        font-size: 10vw;
    }
    
    .page2-left h2 {
        font-size: 4.5vw;
        line-height: 6vw;
    }
    
    .page2-right h2 {
        font-size: 6vw;
    }
    
    .job-title {
        font-size: 4vw;
    }
    
    .company-name {
        font-size: 3.5vw;
    }
    
    .job-duration {
        font-size: 3vw;
    }
    
    #skills-marquee {
        padding: 6vw 0;
    }
    
    #moving-text h1 {
        font-size: 8vw;
    }
    
    .gola {
        height: 35px;
        width: 35px;
        margin: 1vw 2vw;
    }
    
    .page3 h1 {
        font-size: 9vw;
        padding: 6vw;
    }
    
    .page5 {
        padding: 60px 20px;
    }
    
    .page5 h2 {
        font-size: 7vw;
    }
    
    .box {
        flex-direction: column;
        height: auto;
        padding: 20px;
        text-align: center;
        gap: 10px;
    }
    
    .box h3 {
        font-size: 4.5vw;
    }
    
    .box h4 {
        font-size: 3.5vw;
    }
    
    footer {
        height: auto;
        min-height: 60vh;
        padding: 4vh 4vw 6vh 4vw;
    }
    
    .footer-section h3 {
        font-size: 4vw;
        margin-bottom: 3vw;
    }
    
    .social-links li a {
        font-size: 5vw;
    }
    
    .social-links li a i {
        font-size: 4vw;
    }
    
    .connect-section h1 {
        font-size: 12vw;
        text-align: left;
    }
    
    .email {
        font-size: 3.5vw;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .page1 {
        padding-top: 25vw;
    }
    
    .page1 h1, .page1 h2 {
        font-size: clamp(2rem, 8vw, 4rem);
        margin-left: 5vw;
    }
    
    .page1 h2 {
        margin-left: 8vw;
    }
    
    .page1 #image {
        width: 90%;
        margin-top: 15vw;
    }
    
    .page2 {
        padding: 50px 3vw;
    }
    
    .page2 h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}
    
    .page2-left h2 {
        font-size: 5vw;
        line-height: 7vw;
    }
    
    .page2-right h2 {
        font-size: 7vw;
    }
    
    .job-title {
        font-size: 4.5vw;
    }
    
    .company-name {
        font-size: 4vw;
    }
    
    .job-duration {
        font-size: 3.5vw;
    }
    
    .page3 h1 {
        font-size: 11vw;
        padding: 6vw 4vw;
    }
    
    .page3-part1 img {
    height: auto;
    max-height: clamp(250px, 30vh, 400px);
    width: 100%;
    object-fit: cover;
}

    .page3-part1 #image1 {
        height: 220px;
    }
    
    .page5 {
        padding: 50px 15px;
    }
    
    .page5 h2 {
        font-size: 8vw;
    }
    
    footer {
        height: auto;
        min-height: 50vh;
        padding: 3vh 3vw 5vh 3vw;
    }
    
    .connect-section h1 {
        font-size: clamp(3rem, 8vw, 6rem);
    }
}

/* Very Small Phones */
@media (max-width: 320px) {
    .page1 h1, .page1 h2 {
        font-size: 16vw;
    }
    
    .page2-left h2 {
        font-size: 6vw;
        line-height: 8vw;
    }
    
    .connect-section h1 {
        font-size: 18vw;
    }
}

/* Windows Desktop FINAL FIX */
@media (min-width: 1025px) {
    footer {
        height: auto !important;
        min-height: 85vh !important;
        padding: 4vh 5vw 10vh 5vw !important;
    }
    
    .footer-container {
        padding-top: 4vh !important;
        min-height: 65vh !important;
    }
    
    .connect-section h1 {
        font-size: 5vw !important;
    }
    
    body {
        overflow-x: hidden;
    }
}

/* BIG DESKTOP FIXES (1600px+ screens) */
@media (min-width: 1600px) {
    /* Fix About Me spacing */
    .page2 {
        min-height: 90vh !important;
        padding: 120px 5vw 150px 5vw !important;
    }
    
    .page2 h1 {
        font-size: 6vw !important;
        margin-bottom: 80px !important;
    }
    
    .page2-container {
        height: auto !important;
        min-height: 50vh !important;
        gap: 60px !important;
    }
    
    .page2-left h2 {
        font-size: 2vw !important;
        line-height: 3.2vw !important;
        margin-bottom: 40px !important;
    }
    
    /* Fix Footer for Big Desktop */
    footer {
        height: 100vh !important;
        min-height: 100vh !important;
        padding: 8vh 5vw 0 5vw !important;
        align-items: flex-start !important;
    }
    
    .footer-container {
        padding-top: 12vh !important;
        min-height: 70vh !important;
        gap: 40px;
    }
    
    .connect-section h1 {
        font-size: 4vw !important;
    }
    
    /* Ensure main content doesn't overlap footer */
    .main {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* ULTRA WIDE DESKTOP FIXES (1920px+ screens) */
@media (min-width: 1920px) {
    .page2 {
        padding: 150px 8vw 200px 8vw !important;
    }
    
    .page2-container {
        gap: 80px !important;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    footer {
        height: 100vh !important;
        padding: 10vh 8vw 0 8vw !important;
    }
    
    .footer-container {
        max-width: 1400px;
        margin: 0 auto;
        padding-top: 15vh !important;
    }
}

/* WINDOWS HIGH DPI SCREENS FIX */
@media (min-width: 1400px) and (min-height: 900px) {
    footer {
        position: relative !important;
        bottom: 0 !important;
        height: 100vh !important;
        min-height: 100vh !important;
        padding: 6vh 5vw 20vh 5vw !important;
    }
    
    body {
        overflow-x: hidden !important;
    }
    
    html {
        overflow-x: hidden !important;
    }
}

/* Make navigation more touch-friendly */
@media (max-width: 768px) {
    #nav {
        padding: 10px 20px;
        height: 60px; /* Increase from 55px */
    }
    
    #nav img {
        height: 45px; /* Increase from 40px */
    }
    
    #circle {
        height: 24px; /* Increase from 18px */
        width: 24px;
    }
}

@media (min-width: 1366px) and (max-width: 1920px) {
    footer {
        padding: 80px 60px;
    }
    
    .footer-container {
        max-width: 1400px;
        gap: 60px;
    }
}