@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #083b8c;
    --primary-hover: #05265e;
    --accent: #3a86ff;
    --accent-hover: #1b62db;
    --dark: #0f172a;
    --text-main: #334155;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --font: 'Plus Jakarta Sans', sans-serif;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navbar */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-img {
    height: 70px;
    width: auto;
}

.logo-text {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 9999px;
    transition: var(--transition);
    color: var(--text-main);
}

.lang-selector:hover {
    background-color: var(--light-bg);
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-contact {
    background-color: var(--accent);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-contact:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 134, 255, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 99px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    background-image: linear-gradient(135deg, rgba(8, 59, 140, 0.95) 0%, rgba(10, 30, 80, 0.8) 100%), url('../images/hero_handshake.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 9rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 85vh;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-hero-solid {
    background-color: var(--white);
    color: var(--primary);
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-hero-solid:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.btn-hero-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Service Sections */
.section {
    padding: 7rem 1.5rem;
}

.section.alt-bg {
    background-color: var(--light-bg);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.section-container.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    background-color: rgba(58, 134, 255, 0.08);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(58, 134, 255, 0.15);
}

.section-text-col h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-text-col p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.05rem;
}

.learn-more:hover {
    color: var(--accent-hover);
}

.learn-more span {
    transition: var(--transition);
}

.learn-more:hover span {
    transform: translateX(5px);
}

/* Grids / Visual Columns */
.facility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.grid-img-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.grid-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.grid-img-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.grid-img-card:hover img {
    transform: scale(1.06);
}

.tech-mockup {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.tech-mockup img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.tech-mockup:hover {
    transform: translateY(-4px);
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.business-grid .wide-card {
    grid-column: 1 / span 2;
    aspect-ratio: 9/4;
}

/* Facility Page Sectors */
.sectors-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.sectors-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--text-muted);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.sector-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.sector-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.sector-icon {
    width: 44px;
    height: 44px;
    color: #083b8c;
}

.sector-card p {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.2;
}

/* Service Detail Cards List */
.services-grid-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.service-detail-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-detail-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.service-detail-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-detail-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.service-detail-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Brand detail card (Other Business Page) */
.brand-details-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.brand-detail-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

.brand-detail-row.reverse {
    grid-template-columns: 1.1fr 1fr;
}

.brand-logo-img {
    max-width: 160px;
    margin-bottom: 1.5rem;
}

.brand-features {
    list-style: none;
    margin-top: 1.5rem;
}

.brand-features li {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.brand-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff9f1c;
    font-weight: 700;
}

.brand-showcase-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Legal Pages (Syarat & Ketentuan / Kebijakan Privasi) */
.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.legal-title-col {
    position: sticky;
    top: 130px;
}

.legal-title-col h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.legal-content-col h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 1rem 0;
}

.legal-content-col h2:first-of-type {
    margin-top: 0;
}

.legal-content-col p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.legal-content-col ol,
.legal-content-col ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.legal-content-col li {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
}

.legal-content-col li strong {
    color: var(--dark);
}

/* About Us Page Outsourcing Banner */
.about-outsourcing-banner {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 6rem;
}

.about-outsourcing-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Klien Kami grid */
.clients-section {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.clients-section h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.clients-section p {
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.clients-grid-img {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
}

/* CTA Section */
.cta-section {
    padding: 2rem 1.5rem 6rem 1.5rem;
}

.cta-banner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background-image: linear-gradient(135deg, rgba(8, 59, 140, 0.96) 0%, rgba(10, 30, 80, 0.88) 100%), url('../images/cta_meeting.png');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: 6rem 2rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-banner p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-cta-blue {
    background-color: var(--accent);
    color: var(--white);
    padding: 0.9rem 2.25rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta-blue:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.35);
}

.btn-cta-outline {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 0.8rem 2.25rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Footer styling */
footer {
    background-color: var(--white);
    border-top: 1px solid var(--border);
    padding: 5rem 1.5rem 0 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 1.3fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-addr-title {
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--dark);
    margin-top: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-addr-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 0.25rem;
}

.footer-col h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact-item {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
}

.footer-contact-item span {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.1rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social-icon:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-lang-selector {
    margin-top: 1.5rem;
}

.copyright-bar {
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    text-align: center;
    padding: 1.5rem 1.5rem;
    font-size: 0.85rem;
    max-width: 1200px;
    margin: 4rem auto 0 auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {

    .section-container,
    .section-container.reverse {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .sectors-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid-list {
        grid-template-columns: 1fr 1fr;
    }

    .legal-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .legal-title-col {
        position: static;
    }

    .brand-detail-row,
    .brand-detail-row.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-container {
        grid-template-columns: 1.2fr 0.8fr 0.8fr;
        gap: 3rem;
    }

    .footer-container .footer-col:last-child {
        grid-column: 1 / span 3;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .nav-right {
        gap: 1rem;
    }

    .btn-contact {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-hero-solid,
    .btn-hero-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .section {
        padding: 4.5rem 1.5rem;
    }

    .section-text-col h2 {
        font-size: 1.75rem;
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid-list {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-container .footer-col:last-child {
        grid-column: 1;
    }

    .cta-banner {
        padding: 4rem 1.5rem;
    }

    .cta-banner h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-cta-blue,
    .btn-cta-outline {
        width: 100%;
        max-width: 280px;
    }
}

/* Custom Technology Services Section Redesign */
.section-category-lbl {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: block;
}

.tech-visual-full {
    width: 85%;
    max-width: 520px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    display: block;
    transition: transform 0.3s ease;
}

.tech-visual-full:hover {
    transform: scale(1.01);
}

.view-more-inline {
    color: #6f42c1;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.view-more-inline:hover {
    color: #5925ad;
}

/* Hero Slideshow Custom CSS */
.hero {
    position: relative;
    padding: 0;
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 59, 140, 0.9) 0%, rgba(10, 30, 80, 0.75) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

/* Dynamic Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.client-logo-item {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.client-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(8, 59, 140, 0.08);
    border-color: rgba(8, 59, 140, 0.15);
}

.client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: all 0.3s ease;
}

.client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}