/* ── Color Variables ── */
:root {
    --primary: #2563EB;
    --secondary: #3B82F6;
    --bg: #ffffff;
    --text: #111827;
    --muted: #6B7280;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(0, 0, 0, 0.04);
    --radius: 20px;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.05);
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.glass-card {
    background: rgba(255, 255, 255, 0.25);
}
.glass-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.35);
}

.glass-card-dark {
    background: rgba(17, 24, 39, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: var(--radius);
}

/* ── Buttons ── */
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.btn-primary-custom:hover {
    background: #1d4ed8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
}

.btn-outline-custom {
    background: transparent;
    color: var(--text);
    border: 1.5px solid rgba(17, 24, 39, 0.12);
    padding: 0.7rem 2rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.04);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border: none;
    padding: 0.6rem 1.6rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.btn-ghost:hover {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary);
    transform: translateY(-1px);
}

/* ── Section Spacing (compact) ── */
section {
    padding: 1.5rem 0;
}

.section-title {
    font-weight: 700;
    font-size: 30px;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.section-subtitle {
    color: var(--muted);
    font-size: 17px;
    font-weight: 400;
}

.section-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 60px;
    margin-bottom: 0.6rem;
}

/* ── Hero ── */
#hero {
    padding-top: 150px;
    padding-bottom: 2.5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

#hero .hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 60px;
    margin-bottom: 1rem;
}

#hero h1 {
    font-weight: 800;
    font-size: 35px;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--text);
}

#hero .hero-desc {
    font-size: 17px;
}

.hero-stats {
    display: flex;
    gap: 25px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-stats .stat-num {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text);
    letter-spacing: 0;
    line-height: 35px;
}

.hero-stats .stat-label {
    font-size: 0.8rem;
    font-weight: bold;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual .hero-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow-md);
    /* max-width: 420px; */
    width: 100%;
}

.hero-visual .hero-card .card-icon {
    width: 56px;
    height: 56px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero-visual .hero-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.hero-visual .hero-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.hero-visual .floating-badge {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-visual .floating-badge i {
    color: var(--primary);
    font-size: 0.8rem;
}

.hero-visual .floating-badge.fb1 {
    top: -8%;
    right: -6%;
}
.hero-visual .floating-badge.fb2 {
    bottom: -4%;
    left: -8%;
}

.form-card {
    width:100%;
}

/* ── Service Overview ── */
#overview .overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

#overview .overview-item {
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
}

#overview .overview-item .oi-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.07);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0 auto 0.75rem;
}

#overview .overview-item h6 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

#overview .overview-item p {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ── Benefits ── */
#benefits .benefit-card {
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#benefits .benefit-card .bc-icon {
    width: 44px;
    height: 44px;
    background: rgba(37, 99, 235, 0.07);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

#benefits .benefit-card h6 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

#benefits .benefit-card p {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ── Features ── */
#features .feature-item {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

#features .feature-item:last-child {
    border-bottom: none;
}

#features .feature-item .fi-icon {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

#features .feature-item h6 {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.05rem;
}

#features .feature-item p {
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ── Process ── */
#process .process-step {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

#process .process-step:last-child {
    border-bottom: none;
}

#process .process-step .step-num {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

#process .process-step .step-content h6 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.05rem;
}

#process .process-step .step-content p {
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ── Why Choose Us ── */
#why .why-item {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

#why .why-item:last-child {
    border-bottom: none;
}

#why .why-item .wi-icon {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

#why .why-item h6 {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.05rem;
}

#why .why-item p {
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ── Portfolio ── */
#portfolio .portfolio-card {
    padding: 1.25rem 1.5rem 1.5rem;
    height: 100%;
    transition: all var(--transition);
}

#portfolio .portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

#portfolio .portfolio-card .portfolio-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.07);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.7rem;
    border-radius: 60px;
    margin-bottom: 0.5rem;
}

#portfolio .portfolio-card h6 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

#portfolio .portfolio-card p {
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

#portfolio .portfolio-card .portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 0.75rem;
    color: var(--muted);
}

#portfolio .portfolio-card .portfolio-meta i {
    color: var(--primary);
}

/* ── SEO Content Block ── */
#seo .seo-content {
    padding: 1.75rem 2rem;
}

#seo .seo-content h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

#seo .seo-content p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

#seo .seo-content .seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

#seo .seo-content .seo-tags span {
    background: rgba(37, 99, 235, 0.06);
    color: var(--muted);
    font-size: 0.7rem;
    padding: 0.2rem 0.8rem;
    border-radius: 60px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* ── Related Services ── */
#related .related-item {
    padding: 1.25rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all var(--transition);
}

#related .related-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

#related .related-item .ri-icon {
    width: 44px;
    height: 44px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0 auto 0.6rem;
}

#related .related-item h6 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

#related .related-item p {
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ── Final CTA ── */

#cta-final .cta-box {
    padding: 3rem 2.5rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(59, 130, 246, 0.02) 100%);
    border: 1px solid rgba(37, 99, 235, 0.06);
    text-align: center;
}

#cta-final .cta-box h3 {
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

#cta-final .cta-box p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 1.25rem;
}

/* ── Nav ── */
.navbar-custom {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.navbar-custom .navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.navbar-custom .navbar-brand span {
    color: var(--primary);
}

.navbar-custom .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    padding: 0.4rem 0.9rem !important;
    border-radius: 60px;
    transition: all var(--transition);
}

.navbar-custom .nav-link:hover {
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    #hero {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }

    #hero h1 {
        font-size: 2.4rem;
    }

    #hero .hero-desc {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-visual .hero-card {
        padding: 1.5rem 2rem;
        max-width: 100%;
        margin-top: 1.5rem;
    }

    .hero-visual .floating-badge {
        display: none;
    }

    #overview .overview-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 1.7rem;
    }

    #cta-final .cta-box {
        padding: 2rem 1.5rem;
    }

    #cta-final .cta-box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    #overview .overview-grid {
        grid-template-columns: 1fr;
    }

    #hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-stats .stat-num {
        font-size: 1.2rem;
    }

    #hero .hero-badge {
        font-size: 0.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    section {
        padding: 2.5rem 0;
    }

    #cta-final .cta-box {
        padding: 1.5rem 1rem;
    }

    #cta-final .cta-box h3 {
        font-size: 1.3rem;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 0.6rem 1.4rem;
        font-size: 0.85rem;
    }
}

/* ── Scroll animation helper ── */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

    /* ── Each stat item ── */
    .hero-stats>div {
        display: flex;
        align-items: center;
        gap: 1.25rem;
        /* space between icon and text */
    }

    /* ── Large Bootstrap icon ── */
    .hero-stats .stat-icon {
        font-size: 45px;
        /* big icon size */
        line-height: 1;
        flex-shrink: 0;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    /* ── Hover effect ── */
    .hero-stats>div:hover .stat-icon {
        transform: scale(1.15) rotate(-3deg);
        color: #ffffff;
    }
