/* ========================================
   PELAYANAN ONLINE DESA MARGOSARI
   PUBLIC CSS
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        sans-serif;

    background: #f5f7fa;

    color: #233957;

    min-height: 100vh;

}


/* ========================================
   HEADER
======================================== */

.public-header {

    width: 100%;

    background: #233957;

    color: white;

}


.public-header-container {

    width: 90%;

    max-width: 1100px;

    min-height: 72px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.public-logo {

    display: flex;

    align-items: center;

    gap: 12px;

}


.public-logo-icon {

    width: 42px;

    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255,255,255,.10);

    border-radius: 9px;

    font-size: 20px;

}


.public-logo strong {

    display: block;

    font-size: 13px;

    letter-spacing: .3px;

}


.public-logo span {

    display: block;

    margin-top: 4px;

    color: #cbd5e1;

    font-size: 9px;

}


.admin-login {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 9px 14px;

    color: white;

    text-decoration: none;

    border:
        1px solid
        rgba(255,255,255,.35);

    border-radius: 6px;

    font-size: 9px;

    white-space: nowrap;

    transition: .2s;

}


.admin-login:hover {

    background:
        rgba(255,255,255,.10);

}


/* ========================================
   HERO
======================================== */

.service-hero {

    width: 100%;

    min-height: 330px;

    display: flex;

    align-items: center;

    background:

        linear-gradient(
            110deg,
            #233957 0%,
            #2f4c6d 55%,
            #36577d 100%
        );

    color: white;

}


.service-hero-content {

    width: 90%;

    max-width: 1100px;

    margin: auto;

    padding: 60px 0;

}


.hero-label {

    display: inline-block;

    padding: 7px 13px;

    border:
        1px solid
        rgba(255,255,255,.40);

    border-radius: 30px;

    font-size: 8px;

    letter-spacing: 2px;

}


.service-hero h1 {

    max-width: 700px;

    margin-top: 18px;

    font-size:
        clamp(32px, 5vw, 52px);

    line-height: 1.15;

    font-weight: 400;

}


.service-hero h1 strong {

    display: block;

    font-weight: 700;

}


.service-hero p {

    max-width: 570px;

    margin-top: 18px;

    color: #dbe5f0;

    font-size: 12px;

    line-height: 1.8;

}


/* ========================================
   CONTENT
======================================== */

.service-page {

    width: 90%;

    max-width: 1100px;

    margin: auto;

    padding: 60px 0 70px;

}


.section-title {

    text-align: center;

    margin-bottom: 35px;

}


.section-title h2 {

    color: #233957;

    font-size: 27px;

    font-weight: 700;

}


.section-title p {

    margin-top: 8px;

    color: #8995a5;

    font-size: 10px;

}


/* ========================================
   SERVICE GRID
======================================== */

.service-grid {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

}


/* ========================================
   SERVICE CARD
======================================== */

.service-card {

    min-width: 0;

    display: flex;

    flex-direction: column;

    background: white;

    border:
        1px solid #e8edf3;

    border-radius: 12px;

    padding: 22px;

    box-shadow:
        0 3px 12px
        rgba(35,57,87,.04);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.service-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 10px 28px
        rgba(35,57,87,.10);

}


/* ========================================
   SERVICE ICON
======================================== */

.service-icon {

    width: 46px;

    height: 46px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eef2f7;

    border-radius: 9px;

    font-size: 22px;

}


/* ========================================
   SERVICE CONTENT
======================================== */

.service-content {

    display: flex;

    flex-direction: column;

    height: 100%;

}


.service-code {

    display: inline-block;

    margin-top: 17px;

    color: #64748b;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 1px;

}


.service-card h3 {

    margin-top: 6px;

    color: #233957;

    font-size: 14px;

    line-height: 1.5;

}


.service-card p {

    margin-top: 9px;

    color: #8995a5;

    font-size: 9px;

    line-height: 1.7;

}


/* ========================================
   BUTTON
======================================== */

.service-button {

    width: 100%;

    margin-top: auto;

    padding: 11px 13px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    background: #233957;

    color: white;

    text-decoration: none;

    border-radius: 6px;

    font-size: 9px;

    font-weight: 600;

    transition: .2s;

}


.service-button:hover {

    background: #2f4c6d;

}


.service-button span {

    font-size: 15px;

    line-height: 1;

}


/* ========================================
   EMPTY
======================================== */

.service-empty {

    grid-column: 1 / -1;

    padding: 50px 20px;

    background: white;

    border-radius: 10px;

    text-align: center;

    color: #8995a5;

    font-size: 11px;

}


/* ========================================
   FOOTER
======================================== */

.public-footer {

    width: 100%;

    padding: 30px 20px;

    background: #233957;

    color: #cbd5e1;

    text-align: center;

}


.public-footer strong {

    display: block;

    color: white;

    font-size: 11px;

}


.public-footer span {

    display: block;

    margin-top: 6px;

    font-size: 9px;

}


.public-footer small {

    display: block;

    margin-top: 12px;

    font-size: 8px;

    opacity: .65;

}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .service-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .service-hero {

        min-height: 300px;

    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .public-header-container {

        width: 92%;

        min-height: 65px;

    }


    .public-logo {

        gap: 9px;

    }


    .public-logo-icon {

        width: 36px;

        height: 36px;

        font-size: 17px;

    }


    .public-logo strong {

        font-size: 11px;

    }


    .public-logo span {

        font-size: 8px;

    }


    .admin-login {

        padding: 8px 10px;

        font-size: 8px;

    }


    .service-hero {

        min-height: 280px;

    }


    .service-hero-content {

        width: 92%;

        padding: 50px 0;

    }


    .service-hero h1 {

        font-size: 34px;

    }


    .service-hero p {

        font-size: 10px;

    }


    .service-page {

        width: 92%;

        padding: 45px 0 55px;

    }


    .section-title {

        margin-bottom: 25px;

    }


    .section-title h2 {

        font-size: 23px;

    }


    .service-grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .service-card {

        padding: 20px;

    }

}


/* ========================================
   SMALL PHONE
======================================== */

@media (max-width: 400px) {

    .public-header-container {

        width: 94%;

    }


    .public-logo span {

        display: none;

    }


    .admin-login {

        padding:
            7px 8px;

    }


    .service-hero h1 {

        font-size: 30px;

    }


    .service-hero p {

        font-size: 10px;

    }

}
.form-group select {

    width: 100%;

    padding: 11px 12px;

    border: 1px solid #dbe2ea;

    border-radius: 7px;

    outline: none;

    background: white;

    font-family: inherit;

    font-size: 11px;

}


.form-group select:focus {

    border-color: #233957;

}