/* =========================================================
   RITHCABS - SERVICES PAGE
   File: assets/css/services.css
   ========================================================= */


/* =========================================================
   ROOT
   ========================================================= */

:root {
    --services-navy: #06283D;
    --services-navy-dark: #031E30;
    --services-navy-soft: #0B354D;

    --services-yellow: #FFB800;
    --services-yellow-hover: #E9A800;
    --services-yellow-soft: #FFF5D9;

    --services-white: #FFFFFF;

    --services-bg: #F7F9FB;
    --services-bg-soft: #F2F6F8;

    --services-text: #102A3A;
    --services-grey: #61798C;
    --services-border: #E6EDF3;

    --services-shadow:
        0 15px 40px rgba(6, 40, 61, 0.08);

    --services-shadow-hover:
        0 22px 50px rgba(6, 40, 61, 0.14);

    --services-radius: 20px;
}


/* =========================================================
   GENERAL
   ========================================================= */

.services-page {
    width: 100%;
    overflow: hidden;

    background: var(--services-white);
    color: var(--services-text);

    font-family: 'Inter', sans-serif;
}

.services-page *,
.services-page *::before,
.services-page *::after {
    box-sizing: border-box;
}

.services-page .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.services-section {
    padding: 100px 0;
}


/* =========================================================
   SECTION LABEL
   ========================================================= */

.services-section-label,
.services-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 16px;

    color: var(--services-yellow);

    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1.8px;

    text-transform: uppercase;
}

