/* --------------------------------------------------
 * CSS ARCHITECTURE & BRANDING VARIABLES
 * -------------------------------------------------- */
:root {
    --primary: #0F766E;
    --secondary: #16A34A;
    --accent: #F59E0B;
    --dark: #0F172A;
    --light: #F8FAFC;
    --white: #FFFFFF;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Base Reset & Optimization */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* --------------------------------------------------
 * LOADING & PROGRESS EFFECTS
 * -------------------------------------------------- */
.loader-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-progress-bar {
    position: fixed;
    top: 0; left: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%; z-index: 1001;
    transition: width 0.1s ease-out;
}

/* --------------------------------------------------
 * STICKY HEADER & NAVIGATION
 * -------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}
.site-header.scrolled {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
}
.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}
.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: var(--white);
}
.logo span { color: var(--primary); }

.nav-menu {
    display: flex;
    gap: 32px;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.7);
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--white);
}
.nav-link::after {
    content: '';
    position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none; border: none; cursor: pointer;
}
.mobile-toggle span {
    width: 26px; height: 2px; background-color: var(--light);
    transition: var(--transition-smooth);
}

/* --------------------------------------------------
 * BUTTON RIPPLE & GENERAL BUTTONS
 * -------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 1px solid transparent;
}
.btn-primary:hover {
    box-shadow: 0 0 20px rgba(15, 118, 110, 0.5);
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(248, 250, 252, 0.3);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--light);
    transform: translateY(-2px);
}
.btn-accent {
    background-color: var(--accent);
    color: var(--dark);
    border: none;
}
.btn-accent:hover {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
    transform: translateY(-2px);
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-animation {
    to { transform: scale(4); opacity: 0; }
}

/* --------------------------------------------------
 * HERO SECTION & MODERN SAAS BACKGROUNDS
 * -------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    background: radial-gradient(circle at 50% 50%, #111c30 0%, var(--dark) 100%);
    overflow: hidden;
    text-align: center;
}
.gis-pattern-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(var(--light) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.animated-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    mix-blend-mode: screen;
    opacity: 0.25;
    pointer-events: none;
}
.blob-1 {
    width: 400px; height: 400px;
    background: var(--primary);
    top: -10%; left: 10%;
    animation: floatBlob 12s infinite alternate ease-in-out;
}
.blob-2 {
    width: 500px; height: 500px;
    background: var(--secondary);
    bottom: -10%; right: 5%;
    animation: floatBlob 16s infinite alternate-reverse ease-in-out;
}
@keyframes floatBlob {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.15); }
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--white) 30%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-subtext {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-desc {
    font-size: 1.1rem;
    color: rgba(248, 250, 252, 0.8);
    max-width: 750px;
    margin: 0 auto 40px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --------------------------------------------------
 * ELEGAN TENTANG SECTION
 * -------------------------------------------------- */
.about-section {
    padding: 100px 0;
    position: relative;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
}
.title-bar {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 12px auto 0;
    border-radius: 2px;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-text p {
    font-size: 1.15rem;
    color: rgba(248, 250, 252, 0.85);
}
.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.feature-tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.feature-tag svg {
    width: 16px; height: 16px; color: var(--secondary);
}
.feature-tag:hover {
    background: rgba(22, 163, 74, 0.1);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

/* --------------------------------------------------
 * CARD HOVER & GLOW JASA UNGGULAN
 * -------------------------------------------------- */
.services-section {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.5);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}
.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--x, 0px) var(--y, 0px), rgba(15, 118, 110, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.service-card:hover .card-glow { opacity: 1; }
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(15, 118, 110, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.service-icon {
    width: 48px; height: 48px;
    color: var(--primary);
    margin-bottom: 24px;
}
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--white);
}
.service-card p {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.7);
}

/* --------------------------------------------------
 * INFINITE CAROUSEL & IMAGE ZOOM
 * -------------------------------------------------- */
