:root {
    --navy: #053f7a; /*#19194f;*/
    --blue: #0066cc;
    --gold: #ffd700;
    --dark: #1e1e1e;
    --light: #f9f9f9;
    --border: #353434;
    --heading-font: 'Barlow Condensed', sans-serif;
    --body-font: 'Barlow', sans-serif;
}

* { margin: 0; box-sizing: border-box; }

body { font-family: var(--body-font); background: #fff; color: var(--dark); }

/* ===== HEADER ===== */
.header {
    display: flex;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 16px 60px;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    z-index: 999;
    transition: box-shadow 0.3s;
    border-bottom: 2px solid var(--gold);
}

.header.scrolled { box-shadow: 0 2px 24px rgba(25,25,79,0.12); }

.logo-blue { width: 72px; height: 54px; object-fit: contain; }

/* ===== BURGER ===== */
.burger { display: none; cursor: pointer; background: none; border: none; padding: 6px; }
.burger .fa-bars { color: var(--navy); font-size: 1.5rem; }

/* ===== SIDEBAR OVERLAY ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1100;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.35s;
}
.sidebar-overlay.active { opacity: 1; }

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    top: 0; left: 0;
    width: 310px;
    height: 100%;
    max-height: 100vh;
    background: linear-gradient(160deg, #053f7a 0%, #021f3d 100%);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    overflow-x: hidden;
}
.sidebar.open { transform: translateX(0); }

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 18px;
    border-bottom: 1px solid rgba(255,215,0,0.25);
    flex-shrink: 0;
}
.sidebar-logo { width: 62px; height: auto; filter: brightness(0) invert(1); opacity: 0.92; }

.sidebar-close {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s;
}
.sidebar-close:hover { background: rgba(255,215,0,0.2); color: var(--gold); }

.sidebar-nav {
    padding: 18px 0;
    flex: 1;
}

/* Simple links */
.sidebar-link {
    display: block;
    padding: 13px 26px;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-family: var(--body-font);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
}
.sidebar-link:hover { color: var(--gold); background: rgba(255,215,0,0.06); }

/* Accordion items */
.sidebar-accordion { border: none; }
.sidebar-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 26px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.82);
    font-family: var(--body-font);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
.sidebar-accordion-btn:hover { color: var(--gold); background: rgba(255,215,0,0.06); }
.sidebar-accordion-btn i { font-size: 0.75rem; transition: transform 0.3s; }
.sidebar-accordion-btn.open { color: var(--gold); }
.sidebar-accordion-btn.open i { transform: rotate(180deg); }

.sidebar-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(0,0,0,0.18);
}
.sidebar-accordion-body.open { max-height: 400px; }
.sidebar-accordion-body a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 26px 10px 38px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}
.sidebar-accordion-body a::before {
    content: '';
    display: block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.5;
    flex-shrink: 0;
}
.sidebar-accordion-body a:hover { color: var(--gold); }
.sidebar-accordion-body a:hover::before { opacity: 1; }

.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}
.sidebar-contact-btn {
    display: block;
    text-align: center;
    padding: 13px 20px;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--body-font);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.2s;
}
.sidebar-contact-btn:hover { background: #ffe84d; }

.topNavItems {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
    flex: 1;
    padding-left: 30px;
}
.topNavItems a {
    color: var(--navy);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
    font-family: Barlow;
}
.topNavItems a:hover { color: var(--blue); }

.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.nav-item i { color: var(--navy); font-size: 11px; transition: transform 0.25s ease; transform-origin: center; }
.nav-item.open i { transform: scaleY(-1); }

/* Caret toggle button */
.dropdown-toggle {
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: var(--navy);
    font-size: 11px;
}
.nav-item.open .dropdown-toggle i { transform: scaleY(-1); }

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 22px);
    left: 0;
    background: var(--dark);
    padding: 8px 0;
    list-style: none;
    min-width: 210px;
    z-index: 1000;
    border-top: 2px solid var(--gold);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
}
.dropdown-menu li a:hover { color: var(--gold); background: rgba(255,255,255,0.05); }
.nav-item.open .dropdown-menu { display: block; }

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
    border: 2px solid var(--navy);
    border-radius: 3px;
    padding: 10px 22px;
    font-family: var(--body-font);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
}
.contact-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.search-visible { display: inline-flex; align-items: center; gap: 5px; }
.fa-caret-down, .fa-magnifying-glass { font-size: 11px; }

