*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

:root {
    --primary-blue: #ffffff;
    --secondary-blue: #f8f9fa;
    --accent-orange: #FFB300;
    --accent-orange-hover: #FFA000;
    --text-light: #555555;
    --text-white: #112240;
    --text-dark: #000000;
    --blue-light: #026CB6;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background: var(--primary-blue);
    color: var(--text-light);
    overflow-x: hidden;
}

/* NAVBAR */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: rgba(17, 34, 64, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-orange);
    z-index: 10000;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.landing-nav .logo img {
    max-height: 50px;
    display: block;
}

.nav-right-container {
    display: flex;
    align-items: center;
}

.landing-nav .nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.landing-nav .nav-links>a,
.landing-nav .nav-item>a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s;
    cursor: pointer;
}

.landing-nav .nav-links>a::after,
.landing-nav .nav-item>a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-orange);
    transition: 0.3s;
}

.landing-nav .nav-links>a:hover::after,
.landing-nav .nav-item:hover>a::after,
.landing-nav .nav-links a.active::after {
    width: 100%;
}

.landing-nav .nav-links>a:hover,
.landing-nav .nav-item:hover>a,
.landing-nav .nav-links a.active {
    color: var(--accent-orange);
}

/* DROPDOWN */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--text-white);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--accent-orange);
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 10001;
}

.nav-item.show-dropdown .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-menu a {
    padding: 12px 20px !important;
    text-transform: none !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    display: block;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: rgba(255, 179, 0, 0.1);
    color: var(--accent-orange) !important;
    padding-left: 25px !important;
    text-decoration: none !important;
}

/* NAVBAR SOCIALS */
.nav-socials {
    display: flex;
    gap: 12px;
    margin-left: 30px;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    align-items: center;
}

.nav-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    position: relative;
    text-decoration: none;
}

.nav-socials a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20%;
    width: 0%;
    height: 2px;
    background: var(--accent-orange);
    transition: 0.3s;
}

.nav-socials a:hover {
    background: rgba(255, 179, 0, 0.1) !important;
    transform: translateY(-2px);
    color: var(--accent-orange) !important;
}

.nav-socials a:hover::after {
    width: 60%;
}

.nav-socials svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* LANG SWITCHER */
.nav-lang-switcher {
    display: flex;
    gap: 10px;
    margin: 0 25px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    align-items: center;
}

.nav-lang-switcher a:hover {
    color: #00fff2 !important;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    cursor: pointer;
    z-index: 10002;
    margin-left: auto;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--secondary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* MOBILE NAV MEDIA QUERY */
@media (max-width: 1200px) {
    .hamburger {
        display: flex;
    }

    .landing-nav {
        padding: 10px 5%;
    }

    .landing-nav .logo img {
        max-height: 55px !important;
    }

    .nav-right-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 10000;
        padding: 50px 20px;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .nav-right-container.active {
        right: 0;
    }

    .landing-nav .nav-links {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        width: 100%;
    }

    .landing-nav .nav-links>a,
    .landing-nav .nav-item>a {
        font-size: 1.25rem;
        display: block;
        padding: 10px;
    }

    .nav-item {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.15);
        border-top: none;
        border-left: 2px solid var(--accent-orange);
        margin-top: 10px;
        display: none;
        text-align: center;
        padding: 10px 0;
        border-radius: 5px;
    }

    /* Memicu dropdown saat nama menu di-klik via JS class */
    .nav-item.show-dropdown .dropdown-menu {
        display: flex;
    }

    .dropdown-menu a {
        padding: 10px 15px !important;
        font-size: 1rem !important;
        color: #ffffff !important;
    }

    .dropdown-menu a:hover {
        padding-left: 15px !important;
    }

    .nav-socials {
        margin-top: 30px;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        justify-content: center;
        width: 100%;
    }

    .nav-lang-switcher {
        margin: 35px 0 0 0;
        font-size: 1.1rem;
    }
}

/* SECTIONS */
.landing-section {
    min-height: 100vh;
    padding: 120px 5% 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.landing-section .section-title {
    color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #ffffff !important;
    margin-bottom: 60px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    z-index: 1;
}

/* Rotating Light Beam Decoration - Anchored to Section Top */
.section-title::before {
    content: '';
    position: absolute;
    top: -120px; /* Offset to reach near the top of most sections */
    left: 50%;
    width: 600px; /* Larger beam sweep */
    height: 600px;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 255, 242, 0.08) 15deg, transparent 45deg);
    transform: translate(-50%, -50%);
    transform-origin: center center;
    animation: title-radar-spin 10s linear infinite;
    z-index: -1;
    pointer-events: none;
    filter: blur(40px); /* Softer, more atmospheric blur */
}

