/* =========================================================
   RITHCABS - CONTACT PAGE
   File: assets/css/contact.css
   ========================================================= */


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

:root {

    --contact-navy: #06283D;
    --contact-navy-dark: #031E30;
    --contact-navy-soft: #0B354D;

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

    --contact-white: #FFFFFF;

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

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

    --contact-success: #188038;
    --contact-error: #D32F2F;

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

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

    --contact-radius: 20px;

}


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

.contact-page {

    width: 100%;

    overflow: hidden;

    background: var(--contact-white);

    color: var(--contact-text);

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

}


.contact-page *,
.contact-page *::before,
.contact-page *::after {

    box-sizing: border-box;

}


.contact-page .container {

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

}


.contact-section {

    padding: 100px 0;

}


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

.contact-section-label,
.contact-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 16px;

    color: var(--contact-yellow);

    font-size: 12px;

    font-weight: 800;

    line-height: 1.4;

    letter-spacing: 1.8px;

    text-transform: uppercase;

}


.contact-section-label::before,
.contact-eyebrow::before {

    content: "";

    display: block;

    width: 28px;

    height: 3px;

    flex-shrink: 0;

    border-radius: 20px;

    background: var(--contact-yellow);

}


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

.contact-section-heading {

    max-width: 730px;

    margin: 0 auto 55px;

    text-align: center;

}


.contact-section-heading .contact-section-label {

    justify-content: center;

}


.contact-section-heading h2 {

    margin: 0 0 16px;

    color: var(--contact-navy);

    font-size: clamp(30px, 4vw, 44px);

    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -1.2px;

}


.contact-section-heading h2 span {

    color: var(--contact-yellow);

}


.contact-section-heading p {

    max-width: 650px;

    margin: 0 auto;

    color: var(--contact-grey);

    font-size: 16px;

    line-height: 1.8;

}


/* =========================================================
   CONTACT HERO
   ========================================================= */

.contact-hero {

    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    padding: 95px 0;

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

    overflow: hidden;

}


.contact-hero::before {

    content: "";

    position: absolute;

    top: -240px;

    right: -140px;

    width: 620px;

    height: 620px;

    border: 1px solid rgba(255, 184, 0, 0.15);

    border-radius: 50%;

}


.contact-hero::after {

    content: "";

    position: absolute;

    right: 90px;

    bottom: -370px;

    width: 650px;

    height: 650px;

    border: 120px solid rgba(255, 255, 255, 0.025);

    border-radius: 50%;

}


.contact-hero .container {

    position: relative;

    z-index: 2;

}


.contact-hero-content {

    max-width: 820px;

}


.contact-hero h1 {

    max-width: 850px;

    margin: 0 0 24px;

    color: var(--contact-white);

    font-size: clamp(43px, 6vw, 68px);

    font-weight: 800;

    line-height: 1.04;

    letter-spacing: -2px;

}


.contact-hero h1 span {

    display: block;

    color: var(--contact-yellow);

}


.contact-hero p {

    max-width: 700px;

    margin: 0;

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

    font-size: 17px;

    line-height: 1.85;

}


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.contact-hero-actions {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 34px;

}


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

