﻿/* =========================================================
   XFSPL SERVICES PAGE
========================================================= */

.services-page {
    background: #f7f9fc;
    color: #172033;
}


/* =========================================================
   HERO
========================================================= */

.services-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient( 90deg, rgba(6, 26, 50, 0.98) 0%, rgba(6, 26, 50, 0.92) 45%, rgba(6, 26, 50, 0.68) 100% ), url("/images/services-bg.jpg") center center / cover no-repeat;
    background-color: #061a32;
}


    .services-hero::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        right: -180px;
        bottom: -250px;
        border: 1px solid rgba(212, 167, 44, 0.25);
        border-radius: 50%;
    }


    .services-hero::after {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        right: -100px;
        bottom: -175px;
        border: 1px solid rgba(212, 167, 44, 0.15);
        border-radius: 50%;
    }


.services-hero-overlay {
    position: absolute;
    inset: 0;
}


.services-hero .container {
    position: relative;
    z-index: 2;
}


.services-hero-content {
    max-width: 800px;
    padding: 70px 0;
}


.hero-eyebrow {
    display: inline-block;
    color: #d4a72c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
}


.services-hero h1 {
    color: #ffffff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 800;
    margin: 0 0 24px;
}


    .services-hero h1 span {
        display: block;
        color: #d4a72c;
    }


.services-hero p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 32px;
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn-gold,
.btn-outline-light,
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 23px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: all 0.25s ease;
}


.btn-gold {
    background: #d4a72c;
    color: #061a32;
    border: 1px solid #d4a72c;
}


    .btn-gold:hover {
        background: #e3b83f;
        color: #061a32;
        transform: translateY(-2px);
    }


.btn-outline-light {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}


    .btn-outline-light:hover {
        color: #d4a72c;
        border-color: #d4a72c;
    }


.btn-outline-dark {
    color: #0b1f3a;
    border: 1px solid #0b1f3a;
    background: transparent;
}


    .btn-outline-dark:hover {
        background: #0b1f3a;
        color: #ffffff;
    }


/* =========================================================
   INTRO
========================================================= */

.services-intro {
    padding: 85px 0 50px;
}


.section-heading {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}


.section-label {
    display: inline-block;
    color: #d4a72c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}


.section-heading h2,
.why-content h2,
.services-cta h2 {
    color: #0b1f3a;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 20px;
}


    .section-heading h2 span,
    .why-content h2 span,
    .services-cta h2 span {
        color: #d4a72c;
    }


.section-heading p {
    color: #687589;
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding: 30px 0 100px;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


.service-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e4e9f0;
    border-radius: 12px;
    padding: 32px;
    min-height: 340px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}


    .service-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 4px;
        background: #d4a72c;
        transition: width 0.3s ease;
    }


    .service-card:hover {
        transform: translateY(-6px);
        border-color: rgba(212, 167, 44, 0.55);
        box-shadow: 0 18px 45px rgba(11, 31, 58, 0.10);
    }


        .service-card:hover::before {
            width: 100%;
        }


.service-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
}


.service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #edf3fb;
    color: #0b3c78;
    font-size: 23px;
}


.service-number {
    color: #dce3ed;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}


.service-card h3 {
    color: #0b1f3a;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 14px;
}


.service-card p {
    color: #697589;
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 23px;
}


.service-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0b3c78;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease;
}


    .service-link i {
        transition: transform 0.2s ease;
    }


    .service-link:hover {
        color: #d4a72c;
    }


        .service-link:hover i {
            transform: translateX(5px);
        }


/* =========================================================
   WHY SERVICES
========================================================= */

.why-services {
    padding: 100px 0;
    background: #ffffff;
}


.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}


.why-content > p {
    max-width: 620px;
    color: #687589;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 35px;
}


.why-points {
    display: grid;
    gap: 22px;
}


.why-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}


.why-point-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f4f8;
    color: #0b3c78;
}


.why-point h4 {
    color: #0b1f3a;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 5px;
}


.why-point p {
    color: #748095;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}


/* =========================================================
   WHY BOX
========================================================= */

.why-box {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    padding: 55px;
    background: #0b1f3a;
    border-radius: 16px;
    overflow: hidden;
}


.why-circle {
    position: absolute;
    border: 1px solid rgba(212, 167, 44, 0.25);
    border-radius: 50%;
    pointer-events: none;
}


.circle-one {
    width: 500px;
    height: 500px;
    right: -270px;
    bottom: -280px;
}


.circle-two {
    width: 350px;
    height: 350px;
    right: -180px;
    bottom: -190px;
    border-color: rgba(212, 167, 44, 0.14);
}


.why-box-content {
    position: relative;
    z-index: 2;
}


    .why-box-content > span {
        color: #d4a72c;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2px;
    }


.why-box h3 {
    max-width: 450px;
    color: #ffffff;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    margin: 18px 0;
}


.why-box p {
    max-width: 440px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 28px;
}


/* =========================================================
   CTA
========================================================= */

.services-cta {
    padding: 80px 0;
    background: #f7f9fc;
}


.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 52px;
    background: #ffffff;
    border: 1px solid #e2e8ef;
    border-radius: 14px;
}


.services-cta h2 {
    margin-bottom: 12px;
}


.cta-content p {
    max-width: 680px;
    color: #697589;
    line-height: 1.75;
    margin: 0;
}


.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .why-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }


    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {

    .services-hero {
        min-height: 560px;
    }


    .services-hero-content {
        padding: 60px 0;
    }


    .services-hero h1 {
        font-size: 40px;
    }


    .services-hero p {
        font-size: 16px;
    }


    .services-intro {
        padding: 60px 0 35px;
    }


    .services-section {
        padding: 25px 0 65px;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .service-card {
        min-height: auto;
        padding: 28px;
    }


    .why-services {
        padding: 65px 0;
    }


    .why-box {
        min-height: 370px;
        padding: 35px;
    }


        .why-box h3 {
            font-size: 30px;
        }


    .services-cta {
        padding: 55px 0;
    }


    .cta-box {
        padding: 32px;
    }


    .cta-actions {
        width: 100%;
    }


        .cta-actions a {
            width: 100%;
        }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .services-hero h1 {
        font-size: 35px;
    }


    .hero-buttons {
        width: 100%;
    }


        .hero-buttons a {
            width: 100%;
        }


    .why-box {
        padding: 28px;
    }


        .why-box h3 {
            font-size: 27px;
        }
}