@keyframes title-radar-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title span {
    color: var(--accent-orange);
}

/* HERO */
#beranda {
    background: linear-gradient(rgba(10, 25, 47, 0.6), rgba(10, 25, 47, 0.95)), url('img/bg-beranda.jpg') no-repeat center center/cover;
    text-align: center;
}

#beranda .section-title {
    font-size: 4.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    color: #ffffff;
}

#beranda .section-title::after {
    display: none;
}

#beranda p {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.6;
    letter-spacing: 1px;
}

/* BUTTONS (L-BRACKET STYLE) */
.cta-btn {
    position: relative;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-blue);
    background: transparent;
    border: 2px solid var(--accent-orange);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    z-index: 1;
    border-radius: 0;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-orange);
    z-index: -1;
    transition: all 0.3s;
}

.cta-btn:hover::before {
    width: 100%;
}

.cta-btn:hover {
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 179, 0, 0.5);
}

/* DIAMOND STATS */
.diamond-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.diamond-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diamond-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary-blue);
    border: 3px solid var(--accent-orange);
    transform: rotate(45deg);
    transition: all 0.4s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.diamond-wrapper:hover .diamond-shape {
    transform: rotate(45deg) scale(1.05);
    background: var(--accent-orange);
}

.diamond-wrapper:hover .diamond-content h3,
.diamond-wrapper:hover .diamond-content p {
    color: #ffffff;
}

.diamond-content {
    position: relative;
    z-index: 1;
    text-align: center;
    transform: rotate(0deg);
}

.diamond-content h3 {
    font-size: 2.8rem;
    color: var(--accent-orange);
    margin: 0;
    font-weight: 800;
    transition: color 0.4s;
}

.diamond-content p {
    color: var(--text-white);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 5px;
    letter-spacing: 1px;
    transition: color 0.4s;
}

/* PORTFOLIO / SERVICES GRIDS (Sharp Squares) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

.portfolio-card {
    background: var(--text-white);
    position: relative;
    transition: all 0.4s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 179, 0, 0.2);
    border-radius: 0;
}

.portfolio-card::before,
.portfolio-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 0 solid var(--accent-orange);
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.portfolio-card::before {
    top: -5px;
    left: -5px;
    border-top-width: 3px;
    border-left-width: 3px;
}

.portfolio-card::after {
    bottom: -5px;
    right: -5px;
    border-bottom-width: 3px;
    border-right-width: 3px;
}

.portfolio-card:hover::before,
.portfolio-card:hover::after {
    width: 40px;
    height: 40px;
    opacity: 1;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
}

.portfolio-img {
    width: 100%;
    height: 220px;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(17, 34, 64, 0.3);
    font-size: 1.2rem;
    font-weight: 800;
    border-bottom: 2px solid var(--accent-orange);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-content h3 {
    margin: 0 0 15px 0;
    color: var(--accent-orange);
    font-size: 1.4rem;
    text-transform: uppercase;
}

.portfolio-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* MAP CONTAINER */
.interactive-map-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 600px;
    margin: 10px auto 50px;
    border: 3px solid var(--accent-orange);
    background: #fff;
    color: #333;
    overflow: hidden;
    z-index: 10;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

/* MAP SIDEBAR */
#sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    min-width: 240px;
    max-width: 320px;
    height: 100%;
    background: var(--secondary-blue);
    border-left: 2px solid var(--accent-orange);
    transform: translateX(100%);
    transition: .3s;
    z-index: 1000;
    overflow: hidden;
    padding: 10px;
    color: var(--text-white);
}

#sidebar.active {
    transform: translateX(0);
}

#toggleBtn {
    position: absolute;
    top: 95px;
    right: 15px;
    z-index: 2000;
    padding: 10px 15px;
    border: none;
    background: var(--accent-orange);
    color: var(--primary-blue);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 0;
    transition: right .3s ease;
}

/* FOOTER */
.site-footer {
    background-color: #112240;
    color: #aeb8b6;
    padding: 0;
    margin-top: auto;
    font-family: inherit;
    border-top: none;
    position: relative;
    z-index: 10;
}

.site-footer a {
    color: #aeb8b6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 8%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo img {
    height: 40px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: #ffffff;
    transition: transform 0.3s ease, background 0.3s ease;
}

.footer-socials a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-middle {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    padding: 60px 8%;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    margin-top: 0;
}

.footer-column p {
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 0.95rem;
}

.footer-btn-link {
    color: #ffffff !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-btn-link:hover {
    gap: 12px;
}

