:root {
    --bg: #f3f5fb;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e5e7eb;
    --brand-1: #0b63c8;
    --brand-2: #1aa0ff;
    --cta: #1f8f5a;
    --cta-dark: #157a4a;
}
html, body {
    background: var(--bg);
    color: var(---text);
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400;
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(229,231,235,.8);
    backdrop-filter: blur(8px);
}
.navbar .navbar-toggler {
    background-color: var(--brand-1);
}
.navbar .navbar-brand img {
    height: 80px;
    width: auto;
}
.navbar .nav-link,
.navbar .dropdown-item {
    color: var(--brand-2) !important;
    font-weight: 500;
}
.navbar .nav-link:hover,
.navbar .dropdown-item:hover {
    color: var(--brand-1) !important;
}

/* BUTTONS */
.btn {
    font-weight: 700;
    border-radius: 999px;
    padding: 12px 18px;
}
.btn-primary {
    background: var(--cta);
    border: none;
    box-shadow: 0 10px 22px rgba(105,180,76,.28);
}
.btn-primary:hover {
    background: var(--cta-dark);
}
.btn-ghost {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.25);
    color: #FFFFFF;
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.16);
}

/* HERO */
.hero-bg {
    position: relative;
    min-height: 90vh;
    background: url('../images/contents/hero.png') no-repeat center right;
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg-empty {
    position: relative;
    min-height: 30vh;
    background: url('../images/contents/background.png') no-repeat center right;
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7, 23, 47, 0.92) 0%,
        rgba(7, 23, 47, 0.75) 40%,
        rgba(7, 23, 47, 0.35) 70%,
        rgba(7, 23, 47, 0.05) 100%
    );
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    text-shadow: 0 10px 30px rgba(0,0,0,.45);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 22px;
}
.hero-eyebrow {
    font-size: 25px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 10px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

/* COMMON */
.card-soft {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15,23,42,.08);
    overflow: hidden;
}
.section-title {
    font-weight: 800;
    letter-spacing: .2px;
}
.media-image {
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 22px rgba(11,99,200,.22);
}
.section-sub {
    color: var(--muted);
}
.feature-pill {
    display: flex;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    align-items: center;
    text-align: left;
    height: 100%;
    gap: 12px;
    padding: 14px 14px;
}
.icon-badge {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
    border-radius: 50%;
    box-shadow: 0 12px 22px rgba(11,99,200,.22);
    color: #fff;
}
.icon-badge i {
    font-size: 20px;
    line-height: 1;
    display: block;
}
.hr-soft {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-1), transparent);
    border: 0;
    margin: 18px 0;
}

/* PARTNERS */
.partner-grid {
    margin-top: 1rem;
}
.partner-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.25s ease;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 18px;
}
.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(15,23,42,.12);
}
.partner-card img {
    max-height: 70px;
    max-width: 140px;
    object-fit: contain;
}
.partner-card h6 {
    color: #1f2937;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

/* FOOTER */
footer {
    background: var(--brand-1);
    color: #ffffff;
    font-weight: bold;
    padding: 15px 0;
    margin-top: 24px;
}
footer .footer-brand img {
    height: 60px;
}
footer a {
    color: var(--cta);
    text-decoration: none;
}
footer a:hover {
    color: var(--cta-dark);
    text-decoration: underline;
}
.footer-note {
    color: var(--muted);
    font-size: .9rem;
}

/* MEDIA */
@media (max-width: 992px) {
    .navbar {
        padding: 10px;
    }
    .container {
        padding: 0;
    }
    section.card-soft {
        margin-left: 10px;
        margin-right: 10px;
    }
    .hero-bg, 
    .hero-bg-empty {
        background-position: center left;
    }
    .hero-bg-empty {
        min-height: 20vh;
    }
    .hero-content {
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
}

/* PRELOADER */
.preloader {
    background-color: var(--bg);
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
}
.lds-ellipsis {
    margin: 0 auto;
    position: relative;
    top: 50%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 64px;
    text-align: center;
    z-index: 9999;
}
.lds-ellipsis span {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--brand-1);
    -webkit-animation: ball-pulse-sync .6s 0s infinite ease-in-out;
    animation: ball-pulse-sync .6s 0s infinite ease-in-out;
}
.lds-ellipsis span:nth-child(1) {
    -webkit-animation: ball-pulse-sync .6s -.14s infinite ease-in-out;
    animation: ball-pulse-sync .6s -.14s infinite ease-in-out
}
.lds-ellipsis span:nth-child(2) {
    -webkit-animation: ball-pulse-sync .6s -70ms infinite ease-in-out;
    animation: ball-pulse-sync .6s -70ms infinite ease-in-out
}
@-webkit-keyframes ball-pulse-sync {
    33% {
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
}
    66% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
@keyframes ball-pulse-sync {
    33% {
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
    66% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* LOADING */
#loading {
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: fixed;
    display: none;
    opacity: 0.7;
    background-color: var(--bg);
    z-index: 1100;
    text-align: center;
}
#loading-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 1110;
}
