.container {
    width: 85%;
    padding: 0;
}

.giffy-banner {
    padding-top: 18rem;
    padding-bottom: 2rem;
}

.giffy-banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.giffy-banner-info-div h1 {
    margin-top: 0;
    font-size: 5rem;
    color: #000;
    font-weight: 600;
    margin-bottom: 2rem;
    display: grid;
    /* letter-spacing: 1.2px; */
}

.giffy-banner-info-div p {
    font-size: 2rem;
    color: #333333;
    margin-bottom: 3rem;
}

.giffy-banner-info-div p a {
    text-decoration: none;
    color: #333333d4;
    font-weight: 600;
}

.giffy-banner-info-div p a:hover {
    text-decoration: none;
    color: #0e6ace;
    cursor: pointer;
}

.blue-curve-button-grid {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 3rem;
    gap: 5rem;
}

.blue-curve-button-grid a {
    color: rgb(255, 255, 255);
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    width: 100%;
    background: linear-gradient(135deg, rgb(2, 121, 211) 0%, rgb(97, 173, 244) 100%);
    text-decoration: none;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    border-radius: 25px;
    padding: 1.2rem 3rem;
    transition: 0.3s;
}

.blue-curve-button-grid a:hover {
    background-color: #166e7b;
    text-decoration: none;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 137, 153, 0.3);
}

.giffy-banner-btn {
    background: linear-gradient(135deg, #0279d3 0%, #61adf4 100%);
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    width: fit-content;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    padding: 1.2rem 3rem;
    transition: all 0.3s ease;
}

.giffy-banner-btn:hover {
    background-color: #166e7b;
    text-decoration: none;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 137, 153, 0.3);
}

.giffy-banner-image-div p {
    font-size: 2.1rem;
    margin-bottom: 2rem;
}

/* Blue section with inverted smooth curve */
.blue-curve-section {
    position: relative;
    height: auto;
    background: linear-gradient(135deg, #0279d3 0%, #61adf4 100%);
    padding: 17rem 0 3rem;
}

.blue-curve-section::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 130px;
    background: #fff;
    border-bottom-left-radius: 100% 100%;
    border-bottom-right-radius: 100% 100%;
}

.faq-heading-info {
    font-size: 2.5rem;
    margin: 1.4rem 0 3rem;
    line-height: 1.45;
    color: #000000df;
}

.faq-heading-info b {
    font-weight: 600;
    color: #000;
}

.blue-curve-section h2 {
    font-size: 5rem;
    font-weight: 700;
    text-align: center;
    color: #000;
    margin: 8rem 0;
}

/* FAQ Item */
.faq-item {
    border: 3px solid #00A8FF;
    padding: 5px 2rem;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: .3s ease;
    cursor: pointer;
}

.faq-header {
    display: flex;
    align-items: center;
    font-size: 2.8rem;
    font-weight: 400;
    color: #1d1d1d;
}

.faq-header span.icon {
    font-size: 40px;
    font-weight: 300;
    margin-right: 18px;
    color: #00A8FF;
    transition: .3s ease;
}

/* Content */
.faq-content {
    font-size: 2rem;
    color: #444;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease-out, padding .3s ease;
    padding-left: 4.5rem;
    padding-top: 0;
}

.faq-item.active .faq-content {
    padding-top: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item.active .icon {
    transform: rotate(180deg);
}

/* Hover shadow */
.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* ----- Animation Items ------ */
.anim-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-item.show {
    opacity: 1;
    transform: translateY(0);
}

.shipStation-grid,
.shipStationFeatures-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 8rem;
    margin-top: 4rem;
    align-items: center;
}

.shipstation-info-heading {
    font-size: 2.5rem;
    font-weight: 500;
    color: #004188;
    margin-bottom: 1.5rem;
}

.shipstation-info-heading::after {
    content: "";
    display: block;
    width: 35px;
    height: 4px;
    margin-top: .5rem;
    background-color: #cc5500;
}

.shipstation-info-text {
    font-size: 2rem;
    color: #333333bd;
    line-height: 1.6;
}

.shipstation-info-text a {
    text-decoration: none;
    color: #333333d4;
    font-weight: 600;
}

.shipstation-info-text a:hover {
    text-decoration: none;
    color: #0e6ace;
    cursor: pointer;
}

.integrateShipStation-info-section {
    margin-top: 5rem;
    border-top: 1.59px solid #00000033;
    padding-top: 2rem;
}

.integrateShipStation-info-section p {
    font-size: 2.3rem;
    color: #333333bd;
    line-height: 1.6;
}

.integrateShipStation-info-section p a {
    text-decoration: none;
    color: #333333d4;
    font-weight: 600;
}

.integrateShipStation-info-section p a:hover {
    text-decoration: none;
    color: #0e6ace;
    cursor: pointer;
}


/* testimonial css */

.testimonial-section {
    padding: 8rem 0;
}

.carousel-inner>.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 200px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.carousel-inner>.item.active {
    opacity: 1;
    position: relative;
}

.test-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(2, 40, 60, 0.08);
}

.test-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test-quote {
    color: #000;
    font-style: italic;
    margin: 15px 0 8px;
    font-size: 2rem;
    line-height: 1.7;
    max-width: 80%;
    text-align: center;
}