.services-section-label::before,
.services-eyebrow::before {
    content: "";

    display: block;

    width: 28px;
    height: 3px;

    border-radius: 20px;

    background: var(--services-yellow);
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.services-section-heading {
    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}

.services-section-heading .services-section-label {
    justify-content: center;
}

.services-section-heading h2 {
    margin: 0 0 16px;

    color: var(--services-navy);

    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.2px;
}

.services-section-heading h2 span {
    color: var(--services-yellow);
}

.services-section-heading p {
    max-width: 650px;

    margin: 0 auto;

    color: var(--services-grey);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   SERVICES HERO
   ========================================================= */

.services-hero {
    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;

    padding: 100px 0;

    background:
        radial-gradient(circle at 82% 25%,
            rgba(255, 184, 0, 0.16),
            transparent 34%),
        linear-gradient(120deg,
            #031E30 0%,
            #06283D 55%,
            #0B354D 100%);

    overflow: hidden;
}

.services-hero::before {
    content: "";

    position: absolute;

    top: -210px;
    right: -130px;

    width: 550px;
    height: 550px;

    border: 1px solid rgba(255, 184, 0, 0.15);
    border-radius: 50%;
}

.services-hero::after {
    content: "";

    position: absolute;

    right: 100px;
    bottom: -310px;

    width: 570px;
    height: 570px;

    border: 110px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero-content {
    max-width: 780px;
}

.services-hero h1 {
    max-width: 800px;

    margin: 0 0 24px;

    color: var(--services-white);

    font-size: clamp(42px, 6vw, 70px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -2px;
}

.services-hero h1 span {
    display: block;

    color: var(--services-yellow);
}

.services-hero p {
    max-width: 700px;

    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 17px;
    line-height: 1.85;
}

.services-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 34px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn-services-primary,
.btn-services-secondary,
.btn-services-outline {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    padding: 0 25px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* PRIMARY */

.btn-services-primary {
    color: var(--services-navy);

    background: var(--services-yellow);

    border: 1px solid var(--services-yellow);

    box-shadow:
        0 12px 25px rgba(255, 184, 0, 0.18);
}

.btn-services-primary:hover {
    color: var(--services-navy);

    background: var(--services-yellow-hover);

    border-color: var(--services-yellow-hover);

    transform: translateY(-2px);

    box-shadow:
        0 16px 30px rgba(255, 184, 0, 0.25);
}


/* SECONDARY */

.btn-services-secondary {
    color: var(--services-white);

    border: 1px solid rgba(255, 255, 255, 0.35);

    background: rgba(255, 255, 255, 0.06);
}

.btn-services-secondary:hover {
    color: var(--services-navy);

    background: var(--services-white);

    border-color: var(--services-white);

    transform: translateY(-2px);
}


/* OUTLINE */

.btn-services-outline {
    color: var(--services-white);

    border: 1px solid rgba(255, 255, 255, 0.45);

    background: transparent;
}

.btn-services-outline:hover {
    color: var(--services-navy);

    background: var(--services-white);

    border-color: var(--services-white);

    transform: translateY(-2px);
}


/* =========================================================
   SERVICES INTRO
   ========================================================= */

.services-intro {
    background: var(--services-bg);
}


/* =========================================================
   SERVICES GRID
   ========================================================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.service-card {
    position: relative;

    min-height: 355px;

    display: flex;
    flex-direction: column;

    padding: 32px;

    background: var(--services-white);

    border: 1px solid var(--services-border);
    border-radius: var(--services-radius);

    box-shadow:
        0 8px 28px rgba(6, 40, 61, 0.045);

    overflow: hidden;

    scroll-margin-top: 120px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(255, 184, 0, 0.55);

    box-shadow: var(--services-shadow-hover);
}


/* =========================================================
   FEATURED SERVICE
   ========================================================= */

.featured-service {
    background:
        linear-gradient(145deg,
            var(--services-navy),
            var(--services-navy-soft));

    border-color: var(--services-navy);
}

.featured-service::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: var(--services-yellow);
}

.featured-service::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    top: -95px;
    right: -80px;

    border-radius: 50%;

    background: rgba(255, 184, 0, 0.08);
}


/* =========================================================
   SERVICE TOP
   ========================================================= */

.service-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 27px;
}


/* =========================================================
   SERVICE ICON
   ========================================================= */

.service-icon {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--services-navy);

    background: var(--services-yellow-soft);

    border-radius: 16px;

    font-size: 26px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-3px);
}

.featured-service .service-icon {
    background: var(--services-yellow);
}


/* =========================================================
   SERVICE BADGE
   ========================================================= */

.service-badge {
    display: inline-flex;
    align-items: center;

    padding: 7px 11px;

    color: var(--services-navy);

    background: var(--services-yellow);

    border-radius: 100px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================================================
   SERVICE CONTENT
   ========================================================= */

.service-card h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 14px;

    color: var(--services-navy);

    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.service-card>p {
    position: relative;
    z-index: 2;

    margin: 0 0 22px;

    color: var(--services-grey);

    font-size: 14px;
    line-height: 1.75;
}

.featured-service h3 {
    color: var(--services-white);
}

.featured-service>p {
    color: rgba(255, 255, 255, 0.70);
}


/* =========================================================
   SERVICE INFORMATION
   ========================================================= */

.service-info {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 24px;

    color: var(--services-navy);

    font-size: 13px;
    font-weight: 700;
}

.service-info i {
    color: var(--services-yellow);

    font-size: 16px;
}

.featured-service .service-info {
    color: rgba(255, 255, 255, 0.86);
}


/* =========================================================
   SERVICE LINK
   ========================================================= */

.service-link {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    width: fit-content;

    margin-top: auto;

    color: var(--services-navy);

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition:
        gap 0.2s ease,
        color 0.2s ease;
}

.service-link i {
    font-size: 14px;
}

.service-link:hover {
    gap: 13px;

    color: var(--services-yellow-hover);
}

.featured-service .service-link {
    color: var(--services-yellow);
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.services-process-section {
    position: relative;

    padding: 100px 0;

    background:
        radial-gradient(circle at 50% 110%,
            rgba(255, 184, 0, 0.10),
            transparent 38%),
        var(--services-navy);

    overflow: hidden;
}

.services-process-section::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    top: -320px;
    left: -180px;

    border: 80px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
}


/* =========================================================
   LIGHT HEADING
   ========================================================= */

.services-section-heading.light-heading {
    position: relative;
    z-index: 2;
}

.services-section-heading.light-heading h2 {
    color: var(--services-white);
}

.services-section-heading.light-heading p {
    color: rgba(255, 255, 255, 0.68);
}


/* =========================================================
   PROCESS GRID
   ========================================================= */

.services-process-grid {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;
}


/* =========================================================
   PROCESS CARD
   ========================================================= */

.process-card {
    position: relative;

    width: 225px;
    min-height: 270px;

    padding: 30px 24px;

    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.055);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.process-card:hover {
    transform: translateY(-6px);

    border-color: rgba(255, 184, 0, 0.45);

    background: rgba(255, 255, 255, 0.08);
}


/* PROCESS NUMBER */

.process-number {
    position: absolute;

    top: 15px;
    right: 18px;

    color: rgba(255, 255, 255, 0.08);

    font-size: 45px;
    font-weight: 900;
    line-height: 1;
}


/* PROCESS ICON */

.process-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 10px auto 23px;

    color: var(--services-navy);

    background: var(--services-yellow);

    border-radius: 16px;

    font-size: 25px;
}


/* PROCESS CONTENT */

.process-card h3 {
    margin: 0 0 12px;

    color: var(--services-white);

    font-size: 18px;
    font-weight: 800;
}

.process-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.64);

    font-size: 13px;
    line-height: 1.7;
}


