/* --- RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    margin: 0; padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #050505; 
    overflow-x: hidden; 
    width: 100vw;       
}

/* =========================================
   CUSTOM SCROLLBAR
   ========================================= */
/* Works for Chrome, Safari, and Edge */
::-webkit-scrollbar, .scroller::-webkit-scrollbar {
    width: 8px; /* Sleek and thin */
}

::-webkit-scrollbar-track, .scroller::-webkit-scrollbar-track {
    background: #050505; /* Blends with your dark background */
}

::-webkit-scrollbar-thumb, .scroller::-webkit-scrollbar-thumb {
    background: #333333; /* Subtle dark grey */
    border-radius: 10px;
    border: 2px solid #050505; /* Adds padding inside the track */
}

::-webkit-scrollbar-thumb:hover, .scroller::-webkit-scrollbar-thumb:hover {
    background: #ff0055; /* Your signature red accent on hover */
}

/* Works for Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #333333 #050505;
}

/* =========================================
   GLOBAL HEADER
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5000;
    background: rgba(10, 10, 10, 0.4); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease-in-out; 
}

.site-header.hidden { transform: translateY(-100%); }

.header-left { text-decoration: none; display: flex; align-items: center; }

.logo-text {
    color: #ffffff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text strong { font-weight: 800; }
.logo-text .fw-light { font-weight: 300; opacity: 0.6; font-size: 0.85rem; letter-spacing: 4px; }

.header-right { display: flex; gap: 35px; align-items: center; }

.header-right a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative; 
    transition: color 0.3s ease;
}

.header-right a:hover { color: #ff0055; }

.header-right a::after {
    content: ''; position: absolute; width: 0%; height: 1px;
    bottom: -6px; left: 0; background-color: #ff0055; transition: width 0.3s ease;
}

.header-right a:hover::after { width: 100%; }

/* Hamburger Button (Hidden on Desktop) */
.menu-toggle {
    display: none; flex-direction: column; justify-content: space-between;
    width: 30px; height: 20px; cursor: pointer; z-index: 5001;
}

.menu-toggle .bar {
    height: 2px; width: 100%; background-color: #ffffff; transition: all 0.3s ease;
}

/* --- SCROLL CONTAINER --- */
.scroller {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory; 
    scroll-behavior: smooth;
}

/* --- COMMON SECTION STYLES --- */
section {
    width: 100%;
    height: 100vh; 
    scroll-snap-align: start; 
    position: relative;
    overflow: hidden; 
    padding: 20px; 
}

/* =========================================
   SECTION 1: HOME
   ========================================= */
