:root {
    --bg-light: #f5f3f0;
    --bg-beige: #F2F1ED;
    --text-dark: #333;
    --text-light: #fff;
    --accent-color: #d4c4b5;
    --transition-speed: 1s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header and Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header.scrolled {
    background-color: var(--bg-beige);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 5px;
    color: var(--text-light);
    flex-shrink: 0;
}

.header.scrolled .logo {
    color: var(--text-dark);
}

.nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    /* Push navigation to the right */
}

/* Mobile Navigation Toggle */
.mobile-nav-btn {
    display: none !important;
    /* Force hide on desktop */
    cursor: pointer;
    z-index: 2001;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
}

.hamburger {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    position: relative;
    transition: all 0.3s ease;
}

/* Ensure visibility on hero background if not scrolled */
.header:not(.scrolled) .hamburger {
    background-color: var(--text-light);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: inherit;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #111111;
    /* Changed to sleek dark */
    z-index: 9999;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    padding: 100px 40px 40px;
    overflow-y: auto;
}

.mobile-overlay.active {
    display: flex !important;
    /* Shown only when active */
}

.mobile-close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 45px;
    font-weight: 200;
    cursor: pointer;
    color: #ffffff;
    /* Changed to white */
    z-index: 10000;
    line-height: 1;
}

.mobile-nav-links {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 20px;
}

.mobile-nav-item {
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    letter-spacing: 4px;
    font-weight: 400;
    text-transform: uppercase;
}

/* Mobile Accordion */
.mobile-accordion {
    display: flex;
    flex-direction: column;
}

.mobile-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mobile-accordion-header span {
    font-size: 20px;
    letter-spacing: 4px;
    font-weight: 400;
    text-transform: uppercase;
}

.mobile-accordion-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.mobile-accordion.active .mobile-accordion-icon {
    transform: rotate(180deg);
}

.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
    opacity: 0;
}

.mobile-accordion.active .mobile-accordion-content {
    max-height: 600px;
    margin-top: 30px;
    opacity: 1;
}

.mobile-sub-link {
    text-decoration: none;
    color: #cccccc;
    /* Lighter grey for contrast */
    font-size: 15px;
    letter-spacing: 2px;
    font-weight: 300;
    text-transform: uppercase;
}

.mobile-menu-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 40px;
    margin-top: 50px;
}

.mobile-menu-footer p {
    font-size: 12px;
    letter-spacing: 2px;
    color: #aaaaaa;
    /* Lighter color for dark background */
    margin-bottom: 15px;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .nav {
        display: none !important;
    }

    .mobile-nav-btn {
        display: flex !important;
    }

    .header {
        padding: 20px 30px;
        background-color: transparent;
        /* Keep transparent initially */
    }

    .header .logo {
        color: #000000  !important;
        /* Ensure logo is white on mobile header */
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        /* Add shadow for visibility on light images */
    }

    .header .hamburger {
        background-color: #000000  !important;
        /* Ensure hamburger is white */
    }
}

.nav a,
.dropbtn {
    text-decoration: none;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 2px;
    transition: opacity 0.3s ease;
}

.nav>a,
.nav>.dropdown {
    margin-left: 30px;
}

.header.scrolled .nav a,
.header.scrolled .dropbtn {
    color: var(--text-dark);
}

.nav a:hover,
.dropbtn:hover {
    opacity: 0.7;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-beige);
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 1001;
    padding: 15px 0;
}

