/* =========================================================
   RushMySolutions — Common Stylesheet
========================================================= */

:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --orange-light: #fff7ed;
    --dark: #1F2937;
    --dark-2: #111827;
    --gray-soft: #F7F7F7;
    --text-body: #454545;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: var(--text-body);
}

/* ---- Shared Section Eyebrow ---- */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

    .section-eyebrow span.bar {
        display: inline-block;
        width: 40px;
        height: 2px;
        background: var(--orange);
        flex-shrink: 0;
    }

    .section-eyebrow p {
        color: var(--orange);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 13px;
        letter-spacing: .05em;
    }

/* ---- Buttons ---- */
.btn-primary {
    background: var(--orange);
    color: white;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

    .btn-primary:hover {
        background: var(--orange-dark);
    }

.btn-dark {
    background: var(--dark);
    color: white;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

    .btn-dark:hover {
        background: #374151;
    }

.btn-outline {
    border: 1.5px solid #d1d5db;
    color: var(--dark);
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

    .btn-outline:hover {
        border-color: var(--orange);
        color: var(--orange);
    }

/* ---- Inner Page Hero ---- */
.page-hero {
    padding: 160px 24px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

    .page-hero .overlay-dark {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(17,24,39,0.88) 0%, rgba(31,41,55,0.80) 100%);
    }

        .page-hero .overlay-dark::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 65% 35%, rgba(249,115,22,0.18) 0%, transparent 60%), radial-gradient(ellipse at 20% 75%, rgba(236,72,153,0.12) 0%, transparent 55%);
        }

    .page-hero .hero-inner {
        position: relative;
        z-index: 2;
    }

    .page-hero h1 {
        color: #fff;
        font-size: clamp(34px, 5vw, 62px);
        font-weight: 700;
        line-height: 1.1;
    }

    .page-hero p {
        color: #d1d5db;
        margin-top: 18px;
        font-size: 18px;
        max-width: 600px;
        margin-inline: auto;
    }

    .page-hero .breadcrumb {
        display: flex;
        justify-content: center;
        gap: 8px;
        font-size: 13px;
        color: #9ca3af;
        margin-top: 16px;
    }

        .page-hero .breadcrumb a {
            color: var(--orange);
        }

        .page-hero .breadcrumb span {
            color: #6b7280;
        }

/* ---- Header ---- */
.main-head {
    transition: var(--transition);
}

    .main-head.scrolled {
        background-color: rgba(0,0,0,0.88) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 4px 24px rgba(0,0,0,0.3);
        border-bottom-color: transparent !important;
    }
    /* Light header for inner pages */
    .main-head.light {
        background: #fff !important;
        border-bottom: 1px solid #e5e7eb;
    }

        .main-head.light .nav-main a {
            color: #374151 !important;
        }

            .main-head.light .nav-main a:hover, .main-head.light .nav-main a.active {
                color: var(--orange) !important;
            }

        .main-head.light #menuBtn {
            color: var(--dark) !important;
        }

        .main-head.light.scrolled {
            background: rgba(255,255,255,0.96) !important;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }

.nav-main a {
    color: #ffffff;
    font-weight: 400;
    transition: color .2s;
}

    .nav-main a:hover, .nav-main a.active {
        color: var(--orange) !important;
    }

/* ---- Canvas / Hero (homepage) ---- */
#bgCanvas canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

#bgCanvas::after {
    background: radial-gradient(ellipse at center, #ffffff 0%,#f7cbc1 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    left: 0;
    top: 0;
    opacity: .25;
}

.hero-content, nav {
    position: relative;
    z-index: 10;
}

/* ---- Glass cards ---- */
.card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

    .card:hover {
        transform: scale(1.05);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }

/* ---- Form Floating Label ---- */
.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-26px) scale(0.9);
    color: var(--orange);
}

.input-group label {
    transition: var(--transition);
}

/* ---- Ripple ---- */
.btn-ripple::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 2px solid rgba(255,255,255,0.5);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: .6
    }

    100% {
        transform: scale(1.8);
        opacity: 0
    }
}

/* ---- Line heading ---- */
.line-heading {
    padding-left: 30px;
}

    .line-heading::before {
        content: '';
        left: 0;
        position: absolute;
        top: calc(50% - 1px);
        height: 2px;
        background: var(--orange);
        width: 25px;
    }

