/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f8fc;
    color: #26364a;
    line-height: 1.6;
}

.wrapper {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

a {
    text-decoration: none;
}


/* =========================
   TOP BAR
========================= */

.top-bar {
    background: #071b35;
    color: #ffffff;
    font-size: 14px;
}

.top-content {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-content i {
    color: #36b6ff;
    margin-right: 7px;
}

.top-content a {
    color: #ffffff;
    transition: 0.3s;
}

.top-content a:hover {
    color: #36b6ff;
}


/* =========================
   HEADER
========================= */

.header {
    background: #ffffff;
    padding: 25px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-icon {
    width: 65px;
    height: 65px;

    background: linear-gradient(
        135deg,
        #087cf5,
        #00b7ff
    );

    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 30px;

    box-shadow: 0 8px 20px rgba(0,123,255,0.25);
}

.logo h1 {
    color: #09284d;
    font-size: 29px;
    margin-bottom: 2px;
}

.logo p {
    color: #718096;
    font-size: 14px;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    background: #0b2d52;
}

.nav-content ul {
    list-style: none;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;
}

.nav-content li {
    display: inline-block;
}

.nav-content a {
    display: block;

    color: #ffffff;

    padding: 17px 22px;

    font-size: 15px;
    font-weight: 600;

    transition: all 0.3s ease;
}

.nav-content a i {
    margin-right: 7px;
}

.nav-content a:hover {
    background: #087cf5;
    color: #ffffff;
}


/* =========================
   NEWS
========================= */

.news-section {
    background: #eaf5ff;
    border-bottom: 1px solid #d4eaff;
}

.news-content {
    display: flex;
    align-items: center;
    min-height: 45px;
}

.news-title {
    background: #087cf5;
    color: #ffffff;

    padding: 9px 18px;

    font-weight: bold;

    white-space: nowrap;
}

.news-title i {
    margin-right: 7px;
}

.news-text {
    flex: 1;
    color: #31506f;
    padding-left: 15px;
}


/* =========================
   HERO
========================= */

.hero {
    background:
        linear-gradient(
            120deg,
            #071f3d 0%,
            #0b477b 55%,
            #0788d8 100%
        );

    color: #ffffff;

    padding: 90px 0;

    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background: rgba(255,255,255,0.05);

    right: -100px;
    top: -150px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 650px;
}

.welcome {
    display: inline-block;

    color: #70d4ff;

    font-size: 14px;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.hero h2 {
    font-size: 50px;
    line-height: 1.15;

    margin-bottom: 20px;
}

.hero h2 span {
    display: block;
    color: #55d6ff;
}

.hero p {
    color: #d8ecfa;

    font-size: 17px;

    max-width: 600px;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 24px;

    border-radius: 8px;

    font-weight: bold;

    transition: all 0.3s ease;
}

.btn-primary {
    background: #ffffff;
    color: #087cf5;
}

.btn-primary:hover {
    background: #55d6ff;
    color: #062747;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid rgba(255,255,255,0.7);
    color: #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #087cf5;
    transform: translateY(-3px);
}


/* =========================
   PAYROLL CARD
========================= */

.hero-image {
    width: 340px;
    min-width: 300px;
}

.payroll-card {
    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.25);

    backdrop-filter: blur(10px);

    padding: 35px;

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.payroll-card > i {
    font-size: 55px;
    color: #55d6ff;
    margin-bottom: 15px;
}

.payroll-card h3 {
    font-size: 25px;
}

.payroll-card p {
    margin: 5px auto 25px;
}

.salary-box {
    background: #ffffff;
    color: #153555;

    padding: 18px;

    border-radius: 12px;
}

.salary-box span {
    display: block;
    font-size: 13px;
    color: #718096;
}

.salary-box strong {
    font-size: 30px;
    color: #087cf5;
}


/* =========================
   SECTION HEADING
========================= */

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading span {
    color: #087cf5;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 34px;
    color: #102f50;

    margin-top: 5px;
}

.heading-line {
    width: 55px;
    height: 4px;

    background: #087cf5;

    margin: 12px auto 0;

    border-radius: 5px;
}


/* =========================
   ABOUT
========================= */

.about {
    background: #ffffff;
    padding: 80px 0;
}

.about-content {
    display: flex;

    gap: 30px;

    align-items: flex-start;

    max-width: 1000px;

    margin: auto;
}

.about-icon {
    min-width: 85px;
    height: 85px;

    border-radius: 18px;

    background: #e8f4ff;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #087cf5;

    font-size: 38px;
}

.about-text p {
    color: #61748a;
    margin-bottom: 15px;
}


/* =========================
   FEATURES
========================= */

.features {
    padding: 80px 0;

    background: #f5f8fc;
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.feature-card {
    background: #ffffff;

    padding: 30px;

    border-radius: 14px;

    border: 1px solid #e7edf4;

    box-shadow: 0 5px 20px rgba(30,60,90,0.05);

    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px
        rgba(0,100,180,0.13);

    border-color: #b9ddff;
}

.feature-icon {
    width: 58px;
    height: 58px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;

    margin-bottom: 18px;
}

.feature-icon.blue {
    background: #e7f2ff;
    color: #087cf5;
}

.feature-icon.green {
    background: #e7faf1;
    color: #10a765;
}

.feature-icon.orange {
    background: #fff4e5;
    color: #f59d17;
}

.feature-icon.purple {
    background: #f1eaff;
    color: #805ad5;
}

.feature-icon.red {
    background: #ffe9e9;
    color: #e53e3e;
}

.feature-icon.cyan {
    background: #e5faff;
    color: #0891b2;
}

.feature-card h3 {
    color: #153555;
    margin-bottom: 8px;
}

.feature-card p {
    color: #718096;
    font-size: 14px;
}


/* =========================
   LOGIN SECTION
========================= */

.login-section {
    background: #087cf5;
    color: #ffffff;

    padding: 55px 0;
}

.login-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.login-content span {
    font-size: 12px;

    letter-spacing: 2px;

    font-weight: bold;

    color: #cceaff;
}

.login-content h2 {
    font-size: 30px;
    margin: 5px 0;
}

.login-content p {
    color: #dcefff;
}

.login-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.login-btn {
    padding: 13px 20px;

    border-radius: 8px;

    font-weight: bold;

    transition: 0.3s;
}

.login-btn i {
    margin-right: 6px;
}

.login-btn.admin {
    background: #ffffff;
    color: #087cf5;
}

.login-btn.employee {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.login-btn:hover {
    transform: translateY(-3px);
}


/* =========================
   FOOTER
========================= */

footer {
    background: #071b35;
    color: #ffffff;
}

.footer-content {
    display: flex;

    justify-content: space-between;

    gap: 50px;

    padding: 45px 0;
}

.footer-content h3 {
    margin-bottom: 10px;
}

.footer-content h3 i {
    color: #36b6ff;
    margin-right: 8px;
}

.footer-content p {
    color: #aebed0;
    font-size: 14px;
}

.footer-contact h4 {
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-contact i {
    color: #36b6ff;
    width: 22px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);

    text-align: center;

    padding: 18px;

    color: #9eb0c4;

    font-size: 13px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero h2 {
        font-size: 40px;
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .login-content {
        flex-direction: column;
        text-align: center;
    }

}


@media (max-width: 650px) {

    .top-content {
        flex-direction: column;
        gap: 5px;
        padding: 10px 0;
    }

    .logo {
        justify-content: center;
        text-align: left;
    }

    .logo h1 {
        font-size: 21px;
    }

    .logo-icon {
        width: 52px;
        height: 52px;
        font-size: 23px;
    }

    .nav-content ul {
        flex-direction: column;
    }

    .nav-content li {
        width: 100%;
        text-align: center;
    }

    .nav-content a {
        padding: 12px;
    }

    .news-content {
        flex-direction: column;
        align-items: stretch;
    }

    .news-title {
        text-align: center;
    }

    .news-text {
        padding: 8px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h2 {
        font-size: 34px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-image {
        width: 100%;
        min-width: auto;
    }

    .about {
        padding: 60px 0;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .features {
        padding: 60px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

}