/* Bridge the gap between button and content */
.dropdown-content::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 100px;
    display: block;
    z-index: -1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-dark) !important;
    padding: 10px 25px;
    text-decoration: none;
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 400;
    margin-left: 0;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.8);
    padding-left: 30px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slideshow {
    height: 100%;
    display: flex;
    width: 400%;
    /* Number of slides * 100% */
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
    width: 25%;
    /* 100% / number of slides */
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 80px;
    text-align: center;
    color: var(--text-light);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.5s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.project-title {
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
    font-weight: 300;
}

.quote {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 200;
}

.description {
    font-size: 10px;
    font-weight: 200;
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: 1px;
}

/* Arrow Navigation */
.nav-arrows {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 20px;
    z-index: 10;
}

.arrow-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.arrow-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Projects Section */
.projects-section {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.projects-section .container {
    max-width: 100%;
    padding: 0 50px;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-title {
    font-size: 1.3rem;
    letter-spacing: 6px;
    font-weight: 200;
    margin-bottom: 30px;
    color: #333;
    text-transform: uppercase;
}

.section-desc {
    font-size: 11px;
    color: #444;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.5px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.project-card {
    background: none;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
}

.card-image-box {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #e0e0e0;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover .card-image-box img {
    transform: scale(1.03);
}

.card-info {
    padding: 25px 0 0 0;
    text-align: left;
}

.card-info h3 {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #333;
    line-height: 1.5;
}

.card-info p {
    font-size: 10px;
    color: #666;
    font-weight: 300;
    line-height: 1.8;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .header {
        padding: 20px;
    }

    .logo {
        font-size: 18px;
    }

    .nav {
        display: none;
    }
}

/* Carousel Section */
.carousel-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.carousel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.carousel-header .line {
    height: 1px;
    width: 50px;
    background-color: var(--text-dark);
    opacity: 0.3;
}

.carousel-title {
    font-size: 14px;
    letter-spacing: 5px;
    font-weight: 300;
}

.carousel-viewport {
    position: relative;
    width: 100%;
    padding: 0 0 0 50px;
    /* Left aligned with the header margin */
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel-item {
    flex: 0 0 calc(25% - 15px);
    /* 4 items per view */
    min-width: 300px;
    position: relative;
    cursor: pointer;
}

.carousel-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: brightness(0.9);
    transition: all 0.5s ease;
}

.carousel-item:hover img {
    filter: brightness(1.1);
}

.item-info {
    padding-top: 15px;
    text-align: center;
}

.item-title {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 300;
    color: #555;
    text-transform: uppercase;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: #f8f8f8;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

/* Specifically center buttons on the images of the project cards */
.projects-section .carousel-nav {
    top: 40%;
}

@media (max-width: 1200px) {
    .carousel-item {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(50% - 10px);
    }

    .carousel-viewport {
        padding: 0 20px;
    }
}

/* About Page Specific Styles */
.about-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-beige);
    text-align: center;
    padding-top: 100px;
}

.split-section {
    display: flex;
    min-height: 80vh;
    width: 100%;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    background-color: var(--bg-beige);
}

.split-content h2 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 30px;
    color: #555;
    text-transform: uppercase;
}

.split-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    max-width: 500px;
}

.people-section {
    padding: 100px 0;
    background-color: white;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.person-card {
    text-align: left;
}

.person-img-box {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: #eee;
    margin-bottom: 20px;
}

.person-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s ease;
}

.person-card:hover .person-img-box img {
    filter: grayscale(0);
}

.person-info h4 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.person-info p {
    font-size: 12px;
    color: #888;
    font-weight: 300;
}

.person-email {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    color: var(--accent-color);
    text-decoration: none;
}

@media (max-width: 992px) {

    .split-section,
    .split-section.reverse {
        flex-direction: column;
    }

    .split-image {
        height: 50vh;
    }
}

/* People Section Spacing */
.people-section {
    padding: 120px 50px;
    /* Standardized 50px horizontal padding */
}

@media (max-width: 576px) {
    .people-section {
        padding: 50px 20px;
        /* Specific mobile padding */
    }

    .people-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Projects Page Grid */
.projects-full-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
    margin-top: 60px;
}

.project-item {
    text-align: left;
}

.project-img-box {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 20px;
}

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-item:hover .project-img-box img {
    transform: scale(1.05);
}

.project-meta {
    margin-top: 15px;
}

.project-meta h3 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.project-meta p {
    font-size: 11px;
    color: #888;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* News Page Grid */
.news-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
    margin-top: 60px;
}

.news-item {
    text-align: left;
}