/* ---- Staffing shapes ---- */
.shapes-curved {
    height: 165px;
    overflow: hidden;
    position: absolute;
    top: -140px;
    z-index: 11;
    left: 0;
    width: 100%;
}

    .shapes-curved .shape-2 {
        transform: skewY(-.5deg);
        width: 105vw;
        margin-left: -1.5%;
        position: absolute;
        top: 16px;
    }

/* ---- Parallax Background ---- */
.wrap-testimonials.parallax-bg {
    background-image: url("../assets/bg-testimonials2.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.wrap-testimonials.parallax-bg .slick-dots {
    bottom: -60px;
}

.wrap-testimonials.parallax-bg .slick-dots li {
    margin: 0;
}

.wrap-testimonials.parallax-bg .slick-dots li button:before {
    color: #fff;
    opacity: .75;
    font-size: 10px;
}

.wrap-testimonials.parallax-bg .slick-dots li.slick-active button:before {
    color: orangered;
    opacity: 1;
}

.wrap-testimonials.parallax-bg .slick-prev:before,
.wrap-testimonials.parallax-bg .slick-next:before {
    color: white;
    font-size: 24px;
}

/* ---- Products section ---- */
@keyframes zoomIn {
    0% {
        transform: scale(1)
    }

    100% {
        transform: scale(1.15)
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(1.15)
    }

    100% {
        transform: scale(1)
    }
}

/*.wrap-products {
    border-top: 8px solid #ff007a;
}*/

    .wrap-products .zoom-in {
        animation: zoomIn 8s ease-in-out infinite alternate;
    }

    .wrap-products .zoom-out {
        animation: zoomOut 8s ease-in-out infinite alternate;
    }

    .wrap-products .group:hover img {
        animation-play-state: paused;
    }

    .wrap-products .absolute:hover p {
        color: #222;
        font-weight: bold;
    }

/* ---- Product Slider dots ---- */
.slider-products .slick-dots {
    bottom: -30px;
}

    .slider-products .slick-dots li button:before {
        font-size: 10px;
    }

    .slider-products .slick-dots li.slick-active button:before {
        color: var(--orange);
    }

/* ---- Marquee ---- */
.marque-outer {
    overflow-x: clip;
}

.marquee-wrapper {
    overflow: hidden;
    margin-top: -117px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

    .marquee-wrapper .marquee {
        display: flex;
        width: max-content;
        animation: scrollRTL 18s linear infinite;
    }

    .marquee-wrapper .marquee-group {
        display: flex;
    }

    .marquee-wrapper .marquee span {
        font-weight: 700;
        font-size: 135px;
        white-space: nowrap;
        margin-right: 40px;
    }

    .marquee-wrapper .fill {
        color: #1F242E;
    }

    .marquee-wrapper .stroke {
        color: transparent;
        -webkit-text-stroke: 2px #2D2C2B;
    }

@keyframes scrollRTL {
    0% {
        transform: translateX(0%)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* ---- Dark Theme (homepage only) ---- */
.dark-theme .main-head {
    background-color: #00000025;
    border-bottom: 1px solid #ffffff50;
}

    .dark-theme .main-head.backdrop-blur-sm {
        background-color: #00000075;
    }

.dark-theme .nav-main a {
    color: #ffffff;
    font-weight: normal;
}

    .dark-theme .nav-main a:hover {
        color: #f68e43;
    }

.dark-theme #bgCanvas::after {
    display: none;
}

.dark-theme .hero {
    background: #1f2937;
    min-height: 750px;
    height: 100vh;
}

    .dark-theme .hero #heroTitle {
        color: white;
    }

    .dark-theme .hero .btn-outline {
        color: white;
    }

/* ---- CTA Block + Footer overlap (ALL pages) ---- */
.cta-block {
    position: relative;
    z-index: 20;
}

.footer-main {
    color: #ddd !important;
    font-weight: 400;
    background: #1F2937;
    padding-top: 150px;
    margin-top: -90px;
    position: relative;
    z-index: 1;
}

    .footer-main h3 {
        color: #fff;
        font-weight: 500;
    }

    .footer-main .foot-links a {
        transition: color .2s;

        &.active {
            color: var(--orange);
        }
    }

        .footer-main .foot-links a:hover {
            color: var(--orange);
        }

/* ---- Team card (About) ---- */
.team-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: var(--transition);
}

    .team-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(249,115,22,0.15);
    }

    .team-card img {
        width: 100%;
        height: 260px;
        object-fit: cover;
    }

    .team-card .info {
        padding: 20px;
    }

