:root {
    --primary: #209BBE;
    --primary-dark: #1a7d9a;
    --primary-deeper: #125f77;
    --primary-light: #d0eef6;
    --primary-pale: #eaf6fb;
    --accent: #0d3d4d;
    --gold: #c9a84c;
    --white: #ffffff;
    --off-white: #f4f9fb;
    --text-dark: #0d1f26;
    --text-mid: #2c4f5c;
    --text-muted: #6b8c99;
    --border: rgba(32, 155, 190, 0.15);
    --shadow-sm: 0 2px 12px rgba(32, 155, 190, 0.08);
    --shadow-md: 0 8px 32px rgba(32, 155, 190, 0.14);
    --shadow-lg: 0 20px 60px rgba(32, 155, 190, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    font-family: 'Sora', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
nav#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    transition: box-shadow 0.3s;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 9px 22px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 5% 60px;
    gap: 60px;
    background: linear-gradient(135deg, #f4f9fb, #eaf6fb 50%, #d5eef8);
    position: relative;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(32, 155, 190, 0.12), transparent 70%);
    pointer-events: none;
}

.hero-bg-shape2 {
    position: absolute;
    bottom: -50px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(32, 155, 190, 0.07), transparent 70%);
    pointer-events: none;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-deeper);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(32, 155, 190, 0.3);
}

.hero-label-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(.8);
    }
}

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.12;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title .highlight,
.hero-title em {
    color: var(--primary);
    font-style: italic;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-mid);
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 18px rgba(32, 155, 190, 0.35);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-deeper);
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid rgba(32, 155, 190, 0.4);
    transition: all 0.2s;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-pale);
    border-color: var(--primary);
}

/* ===== DASHBOARD CARD (hero widget) ===== */
.dashboard-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(32, 155, 190, 0.12);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #7dd4ec);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.dashboard-title-section h3 {
    font-size: 16px;
    font-weight: 600;
}

.dashboard-title-section p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.status-live {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eafbf2;
    color: #1a7a47;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #2ec46d;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stat-box {
    background: var(--primary-pale);
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-number {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-deeper);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.floating-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--gold);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(201, 168, 76, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ===== SECTION COMMONS ===== */
section {
    padding: 90px 5%;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--accent);
    line-height: 1.18;
    letter-spacing: -.5px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 580px;
}

/* ===== SERVICES ===== */
#services {
    background: white;
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background .3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(32, 155, 190, 0.3);
    background: white;
}

.service-card:hover::before {
    background: linear-gradient(90deg, var(--primary), #7dd4ec);
}

.service-num {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ===== STATS BANNER ===== */
#stats {
    background: linear-gradient(135deg, var(--primary-deeper), var(--primary) 60%, #49bcd8);
    padding: 70px 5%;
    position: relative;
    overflow: hidden;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-big {
    font-family: 'DM Serif Display', serif;
    font-size: 52px;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-big span {
    color: rgba(255, 255, 255, .5);
    font-size: 32px;
}

.stat-name {
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, .15);
}

/* ===== CLIENTS ===== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.client-card {
    background: var(--off-white);
    border-radius: 18px;
    padding: 30px 24px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    transition: all 0.3s;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.client-logo-box {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.client-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.client-type {
    font-size: 12px;
    background: var(--primary-pale);
    padding: 4px 12px;
    border-radius: 50px;
    color: var(--primary-deeper);
    font-weight: 500;
}

/* ===== FOOTER ===== */
footer {
    background: var(--accent);
    color: rgba(255, 255, 255, .7);
    padding: 50px 5% 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.footer-brand-text span {
    color: var(--primary);
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .55);
}

.footer-col h4 {
    color: white;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* ===== FORMS (publik) ===== */
.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 7px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0edf2;
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Sora', sans-serif;
    color: var(--text-dark);
    background: var(--off-white);
    outline: none;
    transition: all 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(32, 155, 190, .1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== FADE IN ANIMATION ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    #hero {
        grid-template-columns: 1fr;
        padding-top: 100px;
    }

    .hero-visual {
        display: none;
    }

    .services-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .nav-links {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
}