/**
 * ROQ Technologies - custom styles layered on top of the base template.
 * Loaded after main.css so these rules win.
 *
 * Everything here is driven by the template's existing colour variables
 * (--accent-color etc.) so a brand colour change in main.css flows through.
 */

:root {
    --roq-dark: #0d1b12;
    --roq-dark-soft: #14261a;
    --roq-muted: #6b7280;
    --roq-border: #e5e7eb;
    --roq-radius: 12px;
    --roq-shadow: 0 4px 24px rgba(0, 0, 0, .07);
    --roq-shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
}

/* ------------------------------------------------------------------ *
 * Accessibility
 * ------------------------------------------------------------------ */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1100;
    padding: 12px 20px;
    background: var(--accent-color);
    color: #fff;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

/* Visible keyboard focus - the template removes it in places. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */

.btn-quote,
.btn-whatsapp,
.btn-cta-light,
.btn-whatsapp-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 50px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-quote {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(27, 189, 54, .3);
}

.btn-quote:hover {
    background: #17a52f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(27, 189, 54, .4);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .3);
}

.btn-whatsapp:hover {
    background: #1fb955;
    color: #fff;
    transform: translateY(-2px);
}

.btn-whatsapp-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .35);
}

.btn-whatsapp-outline:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.btn-cta-light {
    background: #fff;
    color: var(--accent-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

.btn-cta-light:hover {
    background: #f4f4f4;
    color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-lg-cta {
    padding: 16px 34px;
    font-size: 17px;
}

/* ------------------------------------------------------------------ *
 * Top bar
 * ------------------------------------------------------------------ */

.topbar {
    background: var(--roq-dark);
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    padding: 9px 0;
}

.topbar a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    transition: color .2s;
}

.topbar a:hover {
    color: var(--accent-color);
}

.topbar-note {
    color: rgba(255, 255, 255, .7);
}

.topbar-note i {
    color: var(--accent-color);
}

/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */

.roq-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 80px;
}

.roq-hero #hero-carousel,
.roq-hero .carousel-inner,
.roq-hero .carousel-item {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
}

.roq-hero .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark, left-weighted wash so white headline text stays readable on any slide.
   z-index must beat Bootstrap's .carousel-fade .carousel-item.active, which sets 1. */
.roq-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(100deg,
            rgba(8, 18, 12, .93) 0%,
            rgba(8, 18, 12, .82) 45%,
            rgba(8, 18, 12, .55) 100%);
}

.roq-hero-content {
    position: relative;
    z-index: 3;
}

.roq-hero-eyebrow {
    display: inline-block;
    background: rgba(27, 189, 54, .18);
    border: 1px solid rgba(27, 189, 54, .4);
    color: #7ce68e;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.roq-hero h1 {
    color: #fff;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 56px;
    line-height: 1.13;
    margin-bottom: 20px;
}

.roq-hero-lead {
    color: rgba(255, 255, 255, .88);
    font-size: 19px;
    line-height: 1.65;
    max-width: 640px;
    margin-bottom: 26px;
}