.page-home {
    background-color: #050505; 
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.film-light-leak {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 90% 10%, rgba(255, 0, 85, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(200, 0, 50, 0.1) 0%, transparent 50%);
    filter: contrast(120%) brightness(110%);
}

.portfolio-container {
    position: relative;
    z-index: 1; 
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 40px;
    width: 90%;
    max-width: 1400px;
    height: 80vh; 
    align-items: center;
}

.col-left, .col-center, .col-right { display: flex; flex-direction: column; height: 100%; }
.col-left { justify-content: space-between; text-align: left; }
.col-center { justify-content: center; }
.col-right { justify-content: space-between; text-align: right; }

.header-group { position: relative; padding-bottom: 20px; }
.main-title { 
    font-size: 4vw; 
    font-weight: 700; 
    line-height: 0.9; 
    text-transform: uppercase; 
    letter-spacing: -1px; 
    text-shadow: 0 0 20px rgba(255, 0, 85, 0.2); 
}
.catchphrase { font-family: 'Georgia', serif; font-style: italic; font-size: 1.2rem; color: #aaaaaa; margin-top: 15px; display: block; }
.header-line { width: 100%; height: 1px; background-color: #444; margin-top: 15px; }

.artist-info { padding-top: 20px; position: relative; }
.name-line { width: 100%; height: 1px; background-color: #444; margin-bottom: 15px; margin-left: auto; }
.artist-info h2 { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.artist-info span { font-size: 1rem; font-weight: 300; color: #888888; font-family: 'Georgia', serif; font-style: italic; display: block; margin-top: 5px; }

.img-box-left, .img-box-center, .img-box-right { width: 100%; position: relative; overflow: visible; }
.img-box-left, .img-box-right { height: 50%; } .img-box-center { height: 100%; }

.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: all 0.6s ease; position: relative; z-index: 1; border: 1px solid rgba(255,255,255,0.1); filter: grayscale(100%) opacity(0.6) contrast(110%); }
.img-box-left:hover .hero-img, .img-box-center:hover .hero-img, .img-box-right:hover .hero-img { opacity: 1; transform: scale(1.02); border-color: rgba(255, 0, 85, 0.4); filter: grayscale(0%) opacity(1) contrast(100%); box-shadow: 0 10px 30px rgba(255, 0, 85, 0.15); }

/* =========================================
   SECTION 2: ABOUT ME
   ========================================= */
.page-about {
    background-color: #ffffff; 
    color: #000000;            
    z-index: 2; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    width: 85%;
    max-width: 1200px;
    height: 70vh;
    gap: 80px;
    align-items: flex-start;
    position: relative;
}

.about-text { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.number-tag { font-size: 1.2rem; font-weight: 500; color: #000; }

.about-title { 
    font-size: 5vw; 
    line-height: 1.1; 
    font-weight: 400; 
    text-transform: uppercase; 
    margin-top: 20px; 
    margin-bottom: auto; 
    cursor: default;
}

.mash-letter {
    display: inline-block; 
    transition: transform 0.1s ease-out, font-weight 0.1s; 
    will-change: transform;
}

.about-desc { font-size: 1.1rem; line-height: 1.8; color: #333; max-width: 450px;text-align: justify; }

.about-images { position: relative; height: 100%; width: 100%; }

.about-img-1, .about-img-2 {
    object-fit: cover;
    filter: grayscale(100%) brightness(0.8) contrast(110%);
    transition: filter 0.5s ease, transform 0.5s ease;
    cursor: pointer;
}

.about-img-1:hover, .about-img-2:hover {
    filter: grayscale(0%) brightness(1) contrast(100%);
    transform: scale(1.02) !important; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
    z-index: 10; 
}

.about-img-1 { position: absolute; top: 0; right: 0; width: 80%; height: 50%; }
.about-img-2 { position: absolute; bottom: 0; left: 10%; width: 30%; height: 55%; z-index: 2; border: 5px solid #fff; }

/* =========================================
   SECTION 3: CAROUSEL
   ========================================= */
.carousel-section {
    z-index: 3;
    width: 100%;
    height: 100vh;
    position: relative;
    background-image: url('../pictures/bg.png'); 
    background-color: #e0d4cc; 
    background-size: cover;
    background-position: center; 
    overflow: hidden; 
    padding: 0 !important; 
}

.carousel-track {
    display: flex;
    width: 200%; 
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.carousel-slide {
    width: 50%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    overflow-y: auto; 
    scrollbar-width: none; 
}

.carousel-slide::-webkit-scrollbar { display: none; }

.slide-skills {
    background: transparent;
    color: #ffffff;
    padding: 20px; 
    display: block; 
}

.skills-text-area {
    position: absolute;
    top: 9%; 
    right: 5%; 
    width: 40%; 
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    text-align: right;
    z-index: 20;
}

.skills-title-large {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 5rem; 
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    margin: 0;
    margin-bottom: 40px; 
    text-transform: capitalize;
    cursor: default;
    display: flex;
    flex-direction: row;
    gap: 2px;
    perspective: 800px; 
    justify-content: flex-end;
}

.skills-desc-p {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    max-width: 500px;
    text-align: justify;
}

.skills-icons-area {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 30; 
    pointer-events: none; 
}

.desktop-icon {
    position: absolute; 
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px; 
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto; 
}

.desktop-icon:hover { transform: scale(1.15); }

.icon-img-box {
    width: 80px;
    height: 80px; 
    margin-bottom: 8px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3)); 
}

.icon-img-box img { width: 100%; height: 100%; object-fit: contain; }

.icon-label {
    font-family: 'Arial', sans-serif;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    border-radius: 4px;
}

.desktop-icon::after {
    content: attr(data-desc); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(5px); 
    width: max-content; max-width: 220px; background: rgba(20, 20, 20, 0.95); border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff; padding: 12px 16px; border-radius: 8px; font-size: 0.85rem; font-family: 'Helvetica Neue', sans-serif;
    text-align: center; line-height: 1.4; pointer-events: none; opacity: 0; visibility: hidden; transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8); z-index: 100;
}
.desktop-icon:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-20px); }

.slide-graphics {
    background-color: #080808; 
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-top: 5vh; 
    padding-bottom: 0;
    overflow: hidden; 
}

.graphics-layout { 
    width: 90%; 
    max-width: 1400px; 
    display: flex; 
    flex-direction: column; 
    margin-bottom: 20px; 
}

.graphics-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding-bottom: 30px; 
    margin-top: 20px; 
}

.gh-left { flex: 1; }
.gh-right { flex: 0.8; text-align: left; }
.graphics-title { font-family: 'Times New Roman', serif; font-size: 5vw; font-weight: 700; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.graphics-tags { font-family: 'Helvetica Neue', sans-serif; font-size: 0.9rem; color: #888; letter-spacing: 1px; text-transform: uppercase; }
.graphics-desc { font-size: 1.1rem; line-height: 1.6; color: #ccc; margin-top: 10px; }

.marquee-wrapper {
    width: 100%; 
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 70vh; 
    padding-bottom: 30px;
    cursor: ew-resize;
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    will-change: transform; 
    padding-left: 5%; 
    align-items: flex-end;
}

.vid-item {
    position: relative;
    height: 60vh; 
    aspect-ratio: 1 / 1; 
    background: #111;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease, box-shadow 0.5s ease;
    z-index: 1; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.marquee-track:hover .vid-item {
    filter: blur(6px) brightness(0.5);
    transform: scale(0.95);
}

.marquee-track .vid-item:hover {
    filter: blur(0px) brightness(1);
    transform: scale(1.15); 
    z-index: 10; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.9); 
}

.vid-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(120%);
    transition: all 0.5s ease;
}

.vid-item:hover video {
    filter: grayscale(0%) contrast(100%);
}

.vid-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem; 
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    z-index: 2;
    pointer-events: none;
    transition: all 0.4s ease;
}

.vid-item:hover .vid-title {
    color: #ffffff;
    -webkit-text-stroke: 0px;
    transform: translateY(-5px);
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    letter-spacing: 2px;
}

.vid-decor-box {
    position: absolute; top: 15%; left: 15%; right: 15%; bottom: 15%;
    border: 1px solid rgba(255, 0, 85, 0.6); opacity: 0; pointer-events: none; transition: all 0.4s ease; z-index: 2;
}
.vid-item:hover .vid-decor-box { opacity: 1; transform: scale(1.05); border-color: #fff; }

.vid-decor-text {
    position: absolute; 
    top: 20px; 
    left: 20px; 
    width: calc(100% - 20px); 
    height: 100%;
    font-family: 'Arial Black', sans-serif;
    font-size: clamp(2.5rem, 6vh, 4.5rem); 
    color: rgba(255,255,255,0.15); 
    font-weight: 900; 
    pointer-events: none; 
    z-index: 1;
    line-height: 0.9;
    white-space: normal; 
    overflow-wrap: break-word; 
    word-break: break-word; 
    overflow: hidden; 
}

.anim-element { opacity: 0; transform: translateY(30px); transition: opacity 1s ease-out, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.anim-element.active { opacity: 1; transform: translateY(0); }

.letter-box { position: relative; display: inline-block; transform-style: preserve-3d; width: auto; min-width: 0.6em; text-align: center; transition: transform 0.3s ease-out; }
.letter-face { display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.letter-front { color: #ffffff; z-index: 2; text-shadow: 0 0 10px rgba(0,0,0,0.5); }
.letter-back { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotateY(180deg); color: #ff0055; text-shadow: 0 0 15px rgba(255, 0, 85, 0.8); }

.nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px;
    border-radius: 50%; 
    background: rgba(0, 0, 0, 0.15); 
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    color: #fff; font-size: 1.5rem;
    display: flex; justify-content: center; align-items: center; cursor: pointer;
    z-index: 100; transition: all 0.3s ease; outline: none;
    opacity: 0.5;
}

.nav-btn:hover { 
    background: rgba(0, 0, 0, 0.8); 
    border-color: #fff; 
    transform: translateY(-50%) scale(1.1); 
    opacity: 1;
}
.nav-prev { left: 40px; }
.nav-next { right: 40px; }

.indicators-bar {
    position: absolute; 
    bottom: 40px; 
    left: 50%; 
    transform: translateX(-50%);
    display: flex; 
    gap: 15px; 
    z-index: 100; 
    padding: 10px 20px;
    background: rgba(0,0,0,0.2); 
    border-radius: 30px; 
    backdrop-filter: blur(4px);
}

.indicator { 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    background: rgba(255, 255, 255, 0.3); 
    cursor: pointer; 
    transition: width 0.5s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0.5s ease; 
}

.indicator.active { 
    background: #ffffff; 
    width: 40px; 
    border-radius: 20px; 
}


/* =========================================
   SECTION 4: CERTIFICATIONS & AWARDS
   ========================================= */
.page-certifications {
    background-color: #e6e3db; 
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 10%; 
    position: relative;
    cursor: default;
}

.cert-main-header {
    width: 100%;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
    display: flex;
    justify-content: flex-start;
}

.cert-main-header h2 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cert-list {
    width: 100%;
}

.cert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
    color: rgba(0, 0, 0, 0.25); 
    transition: color 0.4s ease;
}

.cert-item:hover { color: #000; } 

.cert-item:hover .cert-title {
    font-style: italic;
    transform: translateX(20px); 
}

.cert-title {
    flex: 2;
    font-size: clamp(1.2rem, 2.5vw, 2.2rem); 
    font-weight: 700;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
}

.cert-desc {
    flex: 1.5;
    font-size: 1.0rem; 
    font-weight: 500;
    opacity: 0.8;
}

.cert-arrow {
    flex: 0.2;
    font-size: 1.5rem; 
    text-align: right;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.cert-item:hover .cert-arrow {
    transform: translate(5px, -5px);
}

.hover-img-container {
    position: fixed;
    top: 0; left: 0;
    width: 350px; 
    aspect-ratio: 4/3; 
    pointer-events: none; 
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 500; 
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border-radius: 8px;
}

.hover-img-container.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

#hover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================
   SECTION 5: SERVICES (CLEAN BLUE)
   ========================================= */
.page-services {
    background-color: #92a8c3; /* Soft steel blue from your reference */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 10%;
}

.srv-clean-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.srv-clean-left {
    flex: 1;
    color: #1a365d; /* Dark navy text */
}

.srv-clean-label {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.8;
}

.srv-clean-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
}

.srv-clean-desc {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 450px;
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.srv-fade-text {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.srv-fade-out-text {
    opacity: 0;
    transform: translateY(10px);
}

.srv-clean-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.srv-clean-btn {
    background-color: #4b7da3;
    color: #ffffff;
    border: none;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.srv-clean-btn:hover {
    background-color: #386080;
    transform: translateY(-2px);
}

.srv-dots-container {
    display: flex;
    gap: 12px;
}

.srv-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(26, 54, 93, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.srv-dot.active {
    background-color: #1a365d;
    transform: scale(1.2);
}

.srv-clean-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.srv-clean-img {
    width: 100%;
    /* Made smaller to match reference */
    max-width: 650px; 
    height: auto;
    /* Ensures the full image is visible without cropping */
    object-fit: contain; 
    /* Removed box shadow/radius as they look odd on transparent images */
    /* border-radius: 16px; */
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.15); */
    transition: opacity 0.4s ease;
}

.srv-fade-out {
    opacity: 0 !important;
}

/* =========================================
   SECTION 6: CONTACT / FOOTER
   ========================================= */
.site-contact-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 100px 5% 40px 5%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 50vh; /* Keeps it proportionate */
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Giant Serif Headers matching the reference */
.footer-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1;
}

.footer-details {
    display: flex;
    gap: 30px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
}

.footer-details a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-details a:hover {
    opacity: 0.6;
}

.social-links {
    gap: 20px;
}

/* Right-aligned Navigation */
.right-align {
    align-items: flex-end;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}

.footer-nav li a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-nav li a:hover {
    color: #888888;
}

/* The red text accent from the reference image */
.footer-nav li a.highlight-link {
    color: #c92a2a; 
}
/* Resume Download Button */
.resume-dl-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    width: max-content; /* Keeps button nicely wrapped around text */
}

.resume-dl-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Bottom Legal Row */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 25px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left {
    display: flex;
    gap: 40px;
}

.footer-bottom-left a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-bottom-left a:hover {
    opacity: 0.6;
}

/* =========================================
   EDITORIAL GALLERY MODAL
   ========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px);
    z-index: 1000; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.minimal-modal-container {
    background: #ffffff; 
    width: 90%; max-width: 1400px; height: 85vh; 
    border-radius: 0px; 
    display: flex; flex-direction: column; position: relative;
    transform: scale(0.95); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 50px; box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    color: #000;
}

.modal-overlay.active .minimal-modal-container { transform: scale(1); }

.minimal-close {
    position: absolute; top: 20px; right: 30px;
    font-size: 2rem; color: #000; background: none; border: none; 
    cursor: pointer; transition: color 0.2s; z-index: 10;
}
.minimal-close:hover { color: #ff0055; }

.minimal-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 10px; 
    position: relative; width: 100%; flex-shrink: 0;
    order: 1; 
}

.minimal-header h2 {
    font-size: clamp(3rem, 5vw, 6rem); 
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 800; text-transform: uppercase; color: #000; 
    letter-spacing: 1px; margin: 0; line-height: 1;
}

#modal-title-left { width: 40%; text-align: left; }
#modal-title-center { width: 50%; text-align: left; }

.vertical-date {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.2rem; font-weight: 500; text-align: center; 
    line-height: 1.2; letter-spacing: 2px; color: #000; width: 10%;
}

.drive-btn-container { 
    display: flex; justify-content: flex-start; 
    margin-bottom: 30px; flex-shrink: 0; 
    order: 2; 
}

.minimal-drive-btn {
    background: transparent; border: 1.5px solid #000; color: #000;
    padding: 8px 20px; 
    border-radius: 0; text-decoration: none; 
    font-size: 0.8rem; 
    font-weight: 700; text-transform: uppercase; 
    transition: all 0.3s ease; letter-spacing: 1px;
}
.minimal-drive-btn:hover { background: #000; color: #fff; }

.minimal-grid-wrapper { 
    flex: 1; 
    width: 100%; 
    overflow-y: auto; 
    overflow-x: hidden;
    padding-right: 15px; 
    margin-bottom: 10px;
    display: block; 
    order: 3; 
}

.minimal-grid-wrapper::-webkit-scrollbar { width: 4px; }
.minimal-grid-wrapper::-webkit-scrollbar-track { background: transparent; }
.minimal-grid-wrapper::-webkit-scrollbar-thumb { background: #000; border-radius: 10px; }
.minimal-grid-wrapper::-webkit-scrollbar-thumb:hover { background: #ff0055; }

.minimal-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); 
    gap: 15px; width: 100%; 
    height: auto; 
}

.minimal-media-item {
    width: 100%; 
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    background: #f0f0f0; 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer; 
}
.minimal-media-item:hover { 
    transform: scale(1.02); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


/* =========================================
   LIGHTBOX MODAL (ENLARGED YOUTUBE VIEW)
   ========================================= */
.lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(10px);
    z-index: 2000; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}

.lightbox-overlay.active { opacity: 1; visibility: visible; }

.lightbox-close {
    position: absolute; top: 30px; right: 40px;
    font-size: 2.5rem; color: #fff; background: none; border: none;
    cursor: pointer; transition: color 0.2s ease; z-index: 2010;
}

.lightbox-close:hover { color: #ff0055; transform: scale(1.1); }

.lightbox-content {
    width: 90%; max-width: 1200px; height: 90vh;
    display: flex; justify-content: center; align-items: center;
    position: relative;
}

.lightbox-content img, .lightbox-content video {
    max-width: 100%; max-height: 100%;
    object-fit: contain; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.1);
}


/* =========================================
   MOBILE RESPONSIVENESS MAIN PAGE & MODALS
   ========================================= */
@media (max-width: 900px) {
    html, body { max-width: 100vw; overflow-x: hidden; }
    .scroller { height: auto; overflow-y: auto; scroll-snap-type: none; }
    section { height: auto; min-height: 100vh; padding: 40px 20px; display: block; overflow: visible;}
    .carousel-section { height: 100vh; overflow: hidden; padding: 0 !important; }
    .carousel-slide { overflow-y: scroll; padding-bottom: 80px; } 

    .portfolio-container { display: flex; flex-direction: column; height: auto; gap: 30px; margin-top: 60px; }
    .img-box-left, .img-box-center, .img-box-right { height: 350px; width: 100%; }
    .main-title { font-size: 3.5rem; margin-bottom: 20px; }
    .col-left, .col-center, .col-right { height: auto; margin-bottom: 30px; }
    .about-layout { display: flex; flex-direction: column; height: auto; gap: 40px; margin-top: 40px; }
    .about-images { height: 500px; width: 100%; margin-top: 0; }

    /* SKILLS MOBILE */
    .slide-skills { display: flex; flex-direction: column; align-items: center; padding: 60px 20px; }
    .skills-text-area { position: relative; top: auto; right: auto; left: auto; width: 100%; align-items: center; text-align: center; margin-bottom: 40px; }
    .skills-title-large { font-size: 3rem; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
    .skills-desc-p { max-width: 100%; font-size: 0.95rem; }
    .skills-icons-area { position: relative; top: auto; left: auto; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding-bottom: 120px; pointer-events: auto; }
    .desktop-icon { position: relative; top: auto !important; left: auto !important; width: 80px; margin: 0; }
    .icon-img-box { width: 60px; height: 60px; }

    /* GRAPHICS MOBILE */
    .slide-graphics { padding: 80px 20px; justify-content: flex-start; } 
    .graphics-header { flex-direction: column; gap: 20px; margin-top: 0; }
    .marquee-wrapper { padding-bottom: 100px; height: auto; align-items: flex-start; }
    .vid-item { height: auto; width: 280px; }
    
    /* CONTROLS MOBILE */
    .nav-btn { width: 40px; height: 40px; font-size: 1rem; }
    .nav-prev { left: 10px; }
    .nav-next { right: 10px; }

    /* CERTIFICATIONS MOBILE */
    .page-certifications { padding: 80px 5%; height: auto; min-height: 100vh;}
    .cert-item { flex-direction: column; align-items: flex-start; gap: 5px; padding: 25px 0; }
    .cert-item:hover .cert-title { transform: none; font-style: normal; } 
    .cert-title { white-space: normal; line-height: 1.1; font-size: 1.2rem; padding-right: 0;}
    .cert-desc { font-size: 0.9rem; margin-top: 5px;}
    .cert-arrow { display: none; } 
    .hover-img-container { display: none; } 

    /* SERVICES MOBILE (CLEAN BLUE) */
    .page-services { padding: 80px 5%; height: auto; min-height: 100vh; }
    .srv-clean-container { flex-direction: column; text-align: center; gap: 40px; }
    .srv-clean-desc { max-width: 100%; margin: 0 auto 30px auto; }
    .srv-clean-controls { align-items: center; width: 100%; }
    .srv-clean-right { justify-content: center; width: 100%; }
    .srv-clean-img { max-width: 320px; }

    /* EDITORIAL MODAL MOBILE */
    .minimal-modal-container { padding: 30px 20px; height: 90vh; }
    .minimal-close { top: 15px; right: 15px; background: rgba(255,255,255,0.9); width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; }
    .minimal-header { flex-direction: column; gap: 5px; margin-bottom: 20px; padding-right: 50px; order: 1; }
    #modal-title-left, #modal-title-center { width: 100%; font-size: clamp(2rem, 10vw, 3rem); line-height: 0.9; }
    .vertical-date { display: none; }
    .minimal-grid-wrapper { order: 2; margin-bottom: 0; }
    .minimal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .drive-btn-container { order: 3; justify-content: center; margin-bottom: 0; margin-top: 15px; width: 100%; }
    .minimal-drive-btn { width: 100%; text-align: center; font-size: 0.9rem; padding: 15px; }

    /* GLOBAL HEADER MOBILE */
    .site-header { padding: 15px 5%; }
    .header-right { gap: 15px; }
    .header-right a { font-size: 0.85rem; }
    /* Hide the text on very small screens to save space, keeping just the dot */
    @media (max-width: 400px) { .logo-text { display: none; } }
    
    /* CONTACT FOOTER MOBILE */
    .site-contact-footer { padding: 60px 5% 30px 5%; }
    .footer-top { flex-direction: column; gap: 50px; }
    .footer-title { font-size: 4rem; }
    .footer-details { flex-direction: column; gap: 10px; }
    .right-align { align-items: flex-start; }
    .footer-nav { text-align: left; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
    .footer-bottom-left { flex-direction: column; gap: 15px; }

    /* GLOBAL HEADER MOBILE */
    /* GLOBAL HEADER MOBILE */
    .site-header { padding: 15px 5%; }
    
    .menu-toggle { display: flex; }
    
    .header-right {
        position: fixed;
        top: 0;
        right: -100%; /* Hides menu off screen */
        width: 100vw;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        z-index: 5000;
    }

    .header-right.active { right: 0; }
    .header-right a { font-size: 1.5rem; letter-spacing: 4px; }
    
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

}