/* =========================================================
   SERVICES PAGE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f8fb;
    color: #263238;
}


/* =========================================================
   NAVBAR - REDUCED HEIGHT
========================================================= */

.navbar {
    min-height: 64px;
    height: 64px;
    padding: 5px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 1px solid #e2e8ee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.logo-text {
    margin-left: 8px;
}

.logo-text h1 {
    margin: 0;
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
    color: #123d66;
}

.logo-text span {
    display: block;
    margin-top: 1px;
    font-size: 10px;
    color: #607d8b;
    line-height: 13px;
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-links a {
    text-decoration: none;
    color: #37474f;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 9px;
    border-radius: 4px;
    transition: 0.25s ease;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0878bd;
    background: #eef7fc;
}

.nav-links .btn-login {
    background: #0878bd;
    color: #ffffff;
    margin-left: 5px;
}

.nav-links .btn-login:hover {
    background: #075f94;
    color: #ffffff;
}

.nav-links .btn-contact {
    background: #123d66;
    color: #ffffff;
    margin-left: 3px;
}

.nav-links .btn-contact:hover {
    background: #0b2d4d;
    color: #ffffff;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: #123d66;
    font-size: 22px;
    cursor: pointer;
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    min-height: 220px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-image:
        url("../images/images/srv/gis_ser.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(5, 39, 68, 0.88),
            rgba(0, 104, 163, 0.72)
        );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 35px 20px;
}

.page-hero-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.page-hero h2 {
    margin: 0;
    font-size: 32px;
    letter-spacing: 1px;
    font-weight: 700;
}

.page-hero p {
    margin: 8px 0 0;
    font-size: 14px;
}


/* =========================================================
   MAIN SERVICES
========================================================= */

.services-page {
    width: 100%;
}

.services-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 34px 25px 30px;
}


/* =========================================================
   SECTION HEAD
========================================================= */

.section-head {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 30px;
}

.section-head .kicker {
    text-transform: uppercase;
    color: #0781c5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.section-head .divider {
    width: 42px;
    height: 3px;
    background: #0781c5;
    margin: 9px auto;
    border-radius: 5px;
}

.section-head h3 {
    margin: 0;
    font-size: 27px;
    color: #163e60;
}

.section-head p {
    margin: 8px auto 0;
    font-size: 13px;
    color: #6a7b86;
    line-height: 1.6;
}


/* =========================================================
   SERVICES GRID
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;

    background: #ffffff;

    border-radius: 9px;

    overflow: hidden;

    border: 1px solid #e1e8ed;

    box-shadow:
        0 4px 15px rgba(20, 55, 80, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 28px rgba(20, 55, 80, 0.15);

    border-color: #79b9d8;
}


/* =========================================================
   CARD IMAGE - FIXED FIT
========================================================= */

.service-card-image {
    position: relative;

    width: 100%;
    flex: 0 0 auto;

    height: 145px;

    overflow: hidden;

    background: #e9eef2;
}

.service-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;

    transition:
        transform 0.45s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.06);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.service-card-overlay {
    position: absolute;

    right: 10px;
    bottom: 10px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 91, 145, 0.92);

    color: #ffffff;

    border-radius: 50%;

    opacity: 0;

    transform: translateY(5px);

    transition: 0.25s ease;
}

.service-card:hover .service-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.service-card-overlay i {
    font-size: 12px;
}


/* =========================================================
   CARD BODY
========================================================= */

.service-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px 14px 15px;
}

.service-card-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf7fc;

    color: #087cba;

    border-radius: 7px;

    margin-bottom: 9px;
}

.service-card-icon i {
    font-size: 15px;
}

.service-card h3 {
    margin: 0 0 6px;

    color: #173f60;

    font-size: 16px;

    line-height: 1.25;
}

.service-card p {
    flex: 1;
    margin: 0;

    color: #657782;

    font-size: 12px;

    line-height: 1.55;

    min-height: 57px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: auto;
    padding-top: 11px;

    color: #087cba;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;
}

.read-more i {
    font-size: 9px;
}


/* =========================================================
   SERVICE DETAILS
========================================================= */

.service-details-section {
    max-width: 1280px;

    margin: 0 auto;

    padding: 15px 25px 55px;
}

.service-detail {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.85fr)
        minmax(0, 1.5fr);

    gap: 40px;

    background: #ffffff;

    border: 1px solid #e0e7ec;

    border-radius: 12px;

    padding: 28px;

    margin-bottom: 30px;

    box-shadow:
        0 5px 20px rgba(20, 55, 80, 0.07);

    scroll-margin-top: 85px;
}


/* =========================================================
   DETAIL IMAGE - FIXED FIT
========================================================= */

.detail-image {
    width: 100%;

    height: 310px;

    border-radius: 9px;

    overflow: hidden;

    background: #e9eef2;
}

.detail-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center center;
}