.news-img-box {
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.news-item:hover .news-img-box img {
    opacity: 0.9;
}

.news-info h3 {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.4;
}

.news-info p {
    font-size: 11px;
    color: #666;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.news-info h3 a,
.news-info p a,
.news-info h3 a:hover,
.news-info h3 a:focus,
.news-info p a:hover,
.news-info p a:focus {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 992px) {
    .news-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-full-grid {
        grid-template-columns: 1fr;
    }

    .news-full-grid {
        grid-template-columns: 1fr;
    }
}

/* Career Page Styles */
.career-hero {
    height: 100vh;
    display: flex;
    width: 100%;
}

.career-left {
    flex: 1;
    background-image: url('');
    background-size: cover;
    background-position: center;
}

.career-right {
    flex: 1;
    background-color: var(--bg-beige);
    padding: 120px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.career-title {
    font-size: 28px;
    letter-spacing: 8px;
    font-weight: 300;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.career-intro {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 60px;
    max-width: 500px;
}

.job-list {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.job-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.job-item:hover {
    padding-left: 10px;
}

.job-title {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 400;
}

.job-icon {
    font-size: 20px;
    font-weight: 200;
}

/* Contact Page Styles */
.contact-container {
    padding: 150px 0;
    background-color: var(--bg-beige);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-info {
    max-width: 600px;
}

.contact-title {
    font-size: 24px;
    letter-spacing: 10px;
    margin-bottom: 50px;
    font-weight: 200;
}

.contact-details p {
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #555;
}

.contact-details a {
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 2px;
}

/* Header Navigation Alignment */
.nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    /* Push desktop nav to the right */
}

/* Mobile Navigation Styles */
.mobile-nav-btn {
    display: none !important;
    /* Force hide on desktop */
    cursor: pointer;
    z-index: 2001;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
}

.hamburger {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    position: relative;
    transition: all 0.3s ease;
}

/* Ensure visibility on hero background if not scrolled */
.header:not(.scrolled) .hamburger {
    background-color: var(--text-light);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: inherit;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-beige);
    z-index: 9999;
    /* Ensure it is above everything */
    display: none;
    /* Hidden by default */
    flex-direction: column;
    padding: 80px 40px 40px;
    overflow-y: auto;
}

.mobile-overlay.active {
    display: flex !important;
    /* Shown only when active */
}

.mobile-close-btn {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 45px;
    font-weight: 200;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 10000;
    line-height: 1;
}

.mobile-nav-links {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 20px;
    letter-spacing: 4px;
    font-weight: 400;
    text-transform: uppercase;
}

/* Mobile Accordion */
.mobile-accordion {
    display: flex;
    flex-direction: column;
}

.mobile-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mobile-accordion-header span {
    font-size: 20px;
    letter-spacing: 4px;
    font-weight: 400;
    text-transform: uppercase;
}

.mobile-accordion-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.mobile-accordion.active .mobile-accordion-icon {
    transform: rotate(180deg);
}

/* Header and Nav Links Color - SET TO BLACK */
.nav a,
.dropbtn {
    text-decoration: none;
    color: #000 !important;
    /* Pure black */
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 2px;
    transition: opacity 0.3s ease;
}

.header.scrolled .nav a,
.header.scrolled .dropbtn {
    color: #000 !important;
}

.nav a:hover,
.dropbtn:hover {
    opacity: 0.7;
}

/* Ensure Logo also transitions to black */
.logo a,
.logo {
    color: var(--text-light);
    /* Initial white on hero */
}

.header.scrolled .logo a,
.header.scrolled .logo {
    color: #000 !important;
}

/* Dropdown Content Links also black */
.dropdown-content a {
    color: #000 !important;
}

/* Mobile nav items also black */
.mobile-nav-item,
.mobile-accordion-header span {
    color: #000 !important;
}

.mobile-sub-link {
    color: #444 !important;
}

/* People Section Desktop Spacing */
.people-section {
    padding: 120px 50px;
    /* Added 50px horizontal padding for desktop */
}

@media (max-width: 576px) {
    .people-section {
        padding: 50px 20px;
        /* Kept 20px for mobile */
    }
}

/* Projects Grid Transition to Carousel on Home */
.projects-section {
    padding: 120px 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.projects-section .carousel-viewport {
    padding: 0 0 0 50px;
}

.projects-section .carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.projects-section .project-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 320px;
}

.projects-section .carousel-nav {
    top: auto;
    bottom: -80px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .nav {
        display: none !important;
    }

    .mobile-nav-btn {
        display: flex !important;
    }

    .header {
        padding: 20px 30px;
    }

    /* Career Mobile Tweaks */
    .career-hero {
        flex-direction: column;
        height: auto;
        display: flex;
        padding-top: 0;
    }

    .career-left {
        height: 50vh;
        min-height: 400px;
        width: 100%;
        order: -1;
        /* Image on top */
    }

    .career-right {
        padding: 60px 30px 100px;
        text-align: center;
        background-color: var(--bg-beige);
    }

    .career-title {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /* Force logo and burger to be visible if over white bg */
    .header:not(.scrolled) .logo a,
    .header:not(.scrolled) .logo,
    .header:not(.scrolled) .hamburger {
        color: #ffffff !important;
    }

    /* Except when truly over the hero (first section) */
    .career-page .header:not(.scrolled) .logo a,
    .career-page .header:not(.scrolled) .logo,
    .career-page .header:not(.scrolled) .hamburger {
        color: #000000 !important;
    }
}

/* News Detail Page Styles */
.news-detay-hero {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-detay-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detay-hero .hero-overlay-logo {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    max-width: 400px;
}

.news-detay-intro {
    background-color: #F1EFE9;
    padding: 80px 20px;
    text-align: center;
}

.news-detay-date {
    font-size: 11px;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 30px;
    display: block;
}

.news-detay-title {
    font-size: 24px;
    letter-spacing: 5px;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    text-transform: uppercase;
}

.news-detay-content {
    background-color: white;
    padding: 100px 50px;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-text {
    font-size: 15px;
    line-height: 2;
    color: #444;
    font-weight: 300;
    margin-bottom: 40px;
    text-align: center;
}

.content-image {
    width: 100%;
    margin: 60px 0;
}

.content-image img {
    width: 100%;
    height: auto;
}

/* Related Sections */
.related-section {
    padding: 100px 50px;
    background-color: #F9F9F9;
    text-align: center;
}

.related-header {
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 400;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.related-header::before,
.related-header::after {
    content: "—";
    margin: 0 15px;
    color: #ccc;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Fix news-item as link */
.news-item {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.news-item:hover {
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .news-detay-hero {
        height: 60vh;
    }

    .news-detay-title {
        font-size: 18px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}