.footer-bottom {
    padding: 25px 8%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: #8c9b98;
}

.footer-bottom strong {
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 991px) {
    .footer-middle {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer-middle {
        grid-template-columns: 1fr;
    }
}

/* WA FLOAT BTN */
.wa-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    text-decoration: none !important;
}

.wa-text {
    background: #ffffff;
    color: #333333;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    width: 160px;
    text-align: center;
}

.wa-icon-wrapper {
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    border: 3px solid #ffffff;
    transition: transform 0.3s ease;
}

.wa-float-btn:hover .wa-icon-wrapper {
    transform: scale(1.08);
}

.wa-icon-wrapper svg {
    width: 35px;
    height: 35px;
    fill: #ffffff;
}

/* GMAPS FLOAT BTN */
.gmaps-float-btn {
    position: fixed;
    bottom: 105px; /* WA is 30px + 60px height + 15px gap */
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    text-decoration: none !important;
}

.gmaps-text {
    background: #ffffff;
    color: #333333;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    width: 160px;
    text-align: center;
}

.gmaps-icon-wrapper {
    background: #1e3a8a;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
    border: 3px solid #ffffff;
    transition: transform 0.3s ease;
}

.gmaps-float-btn:hover .gmaps-icon-wrapper {
    transform: scale(1.08);
}

.gmaps-icon-wrapper svg {
    width: 35px;
    height: 35px;
    fill: #ffffff;
}

/* =========================================
   SERVICE DETAIL PAGES (HIGH-TECH THEME)
   ========================================= */
.service-details {
    padding: 100px 5%;
    background: #060e1b;
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
}

/* Background Grid Overlay */
.service-details::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 242, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 242, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.service-sidebar {
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(15px);
    padding: 40px 30px;
    border: 1px solid rgba(0, 255, 242, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 120px;
    border-radius: 4px;
}

.service-sidebar .overview-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid #00fff2;
    padding-bottom: 20px;
}

.service-sidebar .overview-header svg {
    font-size: 2rem;
    color: #00fff2;
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 0 5px rgba(0, 255, 242, 0.5));
}

.service-sidebar .overview-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.3rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.service-sidebar .key-benefits {
    margin-bottom: 30px;
}

.service-sidebar .key-benefits h3 {
    color: #00fff2;
    font-size: 1rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-sidebar ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-sidebar ul li svg {
    color: #00fff2;
    margin-top: 2px;
    font-size: 0.9rem;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.service-content {
    padding-left: 20px;
}

.service-content .section-header {
    margin-bottom: 25px;
}

.service-content .section-header h2 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-content .section-header .divider {
    width: 80px;
    height: 4px;
    background: #00fff2;
    box-shadow: 0 0 10px rgba(0, 255, 242, 0.5);
}

.service-content p {
    line-height: 1.8;
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 35px;
    text-align: justify;
}

.service-content p b {
    color: #00fff2;
}

.service-features {
    margin-top: 50px;
}

.feature-card {
    background: #0a192f;
    padding: 30px;
    border: 1px solid rgba(0, 255, 242, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
    /* HUD scan support */
    overflow: hidden;
    /* HUD scan support */
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #00fff2;
    box-shadow: 0 10px 30px rgba(0, 255, 242, 0.15);
}

.feature-card .icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 242, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid #00fff2;
}

.feature-card .icon-wrapper i,
.feature-card .icon-wrapper svg {
    font-size: 1.5rem;
    color: #00fff2;
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #aeb8b6;
}

/* Service Detail Hero Title */
.service-page-title {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 8.5% 80px;
    text-align: left;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.95)), url('img/bg-beranda.jpg') no-repeat center center/cover;
    box-sizing: border-box;
}