/* ── Modern Search Overlay ── */
.search-hidden {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,14,30,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding-top: 20vh;
    height:120vh;
    top:0;
}
.search-hidden-inner {
    width: 100%;
    max-width: 680px;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.search-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-family: var(--body-font);
}
.search-hidden-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 0;
    transition: border-color 0.2s;
}
.search-hidden-box:focus-within {
    border-color: var(--gold);
    background: rgba(255,255,255,0.09);
}
.search-input-icon {
    position: absolute;
    left: 1.1rem;
    color: rgba(255,255,255,0.4);
    font-size: 1.1rem;
    pointer-events: none;
}
.search-hidden-box input {
    width: 100%;
    padding: 1.1rem 1.2rem 1.1rem 3rem;
    font-size: 1.25rem;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--body-font);
    border-radius: 14px;
}
.search-hidden-box input::placeholder { color: rgba(255,255,255,0.3); }
.search-hidden-box input:focus { outline: none; }

.search-results-area { margin-top: 2rem; }
.search-quick-label {
    color: rgba(255,255,255,0.35);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    font-family: var(--body-font);
}
.search-quick-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.search-quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    font-family: var(--body-font);
    text-decoration: none;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.search-quick-chip:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.search-quick-chip i { font-size: 0.78rem; }

/* Live results list */
.search-results-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.search-result-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-family: var(--body-font);
    transition: background 0.16s, border-color 0.16s;
}
.search-result-item a:hover { background: rgba(255,215,0,0.12); border-color: var(--gold); }
.search-result-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.search-result-text strong { display: block; font-size: 0.98rem; font-weight: 600; }
.search-result-text span { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.search-no-results { color: rgba(255,255,255,0.4); font-size: 0.95rem; padding: 1rem 0; font-family: var(--body-font); text-align: center; }

.search-close {
    position: absolute; top: 20px; right: 30px;
    font-size: 36px; color: rgba(255,255,255,0.5); cursor: pointer;
    transition: color 0.15s;
}
.search-close:hover { color: #fff; }

/* ===== HERO ===== */
.img-slider { position: relative; width: 100%; height: 100vh; overflow: hidden; }
.slide {
    position: absolute;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 0;
}
.slide.active { opacity: 1; z-index: 1; }
.slide1 { background-image: url('../img/n/35_API.jpg.jpeg'); }
.slide2 { background-image: url('../img/n/85239030.jpg.jpeg'); }
.slide3 { background-image: url('../img/n/chart-recorder-detail.jpg.jpeg'); }
.slide4 { background-image: url('../img/n/Untitled-design-2025-11-12T162537.959.webp'); }
.slide5 { background-image: url('../img/n/Rigging.jpg.jpeg'); }

.img-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(70deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.08) 100%);
    z-index: 2;
}

.img-slider-content {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.img-slider-content span {
    font-family: var(--heading-font);
    font-size: 5.5rem;
    line-height: 0.88;
    display: block;
    color: #fff;
    text-transform: uppercase;
}
.giko-span { font-weight: 300; display: block; }
.eng-span { font-weight: 800; display: block; color: var(--gold); }

.img-slider-content p {
    font-family: var(--body-font);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    line-height: 1.55;
    max-width: 420px;
    border-left: 3px solid var(--gold);
    padding-left: 14px;
}

.get-in-touch {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 14px 34px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.25s;
}
.get-in-touch:hover { background: #fff; }

.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}
.slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.slider-dot.active { background: var(--gold); transform: scale(1.3); }

/* ===== PARTNER LOGOS ===== */
.carousel {
    width: 100%;
    overflow: hidden;
    padding: 28px 0;
    background: #fff;
    border-bottom: 1px solid #eaeaea;
}
.carousel-track {
    display: flex;
    gap: 48px;
    animation: scroll-left 10s linear infinite;
}
.carousel-track img {
    width: 60px; height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(60%);
    opacity: 0.65;
    transition: filter 0.3s, opacity 0.3s;
}
.carousel-track img:hover { filter: grayscale(0%); opacity: 1; }
@keyframes scroll-left {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* ===== SERVICES ===== */
.services-section {
    padding: 90px 60px;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.services-section::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,102,204,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.section-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); }

.section-label.blue-label { color: var(--blue); }
.section-label.blue-label::before { background: var(--blue); }

.service-h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.service-subtitle {
    color: rgba(255,255,255,0.45);
    font-size: 0.95rem;
    margin-bottom: 52px;
    max-width: 440px;
}

/* Tab navigation */
.services-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow-x: auto;
    overflow-y: none;
    scrollbar-width: none;
}
.services-tabs::-webkit-scrollbar { display: none; }

