/* ==========================================================================
   GLOBAL BUTTON STYLES - WORTAL THEME
   Reusable button components for site-wide consistency
   ========================================================================== */

/* Base Button Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    /* Fully rounded pill style */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1.5px solid transparent;
    outline: none;
    box-sizing: border-box;
    white-space: nowrap;
    text-align: center;
}

@media (max-width: 768px) {
    .btn {
        font-size: 14px;
        padding: 10px 22px;
    }
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 80, 24, 0.4);
}

/* 1. Primary Solid Orange Button (e.g. Book Demo) */
.btn-primary-orange,
.btn-orange-solid {
    background-color: #FF5018;
    background-image: linear-gradient(135deg, #FF5018 0%, #E6400A 100%);
    color: #FFFFFF !important;
    border-color: #FF5018;
    box-shadow: 0 4px 14px rgba(255, 80, 24, 0.25);
}


.btn-primary-orange:active,
.btn-orange-solid:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 80, 24, 0.3);
}

/* 2. Secondary Outline Orange Button (e.g. Start Free ->) */
.btn-outline-orange,
.btn-orange-outline {
    background-color: #FFFFFF;
    color: #FF5018 !important;
    border-color: #FF5018;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}



.btn-outline-orange:active,
.btn-orange-outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 80, 24, 0.1);
}

/* Arrow Icon inside Outline/Primary Button */
.btn .btn-arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #FF5018;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 13px;
    margin-left: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-outline-orange:hover .btn-arrow-icon {
    background-color: #E6400A;
    transform: translateX(4px);
}

.btn-primary-orange:hover .btn-arrow-icon {
    transform: translateX(4px);
}

/* Size Variants */
.btn-sm {
    padding: 9px 20px;
    font-size: 14px;
}