.service-page-title h1 {
    font-size: 3.5rem;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.service-page-title h1 span {
    color: var(--accent-orange);
}

.service-page-title h5 {
    color: #f1f1f1;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 650px;
    font-weight: 400;
    margin-bottom: 30px;
}

.service-page-title h5 b {
    color: var(--accent-orange);
}

/* Flex fixes for grid */
.row.gy-5 {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    /* Approximates gy-5 */
}

.col-lg-5 {
    flex: 0 0 calc(35% - 1.5rem);
    max-width: calc(35% - 1.5rem);
}

.col-lg-7 {
    flex: 0 0 calc(65% - 1.5rem);
    max-width: calc(65% - 1.5rem);
}

.row.g-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.col-md-6 {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
}

@media (max-width: 992px) {

    .col-lg-5,
    .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .row.gy-5 {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Override Jarak Animasi AOS */
[data-aos="fade-up"] {
    transform: translate3d(0, 40px, 0) !important;
}

[data-aos="fade-up"].aos-animate {
    transform: translate3d(0, 0, 0) !important;
}

/* WORK CARDS (HOME) */
.work-card {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px 20px;
    text-align: left;
    border-left: 3px solid var(--accent-orange);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 0;
    cursor: pointer;
    position: relative;
    z-index: 1;
    height: 100%;
}

.work-card::before,
.work-card::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 0 solid var(--accent-orange);
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.work-card::before {
    top: -4px;
    left: -4px;
    border-top-width: 2px;
    border-left-width: 2px;
}

.work-card::after {
    bottom: -4px;
    right: -4px;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

.work-card:hover::before,
.work-card:hover::after {
    width: 30px;
    height: 30px;
    opacity: 1;
}

.work-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 179, 0, 0.08) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-left-color: transparent;
    z-index: 10;
}

.work-card h3 {
    transition: color 0.3s;
}

.work-card:hover h3 {
    color: #ffffff !important;
}

.work-arrow {
    position: absolute;
    bottom: 20px;
    right: 25px;
    color: var(--accent-orange);
    font-size: 1.8rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s;
}

.work-card:hover .work-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   GLOBAL HUD SCANNING ANIMATION
   Works on ALL cards across ALL pages
   ========================================= */

@keyframes scan-move {
    0%   { top: -2%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { top: 102%; opacity: 0; }
}

/* The scanning area element — Ethereal Soft Light Sweep */
.scanning-line {
    position: absolute;
    left: 0;
    top: -5%;
    width: 100%;
    height: 60px;
    /* Softened edges and increased transparency */
    background: linear-gradient(to bottom, 
        rgba(0, 255, 242, 0) 0%, 
        rgba(0, 255, 242, 0.01) 30%, 
        rgba(0, 255, 242, 0.04) 50%, 
        rgba(0, 255, 242, 0.01) 70%, 
        rgba(0, 255, 242, 0) 100%);
    opacity: 0;
    z-index: 50;
    pointer-events: none;
    backdrop-filter: blur(1px); /* Reduced blur as requested */
    -webkit-backdrop-filter: blur(1px);
}

/* Central highlight removed for minimalist look */


/* Scanning activates only on hover with 3s timing */
.hud-scan-target:hover .scanning-line {
    animation: scan-move 3s linear infinite;
}

/* Wrapper cards that host the scan line must be positioned */
.hud-scan-target {
    position: relative;
    overflow: hidden;
}

/* =========================================
   SERVICE SWIPER SLIDER (CAROUSEL)
   ========================================= */
.service-carousel-section {
    padding: 100px 0;
    background: #060e1b;
    position: relative;
    overflow: hidden;
}

.service-carousel-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 242, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 242, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.service-swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 80px;
    overflow: visible !important;
    /* Allow slides to bleed out of container */
}

.service-card {
    background: rgba(10, 25, 47, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 242, 0.1);
    border-radius: 12px;
    padding: 15px 25px 30px;
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    transform: scale(0.85);
    filter: grayscale(100%) blur(2px);
    position: relative;
    overflow: hidden;
}

/* Scanning Line for Service Card */
.service-card .scanning-line {
    background: linear-gradient(to bottom, transparent, rgba(0, 255, 242, 0.1), transparent);
}

.service-card h3 {
    color: #ffffff;
    font-size: 1.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    transition: 0.5s;
    line-height: 1.2;
}

.service-card h3 span:nth-child(1) {
    color: #00fff2;
    text-shadow: 0 0 15px rgba(0, 255, 242, 0.3);
}

.service-card h3 span:nth-child(2) {
    color: var(--accent-orange);
    text-shadow: 0 0 15px rgba(255, 179, 0, 0.3);
}

.swiper-slide-active .service-card:hover h3 span {
    text-shadow: 0 0 20px currentColor;
}

.service-card p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 25px;
    transition: 0.5s;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    width: fit-content;
    max-width: 100%;
}

.service-card ul li {
    color: #aeb8b6;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    transition: 0.3s;
    text-align: justify;
}

.service-card ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 2px;
    color: #00fff2;
    font-size: 0.7rem;
    filter: drop-shadow(0 0 5px #00fff2);
}

.swiper-slide-active .service-card:hover ul li {
    color: #ffffff;
}

/* Active / Center Slide Elevation */
.service-swiper .swiper-slide {
    transition: z-index 0.3s;
    z-index: 1;
    pointer-events: none; /* Disable interaction on non-active slides */
}

.service-swiper .swiper-slide-active {
    z-index: 10 !important;
    pointer-events: auto; /* Re-enable interaction on active center slide */
}

.swiper-slide-active .service-card {
    opacity: 1 !important;
    transform: scale(1.1) !important;
    filter: grayscale(0) blur(0) !important;
    border-color: rgba(0, 255, 242, 0.5);
    background: rgba(10, 25, 47, 0.8);
    box-shadow: 0 20px 50px rgba(0, 255, 242, 0.15);
}

/* Hover Effect — only on the active (center) slide */
.swiper-slide-active .service-card:hover {
    border-color: #00fff2 !important;
    box-shadow: 0 0 40px rgba(0, 255, 242, 0.4);
    background: rgba(10, 25, 47, 1) !important;
    transform: scale(1.15) !important;
    z-index: 10;
    opacity: 1 !important;
    filter: grayscale(0) blur(0) !important;
}

.swiper-slide-active .service-card:hover .scanning-line {
    opacity: 1;
}

.swiper-slide-active .service-card:hover h3 {
    color: #ffffff;
    text-shadow: 0 0 10px #00fff2;
}

.swiper-slide-active .service-card:hover p {
    color: #ffffff;
}

.swiper-slide-active .service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background: #00fff2;
}

