/* ZZM Design Group - Main Stylesheet */

/* ── URW GOTHIC FONT ── */
@font-face { font-family: 'URWGothic'; src: url('fonts/URWGothic-Book.otf') format('opentype'), url('fonts/URWGothic-Book.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'URWGothic'; src: url('fonts/URWGothic-BookOblique.otf') format('opentype'), url('fonts/URWGothic-BookOblique.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'URWGothic'; src: url('fonts/URWGothic-Demi.otf') format('opentype'), url('fonts/URWGothic-Demi.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'URWGothic'; src: url('fonts/URWGothic-DemiOblique.otf') format('opentype'), url('fonts/URWGothic-DemiOblique.ttf') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }

:root {
    --primary-red: #fc1f14;
    --primary-blue: #280e71;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'URWGothic', 'Century Gothic', 'Futura', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    background: #BDD8EB;
}

@media (max-width: 768px), (-webkit-min-device-pixel-ratio: 2) {
    body {
        font-family: 'URWGothic', 'Century Gothic', 'Futura', sans-serif;
        font-weight: 400; 
    }

    /* Keep intentionally bold elements at correct weight */
    h1, h2, h3, h4,
    .logo, .logo-footer,
    .hero-title,
    .card-label,
    .nav-menu a,
    button, .btn,
    .submit-btn, .gate-btn,
    .apply-btn-inline {
        font-weight: 700;
    }

    strong, b {
        font-weight: 600;
    }
}


/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease; 
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav .nav-menu a.active,
nav .nav-menu li a.active {
    color: var(--primary-red) !important;
    transition: none !important;
}
.nav-menu a.active::after {
    width: 100%;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-red);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

/*Image alt text css*/
img {
    font-size: 0.75rem;
    color: rgba(0,0,0,0.4);
}

/* Hero Image Management */
/*
.hero-image {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
*/

.hero-image-index {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-image.active {
    opacity: 1;
}

.hero-image-index.active {
    opacity: 1;
}

/* Hero Navigation Buttons */
.hero-nav {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 100;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(252, 31, 20, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.hero-nav-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .hero-nav {
        bottom: 1rem;
        right: 1rem;
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero2 {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    animation: zoomIn 20s ease-in-out infinite alternate;
}

.hero-image-index {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.hero-image2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    animation: zoomIn 20s ease-in-out infinite alternate;
}


.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

.hero-text {
    max-width: 800px; /*600px original*/
    margin-top: 80px;
}

.expertise-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.expertise-list li {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -1px;
    opacity: 0.95;
    transition: var(--transition);
    cursor: default;
}

.expertise-list li a {
    color: inherit; /* Inherit the white color from parent li */
    text-decoration: none; /* Remove underline */
    display: block; /* Make the entire li clickable */
    cursor: pointer; /* Show pointer cursor */
}

.expertise-list li:hover,
.expertise-list li a:hover {
    color: var(--primary-red);
    transform: translateX(10px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Main Headline Content */ 



/* Main Content Sections */
.section {
    padding: 6rem 3rem;
    max-width: 100%;/* 1400px; */
    margin: 0 auto;
}

.section-title {
    color: var(--text-dark);
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 300;
}

.section-headline {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: -1px;
}

.section-subheadline {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 300;
}

.services-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

.services-headline {
    color: var(--text-light);
    font-size: 3rem;
    margin-top: 10rem;
    font-weight: 300;
    letter-spacing: -1px;
    text-align: center;
}

.services-text {
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 auto;
}

.highlight {
    color: var(--primary-red);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.value-item {
    padding: 2rem;
    background: var(--bg-light);
    border-left: 3px solid var(--primary-red);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    padding: 3rem 2rem;
    background: white;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}



.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Leader Section */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.leader-member {
    text-align: center;
}

.leader-member img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    transition: var(--transition);
}

.leader-member:hover img {
    filter: grayscale(0%);
}

.leader-member h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.leader-member p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Leader Member Image Placeholder */
.leader-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0e0e0 100%);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.leader-image-placeholder::before {
    content: '👤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 0.3;
}

.leader-member:hover .leader-image-placeholder {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
}

.leader-member:hover .leader-image-placeholder::before {
    opacity: 0.5;
    color: white;
}

/* Portfolio Gallery */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;    
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns:  repeat(4, 1fr);
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.contact-details p {
    color: var(--text-gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    font-family: 'URWGothic', 'Century Gothic', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn {
    padding: 1rem 3rem;
    background: var(--primary-red);
    color: white;
    border: none;
    font-family: 'URWGothic', 'Century Gothic', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.btn:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ── FOOTER ── */
footer {
    background: #001D3B;
    color: #fff;
    padding: 3.5rem 4rem 3.5rem;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 0rem;
}
.footer-bottom {
    margin-top: 2rem;
    /*font-size: 0.85rem;
    color: rgba(255,255,255,0.45);*/
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}
.footer-brand p {
    font-size: 1rem;
    line-height: 1.75;
    opacity: 0.75;
}
.footer-contact-col p {
    font-size: 0.95rem;
    opacity: 0.75;
    line-height: 1.8;
}
.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.footer-contact-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    font-size: 0.85rem;
    white-space: nowrap; /* keeps "Contact Info" on one line */
    flex-shrink: 0;      /* prevents it from shrinking */
    padding-top: 0.1rem;
}
.footer-contact-details {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    opacity: 0.75;
    line-height: 1.8;
    gap: 0.1rem;
}
.footer-brand .logo-footer {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    color: #fff;
    text-decoration: none;
}
.footer-brand .logo-footer span { color: #fc1f14; }

@media (max-width: 768px) {
    footer { padding: 3rem 1.5rem 2rem; }
    .footer-contact-col p { white-space: normal; }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .leader-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leader-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 2rem;
    }
    
    .nav-menu {
        display: none;
    }

    .logo {
        font-size: 1rem !important;
        letter-spacing: 0px !important;
    }
    
    .section {
        padding: 4rem 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .expertise-list li {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }

    .leader-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .leader-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════
SERVICE PAGES — shared styles
used by architecture.html, bim.html,
engineering.html, mne.html, contract.html,
pmc.html, landscape.html, planning.html,
infrastructure.html
══════════════════════════════════════ */

.hero-service {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-service .hero-bg-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #0d1b2a 0%, #1a2a3a 60%, #0f3460 100%);
}
.hero-service .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    animation: slowZoom 20s ease-in-out infinite alternate;
}
.hero-service::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(73,118,159,0.2) 0%, rgba(0,30,58,0.8) 80%);
    z-index: 1;
}
.hero-service-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 900px;
}
.hero-service-content h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 1.25rem;
}
.hero-service-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Overview */
.service-overview {
    background: #BDD8EB;
    padding: 5rem 6.25rem;
}
.service-overview-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.service-overview h2 {
    font-size: 2.5rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #001D3B;
    line-height: 1;
    margin-bottom: 1.25rem;
}
.service-overview p {
    font-size: 1rem;
    color: #001D3B;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 1rem;
}
.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.service-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #001D3B;
    opacity: 0.85;
    line-height: 1.5;
}
.service-feature-item::before {
    content: '→';
    color: #49769F;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.service-overview-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}
.service-overview-img-fallback {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #001D3B, #49769F);
    border-radius: 15px;
}

/* Projects grid section */
.service-projects {
    background: #BDD8EB;
    padding: 0 6.25rem 5rem;
}
.service-projects-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 5rem;
}
.service-projects-header h2 {
    font-size: 2.5rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #001D3B;
    line-height: 1;
    margin-bottom: 0.75rem;
}
.service-projects-header p {
    font-size: 1rem;
    color: #001D3B;
    opacity: 0.75;
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
    grid-auto-flow: dense;
}
.portfolio-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: #001D3B;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.portfolio-card.wide { grid-column: span 2; }
.portfolio-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
    filter: brightness(0.9);
    background: #001D3B;
}
.portfolio-card.wide .portfolio-card-img { height: 320px; }
.portfolio-card:hover .portfolio-card-img {
    transform: scale(1.05);
    filter: brightness(0.6);
}
.portfolio-card-fallback {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #1a2a3a, #2a3a4a);
}
.portfolio-card.wide .portfolio-card-fallback { height: 320px; }
.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    background: linear-gradient(to top, rgba(0,29,59,0.92) 0%, transparent 60%);
    transition: background 0.4s ease;
}
.portfolio-card:hover .portfolio-card-overlay {
    background: linear-gradient(to top, rgba(0,29,59,0.97) 0%, rgba(0,29,59,0.3) 100%);
}
.portfolio-card-category {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7CBCE8;
    margin-bottom: 0.35rem;
}
.portfolio-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}
.portfolio-card-location { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.portfolio-card-view {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    width: 54px; height: 54px;
    background: rgba(124,188,232,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #001D3B;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.portfolio-card:hover .portfolio-card-view {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.portfolio-card.hidden { display: none; }

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
}
.lightbox-overlay.open { display: flex; }
.lightbox-inner {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: #001D3B;
    border-radius: 15px;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-img-wrap {
    position: relative;
    width: 100%;
    /*background dalam img lightbox portfolio*/
    background: /*#7CBCE8*/ linear-gradient(135deg, #0C3F74 0%, #001D3B 100%);
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.lightbox-img-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0d1b2a 0%, #1a2a3a 40%, #243a4a 50%, #1a2a3a 60%, #0d1b2a 100%);
    background-size: 200% 100%;
    animation: lightbox-shimmer 1.4s infinite;
    z-index: 0;
}
.lightbox-img-wrap.loaded::before { display: none; }
@keyframes lightbox-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.lightbox-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.lightbox-img-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a2a3a, #2a4a6a);
    display: none;
    z-index: 1;
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease;
    padding-bottom: 2px;
}
.lightbox-arrow:hover { background: rgba(0,0,0,0.85); }
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-arrow.hidden { display: none; }
.lightbox-counter {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    padding: 0.5rem 0 0;
    letter-spacing: 1px;
}
.lightbox-info { padding: 1.75rem 2rem; }
.lightbox-category { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #7CBCE8; margin-bottom: 0.5rem; }
.lightbox-title { font-size: 1.4rem; font-weight: 700; color: #fff; text-transform: uppercase; margin-bottom: 0.4rem; }
.lightbox-location { font-size: 0.9rem; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 5px; }
.lightbox-desc { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.7; }
.lightbox-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 38px; height: 38px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}
.lightbox-close:hover { background: rgba(0,0,0,0.8); }

/* Project list */
.project-list-section { background: #001D3B; padding: 5rem 6.25rem; }
.project-list-header { text-align: center; margin-bottom: 3rem; }
.project-list-header h2 { font-size: 2.5rem; font-weight: 400; text-transform: uppercase; color: #fff; line-height: 1; margin-bottom: 0.75rem; }
.project-list-header p { font-size: 1rem; color: rgba(255,255,255,0.6); }
.project-list-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(124,188,232,0.15);
    max-width: 900px;
    margin: 0 auto;
}
.project-list-item:first-child { border-top: 1px solid rgba(124,188,232,0.15); }
.project-list-num { font-size: 0.78rem; font-weight: 700; color: #7CBCE8; letter-spacing: 1px; flex-shrink: 0; width: 30px; }
.project-list-title { font-size: 1rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 0.2rem; }
.project-list-location { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* Service CTA */
.service-cta { background: #BDD8EB; padding: 4rem 2rem; text-align: center; border-top: 1px solid rgba(124,188,232,0.15); }
.service-cta h2 { font-size: 2rem; font-weight: 400; text-transform: uppercase; color: #001D3B; line-height: 1; margin-bottom: 0.75rem; }
.service-cta p { font-size: 1rem; color: #001D3B; margin-bottom: 2rem; line-height: 1.7; }
.service-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 3rem;
    background: #001D3B;
    color: #FFF;
    font-family: 'URWGothic', 'Century Gothic', 'Futura', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.2s ease;
}
.service-cta-btn:hover { background: #0C3F74; transform: translateY(-2px); }

/* Service pages responsive */
@media (max-width: 1024px) {
    .service-overview,
    .service-projects,
    .project-list-section { padding-left: 3rem; padding-right: 3rem; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-card.wide { grid-column: span 1; }
    .portfolio-card.wide .portfolio-card-img,
    .portfolio-card.wide .portfolio-card-fallback { height: 280px; }
}
@media (max-width: 768px) {
    .hero-service { height: 60vh; min-height: unset; }
    .hero-service-content h1 { font-size: 2.2rem; }
    .service-overview { padding: 3rem 1.5rem; }
    .service-overview-inner { grid-template-columns: 1fr; gap: 2rem; }
    .service-projects { padding: 0 1.5rem 3rem; }
    .project-list-section { padding: 3rem 1.5rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .lightbox-inner { max-width: 100%; }
    .lightbox-img { max-height: unset; min-height: unset; }
    
    /* headers in services */
    .service-overview h2 { font-size: 1.8rem; }
    .service-projects-header h2 { font-size: 1.8rem; }
    .project-list-header h2 { font-size: 1.8rem; }
}
@media (max-width: 480px) {
    .hero-service-content h1 { font-size: 1.8rem; }
}


/* ── SERVICES NAV STRIP ── */
.services-nav-strip {
    background: #001D3B;
    padding: 1.5rem 6.25rem;
    border-top: 1px solid rgba(124,188,232,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.services-nav-links {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 2.5rem;
}
.services-nav-item {
    color: rgba(255, 255, 255, 1);
    font-family: 'URWGothic', 'Century Gothic', 'Futura', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
}
.services-nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.services-nav-item:hover::after {
    width: 100%;
}
.services-nav-item:hover {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    .services-nav-strip { padding: 1.5rem; }
    .services-nav-links { gap: 0.5rem 1.5rem; }
    .services-nav-item { font-size: 0.78rem; }
}

/* ============================================================
   PROJECT LIST TABLE 
   ============================================================ */

.project-list-section {
    background: #001D3B;
    padding: 5rem 6.25rem;
}
.project-list-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.project-list-header h2 {
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.75rem;
}
.project-list-header p {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.project-list-table {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    border-collapse: collapse;
    font-family: 'URWGothic', 'Century Gothic', 'Futura', sans-serif;
}
.project-list-table thead th {
    background: rgba(124,188,232,0.1);
    color: #7CBCE8;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(124,188,232,0.2);
}
.project-list-table tbody tr {
    border-bottom: 1px solid rgba(124,188,232,0.08);
    transition: background 0.2s;
}
.project-list-table tbody tr:last-child {
    border-bottom: none;
}
.project-list-table tbody tr:hover {
    background: rgba(124,188,232,0.05);
}
.project-list-table tbody td {
    padding: 1rem 1.25rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    line-height: 1.6;
    vertical-align: top;
}
.project-list-table .col-bil {
    width: 60px;
    color: rgba(124,188,232,0.6);
    font-weight: 700;
    text-align: center;
}
.project-list-table .col-project {
    color: rgba(255,255,255,0.85);
}
.project-list-table .col-year {
    width: 80px;
    color: #7CBCE8;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .project-list-section { padding: 4rem 3rem; }
}
@media (max-width: 768px) {
    .project-list-section { padding: 3rem 1.5rem; }
    .project-list-header h2 { font-size: 1.6rem; }
    .project-list-table tbody td { padding: 0.85rem 0.85rem; font-size: 0.85rem; }
}

/* ── BACK TO TOP BUTTON ── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: #001D3B;
    border: 1px solid rgba(124,188,232,0.3);
    border-radius: 50%;
    color: #7CBCE8;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #0C3F74;
    border-color: #7CBCE8;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    header nav a img {
        height: 40px !important;
    }
}
}