.btn-contact-primary,
.btn-contact-secondary,
.btn-contact-outline {

    min-height: 52px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 0 25px;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 700;

    line-height: 1;

    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 BUTTON
   ========================================================= */

.btn-contact-primary {

    color: var(--contact-navy);

    background: var(--contact-yellow);

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

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

}


.btn-contact-primary:hover {

    color: var(--contact-navy);

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

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

    transform: translateY(-2px);

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

}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.btn-contact-secondary {

    color: var(--contact-white);

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

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

}


.btn-contact-secondary:hover {

    color: var(--contact-navy);

    background: var(--contact-white);

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

    transform: translateY(-2px);

}


/* =========================================================
   OUTLINE BUTTON
   ========================================================= */

.btn-contact-outline {

    color: var(--contact-white);

    background: transparent;

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

}


.btn-contact-outline:hover {

    color: var(--contact-navy);

    background: var(--contact-white);

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

    transform: translateY(-2px);

}


/* =========================================================
   CONTACT OPTIONS
   ========================================================= */

.contact-options-section {

    background: var(--contact-bg);

}


/* =========================================================
   CONTACT OPTIONS GRID
   ========================================================= */

.contact-options-grid {

    display: grid;

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

    gap: 24px;

}


/* =========================================================
   CONTACT OPTION CARD
   ========================================================= */

.contact-option-card {

    position: relative;

    min-height: 310px;

    display: flex;

    flex-direction: column;

    padding: 32px;

    background: var(--contact-white);

    border: 1px solid var(--contact-border);

    border-radius: var(--contact-radius);

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

    overflow: hidden;

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

}


.contact-option-card:hover {

    transform: translateY(-7px);

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

    box-shadow: var(--contact-shadow-hover);

}


/* =========================================================
   OPTION ICON
   ========================================================= */

.contact-option-icon {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    margin-bottom: 25px;

    color: var(--contact-navy);

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

    border-radius: 16px;

    font-size: 24px;

}


/* =========================================================
   OPTION CONTENT
   ========================================================= */

.contact-option-card h3 {

    position: relative;

    z-index: 2;

    margin: 0 0 13px;

    color: var(--contact-navy);

    font-size: 20px;

    font-weight: 800;

    line-height: 1.3;

}


.contact-option-card p {

    position: relative;

    z-index: 2;

    margin: 0 0 24px;

    color: var(--contact-grey);

    font-size: 14px;

    line-height: 1.75;

}


.contact-option-link {

    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    margin-top: auto;

    color: var(--contact-navy);

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    transition:
        color 0.25s ease,
        gap 0.25s ease;

}


.contact-option-link i {

    color: var(--contact-yellow-hover);

}


.contact-option-link:hover {

    gap: 12px;

    color: var(--contact-yellow-hover);

}


/* =========================================================
   FEATURED CONTACT CARD
   ========================================================= */

.featured-contact-card {

    background:
        linear-gradient(145deg,
            var(--contact-navy),
            var(--contact-navy-soft));

    border-color: var(--contact-navy);

}


.featured-contact-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: var(--contact-yellow);

}


.featured-contact-card::after {

    content: "";

    position: absolute;

    top: -90px;

    right: -90px;

    width: 200px;

    height: 200px;

    border-radius: 50%;

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

}


.featured-contact-card .contact-option-icon {

    position: relative;

    z-index: 2;

    color: var(--contact-navy);

    background: var(--contact-yellow);

}


.featured-contact-card h3 {

    color: var(--contact-white);

}


.featured-contact-card p {

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

}


.featured-contact-card .contact-option-link {

    color: var(--contact-yellow);

}


.featured-contact-card .contact-option-link i {

    color: var(--contact-yellow);

}


/* =========================================================
   CONTACT CARD BADGE
   ========================================================= */

.contact-card-badge {

    position: relative;

    z-index: 2;

    width: fit-content;

    margin-bottom: 13px;

    padding: 6px 10px;

    color: var(--contact-navy);

    background: var(--contact-yellow);

    border-radius: 100px;

    font-size: 9px;

    font-weight: 800;

    line-height: 1;

    letter-spacing: 1px;

}


/* =========================================================
   CONTACT FORM SECTION
   ========================================================= */

.contact-form-section {

    padding: 100px 0;

    background: var(--contact-white);

}


/* =========================================================
   CONTACT FORM LAYOUT
   ========================================================= */

.contact-form-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr) minmax(0, 1.15fr);

    align-items: center;

    gap: 80px;

}


/* =========================================================
   FORM INFO
   ========================================================= */

.contact-form-info h2 {

    margin: 0 0 20px;

    color: var(--contact-navy);

    font-size: clamp(34px, 4vw, 48px);

    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -1.2px;

}