.svc-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: rgba(255,255,255,0.45);
    font-family: var(--heading-font);
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.25s, border-color 0.25s;
    margin-bottom: -1px;
}
.svc-tab:hover { color: rgba(255,255,255,0.75); }
.svc-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}
.svc-tab-icon {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: background 0.25s;
}
.svc-tab.active .svc-tab-icon {
    background: rgba(255,215,0,0.15);
    color: var(--gold);
}

/* Panel body */
.services-panel-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
    border: 1px solid rgba(255,255,255,0.08);
    border-top: none;
}

.svc-panel {
    display: none;
    grid-column: 1 / -1;
}
.svc-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    animation: panelIn 0.35s ease;
}
@keyframes panelIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Left: image */
.svc-panel-image {
    position: relative;
    overflow: hidden;
    min-height: 360px;
}
.svc-panel-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.65);
    transition: transform 0.6s ease;
}
.svc-panel.active .svc-panel-image img { transform: scale(1.03); }
.svc-panel-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(25,25,79,0.55) 0%, transparent 70%);
}
.svc-panel-badge {
    position: absolute;
    bottom: 24px; left: 24px;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--heading-font);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
}

/* Right: service links */
.svc-panel-links {
    padding: 40px 48px;
    background: rgba(255,255,255,0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.svc-panel-links h4 {
    font-family: var(--heading-font);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 24px;
}
.svc-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    group: true;
    transition: padding-left 0.2s;
}
.svc-link-item:last-child { border-bottom: none; }
.svc-link-item:hover { padding-left: 6px; }

.svc-link-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s;
    line-height: 1.3;
}
.svc-link-item:hover .svc-link-text { color: #fff; }

.svc-link-arrow {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.svc-link-item:hover .svc-link-arrow {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.svc-panel-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 11px 24px;
    background: transparent;
    border: 1px solid rgba(255,215,0,0.4);
    color: var(--gold);
    font-family: var(--body-font);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    width: fit-content;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.svc-panel-cta:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

/* ===== ABOUT ===== */
.about-us { background: #fff; }
.about-us-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }

.about-image-side { position: relative; overflow: hidden; }
.about-img-wrapper { position: relative; width: 100%; height: 100%; min-height: 520px; }
.about-static-img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; display: block; }

.about-content-side {
    padding: 70px 60px;
    background: var(--light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-content-side h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
}
.about-content-side p {
    font-size: 1rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: var(--blue);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    margin-top: 12px;
    width: fit-content;
    transition: background 0.2s;
}
.about-btn:hover { background: var(--navy); }

/* ===== PROJECTS SECTION ===== */
.projects-section {
    padding: 80px 60px;
    background: var(--navy);
}
.projects-section .section-label { color: var(--gold); }
.projects-section .section-label::before { background: var(--gold); }

.projects-h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.projects-subtitle { color: rgba(255,255,255,0.55); font-size: 1rem; margin-bottom: 48px; max-width: 480px; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-bottom: 48px;
}
.project-tile {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    background: #0a0a2a;
}
.project-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.4s;
    filter: brightness(0.65);
}
.project-tile:hover img { transform: scale(1.06); filter: brightness(0.45); }

.project-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(25,25,79,0.92) 0%, transparent 55%);
    z-index: 1;
    transition: background 0.3s;
}
.project-tile:hover .project-tile-overlay {
    background: linear-gradient(to top, rgba(25,25,79,0.97) 0%, rgba(25,25,79,0.45) 100%);
}

