:root {
    --navy-dark: #090d16;
    --navy-header: #0f172a;
    --card-bg: #1e293b;
    --border-grey: #334155;
    --accent-red: #ef4444;
    --accent-red-hover: #dc2626;
    --text-white: #f8fafc;
    --text-slate: #94a3b8;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-main: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--navy-dark);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Banner / Hero Section */
.hero-banner {
    background: var(--navy-header);
    position: relative;
    padding: 80px 20px;
    border-bottom: 1px solid var(--border-grey);
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 460px;
}

/* Height variations */
.hero-banner.height-compact {
    min-height: 320px;
    padding: 50px 20px;
}

.hero-banner.height-standard {
    min-height: 460px;
    padding: 80px 20px;
}

.hero-banner.height-tall {
    min-height: 620px;
    padding: 120px 20px;
}

.banner-backdrop {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: filter 0.3s ease;
}

.banner-overlay-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: background 0.3s ease;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Alignment variations */
.hero-banner.text-align-left .hero-container {
    align-items: flex-start;
    text-align: left;
}

.hero-banner.text-align-center .hero-container {
    align-items: center;
    text-align: center;
}

.hero-banner.text-align-right .hero-container {
    align-items: flex-end;
    text-align: right;
}

.banner-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.container-badge {
    padding: 6px 16px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    display: inline-block;
    backdrop-filter: blur(4px);
}

.project-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.project-type-tag {
    font-size: 1.15rem;
    color: var(--text-slate);
    font-weight: 500;
    max-width: 800px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Main Content Layout */
.content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    flex: 1 0 auto;
}

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

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--border-grey);
    padding-bottom: 12px;
}

.section-title-wrap h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    position: relative;
}

.section-title-wrap h2::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-red);
    border-radius: 2px;
}

/* Info Cards Flex Grid */
.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.info-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 68, 68, 0.4);
}

.info-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-red);
    margin-bottom: 8px;
}

.info-card-details {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.5;
}

/* Body Content Section Card */
.body-section-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.body-main-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
}

.body-sub-title {
    font-size: 1.05rem;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 16px;
}

.body-content-text {
    font-size: 1rem;
    color: var(--text-slate);
    line-height: 1.7;
    white-space: pre-line;
}

/* Scope Accordions */
.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.accordion-item.active {
    border-color: var(--accent-red);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-slate);
    transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--accent-red);
}

.accordion-content {
    display: none;
    padding: 0 24px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-item.active .accordion-content {
    display: block;
}

.scope-details {
    padding-top: 16px;
    font-size: 0.975rem;
    color: var(--text-slate);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Image Gallery Inside Accordion */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.gallery-card {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-grey);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: var(--text-white);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

/* Always-Visible Red Play Badge for Video Gallery Items */
.video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ef4444;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease;
}

.gallery-card:hover .video-play-badge {
    transform: translate(-50%, -50%) scale(1.15);
    background: #dc2626;
    box-shadow: none;
}

.gallery-card.is-video img {
    filter: brightness(0.92);
}

.gallery-card.is-video:hover img {
    filter: brightness(1);
    transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-grey);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2.5rem;
    color: var(--text-white);
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: var(--accent-red);
}

/* Sub-Footer (FOOKAZ Notice) */
.display-footer {
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 20px;
    text-align: center;
    background-color: var(--navy-header);
    margin-top: auto;
}

.footer-container p {
    font-size: 0.875rem;
    color: var(--text-slate);
    margin: 0;
}

.footer-container strong {
    color: var(--text-white);
}

/* Not Found Page */
.not-found-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.not-found-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-main);
}

.not-found-box svg {
    color: var(--accent-red);
    margin-bottom: 16px;
}

.not-found-box h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.not-found-box p {
    color: var(--text-slate);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 60px 16px;
        min-height: 360px;
    }
    .project-title {
        font-size: 2rem;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Global Client Header Styling */
.global-client-header {
    width: 100%;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.global-client-header.is-sticky {
    position: sticky;
    top: 0;
}

.global-header-container {
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
}

.global-header-container.mode-boxed {
    max-width: 1280px;
}

.global-header-container.mode-full {
    max-width: 100%;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.header-logo-img {
    max-height: 44px;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease, border-radius 0.2s ease;
}

.header-logo-img.shape-square {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
}

.header-logo-img.shape-circle {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
}

.header-logo-img.shape-pill {
    padding: 2px 10px;
    object-fit: contain;
    border-radius: 30px;
}

.header-brand:hover .header-logo-img {
    transform: scale(1.03);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav-list > li {
    position: relative;
}

.header-nav-list a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease, opacity 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Navigation Submenu Dropdown */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.header-nav-list > li:hover > .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu.anim-slide {
    transform: translateY(12px);
}
.header-nav-list > li:hover > .nav-dropdown-menu.anim-slide {
    transform: translateY(4px);
}

.nav-dropdown-menu.anim-scale {
    transform: scale(0.92);
}
.header-nav-list > li:hover > .nav-dropdown-menu.anim-scale {
    transform: scale(1);
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu a {
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.nav-dropdown-menu a:hover {
    padding-left: 20px;
}

.header-nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: width 0.25s ease;
}

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

.header-actions-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, filter 0.2s ease;
}

.header-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    filter: brightness(1.15);
}

.header-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.header-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.08);
}

/* Global Client Footer Styling */
.global-client-footer {
    width: 100%;
    padding: 56px 32px 36px 32px;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.global-footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.global-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.footer-col-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--accent-red);
    border-radius: 2px;
}

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

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    transform: translateX(4px);
    opacity: 0.9;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.925rem;
    line-height: 1.5;
}

/* Mobile Header & Slide-out Nav Drawer */
.mobile-header-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.mobile-top-cta-btn {
    text-decoration: none;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-top-cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    color: inherit;
}

.mobile-nav-toggle .hamburger-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: currentColor;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 290px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-drawer-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.mobile-drawer-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

.mobile-drawer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-drawer-nav > li > a {
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-drawer-nav > li.active > a {
    font-weight: 700;
}

.mobile-drawer-nav > li > a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.drawer-dropdown-menu {
    list-style: none;
    margin: 4px 0 4px 16px;
    padding: 0 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.drawer-dropdown-menu a {
    text-decoration: none;
    font-size: 0.925rem;
    padding: 6px 8px;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.drawer-dropdown-menu a:hover {
    opacity: 1;
}

.mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.mobile-drawer-btn {
    text-decoration: none;
    text-align: center;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    display: block;
    transition: opacity 0.2s ease;
}

.mobile-drawer-btn:hover {
    opacity: 0.9;
}

.mobile-drawer-social {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .global-header-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 14px 20px !important;
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }

    .header-nav,
    .header-call-btn-wrap,
    .header-social-wrap,
    .header-actions-wrap,
    .header-custom-widget {
        display: none !important;
    }

    .mobile-header-actions {
        display: flex !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
    }

    .global-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Smooth Scroll Reveal Animations (Slide-in / Fade-up on scroll) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px) scale(0.985);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered entrance delays for grid items */
.scroll-reveal-delay-1 { transition-delay: 0.06s; }
.scroll-reveal-delay-2 { transition-delay: 0.12s; }
.scroll-reveal-delay-3 { transition-delay: 0.18s; }
.scroll-reveal-delay-4 { transition-delay: 0.24s; }

/* Fallback for no-js */
@media (scripting: none) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