.roq-hero-points {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.roq-hero-points li {
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    padding: 6px 0;
    display: flex;
    align-items: center;
}

.roq-hero-points i {
    color: var(--accent-color);
    font-size: 19px;
    margin-right: 12px;
    flex-shrink: 0;
}

.roq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.roq-hero-reassure {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    margin: 0;
}

/* ------------------------------------------------------------------ *
 * Stats
 * ------------------------------------------------------------------ */

.roq-stats {
    background: var(--roq-dark);
    padding: 46px 0;
}

.roq-stat-number {
    display: block;
    font-family: var(--heading-font);
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1.1;
}

.roq-stat-label {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    margin-top: 6px;
}

/* ------------------------------------------------------------------ *
 * Section headings
 * ------------------------------------------------------------------ */

.roq-section-heading {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 36px;
    color: var(--heading-color);
    margin-bottom: 16px;
}

.roq-section-lead {
    font-size: 17px;
    color: var(--roq-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ------------------------------------------------------------------ *
 * Service cards
 * ------------------------------------------------------------------ */

.roq-service-card {
    background: var(--surface-color);
    border: 1px solid var(--roq-border);
    border-radius: var(--roq-radius);
    padding: 34px 30px;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.roq-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--roq-shadow-lg);
    border-color: var(--accent-color);
}

.roq-service-icon {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: rgba(27, 189, 54, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.roq-service-icon i {
    font-size: 28px;
    color: var(--accent-color);
}

.roq-service-card h3 {
    font-family: var(--heading-font);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.roq-service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--roq-muted);
    margin-bottom: 16px;
}

.roq-service-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--accent-color);
    text-decoration: none;
}

.roq-service-link i {
    transition: transform .2s;
    display: inline-block;
    margin-left: 4px;
}

.roq-service-link:hover i {
    transform: translateX(4px);
}

/* Detailed service rows on the Services page */
.roq-service-detail {
    background: var(--surface-color);
    border: 1px solid var(--roq-border);
    border-radius: var(--roq-radius);
    padding: 38px;
    scroll-margin-top: 120px;
}

.roq-service-detail h3 {
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.roq-service-detail .roq-service-icon {
    margin-bottom: 16px;
}

.roq-feature-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.roq-feature-list li {
    display: flex;
    align-items: flex-start;
    padding: 7px 0;
    font-size: 15px;
    color: var(--default-color);
}

.roq-feature-list i {
    color: var(--accent-color);
    margin-right: 11px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ------------------------------------------------------------------ *
 * Why us
 * ------------------------------------------------------------------ */

.roq-why-img {
    box-shadow: var(--roq-shadow-lg);
    width: 100%;
}

.roq-why-item {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}

.roq-why-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(27, 189, 54, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.roq-why-icon i {
    font-size: 21px;
    color: var(--accent-color);
}

.roq-why-item h4 {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.roq-why-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--roq-muted);
    margin: 0;
}

/* ------------------------------------------------------------------ *
 * Process steps
 * ------------------------------------------------------------------ */

.roq-step {
    background: var(--surface-color);
    border: 1px solid var(--roq-border);
    border-radius: var(--roq-radius);
    padding: 28px 22px;
    height: 100%;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}

.roq-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--roq-shadow);
}

.roq-step-number {
    display: inline-block;
    font-family: var(--heading-font);
    font-size: 30px;
    font-weight: 800;
    color: rgba(27, 189, 54, .28);
    line-height: 1;
    margin-bottom: 12px;
}

.roq-step h4 {
    font-family: var(--heading-font);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.roq-step p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--roq-muted);
    margin: 0;
}

/* ------------------------------------------------------------------ *
 * Tech stack
 * ------------------------------------------------------------------ */

.roq-tech-groups h5 {
    font-family: var(--heading-font);
    font-size: 17px;
    font-weight: 700;
    color: var(--heading-color);
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-flex;
    align-items: center;
}

.roq-tech-groups h5 i {
    color: var(--accent-color);
}

.roq-tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roq-tech-list li {
    font-size: 15px;
    color: var(--roq-muted);
    padding: 6px 0;
}

.roq-tech-list li::before {
    content: "\2013";
    color: var(--accent-color);
    margin-right: 9px;
}

/* ------------------------------------------------------------------ *
 * Engagement models (pricing)
 * ------------------------------------------------------------------ */

.roq-model {
    background: var(--surface-color);
    border: 1px solid var(--roq-border);
    border-radius: var(--roq-radius);
    padding: 36px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}

.roq-model:hover {
    transform: translateY(-6px);
    box-shadow: var(--roq-shadow-lg);
}

.roq-model.featured {
    border: 2px solid var(--accent-color);
    box-shadow: var(--roq-shadow-lg);
}

.roq-model-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.roq-model h3 {
    font-family: var(--heading-font);
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--heading-color);
}

.roq-model-for {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.roq-model > p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--roq-muted);
}

.roq-model .roq-feature-list {
    flex-grow: 1;
    margin-bottom: 24px;
}

/* ------------------------------------------------------------------ *
 * FAQ
 * ------------------------------------------------------------------ */

.roq-faq-item {
    background: var(--surface-color);
    border: 1px solid var(--roq-border);
    border-radius: var(--roq-radius);
    margin-bottom: 14px;
    overflow: hidden;
}

.roq-faq-item.open {
    border-color: var(--accent-color);
}

.roq-faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--heading-font);
    font-size: 17px;
    font-weight: 600;
    color: var(--heading-color);
    cursor: pointer;
}

.roq-faq-question i {
    color: var(--accent-color);
    font-size: 18px;
    transition: transform .25s ease;
    flex-shrink: 0;
}

.roq-faq-item.open .roq-faq-question i {
    transform: rotate(180deg);
}

/* Animating max-height keeps the accordion smooth without measuring in JS. */
.roq-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0 24px;
}

.roq-faq-item.open .roq-faq-answer {
    max-height: 400px;
    padding: 0 24px 20px;
}

.roq-faq-answer p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--roq-muted);
    margin: 0;
}

/* ------------------------------------------------------------------ *
 * CTA band
 * ------------------------------------------------------------------ */

.roq-cta-band {
    background: linear-gradient(120deg, var(--accent-color) 0%, #14a02c 100%);
    padding: 62px 0;
    color: #fff;
}

.roq-cta-band h2 {
    font-family: var(--heading-font);
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.roq-cta-band p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .92);
    margin: 0;
}

.roq-cta-phone {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
}