.project-tile-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 22px;
    z-index: 2;
}
.project-tile-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 10px;
}
.project-tile-title {
    font-family: var(--heading-font);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.15;
}
.project-tile-desc {
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    margin-top: 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    line-height: 1.5;
}
.project-tile:hover .project-tile-desc { max-height: 70px; }

.project-tile-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.3s;
}
.project-tile:hover .project-tile-link { opacity: 1; transform: translateY(0); }

.projects-cta { text-align: center; }
.projects-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.25s;
}
.projects-view-all:hover { background: var(--gold); color: var(--navy); }

/* ===== CTA ===== */
.cta-section {
    background: var(--blue);
    color: #fff;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,0.025) 20px, rgba(255,255,255,0.025) 40px);
}
.cta-container { position: relative; z-index: 1; }
.cta-container h2 {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.cta-container p { font-size: 1.05rem; margin-bottom: 36px; color: rgba(255,255,255,0.78); }
.cta-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: var(--navy);
    color: #fff;
    padding: 15px 40px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background 0.25s, color 0.25s;
}
.cta-btn:hover { background: var(--gold); color: var(--navy); }

/* ===== MAP ===== */
.map { width: 100%; height: 360px; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: #ccc; padding: 60px 60px 28px; }
.footer a{
    color: inherit;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}
.footer .logo-blue { filter: brightness(0) invert(1); opacity: 0.8; }
.footer-column { flex: 1 1 200px; }
.footer-column h3 {
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}
.footer-column p { font-size: 0.86rem; line-height: 1.7; color: #aaa; margin-bottom: 6px; }
.footer-column p span { color: #fff; font-weight: 600; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a { color: #aaa; text-decoration: none; font-size: 0.86rem; transition: color 0.2s; }
.footer-column ul li a:hover { color: var(--gold); }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid #444;
    border-radius: 50%;
    color: #aaa;
    margin-right: 8px;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s;
}
.social-links a:hover { color: var(--gold); border-color: var(--gold); }
.footer-bottom {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .header { padding: 16px 20px; }
    .topNavItems { display: none; }
    .burger { display: flex; align-items: center; justify-content: center; }
    .img-slider-content span { font-size: 3rem; }
    .img-slider-content p { font-size: 0.92rem; }
    .services-section { padding: 55px 20px; }
    .svc-panel.active { grid-template-columns: 1fr; }
    .svc-panel-image { min-height: 220px; }
    .svc-panel-links { padding: 28px 24px; }
    .svc-tab { padding: 12px 16px; font-size: 0.85rem; }
    .svc-tab-icon { display: none; }
    .about-us-inner { grid-template-columns: 1fr; }
    .about-content-side { padding: 40px 24px; }
    .about-img-wrapper { min-height: 260px; }
    .about-static-img { min-height: 260px; }
    .projects-section { padding: 55px 20px; }
    .projects-grid { grid-template-columns: 1fr; }
    .cta-section { padding: 60px 24px; }
    .cta-container h2 { font-size: 2rem; }
    .footer { padding: 40px 20px 22px; }
}

@media (min-width: 768px) {
    .burger { display: none; }
    .sidebar { display: none; }
    .sidebar-overlay { display: none !important; }
    .topNavItems { display: flex; }
    .slide1 { background-image: url('../img/n/35_API.jpg.jpeg'); }
    .slide3 { background-image: url('../img/n/chart-recorder-detail.jpg.jpeg'); }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .about-us-inner { grid-template-columns: 1fr; }
    .about-img-wrapper { min-height: 360px; }
    .about-static-img { min-height: 360px; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}



/* ===== FOOTER BRAND ===== */
.footer-brand { flex: 1 1 240px; max-width: 280px; }
.footer-brand p { font-size: 0.84rem; line-height: 1.7; color: #aaa; margin: 14px 0 18px; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    position: relative;
    height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    margin-top: 86px;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /*background: linear-gradient(to right, rgba(5,63,122,0.88) 0%, rgba(5,63,122,0.45) 65%, rgba(0,0,0,0.1) 100%);*/
    background: linear-gradient(20deg, rgba(5, 63, 122, 0.88) 0%, rgba(5, 63, 122, 0.5) 65%, rgba(0, 0, 0, 0.5) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 60px;
}
.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.page-hero-breadcrumb a:hover { color: var(--gold); }
.page-hero-breadcrumb span { color: var(--gold); }
.page-hero-breadcrumb i { font-size: 0.6rem; }
.page-hero h1 {
    font-family: var(--heading-font);
    font-size: 3.8rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 14px;
}
.page-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    max-width: 520px;
    line-height: 1.6;
    border-left: 3px solid var(--gold);
    padding-left: 14px;
}

/* ===== SERVICE LAYOUT (sidebar + content) ===== */
.service-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    align-items: start;
    background: #fff;
}

.services-sidebar {
    background: var(--light);
    border-right: 1px solid #eaeaea;
    padding: 40px 0;
    position: sticky;
    top: 86px;
    height: calc(100vh - 86px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #fd79 #eee;
}
.services-sidebar h3 {
    font-family: var(--heading-font);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.4);
    padding: 0 28px 16px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 8px;
}
.svc-sidebar-group { border-bottom: 1px solid #e8e8e8; }
.svc-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 0 28px;
}
.svc-sidebar-header > a {
    display: block;
    padding: 13px 0;
    color: var(--navy);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex: 1;
    transition: color 0.2s;
}
.svc-sidebar-header > a:hover { color: var(--blue); }
.svc-sidebar-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 8px;
    font-size: 0.7rem;
    transition: transform 0.3s, color 0.2s;
}
.svc-sidebar-toggle.open { transform: rotate(180deg); color: var(--blue); }
.svc-sidebar-body {
    list-style: none;
    padding: 0 0 8px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.svc-sidebar-body.open { max-height: 600px; }
.svc-sidebar-body li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 28px 9px 40px;
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s, background 0.2s;
}
.svc-sidebar-body li a::before {
    content: '';
    display: block;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    opacity: 0.6;
}
.svc-sidebar-body li a:hover { color: var(--navy); background: rgba(5,63,122,0.04); }
.svc-sidebar-body li a:hover::before { opacity: 1; }
.svc-sidebar-body li a.active { color: var(--blue); font-weight: 600; }
.svc-sidebar-body li a.active::before { background: var(--blue); opacity: 1; }

/* ===== SERVICE CONTENT AREA ===== */
.service-content {
    padding: 60px 64px;
}
.service-content .section-label { color: var(--blue); }
.service-content .section-label::before { background: var(--blue); }
.service-content h1 {
    font-family: var(--heading-font);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 12px 0 28px;
    line-height: 1.05;
}
.service-content > p,
.service-content .content-body > p {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
}
.service-content h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 36px 0 14px;
}
.service-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.service-content ul li {
    padding: 10px 0 10px 20px;
    position: relative;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}