/* Swiper Navigation Customization */
.service-swiper .swiper-button-next,
.service-swiper .swiper-button-prev {
    color: #00fff2;
    background: rgba(10, 25, 47, 0.8);
    border: 1px solid rgba(0, 255, 242, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 4px;
}

.service-swiper .swiper-button-next:after,
.service-swiper .swiper-button-prev:after {
    font-size: 1.5rem;
    font-weight: bold;
}

.service-swiper .swiper-pagination-bullet {
    background: #00fff2;
    opacity: 0.2;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #00fff2 !important;
    box-shadow: 0 0 10px #00fff2;
}

@media (max-width: 768px) {
    .service-card {
        height: auto;
        padding: 30px 20px;
    }

    .swiper-slide-active .service-card {
        transform: scale(1.05) !important;
    }
}

/* =========================================
   GLOBAL MOBILE RESPONSIVNESS OVERRIDES
   Memaksa ukuran dan spasi yang inline agar responsive
   ========================================= */
@media (max-width: 768px) {
    /* Tipografi Global */
    h1[style*="font-size"], .section-title {
        font-size: 2.2rem !important;
        margin-bottom: 30px !important;
    }
    h2[style*="font-size"], h3[style*="font-size"], h4[style*="font-size"] {
        font-size: 1.6rem !important;
    }
    p[style*="font-size"], p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* Padding & Layout Dasar Global */
    section[style*="padding"] {
        padding: 60px 5% !important;
    }
    .landing-section {
        padding: 90px 5% 50px !important;
    }

    /* Container Grid dan Flexbox Inline */
    div[style*="display: grid"], div[style*="gap: 30px"], div[style*="gap: 40px"], div[style*="gap: 60px"] {
        gap: 15px !important;
    }
    div[style*="display: flex; flex-wrap: wrap"] {
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* Ukuran Kartu Layanan / Proyek / Portofolio */
    .project-node, .work-card, .feature-card, .tech-analysis-block, .service-card {
        min-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding: 25px 20px !important;
    }

    /* Modal dan Peta */
    .interactive-map-container {
        height: 55vh !important;
        min-height: 450px !important;
    }
    .modal-container-gallery {
        padding: 40px 15px 15px !important;
    }
    .modal-photo-grid-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    }

    /* Hero Detail Layanan */
    .service-page-title {
        padding: 90px 5% 50px !important;
    }
    .service-page-title h1 {
        font-size: 2.2rem !important;
    }
    
    /* Tombol Video/Hero (Bila Ada Menggunakan Ukuran Lebar) */
    .cta-btn {
        padding: 12px 25px !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        text-align: center;
        box-sizing: border-box;
    }

    /* Penyesuaian Khusus Halaman Tentang (Journey & Card) */
    .personnel-card {
        width: 280px !important;
        height: 450px !important;
    }
    #team-prev, #team-next {
        display: none !important;
    }
    .visi-misi-img img { max-height: 250px !important; }
    .hud-scan-target { min-width: 100% !important; padding: 25px 20px !important; }
    div[style*="width:calc(50% - 60px)"] { width: 100% !important; padding: 0; }
    div[style*="margin-bottom:100px"] { margin-bottom: 40px !important; }
    div[style*="left:50%; top:0; bottom:0; width:2px"] { display: none !important; }
    .waypoint-dot { display: none !important; }
    .journey-card { padding: 25px 20px !important; text-align: left !important; }
}