/* ---- Service card ---- */
.service-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

    .service-card:hover {
        transform: translateY(-4px);
        border-color: var(--orange);
        box-shadow: 0 12px 32px rgba(249,115,22,0.12);
    }

    .service-card .icon-wrap {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        background: var(--orange-light);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        font-size: 22px;
        color: var(--orange);
    }

/* ---- Blog card ---- */
.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: var(--transition);
}

    .blog-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    }

.blog-card {
    img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: transform .5s;
    }

    .card-body img {
        width: 50px;
        height: 50px;
    }
}

    .blog-card:hover img {
        transform: scale(1.04);
    }

    .blog-card .card-body {
        padding: 24px;
    }

.blog-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ---- Results stat ---- */
.result-stat {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

    .result-stat .num {
        font-size: clamp(44px,6vw,72px);
        font-weight: 700;
        line-height: 1;
        color: var(--dark);
    }

    .result-stat .accent {
        color: #FFB6A7;
    }

/* ---- Card staffing ---- */
.card-staffing {
    transition: var(--transition);
}

/* ---- Page transition ---- */
.page-fade {
    animation: pageFadeIn .45s ease;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ---- Blog detail ---- */
.blog-detail-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #111827;
}

.blog-detail-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 .75rem;
    color: #1f2937;
}

.blog-detail-content p {
    margin-bottom: 1.25rem;
    line-height: 1.85;
    color: #4b5563;
}

.blog-detail-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

    .blog-detail-content ul li {
        margin-bottom: .5rem;
        color: #4b5563;
        line-height: 1.75;
    }

.blog-detail-content blockquote {
    border-left: 4px solid var(--orange);
    padding: 16px 24px;
    background: #fff7ed;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
    font-style: italic;
    color: #374151;
}

.blog-detail-content img {
    border-radius: 16px;
    width: 100%;
    margin: 2rem 0;
}

/* TOC */
.toc-link {
    display: block;
    padding: 6px 12px;
    border-left: 2px solid transparent;
    font-size: 14px;
    color: #6b7280;
    transition: all .2s;
}

    .toc-link:hover, .toc-link.active {
        border-color: #f97316;
        color: #f97316;
        background: #fff7ed;
    }
/* Share btn */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
}

.contact-map {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

    .contact-map iframe {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 20px;
    }

/* =========  RESPONSIVE  ========= */
@media (max-width: 1325px) {
    .wrap-staffing-intro .shapes-curved {
        height: 125px;
        top: -110px;
    }

    .hero h1 {
        font-size: 60px;
    }

        .hero h1 .line-animated {
            height: 65px;
        }
}

@media (max-width: 1023px) {
    .wrap-staffing-intro .shapes-curved {
        height: 100px;
        top: -80px;
    }

    .shapes-curved .shape-2 {
        top: 8px;
    }

    .marquee-wrapper {
        margin-top: -50px;
    }

        .marquee-wrapper .marquee span {
            font-size: 60px !important;
        }

    .wrap-staffing svg {
        width: 60px;
        height: auto;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 47px;
    }

        .hero h1 .line-animated {
            height: 51px;
        }
}

@media (max-width: 850px) {
    .wrap-staffing-intro .shapes-curved {
        height: 100px;
        top: -80px;
    }
}

@media (max-width: 767px) {
    .wrap-staffing-intro .shapes-curved {
        height: 65px;
        top: -60px;
    }

    .wrap-staffing svg {
        width: 50px;
    }

    .testimonial-slider .slick-next {
        right: -14px;
    }

    .testimonial-slider .slick-prev {
        left: -18px;
    }

    .wrap-testimonials.parallax-bg .slick-dots {
        bottom: -30px !important;
    }

    .cards-hero .card {
        transform: none !important;
    }

    .page-hero {
        padding: 120px 20px 70px;
    }

    .footer-main {
        padding-top: 120px;
    }
}

@media (max-width: 550px) {
    .hero h1 {
        font-size: 35px;
    }

        .hero h1 .line-animated {
            height: 38px;
        }

    .wrap-staffing-intro .shapes-curved {
        height: 50px;
        top: -40px;
    }

    .shapes-curved .shape-2 {
        top: 5px;
    }
}
textarea {resize: none;}
.page-hero .section-eyebrow span.bar {display: none;}