.contact-form-info h2 span {

    color: var(--contact-yellow);

}


.contact-form-info>p {

    max-width: 550px;

    margin: 0 0 35px;

    color: var(--contact-grey);

    font-size: 15px;

    line-height: 1.85;

}


/* =========================================================
   CONTACT INFO ITEM
   ========================================================= */

.contact-info-item {

    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 15px;

    padding: 17px 19px;

    background: var(--contact-bg);

    border: 1px solid var(--contact-border);

    border-radius: 14px;

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

}


.contact-info-item:hover {

    transform: translateX(4px);

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

}


/* =========================================================
   CONTACT INFO ICON
   ========================================================= */

.contact-info-icon {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    color: var(--contact-navy);

    background: var(--contact-yellow);

    border-radius: 13px;

    font-size: 19px;

}


.contact-info-item>div:last-child {

    min-width: 0;

}


.contact-info-item span {

    display: block;

    margin-bottom: 4px;

    color: var(--contact-grey);

    font-size: 9px;

    font-weight: 800;

    line-height: 1.3;

    letter-spacing: 1.2px;

}


.contact-info-item strong,
.contact-info-item a {

    display: block;

    color: var(--contact-navy);

    font-size: 14px;

    font-weight: 800;

    line-height: 1.4;

    text-decoration: none;

}


.contact-info-item a:hover {

    color: var(--contact-yellow-hover);

}


/* =========================================================
   CONTACT FORM CARD
   ========================================================= */

.contact-form-card {

    position: relative;

    padding: 42px;

    background: var(--contact-bg);

    border: 1px solid var(--contact-border);

    border-radius: 24px;

    box-shadow: var(--contact-shadow);

    overflow: hidden;

}


.contact-form-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: var(--contact-yellow);

}


/* =========================================================
   FORM HEADER
   ========================================================= */

.contact-form-header {

    margin-bottom: 30px;

}


.contact-form-header>span {

    display: block;

    margin-bottom: 8px;

    color: var(--contact-yellow-hover);

    font-size: 10px;

    font-weight: 800;

    line-height: 1.4;

    letter-spacing: 1.5px;

}


.contact-form-header h3 {

    margin: 0 0 8px;

    color: var(--contact-navy);

    font-size: 28px;

    font-weight: 800;

    line-height: 1.2;

}


.contact-form-header p {

    margin: 0;

    color: var(--contact-grey);

    font-size: 13px;

}


/* =========================================================
   FORM GROUP
   ========================================================= */

.contact-form-group {

    margin-bottom: 19px;

}


.contact-form-group label {

    display: block;

    margin-bottom: 8px;

    color: var(--contact-navy);

    font-size: 12px;

    font-weight: 700;

}


.contact-form-group label span {

    color: var(--contact-error);

}


/* =========================================================
   INPUT WRAPPER
   ========================================================= */

.contact-input-wrapper {

    position: relative;

    width: 100%;

}


.contact-input-wrapper>i {

    position: absolute;

    top: 50%;

    left: 16px;

    z-index: 2;

    color: var(--contact-grey);

    font-size: 16px;

    transform: translateY(-50%);

    pointer-events: none;

}


/* =========================================================
   INPUT / SELECT / TEXTAREA
   ========================================================= */

.contact-input-wrapper input,
.contact-input-wrapper select,
.contact-input-wrapper textarea {

    width: 100%;

    min-height: 52px;

    padding: 0 16px 0 46px;

    color: var(--contact-text);

    background: var(--contact-white);

    border: 1px solid var(--contact-border);

    border-radius: 11px;

    outline: none;

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

    font-size: 13px;

    font-weight: 500;

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

}


.contact-input-wrapper input::placeholder,
.contact-input-wrapper textarea::placeholder {

    color: #96A5B0;

}


.contact-input-wrapper input:focus,
.contact-input-wrapper select:focus,
.contact-input-wrapper textarea:focus {

    background: var(--contact-white);

    border-color: var(--contact-yellow);

    box-shadow:
        0 0 0 3px rgba(255, 184, 0, 0.12);

}


