

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6fa;
    color: #17213a;
    overflow-x: hidden;
}


.header {
    min-height: 100px;
    width: 100%;
    background: #071735;
    color: white;

    padding: 15px 3%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 25px;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
    color: white;
    flex-shrink: 0;
}

.official-seal {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.logo h2 {
    font-size: 24px;
    letter-spacing: 1px;
    color: white;
}

.logo p {
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 5px;
}


nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;

    font-size: 14px;
    font-weight: bold;

    padding: 12px 15px;
    border-radius: 30px;

    transition: 0.3s;
}

nav a:hover,
nav a.active {
    background: #f39800;
    color: white;
}


.hero {
    min-height: 650px;
    width: 100%;

    position: relative;

    display: flex;
    align-items: center;

    padding: 55px 5%;

    background-image:
        url("./images/maharlika.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 21, 48, 0.94) 0%,
            rgba(5, 21, 48, 0.78) 45%,
            rgba(5, 21, 48, 0.25) 100%
        );
}

.hero-content {
    width: 100%;
    max-width: 1500px;

    margin: auto;

    position: relative;
    z-index: 2;
}


.search-container {
    display: flex;
    align-items: center;

    width: 350px;
    max-width: 100%;

    margin-left: auto;
    margin-bottom: 85px;

    background: #071735;
    border-radius: 40px;

    padding: 5px 7px 5px 20px;
}

.search-container input {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;
    color: white;

    font-size: 17px;
    padding: 10px;
}

.search-container input::placeholder {
    color: white;
}

.search-container button {
    width: 43px;
    height: 43px;

    border: none;
    border-radius: 50%;

    background: #f39800;
    cursor: pointer;

    font-size: 18px;
    flex-shrink: 0;
}

.search-container button:hover {
    background: white;
}


.hero-text {
    max-width: 900px;
}

.eyebrow {
    color: #f5a623;

    letter-spacing: 4px;
    font-size: 13px;
    font-weight: bold;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(65px, 10vw, 145px);

    line-height: 0.98;
    color: white;

    font-weight: 800;
    letter-spacing: -3px;

    text-shadow: 3px 4px 5px rgba(0,0,0,0.3);

    margin-bottom: 18px;
}

.hero h2 {
    color: #f39800;

    font-size: clamp(19px, 2.2vw, 30px);

    margin-bottom: 18px;
}

.hero-description {
    max-width: 600px;

    font-size: 20px;
    line-height: 1.6;

    color: #f1f3f8;

    margin-bottom: 30px;
}



.hero-button {
    display: inline-block;

    background: #f39800;
    color: white;

    text-decoration: none;

    padding: 16px 30px;
    border-radius: 30px;

    font-weight: bold;
    letter-spacing: 1px;

    transition: 0.3s;
}

.hero-button:hover {
    background: white;
    color: #071735;

    transform: translateY(-3px);
}



.about {
    text-align: center;

    padding: 85px 20px;

    background: white;
}

.section-label {
    color: #d39420;

    letter-spacing: 3px;
    font-size: 13px;
    font-weight: bold;

    margin-bottom: 18px;
}

.about h2 {
    font-size: 34px;
    color: #071735;

    margin-bottom: 20px;
}

.about p:last-child {
    max-width: 700px;

    margin: auto;

    color: #657087;

    line-height: 1.8;
    font-size: 16px;
}



.services {
    padding: 65px 5% 90px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 22px;

    background: #f5f6fa;
}

.service-card {
    background: white;

    padding: 35px 25px;

    border-radius: 8px;
    border-bottom: 4px solid #e3ad38;

    box-shadow: 0 5px 20px rgba(0,0,0,0.06);

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.service-card span {
    color: #d39420;

    font-weight: bold;
    font-size: 17px;
}

.service-card h3 {
    margin: 20px 0 12px;

    color: #10264d;
}

.service-card p {
    color: #657087;

    line-height: 1.7;
    font-size: 14px;

    margin-bottom: 18px;
}

.card-link {
    color: #c58b16;

    font-size: 13px;
    font-weight: bold;

    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}



footer {
    background: #071735;

    text-align: center;
    color: white;

    padding: 45px 20px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;

    margin-bottom: 15px;
}

.footer-seal {
    width: 48px;
    height: 48px;

    object-fit: contain;
    border-radius: 50%;
}

footer h2 {
    color: #e3ad38;

    letter-spacing: 2px;
    font-size: 21px;
}

footer p {
    line-height: 1.6;
}

.copyright {
    color: #aab4c8;

    font-size: 12px;
    margin-top: 20px;
}



@media (max-width: 1100px) {

    .header {
        flex-direction: column;
        padding: 20px;
    }

    nav {
        justify-content: center;
    }

    .services {
        grid-template-columns: repeat(2, 1fr);
    }

}



@media (max-width: 600px) {

    .header {
        padding: 18px 12px;
    }

    .official-seal {
        width: 48px;
        height: 48px;
    }

    .logo h2 {
        font-size: 17px;
    }

    .logo p {
        font-size: 9px;
    }

    nav {
        gap: 4px;
    }

    nav a {
        font-size: 11px;
        padding: 9px 10px;
    }

    .hero {
        min-height: 650px;

        padding: 35px 22px;

        background-position: center;
    }

    .search-container {
        width: 100%;
        margin-bottom: 65px;
    }

    .hero h1 {
        font-size: clamp(53px, 13vw, 75px);
        letter-spacing: -2px;
    }

    .hero h2 {
        font-size: 19px;
    }

    .hero-description {
        font-size: 16px;
    }

    .services {
        grid-template-columns: 1fr;
        padding: 45px 20px;
    }

    .about {
        padding: 65px 20px;
    }

    .about h2 {
        font-size: 27px;
    }

    footer h2 {
        font-size: 16px;
    }

}
