/* ===================================================================
   Assisted Rides — shared page styles
   -------------------------------------------------------------------
   Used by:
     - /RequestDemo/RequestDemo
     - /Contact/ContactUs

   All selectors are scoped under .ar-page so nothing here leaks into
   the rest of the site.

   Note for developers: because this is a regular .css file, the
   @media and @keyframes rules below use a single @ symbol. The double
   @@ syntax is only needed when these rules live inside a Razor
   .cshtml file.
   =================================================================== */


/* ---------- Page wrapper ---------- */

.ar-page {
    max-width: 1200px;
    margin: 1.5rem auto 2.5rem;
    padding: 0 1rem;
    color: #2d3748;
    line-height: 1.55;
}




/* ---------- Existing customer callout (Contact Us) ---------- */

.ar-page .ar-customer-callout {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: #eef4fb;
    border: 1px solid #c7dbee;
    border-left: 4px solid #1f3a5f;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.ar-page .ar-customer-callout__icon {
    flex: 0 0 auto;
    color: #1f3a5f;
    margin-top: 0.15rem;
}

.ar-page .ar-customer-callout__body {
    flex: 1 1 auto;
}

.ar-page .ar-customer-callout__title {
    margin: 0 0 0.3rem;
    font-size: 1.05rem;
    color: #1f3a5f;
    font-weight: 600;
}

.ar-page .ar-customer-callout__body p {
    margin: 0;
    font-size: 0.95rem;
    color: #2d3748;
    line-height: 1.5;
}

.ar-page .ar-customer-callout a {
    color: #1f3a5f;
    font-weight: 600;
    text-decoration: underline;
}

.ar-page .ar-customer-callout a:hover {
    color: #16294a;
}


/* ---------- "What to expect" section ---------- */

.ar-page .ar-expect {
    background: #f7f9fb;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    padding: 1.75rem 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.ar-page .ar-expect__title {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
    color: #1f3a5f;
    font-weight: 600;
}

.ar-page .ar-expect__lede {
    margin: 0 0 1.5rem;
    font-size: 1.02rem;
    color: #4a5568;
}

.ar-page .ar-expect__steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: grid;
    gap: 0.85rem;
}

.ar-page .ar-expect__step {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    padding: 0.85rem 1rem;
}

.ar-page .ar-expect__num {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #1f3a5f;
    color: #ffffff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.ar-page .ar-expect__step-body h4 {
    margin: 0 0 0.2rem;
    font-size: 1.02rem;
    color: #1f3a5f;
    font-weight: 600;
}

.ar-page .ar-expect__step-body p {
    margin: 0;
    font-size: 0.95rem;
    color: #4a5568;
}

.ar-page .ar-expect__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.ar-page .ar-expect__card {
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 6px;
    padding: 1rem 1.1rem;
}

.ar-page .ar-expect__card h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: #1f3a5f;
    font-weight: 600;
}

.ar-page .ar-expect__card p,
.ar-page .ar-expect__card ul {
    margin: 0;
    font-size: 0.93rem;
    color: #4a5568;
}

.ar-page .ar-expect__card ul {
    padding-left: 1.1rem;
}

.ar-page .ar-expect__card li {
    margin-bottom: 0.25rem;
}

/* Links inside expect section match navy theme */
.ar-page .ar-expect__card a,
.ar-page .ar-expect__step-body a {
    color: #1f3a5f;
    font-weight: 600;
    text-decoration: underline;
}

.ar-page .ar-expect__card a:hover,
.ar-page .ar-expect__step-body a:hover {
    color: #16294a;
}



/* ---------- Form card wrapper ---------- */

.ar-page .ar-form-card {
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 1px 3px rgba(31, 58, 95, 0.04);
}

.ar-page .ar-form-card__title {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
    color: #1f3a5f;
    font-weight: 600;
}

.ar-page .ar-form-card__sub {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    color: #4a5568;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e3e8ee;
}

.ar-page .ar-form-card label {
    display: block;
    margin-top: 0.85rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2d3748;
}

.ar-page .ar-form-card input[type="text"],
.ar-page .ar-form-card input[type="email"],
.ar-page .ar-form-card input[type="tel"],
.ar-page .ar-form-card input[type="url"],
.ar-page .ar-form-card select,
.ar-page .ar-form-card textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.7rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #2d3748;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ar-page .ar-form-card input[type="text"]:focus,
.ar-page .ar-form-card input[type="email"]:focus,
.ar-page .ar-form-card input[type="tel"]:focus,
.ar-page .ar-form-card input[type="url"]:focus,
.ar-page .ar-form-card select:focus,
.ar-page .ar-form-card textarea:focus {
    outline: none;
    border-color: #1f3a5f;
    box-shadow: 0 0 0 3px rgba(31, 58, 95, 0.12);
}