.gallery-section { padding: 100px 0 60px; }
.carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 20px;
}
.carousel-container {
    overflow: hidden;
    width: 100%;
    cursor: grab;
}
.carousel-container:active { cursor: grabbing; }
.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.carousel-slide {
    flex: 0 0 350px;
    padding: 0 12px;
    overflow: hidden;
}
.carousel-slide img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: rgba(255,255,255,0.05);
}
.carousel-slide:hover img {
    transform: scale(1.08);
}
.carousel-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}
.carousel-btn:hover { background: var(--primary); border-color: transparent; }
.prev-btn { left: 24px; }
.next-btn { right: 24px; }

/* --------------------------------------------------
 * PREMIUM CONTACT PROFILE CARDS
 * -------------------------------------------------- */
.contact-section { padding: 100px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.profile-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition-smooth);
}
.profile-card:hover {
    transform: translateY(-5px);
    border-color: rgba(22, 163, 74, 0.3);
}
.avatar-container {
    width: 140px; height: 140px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    padding: 4px;
    background: var(--dark);
}
.avatar-container img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.profile-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin-bottom: 8px;
    color: var(--white);
}
.profile-card .role {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 16px;
    min-height: 44px;
}
.profile-card .address {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 32px;
}
.profile-card .address svg { width: 16px; height: 16px; color: var(--primary); }
.wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.wa-btn svg { width: 18px; height: 18px; }
.wa-btn:hover {
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.4);
    filter: brightness(1.1);
}

/* --------------------------------------------------
 * LOKASI & CTA SECTIONS
 * -------------------------------------------------- */
.maps-section { padding: 60px 0 100px; }
.map-container {
    width: 100%; height: 450px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}
.map-container iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.9) invert(0.9) contrast(1.2); }
.map-btn-wrapper { text-align: center; margin-top: 32px; }

.cta-section {
    position: relative;
    padding: 100px 24px;
    background: linear-gradient(135deg, #0d544f 0%, #0d2c18 100%);
    text-align: center;
    overflow: hidden;
}
.cta-glow {
    position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}
.cta-section h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 16px; color: var(--white); }
.cta-section p { font-size: 1.1rem; max-width: 650px; margin: 0 auto 36px; color: rgba(248, 250, 252, 0.8); }

/* --------------------------------------------------
 * FOOTER & BACK TO TOP
 * -------------------------------------------------- */
.site-footer {
    background-color: #080d1a;
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.95rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand .logo { display: inline-block; margin-bottom: 16px; }
.footer-brand p { color: rgba(248, 250, 252, 0.6); max-width: 320px; }
.footer-links h4, .footer-address h4 {
    font-family: var(--font-heading); color: var(--white);
    font-size: 1.1rem; margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(248, 250, 252, 0.6); transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--primary); }
.footer-address p { color: rgba(248, 250, 252, 0.6); margin-bottom: 12px; }
.footer-bottom {
    padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center; color: rgba(248, 250, 252, 0.4); font-size: 0.85rem;
}

.back-to-top {
    position: fixed; bottom: 30px; right: -60px;
    width: 44px; height: 44px;
    background-color: var(--primary); color: var(--white);
    border: none; border-radius: 8px;
    cursor: pointer; z-index: 99;
    display: flex; justify-content: center; align-items: center;
    font-weight: bold; font-size: 1.2rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.back-to-top.show { right: 30px; }
.back-to-top:hover { background-color: var(--secondary); transform: translateY(-3px); }

/* --------------------------------------------------
 * HARDWARE ACCELERATED SCROLL REVEAL ENGINE
 * -------------------------------------------------- */
.reveal {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up { transform: translateY(40px); }
.fade-left { transform: translateX(40px); }
.fade-right { transform: translateX(-40px); }
.reveal.active {
    opacity: 1;
    transform: translate(0);
}

/* --------------------------------------------------
 * RESPONSIVE BREAKPOINTS (MEDIA QUERIES)
 * -------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 4rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column; padding: 100px 40px; gap: 24px;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--glass-border);
    }
    .nav-menu.open { right: 0; }
    .mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .mobile-toggle.open span:nth-child(2) { opacity: 0; }
    .mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    
    .hero-content h1 { font-size: 2.8rem; }
    .hero-subtext { font-size: 1rem; }
    .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { gap: 40px; }
}