:root {
    --brand-dark: #04142b;
    --brand: #0b3c75;
    --brand-light: #2c76ff;
    --brand-muted: #7087a6;
    --accent: #00b4ff;
    --soft: #f5f8ff;
    --border: rgba(15, 64, 120, 0.15);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: "Poppins", "Roboto", system-ui, sans-serif;
    background: var(--soft);
    color: #08152c;
    margin: 0;
}

.navbar {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1.35rem;
}

.navbar-brand img {
    max-height: 48px;
    margin-right: 0.5rem;
}

#spinner {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    visibility: hidden;
    opacity: 0;
}

#spinner.show {
    visibility: visible;
    opacity: 1;
}

.nav-link {
    font-weight: 500;
    color: #364452;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand);
}

.hero {
    min-height: 85vh;
    background: linear-gradient(180deg, rgba(4, 20, 43, 0.65), rgba(4, 20, 43, 0.35)),
        url("../img/carousel-1.jpg") center/cover no-repeat;
    color: #fff;
    padding: 5rem 2rem 3rem;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.75rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.8);
}

.hero .cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero .cta .btn,
.hero .cta a {
    padding: 0.95rem 1.6rem;
    font-size: 1rem;
    border-radius: 999px;
    text-decoration: none;
}

.hero .chip-list {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero .chip-list span {
    border-radius: 999px;
    padding: 0.45rem 1.05rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

.section {
    padding: 4rem 2rem;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #0b2340;
}

.section-subtitle {
    color: var(--brand-muted);
    max-width: 640px;
    font-size: 1rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(15, 64, 120, 0.12);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card img {
    max-width: 48px;
    margin-bottom: 1rem;
}

.feature-card h4 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--brand-muted);
    font-size: 0.95rem;
}

.feature-card .badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(11, 60, 117, 0.12);
    color: var(--brand);
    padding: 0.3rem 0.9rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.insight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.insight .panel {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.insight .panel img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.insight .panel h3 {
    margin-bottom: 1rem;
    color: #0b1f3d;
}

.insight .panel p {
    color: var(--brand-muted);
}

.process {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.process-step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -12px;
    right: 10px;
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.04);
    font-weight: 700;
    pointer-events: none;
}

.process-step h4 {
    margin-bottom: 0.7rem;
}

.process-step p {
    color: var(--brand-muted);
}

.cta-panel {
    background: linear-gradient(120deg, #04142b, #0b3c75);
    border-radius: 30px;
    padding: 3rem;
    color: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cta-panel form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-panel form .form-control {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.cta-panel form label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.btn-square {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
}

.cta-panel form .btn {
    background: var(--accent);
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1.2rem;
    font-weight: 600;
    color: #04142b;
}

.section:last-of-type {
    padding: 0;
    background: #020b18;
    margin-bottom: 0;
}

.section:last-of-type .container {
    padding: 3rem 0 2rem;
}

.section:last-of-type .cta-panel {
    margin-bottom: 0;
}

.footer {
    background: #020b18;
    color: #c4d4ef;
    padding: 3rem 2rem;
}

.footer .footer-brand {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 600;
}

.footer .footer-links,
.footer .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer a {
    color: #c4d4ef;
    text-decoration: none;
}

.footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2rem;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #9fb4d5;
}

.gallery {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery img {
    width: 100%;
    border-radius: 16px;
    height: 180px;
    object-fit: cover;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1.5rem 2rem;
    }

    .cta-panel {
        padding: 2rem;
    }
}