.service-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 19px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* ===== ABOUT PAGE ===== */
.about-page-section { padding: 80px 60px; }
.about-page-section:nth-child(even) { background: var(--light); }
.about-page-section:nth-child(odd) { background: #fff; }

.who-we-are-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.who-we-are-grid p { font-size: 0.97rem; color: #555; line-height: 1.8; margin-bottom: 16px; }

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
}
.mv-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-top: 4px solid var(--navy);
    padding: 36px 32px;
}
.mv-card.gold-top { border-top-color: var(--gold); }
.mv-card h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.mv-card ul { list-style: none; padding: 0; }
.mv-card ul li {
    padding: 8px 0 8px 18px;
    position: relative;
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
    border-bottom: 1px solid #f4f4f4;
}
.mv-card ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 17px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
}
.value-card {
    background: var(--navy);
    color: #fff;
    padding: 28px 22px;
    text-align: center;
}
.value-card .value-letter {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}
.value-card .value-name {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    display: block;
}
.value-card p { font-size: 0.8rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

.vision-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 40px;
    background: var(--navy);
    border-top: 4px solid var(--gold);
}
.vision-block h2 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.3;
}
.vision-block h2 span { color: var(--gold); }

/* ===== SERVICES PAGE ===== */
.services-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    margin-top: 48px;
}
.service-card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}
.service-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
    transition: transform 0.5s ease, filter 0.4s;
}
.service-card:hover img { transform: scale(1.05); filter: brightness(0.38); }
.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,63,122,0.9) 0%, transparent 60%);
    z-index: 1;
}
.service-card-body {
    position: relative;
    z-index: 2;
    padding: 28px 32px;
    width: 100%;
}
.service-card-body h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.service-card-body p {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    line-height: 1.55;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.service-card:hover .service-card-body p { max-height: 80px; }
.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s;
}
.service-card:hover .service-card-link { opacity: 1; transform: translateY(0); }