/* PROCESS ARROW */

.process-arrow {
    flex-shrink: 0;

    color: var(--services-yellow);

    font-size: 24px;
}


/* =========================================================
   BENEFITS
   ========================================================= */

.services-benefits {
    background: var(--services-white);
}

.services-benefits-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr) minmax(0, 1.1fr);

    align-items: center;

    gap: 80px;
}


/* =========================================================
   BENEFITS CONTENT
   ========================================================= */

.services-benefits-content {
    max-width: 520px;
}

.services-benefits-content h2 {
    margin: 0 0 20px;

    color: var(--services-navy);

    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.2px;
}

.services-benefits-content h2 span {
    color: var(--services-yellow);
}

.services-benefits-content>p {
    margin: 0 0 30px;

    color: var(--services-grey);

    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   BENEFIT LIST
   ========================================================= */

.services-benefit-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   BENEFIT ITEM
   ========================================================= */

.benefit-item {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    padding: 24px;

    border: 1px solid var(--services-border);
    border-radius: 16px;

    background: var(--services-bg);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);

    border-color: rgba(255, 184, 0, 0.5);

    box-shadow: var(--services-shadow);
}


/* BENEFIT ICON */

.benefit-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--services-navy);

    background: var(--services-yellow);

    border-radius: 12px;

    font-size: 19px;
}


/* BENEFIT TEXT */

.benefit-item h3 {
    margin: 1px 0 8px;

    color: var(--services-navy);

    font-size: 16px;
    font-weight: 800;
}

.benefit-item p {
    margin: 0;

    color: var(--services-grey);

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.services-cta {
    padding: 75px 0;

    background:
        linear-gradient(120deg,
            #031E30,
            #06283D);
}

.services-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.services-cta-content {
    max-width: 650px;
}

.services-cta-content h2 {
    margin: 0 0 15px;

    color: var(--services-white);

    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.services-cta-content h2 span {
    color: var(--services-yellow);
}

.services-cta-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 15px;
    line-height: 1.8;
}

.services-cta-actions {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 12px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .services-section,
    .services-process-section {
        padding: 80px 0;
    }

    .services-hero {
        min-height: 500px;
        padding: 85px 0;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .services-process-grid {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .process-card {
        width: 100%;
    }

    .process-arrow {
        display: none;
    }

    .services-benefits-layout {
        gap: 45px;
    }

    .services-benefit-list {
        grid-template-columns: 1fr;
    }

    .services-cta-wrapper {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .services-page .container {
        width: min(100% - 30px, 1180px);
    }

    .services-section,
    .services-process-section {
        padding: 65px 0;
    }


    /* HERO */

    .services-hero {
        min-height: auto;
        padding: 75px 0;
    }

    .services-hero h1 {
        font-size: 42px;
        letter-spacing: -1.3px;
    }

    .services-hero p {
        font-size: 15px;
    }

    .services-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-services-primary,
    .btn-services-secondary,
    .btn-services-outline {
        width: 100%;
    }


    /* SERVICES */

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 330px;
    }


    /* PROCESS */

    .services-process-grid {
        grid-template-columns: 1fr;
    }


    /* BENEFITS */

    .services-benefits-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .services-benefits-content {
        max-width: 100%;
    }

    .services-benefit-list {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .services-cta {
        padding: 65px 0;
    }

    .services-cta-wrapper {
        gap: 30px;
    }

    .services-cta-actions {
        width: 100%;

        flex-direction: column;
        align-items: stretch;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .services-page .container {
        width: calc(100% - 24px);
    }

    .services-hero {
        padding: 60px 0;
    }

    .services-hero h1 {
        font-size: 36px;
    }

    .services-section-heading {
        margin-bottom: 40px;
    }

    .services-section-heading h2 {
        font-size: 31px;
    }

    .service-card {
        min-height: auto;

        padding: 27px 23px;
    }

    .services-benefits-content h2 {
        font-size: 33px;
    }

    .benefit-item {
        padding: 20px;
    }

    .services-cta-content h2 {
        font-size: 32px;
    }
}