
/* ===================================
   AFAS COMPANY PORTAL
   =================================== */

:root {
    --navy: #06172d;
    --navy-light: #0b294b;
    --blue: #1685d8;
    --text: #ffffff;
    --muted: #b5c9df;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--navy);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}


/* NAVIGATION */

.afas-navbar {
    background: rgba(3, 16, 34, 0.97);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
}

.nav-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-text {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.brand-text small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: #b5c9df;
    margin-top: 5px;
}

.navbar-nav .nav-link {
    color: #d3e0ef;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    color: #ffffff;
}

.login-btn {
    background: #147fd1;
    border: none;
    padding: 10px 25px;
    border-radius: 7px;
}


/* HERO */


.hero {
    position: relative;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding: 75px 0 90px;
    overflow: hidden;

    background:
        linear-gradient(
            rgba(4, 15, 30, 0.15),
            rgba(4, 15, 30, 0.25)
        ),
        url('/assets/images/graphite-bg.webp')
        center center / cover no-repeat;
}


/* GLOW EFFECT */

.hero::after {
    content: "";
    position: absolute;

    width: 700px;
    height: 700px;

    left: 50%;
    top: 25%;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(18,110,200,0.15),
            transparent 65%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}


/* LOGO */

.hero-logo {
    width: 225px;
    max-width: 65%;
    height: auto;

    filter:
        drop-shadow(
            0 0 25px rgba(30,140,255,0.22)
        );
}


/* HEADINGS */

.hero h1 {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.hero-divider {
    width: 90px;
    height: 3px;

    background: var(--blue);

    margin: 28px auto;
}

.hero-subtitle {
    color: #53b4ff;
    letter-spacing: 4px;
    font-size: 14px;
    font-weight: 600;
}

.hero-description {
    max-width: 650px;

    margin: 25px auto 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.7;
}


/* SERVICE CARDS */

.service-row {
    margin-top: 55px;
}

.service-card {
    height: 100%;

    padding: 30px 15px;

    background:
        rgba(255,255,255,0.035);

    border:
        1px solid rgba(110,180,255,0.14);

    border-radius: 12px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    background:
        rgba(20,100,180,0.12);

    border-color:
        rgba(110,180,255,0.4);
}

.service-card i {
    font-size: 38px;
    color: #38a7ff;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 22px;
}

.service-card p {
    color: #9db4cc;
    font-size: 13px;
    margin-bottom: 0;
}


/* PORTAL ACCESS */

.portal-access {
    margin-top: 55px;
}

.portal-btn {
    background: #147fd1;
    border: none;

    padding: 16px 42px;

    border-radius: 8px;

    font-weight: 600;

    box-shadow:
        0 8px 30px rgba(0,100,220,0.2);
}

.portal-btn:hover,
.login-btn:hover {
    background: #2499ed;
}

.authorized-text {
    margin-top: 20px;

    font-size: 12px;

    color: #829bb6;

    letter-spacing: 1px;
}

.authorized-text i {
    margin-right: 5px;
}


/* FOOTER */

.afas-footer {
    background: #041224;

    padding: 25px 0;

    border-top:
        1px solid rgba(255,255,255,0.06);

    font-size: 12px;

    color: #8198b2;
}

.afas-footer a {
    color: #9bb7d4;
    text-decoration: none;
}

.afas-footer a:hover {
    color: white;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .navbar-collapse {
        padding-top: 20px;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }

    .login-btn {
        margin-top: 15px;
    }

}

@media (max-width: 576px) {

    .hero {
        padding: 55px 0 70px;
    }

    .hero-logo {
        width: 130px;
    }

    .hero h1 {
        font-size: 29px;
    }

    .hero-subtitle {
        letter-spacing: 2px;
        font-size: 11px;
    }

    .hero-description {
        font-size: 15px;
    }

    .service-card {
        padding: 22px 10px;
    }

    .service-card i {
        font-size: 30px;
    }

    .service-card h3 {
        font-size: 14px;
    }

    .service-card p {
        font-size: 11px;
    }

    .brand-text small {
        display: none;
    }

}