.roq-cta-phone:hover {
    color: #fff;
    text-decoration: underline;
}

/* ------------------------------------------------------------------ *
 * Contact form
 * ------------------------------------------------------------------ */

.roq-contact-card {
    background: var(--surface-color);
    border: 1px solid var(--roq-border);
    border-radius: var(--roq-radius);
    padding: 38px;
    box-shadow: var(--roq-shadow);
}

.roq-contact-card .form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--heading-color);
    margin-bottom: 6px;
}

.roq-contact-card .form-control,
.roq-contact-card .form-select {
    border: 1px solid var(--roq-border);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
}

.roq-contact-card .form-control:focus,
.roq-contact-card .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(27, 189, 54, .14);
}

.roq-required {
    color: #dc3545;
}

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.roq-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

.roq-form-error,
.roq-form-success {
    display: none;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 15px;
    margin-bottom: 16px;
}

.roq-form-error {
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c6c2;
}

.roq-form-success {
    background: #e7f7ea;
    color: #14682a;
    border: 1px solid #b7e4c1;
}

.roq-contact-info-card {
    background: var(--roq-dark);
    border-radius: var(--roq-radius);
    padding: 36px 30px;
    color: rgba(255, 255, 255, .85);
    height: 100%;
}

.roq-contact-info-card h3 {
    color: #fff;
    font-family: var(--heading-font);
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 10px;
}

.roq-contact-info-card > p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 26px;
}

.roq-info-row {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}

.roq-info-row i {
    font-size: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.roq-info-row h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.roq-info-row p,
.roq-info-row a {
    font-size: 15px;
    color: rgba(255, 255, 255, .75);
    margin: 0;
    text-decoration: none;
}

.roq-info-row a:hover {
    color: var(--accent-color);
}

/* ------------------------------------------------------------------ *
 * Floating WhatsApp
 * ------------------------------------------------------------------ */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 84px;
    width: 54px;
    height: 54px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
    z-index: 996;
    transition: transform .2s ease, opacity .25s ease, visibility .25s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.1);
}

/* In the hero the float lands on top of the primary CTA, so hold it back until the
   visitor scrolls past. The hero has its own WhatsApp button for that first screen.
   Only applied once JS confirms it can toggle the class - otherwise it stays visible. */
.js-float-gated .whatsapp-float {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.js-float-gated .whatsapp-float.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ------------------------------------------------------------------ *
 * Footer additions
 * ------------------------------------------------------------------ */

.footer-blurb {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .7);
}

.footer-contact a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-cta-col h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-cta-col p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 18px;
}

.footer-legal a {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/* ------------------------------------------------------------------ *
 * Legal / content pages
 * ------------------------------------------------------------------ */

.roq-legal {
    padding: 60px 0 80px;
}

.roq-legal h2 {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 700;
    margin: 34px 0 12px;
    color: var(--heading-color);
}

.roq-legal p,
.roq-legal li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--default-color);
}

.roq-legal ul {
    padding-left: 22px;
}

.roq-legal-updated {
    font-size: 14px;
    color: var(--roq-muted);
    font-style: italic;
}

/* ------------------------------------------------------------------ *
 * Thank you / error pages
 * ------------------------------------------------------------------ */

.roq-message-page {
    padding: 90px 0;
    text-align: center;
}

.roq-message-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(27, 189, 54, .12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}

.roq-message-icon i {
    font-size: 42px;
    color: var(--accent-color);
}

.roq-message-page h1 {
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--heading-color);
}

.roq-message-page p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--roq-muted);
    max-width: 620px;
    margin: 0 auto 14px;
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 1199px) {
    /* The template hides the desktop nav here; keep the CTA from crowding the burger. */
    .btn-quote.ms-3 {
        margin-right: 46px;
    }
}

@media (max-width: 991px) {
    .roq-hero {
        min-height: auto;
        padding: 70px 0 60px;
    }

    .roq-hero h1 {
        font-size: 38px;
    }

    .roq-hero-lead {
        font-size: 17px;
    }

    .roq-section-heading,
    .roq-cta-band h2 {
        font-size: 28px;
    }

    .roq-cta-band {
        text-align: center;
    }

    .roq-cta-band .text-lg-end {
        text-align: center !important;
    }

    .roq-contact-card,
    .roq-service-detail {
        padding: 26px 20px;
    }
}

@media (max-width: 575px) {
    .roq-hero h1 {
        font-size: 31px;
    }

    .roq-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .roq-hero-actions a {
        width: 100%;
    }

    .roq-stat-number {
        font-size: 32px;
    }

    .roq-faq-question {
        font-size: 15px;
        padding: 16px 18px;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 24px;
        bottom: 76px;
    }
}

/* Respect a reduced-motion preference - AOS animations can be nauseating. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
