
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #f4f9ff;
    color: #0b2b4f;
    line-height: 1.5;
}

:root {
    --primary: #0A3B5C;        /* biru tua profesional */
    --primary-light: #E3F0FF;  /* biru sangat muda */
    --secondary: #ffffff;
    --accent-soft: #d9e9fa;
    --text-dark: #0A2A40;
    --shadow-sm: 0 15px 30px -10px rgba(10, 59, 92, 0.15);
    --shadow-hover: 0 25px 40px -14px rgba(10, 59, 92, 0.25);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* navbar */
.navbar {
    background-color: var(--secondary);
    box-shadow: 0 4px 20px rgba(10, 59, 92, 0.06);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(2px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    color: #3d7ca3;
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 2.8rem;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: var(--primary);
    font-size: 1.1rem;
    transition: 0.2s;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.nav-links a:hover, .nav-links a.active {
    border-bottom-color: var(--primary);
    color: #06273f;
}

/* language switcher */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    margin-left: 1.5rem;
}
.lang-switch button {
    background: transparent;
    border: 1px solid var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.lang-switch button.active-lang {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

/* page sections */
.page-section {
    padding: 4.5rem 0 5rem;
    min-height: calc(100vh - 80px);
    display: none;
    animation: fade 0.4s ease;
}

.page-section.active-page {
    display: block;
}

@keyframes fade {
    from { opacity: 0.2; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.4rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subhead {
    color: #3f627f;
    font-size: 1.2rem;
    max-width: 700px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.9rem 2.4rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 18px -6px rgba(10, 59, 92, 0.3);
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary i {
    font-size: 1.2rem;
}

.btn-primary:hover {
    background-color: #0c4a72;
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-soft {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    border-radius: 2.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.6);
}

/* ---------- HOME (interaktif + 15 review slider + footer) ---------- */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1.2rem;
    border-radius: 60px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(10,59,92,0.1);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0 1.8rem;
}

.stat-item {
    background: white;
    border-radius: 30px;
    padding: 0.8rem 1.8rem;
    box-shadow: 0 6px 14px var(--primary-light);
    font-weight: 600;
    color: var(--primary);
    border: 1px solid #c2dfff;
}

.stat-item i {
    margin-right: 8px;
    color: #1b6b9c;
}

.code-window {
    background: #0a1a2b;
    border-radius: 28px;
    padding: 1.8rem 1.5rem;
    color: #b4d9ff;
    font-family: 'Space Grotesk', monospace;
    box-shadow: 0 30px 35px -20px rgba(0,0,0,0.4);
    border: 2px solid #2a577b;
    transition: transform 0.3s;
}

.code-window:hover {
    transform: scale(1.02) rotate(0.5deg);
}

.code-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0.9rem 0;
    border-left: 3px solid #2d7eb3;
    padding-left: 16px;
}

.code-line i {
    color: #ffcb6b;
    font-size: 1.2rem;
}

.blinking-cursor {
    background-color: #6da5d0;
    width: 8px;
    height: 20px;
    display: inline-block;
    animation: blink 1s step-end infinite;
    margin-left: 5px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.floating-icons {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    font-size: 2.2rem;
    color: var(--primary);
    flex-wrap: wrap;
    list-style: none;
}

.floating-icons i {
    background: white;
    padding: 16px;
    border-radius: 60px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
    border: 1px solid #bee0ff;
}

.floating-icons i:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-8px);
}

/* project cards (ditambahkan di home) */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0 4rem;
}
.project-card {
    background: white;
    border-radius: 2rem;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--shadow-hover);
    border: 1px solid rgba(10,59,92,0.1);
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.project-icon {
    background: var(--primary-light);
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}
.tech-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-right: 0.5rem;
    margin-top: 1rem;
}

/* review slider 15 cards */
.review-wrapper {
    width: 100%;
    overflow: hidden;
    background: var(--primary-light);
    padding: 2.5rem 0;
    border-radius: 80px 0 80px 0;
    margin: 4rem 0;
}
.review-track {
    display: flex;
    gap: 2rem;
    animation: scrollReviews 35s linear infinite;
    width: max-content;
}
.review-card {
    background: white;
    border-radius: 30px;
    padding: 1.5rem 2rem;
    min-width: 300px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(10,59,92,0.15);
}
.review-card i {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.review-card p {
    font-style: italic;
    margin-bottom: 0.8rem;
}
@keyframes scrollReviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* footer profesional */
.footer {
    background: var(--primary);
    color: white;
    border-radius: 50px 50px 0 0;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.footer-links i {
    margin: 0 0.8rem;
    font-size: 1.8rem;
    color: white;
    opacity: 0.9;
    transition: 0.2s;
}
.footer-links i:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ---------- ABOUT (5 bahasa) ---------- */
.lang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}
.lang-card {
    background: var(--secondary);
    border-radius: 2rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: 0.2s;
    border: 2px solid transparent;
}
.lang-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
}
.lang-icon {
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.lang-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}
.lang-desc {
    color: #2b4b68;
    font-size: 0.98rem;
}

/* ---------- CONTACT (map, telp, foto CEO wanita berjas) ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
}

.info-card {
    background: white;
    border-radius: 2.2rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    background: var(--primary-light);
    padding: 1rem 1.6rem;
    border-radius: 50px;
}

.info-row i {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
}

.map-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 3px solid white;
    margin-top: 1.4rem;
    height: 220px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ceo-section {
    background: white;
    border-radius: 2rem;
    padding: 1.8rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--primary-light);
}

.ceo-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    margin-bottom: 1rem;
    box-shadow: 0 15px 25px -8px rgba(10,59,92,0.3);
}

.ceo-name {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
}

.ceo-title {
    color: #46799e;
}

/* responsive */
@media (max-width: 900px) {
    .home-grid, .contact-grid, .project-grid {
        grid-template-columns: 1fr;
    }
    h1 { font-size: 2.8rem; }
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 30px 30px rgba(0,0,0,0.1);
        gap: 1.5rem;
        text-align: center;
    }
    .nav-links.show {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .lang-switch {
        margin: 1rem auto 0;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }
    h1 { font-size: 2.2rem; }
    .hero-stats { flex-direction: column; gap: 0.8rem; }
}