/* =========================================================
   DETAIL CONTENT
========================================================= */

.detail-content {
    align-self: center;
}

.detail-kicker {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #087cba;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 8px;
}

.detail-kicker i {
    font-size: 14px;
}

.detail-content h2 {
    margin: 0 0 13px;

    color: #163e60;

    font-size: 28px;

    line-height: 1.2;
}

.detail-content p {
    margin: 0 0 13px;

    color: #536771;

    font-size: 13px;

    line-height: 1.75;

    text-align: justify;
}

.detail-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ACTIVE DETAIL
========================================================= */

.service-detail.detail-active {
    border-color: #58a8d1;

    box-shadow:
        0 10px 32px rgba(0, 102, 160, 0.12);
}


/* =========================================================
   CTA
========================================================= */

.service-cta {
    background:
        linear-gradient(
            135deg,
            #0b426a,
            #087ebc
        );

    color: #ffffff;

    padding: 24px 25px;
}

.service-cta-content {
    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}

.service-cta span {
    font-size: 12px;

    opacity: 0.85;
}

.service-cta h2 {
    margin: 5px 0 0;

    font-size: 20px;
}

.cta-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #ffffff;

    color: #075b8d;

    text-decoration: none;

    padding: 8px 14px;

    border-radius: 5px;

    font-size: 11px !important;

    font-weight: 700;

    white-space: nowrap;

    transition: 0.25s ease;
}

.cta-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 18px rgba(0,0,0,0.15);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #102b40;

    color: #ffffff;
}

.footer-grid {
    max-width: 1250px;

    margin: 0 auto;

    padding: 40px 25px 30px;

    display: grid;

    grid-template-columns: minmax(0, 1fr);

    gap: 35px;
}

.f-col h5 {
    margin: 0 0 13px;

    color: #ffffff;

    font-size: 15px;
}

.f-col p {
    margin: 0 0 9px;

    color: #bdcbd4;

    font-size: 12px;

    line-height: 1.6;
}

.f-col p i {
    width: 18px;

    color: #53b4df;
}

.f-col ul {
    padding: 0;

    margin: 0;

    list-style: none;
}

.f-col ul li {
    margin-bottom: 7px;
}

.f-col ul a {
    text-decoration: none;

    color: #bdcbd4;

    font-size: 12px;

    transition: 0.2s ease;
}

.f-col ul a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.social {
    display: flex;

    gap: 7px;

    margin-top: 15px;
}

.social a {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    background: rgba(255,255,255,0.1);

    border-radius: 50%;

    text-decoration: none;

    transition: 0.25s ease;
}

.social a:hover {
    background: #087ebc;
}

.copyright {
    text-align: center;

    border-top: 1px solid rgba(255,255,255,0.1);

    padding: 15px;

    color: #9fb2be;

    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1150px) {

    .navbar {
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    .nav-links a {
        font-size: 11px;
        padding: 7px 6px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .service-detail {
        grid-template-columns:
            1fr 1.5fr;
    }

}


/* =========================================================
   TABLET SMALL
========================================================= */

@media (max-width: 900px) {

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 64px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: #ffffff;

        padding: 8px 15px 15px;

        box-shadow:
            0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        width: 100%;

        padding: 11px;

        font-size: 13px;
    }

    .nav-links .btn-login,
    .nav-links .btn-contact {
        margin: 2px 0;
    }

    .services-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .service-detail {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .detail-image {
        height: 280px;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .navbar {
        height: 60px;
        min-height: 60px;
    }

    .logo-image {
        width: 43px;
        height: 43px;
    }

    .logo-text h1 {
        font-size: 15px;
    }

    .logo-text span {
        font-size: 9px;
    }

    .nav-links {
        top: 60px;
    }

    .page-hero {
        min-height: 180px;
    }

    .page-hero h2 {
        font-size: 26px;
    }

    .page-hero p {
        font-size: 12px;
    }

    .services-section {
        padding: 28px 15px 22px;
    }

    .section-head h3 {
        font-size: 23px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .service-card-image {
        height: 125px;
    }

    .service-card-body {
        padding: 12px;
    }

    .service-card h3 {
        font-size: 14px;
    }

    .service-card p {
        font-size: 11px;

        min-height: auto;
    }

    .service-details-section {
        padding: 10px 15px 35px;
    }

    .service-detail {
        padding: 18px;

        gap: 20px;

        margin-bottom: 20px;

        scroll-margin-top: 70px;
    }

    .detail-image {
        height: 210px;
    }

    .detail-content h2 {
        font-size: 23px;
    }

    .detail-content p {
        font-size: 12px;

        line-height: 1.7;

        text-align: left;
    }

    .service-cta-content {
        flex-direction: column;

        align-items: flex-start;
    }

    .service-cta h2 {
        font-size: 19px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-image {
        height: 180px;
    }

}