.ar-page .ar-form-card textarea {
    min-height: 100px;
    resize: vertical;
}

.ar-page .ar-form-card button[type="submit"],
.ar-page .ar-form-card input[type="submit"] {
    margin-top: 1.25rem;
    background: #1f3a5f;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.ar-page .ar-form-card button[type="submit"]:hover,
.ar-page .ar-form-card input[type="submit"]:hover {
    background: #16294a;
}


/* ---------- Inline tip box (keyword detection on Request a Demo) ---------- */

.ar-tip {
    margin-top: 0.6rem;
    padding: 0.75rem 0.9rem;
    background: #fff8e1;
    border: 1px solid #f0d875;
    border-left: 4px solid #d4a017;
    border-radius: 4px;
    font-size: 0.93rem;
    color: #5c4a14;
    line-height: 1.5;
    display: none;
}

.ar-tip.is-visible {
    display: block;
    animation: ar-tip-in 0.2s ease-out;
}

.ar-tip strong {
    color: #3d3009;
}

.ar-tip a {
    color: #1f3a5f;
    font-weight: 600;
    text-decoration: underline;
}

.ar-tip a:hover {
    color: #16294a;
}

@keyframes ar-tip-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ---------- Responsive ---------- */

@media (max-width: 820px) {
    .ar-page .ar-expect__cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ar-page .ar-expect {
        padding: 1.25rem 1rem 1.5rem;
    }
    .ar-page .ar-form-card {
        padding: 1.25rem 1rem 1.25rem;
    }
    .ar-page .ar-expect__title,
    .ar-page .ar-form-card__title {
        font-size: 1.3rem;
    }
    .ar-page .ar-expect__step {
        padding: 0.75rem 0.85rem;
    }
    .ar-page .ar-customer-callout {
        padding: 0.85rem 1rem;
    }
    .ar-page .ar-customer-callout__title {
        font-size: 1rem;
    }
}


 
 
.ar-page .ar-jump {
    margin: 0 0 1.5rem;
}
 
.ar-page .ar-jump--primary {
    display: flex;
    justify-content: flex-start;
}
 
.ar-page .ar-jump__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1f3a5f;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.1rem;
    border-radius: 4px;
    transition: background-color 0.15s ease, transform 0.05s ease;
}
 
.ar-page .ar-jump__button:hover,
.ar-page .ar-jump__button:focus {
    background: #16294a;
    color: #ffffff;
    text-decoration: none;
    outline: none;
}
 
.ar-page .ar-jump__button:focus-visible {
    box-shadow: 0 0 0 3px rgba(31, 58, 95, 0.25);
}
 
.ar-page .ar-jump__button:active {
    transform: translateY(1px);
}
 
.ar-page .ar-jump-inline {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
}
 
.ar-page .ar-jump-inline--center {
    margin-top: 1.25rem;
    text-align: center;
}
 
.ar-page .ar-jump-inline a {
    color: #1f3a5f;
    font-weight: 600;
    text-decoration: underline;
}
 
.ar-page .ar-jump-inline a:hover {
    color: #16294a;
}
 
/* Give the form card a little breathing room above for the scroll target. */
.ar-page .ar-form-card {
    scroll-margin-top: 1rem;
}


/* ---------- Two-column layout for Request a Demo ---------- */


.ar-page .ar-two-col {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
    align-items: start;
}

/* Make the form column sticky so it stays visible while reading the info column */
.ar-page .ar-two-col .ar-form-card {
    position: sticky;
    top: 1rem;
}

/* The expect section already has its own background; remove its bottom margin
   since the grid handles spacing now */
.ar-page .ar-two-col .ar-expect {
    margin-bottom: 0;
}

/* On tablets and phones, stack the columns. Form goes on top because that's
   the page's primary goal and saves scrolling on small screens. */
@media (max-width: 900px) {
    .ar-page .ar-two-col {
        grid-template-columns: 1fr;
    }
    .ar-page .ar-two-col .ar-form-card {
        position: static;
        order: 1;
    }
    .ar-page .ar-two-col .ar-expect {
        order: 2;
    }
}
 
 
 