/* Resume Download Button */
.resume-download-btn {
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 10px 24px;
    display: inline-block;
    background: none;
    transition: border-color 0.2s, color 0.2s;
    color: #fff;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
}
.resume-download-btn:hover {
    border-color: #f4a261;
    color: #f4a261;
}

/* Dot Pagination Indicator */
.dot-pagination {
    position: fixed;
    bottom: 40px;
    right: 60px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    pointer-events: auto;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(163, 228, 215, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(163, 228, 215, 0.4);
    position: relative;
}

.dot:hover {
    background: rgba(163, 228, 215, 0.7);
    transform: scale(1.2);
}

.dot::before {
    content: attr(data-label);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(76, 209, 55, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-family: 'Syne', sans-serif;
    letter-spacing: 0.01em;
}

.dot:hover::before {
    opacity: 1;
}

.dot.active {
    background: #4cd137;
    border-color: #4cd137;
    box-shadow: 0 0 10px rgba(76, 209, 55, 0.6);
}
/* Contact Email and Socials */
.email-link {
    font-size: 2rem;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
    z-index: 1;
    display: inline-block;
}
.email-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    pointer-events: none;
}
.email-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 4px;
    background: #f4a261;
    border-radius: 2px;
    transform: scaleY(0.2);
    transition: transform 0.22s cubic-bezier(.4,0,.2,1);
    transform-origin: bottom;
    pointer-events: none;
    z-index: 0;
}
.email-link:hover {
    /* Only animate underline, no text color change */
}
.email-link:hover::before {
    transform: scaleY(1);
}

.contact-socials-list .social-link {
    font-family: 'Syne', sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    border-radius: 6px;
    padding: 2px 8px;
    transition: background 0.18s, color 0.18s;
    position: relative;
    display: inline-block;
}
.contact-socials-list .social-link {
    font-family: 'Syne', sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    border-radius: 6px;
    padding: 2px 8px;
    transition: color 0.18s;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.contact-socials-list .social-link:hover {
    color: #f4a261;
}
.contact-socials-list .social-link i {
    font-size: 1.15rem;
    margin-right: 6px;
    vertical-align: middle;
}
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    font-family: "Syne", sans-serif;
}

:root {
    --side-offset: 60px;
}

/* Weather Widget */
.weather-widget {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    margin: 0 auto;
    text-align: center;
    z-index: 100;
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    color: #d4d9d0;
    opacity: 0.85;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 1.25em;
}

.weather-main {
    display: flex;
    gap: 4px;
    align-items: center;
}