/* ===== INSPECTION SERVICES LIST ===== */
.iservice-list { display: flex; flex-direction: column; gap: 0; }
.iservice-item {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 220px;
    border-bottom: 1px solid #eaeaea;
}
.iservice-item:nth-child(even) { direction: rtl; }
.iservice-item:nth-child(even) > * { direction: ltr; }
.iservice-img { overflow: hidden; }
.iservice-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.iservice-item:hover .iservice-img img { transform: scale(1.04); }
.iservice-body {
    padding: 36px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.iservice-body h2 {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.iservice-body p { font-size: 0.92rem; color: #555; line-height: 1.7; margin-bottom: 10px; }
.iservice-more { display: none; }
.iservice-more.open { display: block; }
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    background: none;
    border: 1px solid var(--navy);
    color: var(--navy);
    font-family: var(--body-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 8px 18px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s;
    width: fit-content;
}
.read-more-btn:hover { background: var(--navy); color: #fff; }

/* ===== FORM PAGE ===== */
.form-page-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}
.form-side {
    padding: 64px 60px;
    background: #fff;
}
.form-side h2 {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.form-side .section-label { margin-bottom: 6px; }
.form-side p { font-size: 0.92rem; color: #777; margin-bottom: 32px; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
}
.form-field input,
.form-field select,
.form-field textarea {
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background: var(--light);
    font-family: var(--body-font);
    font-size: 0.9rem;
    color: var(--dark);
    transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form-field textarea { resize: vertical; min-height: 120px; }
.policy-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.83rem;
    color: #666;
}
.policy-row input[type="checkbox"] { margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.policy-row a { color: var(--blue); }
.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--navy);
    color: #fff;
    border: none;
    font-family: var(--body-font);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
    width: fit-content;
}
.form-submit:hover { background: var(--blue); }

.form-info-side {
    padding: 64px 56px;
    background: var(--navy);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.form-info-side h3 {
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,215,0,0.25);
}
.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}
.contact-info-item i {
    width: 38px; height: 38px;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.25);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.contact-info-item p { font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.65; }
.contact-info-item p strong { color: #fff; font-weight: 600; display: block; }
.form-map { flex: 1; min-height: 200px; }
.form-map iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 200px; }

/* ===== RESPONSIVE – inner pages ===== */
@media (max-width: 767px) {
    .page-hero { height: 300px; padding-bottom: 40px; }
    .page-hero-content { padding: 0 20px; }
    .page-hero h1 { font-size: 2.2rem; }
    .service-layout { grid-template-columns: 1fr; }
    .services-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid #eaeaea; padding: 24px 20px; }
    .service-content { padding: 36px 20px; }
    .who-we-are-grid { grid-template-columns: 1fr; gap: 32px; }
    .mission-vision-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .about-page-section { padding: 50px 20px; }
    .services-page-grid { grid-template-columns: 1fr; }
    .iservice-item { grid-template-columns: 1fr; min-height: auto; }
    .iservice-item:nth-child(even) { direction: ltr; }
    .iservice-body { padding: 24px 20px; }
    .form-page-layout { grid-template-columns: 1fr; }
    .form-side { padding: 40px 20px; }
    .form-info-side { padding: 40px 20px; }
    .form-row { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .service-layout { grid-template-columns: 240px 1fr; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .form-page-layout { grid-template-columns: 1fr; }
}

a {
    color: var(--blue);
    /* text-decoration: none; */
}

@media (max-width: 900px) {
    .header { padding: 12px 30px; }
    .topNavItems {
        gap: 20px !important;
    }
}
