/* Responsive Styles */

/* XX-Large devices (larger desktops, 1400px and up) */
@media (max-width: 1400px) {
    .form-img img {
        border-radius: 40px;
    }

    .slider-card {
        height: auto;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) {}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .slider-container {
        grid-template-columns: repeat(3, 1fr);
        height: 600px;
        gap: 10px;
    }

    .slider-column:last-child {
        display: flex;
    }

    .slider-list {
        gap: 10px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {

    .header {
        padding: 24px 0;
    }

    .sticky-header {
        padding: 8px 0;
    }

    .sticky-logo img {
        height: 28px;
    }

    .sticky-btn {
        height: 40px !important;
        padding: 0 15px !important;
        font-size: 11px !important;
    }

    .container-fluid,
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 95px 0 0 0;
    }

    .header a {
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slider-container {
        grid-template-columns: repeat(3, 1fr);
        height: 480px;
        gap: 8px;
        margin-top: 40px;
    }

    .slider-column:last-child {
        display: flex;
    }

    .slider-list {
        gap: 8px;
    }

    .slider-card {
        height: 180px;
        border-radius: 12px;
    }

    .slider-card .label {
        bottom: 8px;
        right: 8px;
        font-size: 9px;
        padding: 4px 8px;
        height: auto;
    }

    .badge-custom {
        font-size: 10px;
        font-weight: 800;
        padding: 6px 10px;
        display: block;
        margin-bottom: 14px;
        text-align: center;
        max-width: 326px;
        margin-left: auto;
        margin-right: auto;
    }

    .badge-custom span {
        margin-right: 4px !important;
    }

    .hero-title {
        margin-bottom: 22px;
        text-align: center;
        font-size: 38px;
        line-height: 106%;
    }

    .hero-subtitle {
        font-size: 14px;
        text-align: center;
        margin-bottom: 26px;
    }

    .btn.btn-primary {
        height: 52px;
        padding: 0 36px 0 36px;
        font-size: 18px;
        font-weight: 900;
        line-height: 140%;
        max-width: 342px;
        width: 100%;
        justify-content: center;
        margin: auto;
        line-height: 52px;
    }

    .promises-title {
        margin: 0 auto 33px !important;
        font-size: 30px;
        line-height: 106%;
        width: 100%;
    }

    .portfolio-grid {
        padding: 0 0 84px 0;
    }

    .trust-signals {
        margin-top: 30px;
        gap: 15px;
    }

    .hero .col-lg-5.mb-5.mb-lg-0 {
        margin-bottom: 0 !important;
    }

    .slider-card {
        height: 123px;
        border-radius: 7px;
    }

    .slider-list {
        gap: 6px;
        flex: 1;
    }

    .slider-column {
        width: 100%;
        gap: 7px;
    }

    .slider-container {
        gap: 6px;
        display: flex;
        position: relative;
    }

    .ratings {
        padding: 80px 0 111px;
        background: none;
    }

    .ratings-badge-top {
        padding: 12px 18px;
        font-size: 14px;
    }

    .ratings-grid .col-lg-4.col-6.rating-card {
        margin: auto;
    }

    .rating-logo img {
        height: 17px;
        margin-bottom: 0;
    }

    /* .ratings-grid {
        border-bottom: none;
    } */

    .ratings-grid:before {
        width: 96px;
        height: 221px;
        left: -20px;
    }

    .ratings-grid:after {
        width: 96px;
        height: 221px;
        right: -20px;
    }

    .border-x {
        border-top: none;
    }

    .ratings-grid .col-lg-4.col-6.rating-card {
        border-bottom: 1px solid #EAEAEA;
    }

    .ratings-grid .col-lg-4.col-6.rating-card:last-child {
        border-bottom: none;
    }

    .ratings-grid .row::before {
        display: none;
    }

    .rating-stars {
        font-size: 0.9rem;
        letter-spacing: 1px;
        margin-bottom: 2px !important;
    }

    .rating-logo.mb-3 {
        margin-bottom: 9px !important;
    }

    .rating-text {
        font-size: 10px;
        margin-bottom: 0;
    }

    .hide-on-mobile {
        display: none;
    }

    .hide-on-desktop {
        display: block;
    }

    .ratings-grid .row::after {
        display: none;
    }

    .ratings-badge-bottom {
        font-size: 12px;
        gap: 0px;
        flex-direction: column;
        height: 49px;
        max-width: 341px;
        width: 100%;
        margin: auto;
    }

    .growth-title {
        font-size: 38px;
    }

    .growth-title {
        font-size: 38px;
        margin-bottom: 38px !important;
    }

    .growth-card-img img {
        border-radius: 18px;
        height: 171px;
    }

    .growth-card-quote {
        margin-bottom: 0;
    }

    .growth-card {
        margin-bottom: 0;
    }

    .trust-wrap .trust-item {
        font-size: 13px;
        gap: 6px;
    }

    .trust-wrap.d-flex.justify-content-center.gap-4.flex-wrap {
        gap: 0.5rem !important;
    }

    .trust-wrap .trust-item span {
        display: flex;
        align-items: center;
    }

    .growth {
        padding: 0 0 90px 0;
    }

    .portfolio-grid h1 {
        font-size: 38px;
    }

    .portfolio-tagline.mb-5.d-flex.justify-content-center.gap-4.flex-wrap {
        gap: 7px !important;
        margin-bottom: 39px !important;
    }

    .portfolio-tagline .tag-item {
        font-size: 13px;
        color: #000;
    }

    .portfolio-img-wrap {
        margin-bottom: 40px;
    }

    .portfolio-card {
        padding: 56px 8px 8px 8px;
        border-radius: 7px;
    }

    .portfolio-meta {
        padding: 12px;
    }

    .meta-divider {
        font-size: 0;
        border-right: 1px solid #F4F4F4;
        width: 1px;
        height: 32px;
    }

    .meta-item {
        font-size: 12px;
        flex-direction: column;
    }

    .portfolio-grid .mt-5.pt-3 {
        margin-top: 2.5rem !important;
    }

    .growth-trust-signals.mt-4.pt-3 {
        margin-top: 1.1rem !important;
    }

    .promise-card {
        padding: 24px 18px;
    }

    .promise-card-title {
        font-size: 16px;
    }

    .promise-card-text {
        font-size: 12px;
    }

    .promises .g-5,
    .promises .gx-5 {
        --bs-gutter-x: 14px;
    }

    .promises .g-5,
    .promises .gy-5 {
        --bs-gutter-y: 14px;
    }

    .promises {
        padding-bottom: 90px;
    }

    .process-title {
        font-size: 38px;
        margin-bottom: 1rem !important;
        width: 100%;
    }

    .step-text {
        margin-bottom: 0;
    }

    .faq-intro {
        text-align: center;
    }

    .faq-title {
        font-size: 38px;
        margin-bottom: 35px !important;
    }

    .faq-cta-card {
        padding: 20px !important;
    }

    .faq .row {
        flex-direction: column-reverse;
    }

    .faq {
        background: url(../images/faq-mobile-bg.png) no-repeat center center / cover;
        background-size: 440%;
        padding: 120px 0 70px;
    }

    .faq .accordion-button {
        padding-top: 15px;
        padding-bottom: 15px;
        padding-left: 18px !important;
        padding-right: 35px !important;
        border-radius: 14px;
    }

    .btn.btn-primary {
        transition: none !important;
    }

    .faq .accordion-body {
        font-size: 14px;
        padding-left: 55px !important;
    }

    .form-img img {
        border-radius: 20px;
    }

    .footer-container {
        background: url(../images/form-mobile-bg.png) no-repeat center center / cover;
        background-size: 320%;
        padding: 0 20px 30px;
    }

    .footer .container {
        padding: 0;
    }

    .faq-cta-card {
        margin-bottom: 0;
    }

    .whatsapp-btn img {
        width: 46px;
        height: 46px;
    }

    .faq .accordion-item {
        margin-bottom: 10px !important;
    }

    .trust-item {
        font-size: 14px;
    }

    .trust-signals {
        gap: 10px;
    }

    .process-subtitle {
        margin-bottom: 0 !important;
    }

    .process .g-5,
    .process .gy-5 {
        --bs-gutter-y: 2rem;
    }

    .portfolio-img-wrap img {
        height: auto;
    }

    .btn.btn-primary.sticky-btn {
        display: none !important;
    }

    .sticky-header {
        padding: 21px 0;
    }

    .sticky-header .container-fluid {
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .static-banner {
        margin-top: 30px;
    }

    .static-banner img {
        width: 100%;
        height: 249px;
        object-fit: contain;
    }

    .cta-sticky {
        /* display: flex; */
        position: fixed;
        bottom: 0;
        width: 100%;
        left: 0;
        right: 0;
        margin: auto;
        text-align: center;
        padding: 10px;
        z-index: 99;
        background: #fff;
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.14),
            0 24px 80px 0 rgba(22, 30, 49, 0.22);
    }

    .mobile-layout.add-cta-sticky .cta-sticky {
        display: flex;
    }

    .hero .col-lg-5.mb-5.mb-lg-0 {
        margin-top: 0;
    }

    .slider-container:before {
        height: 60px;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background-image: linear-gradient(rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 0.67), rgba(255, 255, 255, 0));
        z-index: 9;
    }

    .slider-container:after {
        height: 60px;
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-image: linear-gradient(to top, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 0.67), rgba(255, 255, 255, 0));
        z-index: 9;
    }

    .process {
        padding-bottom: 90px;
    }

    .slider-column.up {
        animation: moveUp 40s linear infinite;
    }


    .slider-column.down {
        animation: moveDown 40s linear infinite;
    }

    /* Testimonials responsive */

    .marquee-wrapper:before {
        width: 50px;
    }

    .marquee-wrapper:after {
        width: 50px;
    }

    .testimonials-marquee .growth-title {
        margin-bottom: 0 !important;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 150%;
    }

    .testimonial-card {
        width: 380px;
    }

    .author-role {
        text-align: left;
    }

    .author-info {
        text-align: left;
    }

    .thank-you-left-content {
        margin-top: 0;
    }
}