
:root {
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    
    /* Putih Bersih: #FFFFFF */
    --color-white: #FFFFFF;
    
    /* Abu-abu Lembut (Background & Border): #F7FAFC / #EDF2F7 */
    --color-slate-50: #F7FAFC;
    --color-slate-100: #EDF2F7;
    --color-slate-200: #EDF2F7;
    
    /* Biru Navy (Teks Utama & Navigasi): #0F2C59 / #1A365D */
    --color-slate-950: #0B1E38; /* Anchor navy for footer background */
    --color-slate-900: #0F2C59; /* Bold headers / Top Contact Bar background */
    --color-slate-800: #1A365D; /* Main body text & navigation */
    --color-slate-700: #23456B; /* High legibility description texts */
    --color-slate-600: #3E5470; /* Muted texts / helper labels */
    
    /* Biru Langit/Terang (Aksen, Ikon, Badge): #3182CE / #00B4D8 */
    --color-sky-600: #3182CE;
    --color-sky-500: #00B4D8;
    --color-sky-400: #00B4D8;
    --color-sky-300: #63B3ED;
    --color-sky-100: #EBF8FF;
    --color-sky-50: #F7FAFC;

    /* Standardized emerald and green to Biru Langit for complete color harmony */
    --color-emerald-500: #00B4D8;
    --color-emerald-600: #3182CE;
    --color-emerald-50: #F7FAFC;
}

/* Scroll Progress Bar at the top of screen */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, #3182CE, #00B4D8);
    z-index: 100000;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Utility classes & smooth animations */
.glass-nav {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #EDF2F7;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px -10px rgba(15, 44, 89, 0.08);
    border-bottom-color: rgba(49, 130, 206, 0.08);
}

.nav-container {
    height: 80px; /* Desktop regular height */
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

@media (max-width: 767.98px) {
    .nav-container {
        height: 64px; /* Mobile regular height */
    }
}

.glass-nav.scrolled .nav-container {
    height: 64px; /* Desktop scrolled height */
}

@media (max-width: 767.98px) {
    .glass-nav.scrolled .nav-container {
        height: 52px; /* Mobile scrolled height */
    }
}

.glass-card {
    background: #FFFFFF;
    border: 1px solid #EDF2F7;
    box-shadow: 0 10px 30px -10px rgba(15, 44, 89, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    box-shadow: 0 20px 40px -15px rgba(15, 44, 89, 0.09);
    transform: translateY(-5px);
    border-color: rgba(49, 130, 206, 0.25);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(49, 130, 206, 0.12);
}

/* Premium Sweeping Button Shimmer */
.btn-gradient {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #3182CE 0%, #00B4D8 100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 30%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gradient:hover::after {
    left: 125%;
}

.btn-gradient:hover {
    box-shadow: 0 12px 30px -5px rgba(49, 130, 206, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.text-gradient {
    background: linear-gradient(135deg, #3182CE 0%, #00B4D8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-dark {
    background: linear-gradient(135deg, #0F2C59 0%, #3182CE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Drifting/Floating decorative background blobs */
@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.08); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.floating-blob {
    filter: blur(80px);
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
}

.blob-1 {
    background: radial-gradient(circle, #3182CE 0%, transparent 70%);
    animation: drift 20s ease-in-out infinite;
}

.blob-2 {
    background: radial-gradient(circle, #00B4D8 0%, transparent 70%);
    animation: drift 25s ease-in-out infinite 2s;
}

/* Service Card dynamic image zoom */
.service-card img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover img {
    transform: scale(1.08);
}

/* Why Choose Us glowing rings pulse */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(49, 130, 206, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(49, 130, 206, 0); }
    100% { box-shadow: 0 0 0 0 rgba(49, 130, 206, 0); }
}

.why-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover {
    border-color: rgba(49, 130, 206, 0.25);
}

.why-card .icon-box {
    transition: all 0.3s ease;
}

.why-card:hover .icon-box {
    animation: pulse-ring 1.5s infinite;
    background-color: #3182CE;
    color: #FFFFFF;
}

/* Capsule testimonial slider dots */
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #EDF2F7;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot.active {
    width: 24px;
    background-color: #3182CE;
}

/* FAQ spring action rotate and color swap */
.faq-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s, color 0.3s, border-color 0.3s;
}

.faq-trigger:hover .faq-icon {
    background-color: #3182CE;
    color: #FFFFFF;
    border-color: #3182CE;
}

/* Critical Preloader styling to ensure NO layout shift/FOUT */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F7FAFC;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #EDF2F7;
    border-top-color: #3182CE;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