.contact-input-wrapper:focus-within>i {

    color: var(--contact-yellow-hover);

}


/* =========================================================
   SELECT
   ========================================================= */

.contact-input-wrapper select {

    cursor: pointer;

}


/* =========================================================
   TEXTAREA
   ========================================================= */

.contact-textarea-wrapper>i {

    top: 17px;

    transform: none;

}


.contact-input-wrapper textarea {

    min-height: 130px;

    padding-top: 15px;

    padding-bottom: 15px;

    line-height: 1.6;

    resize: vertical;

}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.contact-submit-btn {

    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 5px;

    padding: 0 24px;

    color: var(--contact-navy);

    background: var(--contact-yellow);

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

    border-radius: 11px;

    cursor: pointer;

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

    font-size: 14px;

    font-weight: 800;

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

}


.contact-submit-btn:hover {

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

    transform: translateY(-2px);

    box-shadow:
        0 14px 28px rgba(255, 184, 0, 0.20);

}


.contact-submit-btn:active {

    transform: translateY(0);

}


/* =========================================================
   FORM NOTE
   ========================================================= */

.contact-form-note {

    display: flex;

    align-items: flex-start;

    justify-content: center;

    gap: 7px;

    margin: 15px 0 0;

    color: var(--contact-grey);

    font-size: 10px;

    line-height: 1.5;

    text-align: center;

}


.contact-form-note i {

    flex-shrink: 0;

    color: var(--contact-success);

    font-size: 13px;

}


/* =========================================================
   QUICK HELP SECTION
   ========================================================= */

.contact-help-section {

    background: var(--contact-bg);

}


/* =========================================================
   QUICK HELP GRID
   ========================================================= */

.contact-help-grid {

    display: grid;

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

    gap: 20px;

}


/* =========================================================
   QUICK HELP CARD
   ========================================================= */

.contact-help-card {

    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 16px;

    padding: 24px;

    color: inherit;

    background: var(--contact-white);

    border: 1px solid var(--contact-border);

    border-radius: 16px;

    text-decoration: none;

    box-shadow:
        0 7px 22px rgba(6, 40, 61, 0.035);

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

}


.contact-help-card:hover {

    color: inherit;

    transform: translateY(-5px);

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

    box-shadow: var(--contact-shadow);

}


/* =========================================================
   QUICK HELP ICON
   ========================================================= */

.contact-help-icon {

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--contact-navy);

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

    border-radius: 13px;

    font-size: 20px;

}


/* =========================================================
   QUICK HELP CONTENT
   ========================================================= */

.contact-help-card h3 {

    margin: 0 0 6px;

    color: var(--contact-navy);

    font-size: 14px;

    font-weight: 800;

    line-height: 1.4;

}


.contact-help-card p {

    margin: 0;

    color: var(--contact-grey);

    font-size: 11px;

    line-height: 1.55;

}


.contact-help-arrow {

    color: var(--contact-yellow-hover);

    font-size: 18px;

    transition: transform 0.25s ease;

}


.contact-help-card:hover .contact-help-arrow {

    transform: translateX(4px);

}


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

.contact-final-cta {

    padding: 75px 0;

    background:
        radial-gradient(circle at 80% 40%,
            rgba(255, 184, 0, 0.10),
            transparent 30%),
        linear-gradient(120deg,
            var(--contact-navy-dark),
            var(--contact-navy));

}


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

.contact-final-wrapper {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

}


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

.contact-final-content {

    max-width: 680px;

}


.contact-final-content h2 {

    margin: 0 0 15px;

    color: var(--contact-white);

    font-size: clamp(32px, 4vw, 46px);

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -1px;

}


.contact-final-content h2 span {

    color: var(--contact-yellow);

}


.contact-final-content p {

    margin: 0;

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

    font-size: 15px;

    line-height: 1.8;

}


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