.weather-location {
    font-size: clamp(0.65rem, 0.9vw, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0.9;
}

.weather-time {
    font-size: clamp(0.65rem, 0.9vw, 0.75rem);
    font-weight: 500;
    opacity: 0.85;
}

.weather-display {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.weather-icon-temp {
    display: flex;
    align-items: center;
    gap: 3px;
}

.weather-icon {
    font-size: clamp(0.9rem, 1.3vw, 1rem);
}

.weather-temp {
    font-size: clamp(0.75rem, 1.1vw, 0.85rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.weather-condition {
    font-size: clamp(0.65rem, 0.9vw, 0.75rem);
    font-weight: 400;
    opacity: 0.9;
}

.weather-date {
    font-size: clamp(0.6rem, 0.85vw, 0.7rem);
    font-weight: 400;
    opacity: 0.8;
}

/* Main Navigation Menu - Only visible on first page */
.main-nav {
    position: fixed;
    top: 40px;
    right: 60px;
    display: none;
    gap: 35px;
    z-index: 100;
    font-family: "Syne", sans-serif;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease, transform 0.3s ease-out;
}

.nav-item {
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    font-weight: 500;
    color: #a3e4d7;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
    letter-spacing: 0.02em;
    opacity: 0.8;
}

.nav-item:hover {
    color: #4cd137;
    opacity: 1;
}

.nav-item:hover::after {
    display: none;
}

.nav-item.active {
    color: #d4d9d0;
    opacity: 1;
}

.nav-item.active::after {
    display: none;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: "Syne", sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 500;
    color: #a3e4d7;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4cd137;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #4cd137;
}

.email-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 4px;
    background: #f4a261;
    border-radius: 2px;
    transform: scaleX(0.2);
    transition: transform 0.22s cubic-bezier(.4,0,.2,1);
    transform-origin: left;
    pointer-events: none;
    z-index: 0;
}
.email-link:hover {
    color: #f4a261;
}
.email-link:hover::after {
    transform: scaleX(1);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(76, 209, 55, 0.6) rgba(37, 56, 48, 0.5);
}

/* Custom Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(76, 209, 55, 0.8);
    width: 0%;
    z-index: 1000;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(76, 209, 55, 0.5);
}

/* Custom Cursor Effect Styles */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(76, 209, 55, 0.9);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

.cursor-follower {
    position: fixed;
    width: 35px;
    height: 35px;
    border: 2px solid rgba(163, 228, 215, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

.cursor.hover {
    width: 5px;
    height: 5px;
    background: rgba(163, 228, 215, 0.9);
}

.cursor-follower.hover {
    width: 55px;
    height: 55px;
    border-color: rgba(76, 209, 55, 0.8);
}

@media (hover: none) {
    .cursor, .cursor-follower {
        display: none;
    }
}

.landing-page {
    width: 100vw;
    height: 100vh;
    background: #253830;
    position: relative;
}

/* Large "Hi there" background text */
.hi-there-bg {
    position: absolute;
    top: 27%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(8rem, 20vw, 18rem);
    font-weight: 900;
    color: rgba(80, 80, 80, 0.08);
    font-family: "Syne", sans-serif;
    z-index: 3;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
}

/* Foreground image behind leaves - RESPONSIVE */
.bennet-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40vw;
    height: auto;
    max-width: 1300px;
    min-width: 400px;
    opacity: 0.20;
    z-index: 5;
    pointer-events: none;
    filter: saturate(1.1) contrast(1.05);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    display: flex;
    align-items: flex-start;
    z-index: 3000;
    pointer-events: auto;
    background: rgba(37, 56, 48, 0.92); /* semi-transparent for visibility */

    box-sizing: border-box;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    font-family: "Syne", sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 2.5rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #d4d9d0;
    line-height: 1.2;
    display: flex;
    
}

.social-icons {
    position: absolute;
    bottom: 8%; 
    left: var(--side-offset);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.social-icons a {
    color: #808080;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    transition: transform 0.2s, color 0.2s;
}

.social-icons a:hover {
    color: #a0a0a0;
    transform: scale(1.2);
}

/* Falling Leaves Animation */
#leaves {
    position: absolute;
    top: -50px;
    width: 100%;
    text-align: right;
    z-index: 4;
    pointer-events: none;
}

#leaves i {
    display: inline-block;
    width: 200px;
    height: 150px;
    background: linear-gradient(to bottom right, #309900, #005600);
    transform: skew(20deg);
    border-radius: 10% 50% 80% 20%;
    box-shadow: inset 0px 0px 1px #222;
    border: 1px solid #333;
    z-index: 1;
    animation: falling 20s 0s infinite;
}

#leaves i:nth-of-type(2n) { animation: falling2 18s 0s infinite; }
#leaves i:nth-of-type(3n) { animation: falling3 21s 0s infinite; }
#leaves i:nth-of-type(4n) { animation: falling4 25s 0s infinite; }
#leaves i:nth-of-type(5n) { animation: falling5 19s 0s infinite; }

#leaves i:before {
    position: absolute;
    content: '';
    top: 117px;
    right: 9px;
    height: 27px;
    width: 32px;
    transform: rotate(49deg);
    border-radius: 10% 50% 80% 20%;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    border-left: 0px solid #222;
    border-right: 1px solid #222;
    background: linear-gradient(to right, rgba(0,100,0,1), #005600);
    z-index: 1;
}

#leaves i:after {
    content: '';
    height: 125px;
    width: 10px;
    background: linear-gradient(to right, rgba(0,0,0,.15), rgba(0,0,0,0));
    display: block;
    transform: rotate(125deg);
    position: absolute;
    left: 85px;
    border-radius: 50%;
}

/* Different leaf sizes */
#leaves i:nth-of-type(6n) { height: 28px; width: 35px; }
#leaves i:nth-of-type(6n):before { width: 8px; height: 6px; top: 20px; right: 2px; }
#leaves i:nth-of-type(6n):after { width: 3px; height: 20px; left: 15px; top: 0px; }

#leaves i:nth-of-type(6n+1) { height: 15px; width: 20px; }
#leaves i:nth-of-type(6n+1):before { width: 5px; height: 4px; top: 10px; right: 1px; }
#leaves i:nth-of-type(6n+1):after { width: 2px; height: 8px; left: 7px; top: 1px; }

#leaves i:nth-of-type(6n+2) { height: 32px; width: 40px; }
#leaves i:nth-of-type(6n+2):before { width: 10px; height: 7px; top: 23px; right: 2px; }
#leaves i:nth-of-type(6n+2):after { width: 3px; height: 22px; left: 17px; top: 0px; }

#leaves i:nth-of-type(6n+3) { height: 12px; width: 15px; }
#leaves i:nth-of-type(6n+3):before { width: 4px; height: 3px; top: 8px; right: 0px; }
#leaves i:nth-of-type(6n+3):after { width: 2px; height: 7px; left: 6px; top: 1px; }

#leaves i:nth-of-type(6n+4) { height: 25px; width: 32px; }
#leaves i:nth-of-type(6n+4):before { width: 7px; height: 5px; top: 18px; right: 1px; }
#leaves i:nth-of-type(6n+4):after { width: 3px; height: 18px; left: 13px; top: 0px; }

#leaves i:nth-of-type(6n+5) { height: 18px; width: 24px; }
#leaves i:nth-of-type(6n+5):before { width: 6px; height: 4px; top: 13px; right: 1px; }
#leaves i:nth-of-type(6n+5):after { width: 2px; height: 12px; left: 10px; top: 0px; }

/* Animation delays */
#leaves i:nth-of-type(n) { animation-delay: 0s; }
#leaves i:nth-of-type(2n) { animation-delay: 2.5s; }
#leaves i:nth-of-type(3n) { animation-delay: 5s; }
#leaves i:nth-of-type(4n) { animation-delay: 1.2s; }
#leaves i:nth-of-type(5n) { animation-delay: 7.5s; }
#leaves i:nth-of-type(6n) { animation-delay: 3.8s; }
#leaves i:nth-of-type(7n) { animation-delay: 6.2s; }
#leaves i:nth-of-type(8n) { animation-delay: 4.5s; }
#leaves i:nth-of-type(9n) { animation-delay: 8.8s; }
#leaves i:nth-of-type(10n) { animation-delay: 1.8s; }
#leaves i:nth-of-type(11n) { animation-delay: 9.2s; }
#leaves i:nth-of-type(12n) { animation-delay: 3.2s; }
#leaves i:nth-of-type(13n) { animation-delay: 5.7s; }
#leaves i:nth-of-type(14n) { animation-delay: 2.1s; }
#leaves i:nth-of-type(15n) { animation-delay: 6.9s; }
#leaves i:nth-of-type(16n) { animation-delay: 4.2s; }
#leaves i:nth-of-type(17n) { animation-delay: 7.8s; }
#leaves i:nth-of-type(18n) { animation-delay: 1.5s; }
#leaves i:nth-of-type(19n) { animation-delay: 8.3s; }
#leaves i:nth-of-type(20n) { animation-delay: 3.6s; }

/* Different green shades */
#leaves i:nth-of-type(n) { background: #4cd137; }
#leaves i:nth-of-type(3n+1) { background: linear-gradient(to bottom right, #4a9900, #1a5600); }
#leaves i:nth-of-type(3n+2) { background: #2f7d32; }
#leaves i:nth-of-type(5n+1) { background: linear-gradient(to bottom right, #228B22, #014421); }
#leaves i:nth-of-type(7n+1) { background: linear-gradient(to bottom right, #3d6b3d, #1a4d1a); }

/* Varying opacity for depth */
#leaves i:nth-of-type(n) { opacity: 0.1; }
#leaves i:nth-of-type(4n+1) { opacity: 0.13; }
#leaves i:nth-of-type(4n+2) { opacity: 0.15; }
#leaves i:nth-of-type(4n+3) { opacity: 0.2; }

#leaves i:nth-of-type(n) { transform: rotate(180deg); }
#leaves i:nth-of-type(n) { animation-timing-function: ease-in-out; }

/* Falling animations */
@keyframes falling {
    0% {
        transform: translate3d(500px, 0, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-450px, 1200px, 0) rotate(180deg);
        opacity: 0;
    }
}

@keyframes falling2 {
    0% {
        transform: translate3d(300px, 0, 0) rotate(90deg);
    }
    100% {
        transform: translate3d(-550px, 1100px, 0) rotate(-90deg);
        opacity: 0;
    }
}

@keyframes falling3 {
    0% {
        transform: translate3d(200px, 0, 0) rotate(-20deg);
    }
    100% {
        transform: translate3d(-380px, 1300px, 0) rotate(-200deg);
        opacity: 0;
    }
}

@keyframes falling4 {
    0% {
        transform: translate3d(400px, 0, 0) rotate(45deg);
    }
    100% {
        transform: translate3d(-500px, 1250px, 0) rotate(270deg);
        opacity: 0;
    }
}

@keyframes falling5 {
    0% {
        transform: translate3d(600px, 0, 0) rotate(-45deg);
    }
    100% {
        transform: translate3d(-300px, 1150px, 0) rotate(135deg);
        opacity: 0;
    }
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 768px) {
    .navbar {
        top: 20px;
        left: 30px;
    }
    
    .weather-widget {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
    
    .main-nav {
        top: 90px;
        right: 30px;
        gap: 15px;
    }
    
    .social-icons {
        bottom: 5%;
        left: 30px;
        gap: 15px;
    }
    
    .bennet-image {
        width: 60vw;
        min-width: 300px;
    }
    
    .hi-there-bg {
        font-size: clamp(5rem, 15vw, 10rem);
    }
}

@media (min-width: 1920px) {
    .bennet-image {
        width: 35vw;
    }
}