.test-who {
    color: #333333;
    font-size: 2rem;
}

.test-who a {
    font-weight: 600;
    color: #333333;
    text-decoration: none;
}

/* ====== Carousel Indicators ====== */
.carousel-indicators {
    position: static;
    margin: 20px auto 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-indicators li {
    background: #ccc;
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-indicators .active {
    background: #000;
}

/* FIX: prevent hidden slides from blocking clicks */
.carousel-inner>.item {
    pointer-events: none;
    z-index: 1;
}

.carousel-inner>.item.active {
    pointer-events: auto;
    z-index: 2;
}


/* ====== Scroll Reveal ====== */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* MAIN WRAPPER */

.kx-cta-container {
    text-align: center;
}

.kx-cta-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    white-space: nowrap;
    opacity: 0;
    color: #cc5500;
    margin-top: 3.5rem;
}

.kx-cta-animate .kx-cta-wrapper {
    opacity: 1;
}

/* PHONE WITH | */
.kx-cta-phone {
    opacity: 0;
    transform: translateY(6px);
}

/* REVEAL BOX */
.kx-cta-reveal-box {
    display: inline-block;
    overflow: hidden;
    max-width: 0;
    --kx-width: 500px;
}

/* TEXT */
.kx-cta-text {
    display: inline-block;
    transform: translateX(100%);
    text-align: left;
}

/* ANIMATIONS (ONLY APPLIED WHEN CLASS ADDED) */
.kx-cta-animate .kx-cta-phone {
    animation: kxFadeInPhone 0.7s ease forwards;
}

.kx-cta-animate .kx-cta-reveal-box {
    animation: kxExpandBox 0.9s ease forwards;
    animation-delay: 0.9s;
}

.kx-cta-animate .kx-cta-text {
    animation: kxSlideIn 2s ease forwards;
    animation-delay: 0.9s;
}

@keyframes kxFadeInPhone {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kxExpandBox {
    from {
        max-width: 0;
    }

    to {
        max-width: var(--kx-width);
    }
}

@keyframes kxSlideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.blue-curve-container {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 5rem 7rem;
    margin-top: 2rem;
}

:root {
    --slide-distance: 40px;
    --slide-duration: 1500ms;
    /* ⬅ slowed down */
    --slide-ease: cubic-bezier(.2, .9, .2, 1);
}

/* common styles for items that will animate */
.animate-on-scroll {
    opacity: 0;
    transform: translateX(0) translateY(0);
    transition-property: opacity, transform;
    transition-duration: var(--slide-duration);
    transition-timing-function: var(--slide-ease);
    will-change: transform, opacity;
}

/* initial offsets based on direction */
.animate-on-scroll[data-direction="left"] {
    transform: translateX(calc(-1 * var(--slide-distance)));
}

.animate-on-scroll[data-direction="right"] {
    transform: translateX(var(--slide-distance));
}

.animate-on-scroll[data-direction="up"] {
    transform: translateY(calc(-1 * var(--slide-distance)));
}

.animate-on-scroll[data-direction="down"] {
    transform: translateY(var(--slide-distance));
}

/* when element becomes visible */
.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

  /* respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
      transition: none;
      transform: none !important;
      opacity: 1 !important;
    }
  }

@media (min-width: 992px) and (max-width: 1200.98px) {

    .container {
        width: 90%;
    }

}

/* Responsive Adjustments */
@media (min-width: 768.98px) and (max-width: 991.98px) {

    .blue-curve-section::before {
        top: -80px;
        height: 160px;
    }

    .giffy-banner-grid {
        grid-template-columns: 1fr;
    }

    .container {
        width: 90%;
    }

    .kx-cta-wrapper {
        font-size: 3rem;
    }

    .shipStation-grid,
    .shipStationFeatures-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .blue-curve-button-grid {
        grid-template-columns: 1fr;
        gap: 3rem
    }

}

@media (max-width: 767.98px) {

    .giffy-banner {
        padding-top: 15rem;
        padding-bottom: 8rem;
    }

    .giffy-banner-grid {
        grid-template-columns: 1fr;
    }

    .blue-curve-section::before {
        top: -60px;
        height: 130px;
    }

    .blue-curve-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1rem;
    }

    .container {
        width: 90%;
    }

    .kx-cta-wrapper {
        flex-direction: column;
        font-size: 2.8rem;
        white-space: normal;
    }

    .kx-cta-text {
        text-align: center;
    }

    .test-who {
        text-align: center;
    }

    .test-quote {
        max-width: 95%;
    }

    .blue-curve-container {
        padding: 5rem 3rem;
    }

    .faq-header {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .shipStation-grid,
    .shipStationFeatures-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .blue-curve-button-grid {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .blue-curve-section h2 {
        font-size: 4rem;
        margin: 6rem 0;
    }
}

@media (max-width: 480.98px) {


    .giffy-banner-info-div h1 {
        font-size: 3.8rem;
    }

    .blue-curve-section {
        padding: 10rem 0 3rem;
    }

    .blue-curve-section::before {
        top: -50px;
        height: 110px;
    }

    .container {
        width: 95%;
    }

    .blue-curve-info-heading {
        line-height: 1.3;
    }

    .blue-curve-container {
        padding: 4rem 1.5rem;
    }

}