.contact-final-actions {

    flex-shrink: 0;

    display: flex;

    align-items: center;

    gap: 12px;

}


/* =========================================================
   ANCHOR SCROLL
   ========================================================= */

#contact-form {

    scroll-margin-top: 110px;

}


/* =========================================================
   RESPONSIVE - 1024
   ========================================================= */

@media (max-width: 1024px) {


    .contact-section,
    .contact-form-section {

        padding: 80px 0;

    }


    .contact-hero {

        min-height: 470px;

        padding: 85px 0;

    }


    .contact-form-layout {

        gap: 50px;

    }


    .contact-form-card {

        padding: 35px;

    }


    .contact-help-grid {

        grid-template-columns: 1fr;

    }


    .contact-help-card {

        padding: 22px;

    }


}


/* =========================================================
   RESPONSIVE - TABLET / MOBILE
   ========================================================= */

@media (max-width: 768px) {


    .contact-page .container {

        width: min(100% - 30px, 1180px);

    }


    .contact-section,
    .contact-form-section {

        padding: 65px 0;

    }


    /* HERO */

    .contact-hero {

        min-height: auto;

        padding: 75px 0;

    }


    .contact-hero h1 {

        font-size: 42px;

        letter-spacing: -1.3px;

    }


    .contact-hero p {

        font-size: 15px;

    }


    .contact-hero-actions {

        flex-direction: column;

        align-items: stretch;

    }


    .btn-contact-primary,
    .btn-contact-secondary,
    .btn-contact-outline {

        width: 100%;

    }


    /* OPTIONS */

    .contact-options-grid {

        grid-template-columns: 1fr;

    }


    .contact-option-card {

        min-height: auto;

    }


    /* CONTACT FORM */

    .contact-form-layout {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .contact-form-info {

        max-width: 650px;

    }


    .contact-form-card {

        max-width: 650px;

        width: 100%;

        margin: 0 auto;

    }


    /* QUICK HELP */

    .contact-help-grid {

        grid-template-columns: 1fr;

    }


    /* FINAL CTA */

    .contact-final-cta {

        padding: 65px 0;

    }


    .contact-final-wrapper {

        align-items: flex-start;

        flex-direction: column;

        gap: 30px;

    }


    .contact-final-actions {

        width: 100%;

        flex-direction: column;

        align-items: stretch;

    }


}


/* =========================================================
   RESPONSIVE - SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {


    .contact-page .container {

        width: calc(100% - 24px);

    }


    /* HERO */

    .contact-hero {

        padding: 60px 0;

    }


    .contact-hero h1 {

        font-size: 35px;

    }


    /* SECTION HEADING */

    .contact-section-heading {

        margin-bottom: 40px;

    }


    .contact-section-heading h2 {

        font-size: 31px;

    }


    /* OPTION CARDS */

    .contact-option-card {

        padding: 25px 22px;

    }


    /* FORM INFO */

    .contact-form-info h2 {

        font-size: 32px;

    }


    .contact-info-item {

        padding: 15px;

    }


    /* FORM */

    .contact-form-card {

        padding: 30px 20px;

        border-radius: 20px;

    }


    .contact-form-header h3 {

        font-size: 24px;

    }


    .contact-input-wrapper input,
    .contact-input-wrapper select {

        min-height: 50px;

    }


    /* QUICK HELP */

    .contact-help-card {

        grid-template-columns:
            auto 1fr auto;

        gap: 13px;

        padding: 18px;

    }


    .contact-help-icon {

        width: 44px;

        height: 44px;

        font-size: 18px;

    }


    /* FINAL CTA */

    .contact-final-content h2 {

        font-size: 32px;

    }


}


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

@media (max-width: 360px) {


    .contact-hero h1 {

        font-size: 31px;

    }


    .contact-form-card {

        padding-left: 17px;

        padding-right: 17px;

    }


    .contact-help-card {

        grid-template-columns:
            42px 1fr;

    }


    .contact-help-arrow {

        display: none;

    }


}