.btn-md {
    padding: 13px 28px;
    font-size: 16px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

/* Full width on small screens */
@media (max-width: 480px) {
    .btn-block-xs {
        width: 100%;
    }
}


.section-heading {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.section-heading-highlight {
    color: #FF4000;
    font-weight: 700;
}

.section-subheading {
    font-size: 16px;
    color: #555;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 20px 40px;
}

@media (max-width: 768px) {
    .section-heading {
        font-size: clamp(24px, 6vw, 34px);
    }

    .section-subheading {
        font-size: 14px;
    }

    .section-header {
        padding: 30px 16px 28px;
    }
}


/* =================================
   WORTAL INTEGRATION WRAPPER
================================= */
.wortal-integration-wrapper {
    width: 100%;
    padding: 0px 0;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* =================================
   CONTAINER
================================= */
.wortal-container {
    width: 100%;
    max-width: 100%;
}

/* =================================
   TABS
================================= */
.wortal-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.wortal-tab-btn {
    min-width: 330px;
    height: 58px;
    border: 1px solid #cfcfcf;
    background: transparent;
    color: #2e2e2e;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: .25s ease;
    line-height: 35px;
    letter-spacing: 0%;
}

.wortal-tab-btn.active {
    background: #343434;
    color: #fff;
    border-color: #343434;
}

/* =================================
   TAB CONTENT
================================= */
.wortal-tab-content {
    display: none;
}

.wortal-tab-content.active {
    display: block;
}

/* =================================
   GRID
================================= */
.wortal-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 132px;
    border-left: 1px solid #dfdfdf;
    overflow: hidden;
}

/* TOP ROW FADE OVERLAY */
.wortal-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 132px;
    /* Height of exactly one row */
    background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    /* Allows hovering over elements underneath the fade */
    z-index: 3;
    /* Places it over the grids but below active highlights if needed */
}


/* BOTTOM ROW FADE OVERLAY */
.wortal-grid::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 132px;
    /* Height of exactly one row */
    background: linear-gradient(to top, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 3;
}

/* =================================
   BOX
================================= */
.wortal-box {
    position: relative;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Smooth base transition for everything inside the grid */
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, filter;
}

.wortal-box:nth-last-child(-n + 6) {
    border-bottom: 0;
}

.wortal-box img {
    max-width: 70%;
    max-height: 50px;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* HOVER / ACTIVE BORDER EFFECT */
.wortal-box::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity .4s ease;

    background:
        linear-gradient(90deg, rgba(255, 64, 0, 0) 0%, #FF4000 50%, rgba(255, 64, 0, 0) 100%) top / 100% 3px no-repeat,
        linear-gradient(90deg, rgba(255, 64, 0, 0) 0%, #FF4000 50%, rgba(255, 64, 0, 0) 100%) bottom / 100% 3px no-repeat,
        linear-gradient(180deg, rgba(255, 64, 0, 0) 0%, #FF4000 50%, rgba(255, 64, 0, 0) 100%) left / 3px 100% no-repeat,
        linear-gradient(180deg, rgba(255, 64, 0, 0) 0%, #FF4000 50%, rgba(255, 64, 0, 0) 100%) right / 3px 100% no-repeat;
}

.wortal-box:hover::after,
.wortal-box.active::after {
    opacity: 1;
}

.wortal-box:hover img,
.wortal-box.active img {
    transform: scale(1.05);
}

/* =================================
   CENTER BOX
================================= */
.wortal-center {
    grid-column: span 2;
    grid-row: span 2;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.wortal-center-title {
    font-size: 31px;
    line-height: 1.18;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 18px;
}

.wortal-center-title .orange {
    color: #ff5a17;
}

/* BUTTON */
.wortal-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 50px;
    padding: 0 10px 0 22px;
    border-radius: 50px;
    background: #ff5a17;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: .25s ease;
}

.wortal-btn:hover {
    transform: translateY(-2px);
}

.wortal-btn-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: #ff5a17;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

/* =================================
   RESPONSIVE
================================= */
@media(max-width:1200px) {
    .wortal-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .wortal-center {
        grid-column: span 2;
    }
}

@media(max-width:767px) {

    .wortal-grid .wortal-box:nth-child(-n+2),
    .wortal-grid .wortal-box:nth-last-child(-n+6) {
        display: none;
    }

    .wortal-tabs {
        display: none;
    }

    .wortal-integration-wrapper {
        padding: 30px 0;
    }

    .wortal-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 88px;
    }

    /* Adjust overlays to match the shorter row height on mobile devices */
    .wortal-grid::before,
    .wortal-grid::after {
        height: 88px;
    }

    .wortal-box img {
        max-width: 65%;
        max-height: 35px;
    }

    .wortal-center {
        grid-column: span 2;
        padding: 34px 18px;
    }

    .wortal-center-title {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 14px;
    }

    .wortal-btn {
        height: 42px;
        font-size: 13px;
        padding: 8px 11px 8px 16px;
    }

    .wortal-btn-arrow {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }

    .wortal-box .img-on-mobile {
        display: block !important;
    }
}

.img-on-mobile {
    display: none !important;
}

/* =================================
   WORTAL INTEGRATION WRAPPER END
================================= */




/* =================================
   WORTAL REVIEWS START
================================= */


.wortal-testimonial-section {
    position: relative;
    overflow: hidden;
    padding: 70px 0;
    background-image: url("https://wortal.co/wp-content/uploads/2026/05/ChatGPT-Image-May-20-2026-11_16_46-AM-1.svg");
    background-color: #f6f4f2;
}

.wt-bg-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: .35;
    pointer-events: none;
}

/* Fade edges — desktop and mobile overlay */
.wortal-testimonial-section::before,
.wortal-testimonial-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 220px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.wortal-testimonial-section::before {
    left: 0;
    background: linear-gradient(to right, #f6f4f2 0%, rgba(246, 244, 242, 0) 100%);
}

.wortal-testimonial-section::after {
    right: 0;
    background: linear-gradient(to left, #f6f4f2 0%, rgba(246, 244, 242, 0) 100%);
}

/* ── MARQUEE ROWS ── */
.wt-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 26px;
}

.wt-marquee:last-child {
    margin-bottom: 0;
}

.wt-track {
    display: flex;
    width: max-content;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Speed controls dynamic via CSS variables */
.wt-marquee-left .wt-track {
    animation: wtScrollLeft var(--speed, 30s) linear infinite;
}

.wt-marquee-right .wt-track {
    animation: wtScrollRight var(--speed, 30s) linear infinite;
}

.wt-marquee:hover .wt-track,
.wt-marquee.is-paused .wt-track {
    animation-play-state: paused !important;
}

@keyframes wtScrollLeft {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes wtScrollRight {
    from {
        transform: translate3d(-50%, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

/* ── STANDARD VIDEO CARD (ROW 1) ── */
.wt-card {
    width: 520px;
    min-width: 520px;
    height: 276px;
    background: #fff;
    border: 1px solid #ece8e4;
    padding: 12px;
    display: flex;
    align-items: stretch;
    gap: 18px;
    margin-right: 24px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    border-radius: 12px;
}

.wt-card:hover {
    transform: translateY(-4px);
}

.wt-image-wrap {
    position: relative;
    width: 175px;
    min-width: 175px;
    height: 100%;
    overflow: hidden;
    background: #ddd;
}

.wt-image-wrap video,
.wt-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
    border-radius: 8px;
}

.wt-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.wt-content p {
    margin: 0;
    color: #363636;
    font-size: 14px;
    line-height: 160%;
    font-weight: 400;
    font-family: Inter, sans-serif;
}

.wt-author {
    margin-top: 22px;
}

.wt-author h4 {
    margin: 0 0 3px;
    font-size: 18px;
    line-height: 100%;
    font-weight: 500;
    color: #FF4000;
    font-family: Inter, sans-serif;
}

.wt-author span {
    display: block;
    color: #9F9F9F;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    font-family: Inter, sans-serif;
}

/* ── GOOGLE REVIEW CARD (ROW 2) ── */
.wt-review-card {
    width: 520px;
    min-width: 520px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    margin-right: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 276px;
    transition: transform .35s ease;
}

.wt-review-card:hover {
    transform: translateY(-4px);
}

.wt-review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wt-stars {
    color: #F39A0D;
    font-size: 22px;
    letter-spacing: 2px;
}

.wt-google-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wt-google-badge img {
    height: 20px;
    display: block;
}

.wt-review-text {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 160%;
    color: #363636;
    margin-top: 14px;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.wt-review-text:hover {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

.wt-review-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.wt-review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wt-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: 'SF Pro Display', -apple-system, sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    user-select: none;
}

.wt-review-meta {
    display: flex;
    flex-direction: column;
}

.wt-review-name {
    font-family: 'SF Pro Display', -apple-system, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    color: #FF4000;
}

.wt-review-title {
    font-family: 'SF Pro Display', -apple-system, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #9F9F9F;
    display: none;
}

.wt-verified-badge {
    background: #E6F7F0;
    border-radius: 7px;
    padding: 4px 10px;
    font-family: 'SF Pro Display', -apple-system, sans-serif;
    font-size: 14px;
    line-height: 17px;
    color: #007344;
    font-weight: 400;
}

/* ── TABLET ── */
@media (max-width: 1024px) {
    .wortal-testimonial-section {
        padding: 60px 0;
    }

    .wt-card {
        width: 440px;
        min-width: 440px;
    }

    .wt-review-card {
        width: 460px;
        min-width: 460px;
        height: auto;
        min-height: 276px;
    }
}

@media (max-width: 767px) {

    /* Subtle edge overlays */
    .wortal-testimonial-section::before,
    .wortal-testimonial-section::after {
        width: 40px;
    }

    .wortal-testimonial-section {
        padding: 40px 0;
    }

    /* Ensure marquee rows continue to flow horizontally */
    .wt-track {
        display: flex !important;
        flex-direction: row !important;
    }

    /* ── VIDEO CARD ── */
    .wt-card {
        display: flex !important;
        flex-direction: row !important;
        width: 340px !important;
        min-width: 340px !important;
        height: 220px !important;
        /* Forced exact match */
        gap: 14px;
        margin-right: 16px;
        padding: 12px;
    }

    .wt-card .wt-image-wrap {
        width: 130px;
        min-width: 130px;
        height: 100%;
    }

    /* ── GOOGLE REVIEW CARD ── */
    .wt-review-card {
        width: 340px !important;
        min-width: 340px !important;
        height: 220px !important;
        /* Forced exact match, overriding tablet styles */
        min-height: unset !important;
        /* Clears out the tablet min-height leak */
        margin-right: 16px;
        padding: 16px;
        display: flex !important;
        flex-direction: column !important;
    }

    /* ── SCALED DOWN MOBILE TYPOGRAPHY ── */
    .wt-content p {
        font-size: 12px;
        line-height: 145%;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .wt-review-text {
        font-size: 13px;
        line-height: 145%;
        margin-top: 8px;
        -webkit-line-clamp: 3;
        /* Clips review safely to fit inside 220px */
    }

    .wt-author h4,
    .wt-review-name {
        font-size: 14px;
    }

    .wt-author span {
        font-size: 12px;
    }

    .wt-author {
        margin-top: 8px;
    }

    .wt-stars {
        font-size: 18px;
    }
}

/* =================================
   WORTAL REVIEWS END
================================= */

/* =================================
   WORTAL FAQ SECTION START
================================= */
.wortal-faq-section {
    padding: 80px 0;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.wortal-faq-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.wortal-faq-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wortal-faq-badge {
    background: #FEECE5;
    color: #4A4D54;
    font-size: 14px;
    font-weight: 500;
    padding: 7px 22px;
    border-radius: 50px;
    margin-bottom: 16px;
    display: inline-block;
    letter-spacing: -0.01em;
}

.wortal-faq-title {
    font-size: clamp(34px, 4.5vw, 48px);
    font-weight: 800;
    color: #1A1D20;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.wortal-faq-box {
    background: #0D0E10;
    border-radius: 28px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
}

.wortal-faq-item {
    background: #17191C;
    border-radius: 16px;
    overflow: hidden;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    border: 1px solid #FFFFFF1A;
    box-sizing: border-box;
}

.wortal-faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #FFFFFF;
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
    font-family: inherit;
    box-sizing: border-box;
    user-select: none;
}

.wortal-faq-question {
    transition: color 0.25s ease;
}

.wortal-faq-icon {
    flex-shrink: 0;
    margin-left: 18px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease;
}

.faq-svg-icon {
    display: block;
}

.faq-icon-vert {
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

/* Hover Effect: Text and icon turn orange */
.wortal-faq-item:hover .wortal-faq-question {
    color: #FF4000;
}

.wortal-faq-item:hover .wortal-faq-icon {
    color: #FF4000;
}

.wortal-faq-item:hover {

    background-color: #0D0E10;
}

/* Active / Open state */
.wortal-faq-item.active .faq-icon-vert {
    transform: scaleY(0);
    opacity: 0;
}

.wortal-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.wortal-faq-content {
    padding: 0 26px 24px 26px;
    box-sizing: border-box;
}

.wortal-faq-content p {
    color: #8E95A2;
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
    font-weight: 400;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .wortal-faq-section {
        padding: 50px 0;
    }

    .wortal-faq-container {
        padding: 0 16px;
    }

    .wortal-faq-header {
        margin-bottom: 30px;
    }

    .wortal-faq-title {
        font-size: 32px;
    }

    .wortal-faq-box {
        padding: 16px;
        border-radius: 20px;
        gap: 10px;
    }

    .wortal-faq-item {
        border-radius: 12px;
    }

    .wortal-faq-trigger {
        padding: 16px 18px;
        font-size: 15.5px;
    }

    .wortal-faq-content {
        padding: 0 18px 18px 18px;
    }

    .wortal-faq-content p {
        font-size: 13.5px;
    }

    .wortal-faq-icon {
        margin-left: 12px;
    }
}

@media (max-width: 480px) {
    .wortal-faq-trigger {
        font-size: 14.5px;
    }
}

/* =================================
   WORTAL FAQ SECTION END
================================= */