/* ==========================================================================
   FTS Industry Blocks - Plugin Stylesheet
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   Reset (minimal — theme handles global reset)
   ========================================================================== */
.fts-ib-block *,
.fts-ib-block *::before,
.fts-ib-block *::after {
    box-sizing: border-box;
}

/* ==========================================================================
   Utility Classes (matching ftsgps_40 atomic system)
   ========================================================================== */

/* -- Fonts -- */
.font-poppins { font-family: 'Poppins', sans-serif; }
.font-manrope { font-family: 'Manrope', sans-serif; }

/* -- Font Sizes (px based, from atomic map) -- */
.font-size-10 { font-size: 10px; }
.font-size-12 { font-size: 12px; }
.font-size-14 { font-size: 14px; }
.font-size-15 { font-size: 15px; }
.font-size-16 { font-size: 16px; }
.font-size-18 { font-size: 18px; }
.font-size-20 { font-size: 20px; }
.font-size-22 { font-size: 22px; }
.font-size-24 { font-size: 24px; }
.font-size-26 { font-size: 26px; }
.font-size-28 { font-size: 28px; }
.font-size-30 { font-size: 30px; }
.font-size-32 { font-size: 32px; }
.font-size-36 { font-size: 36px; }
.font-size-40 { font-size: 40px; }
.font-size-42 { font-size: 42px; }
.font-size-48 { font-size: 48px; }
.font-size-50 { font-size: 50px; }
.font-size-60 { font-size: 60px; }

/* -- Font Weights -- */
.font-weight-300 { font-weight: 300; }
.font-weight-400 { font-weight: 400; }
.font-weight-500 { font-weight: 500; }
.font-weight-600 { font-weight: 600; }
.font-weight-700 { font-weight: 700; }
.font-weight-800 { font-weight: 800; }

/* -- Line Heights -- */
.line-height-10 { line-height: 1; }
.line-height-12 { line-height: 1.2; }
.line-height-14 { line-height: 1.4; }
.line-height-16 { line-height: 1.6; }
.line-height-18 { line-height: 1.8; }
.line-height-20 { line-height: 2; }

/* -- Colors -- */
.color-white { color: #ffffff; }
.color-black { color: #000000; }
.color-dark { color: #1a1a1a; }
.color-light-gray { color: #c4c4c4; }
.color-gray-1 { color: #595959; }
.color-gray-text { color: #6b7280; }
.color-blue-dark { color: #014D87; }
.color-green-dark { color: #047857; }

/* -- Text -- */
.text-transform-uppercase { text-transform: uppercase; }
.text-align-center { text-align: center; }
.text-align-left { text-align: left; }
.text-align-right { text-align: right; }
.tracking-1 { letter-spacing: 1px; }
.tracking-tight { letter-spacing: -0.02em; }

/* -- Backgrounds -- */
.bg-white { background-color: #ffffff !important; }
.bg-black { background-color: #1e2832; }

/* -- Spacing (from atomic $sizes map) -- */
.margin-0 { margin: 0; }
.margin-top-0 { margin-top: 0; }
.margin-top-s { margin-top: 0.5rem; }
.margin-top-m { margin-top: 1rem; }
.margin-top-l { margin-top: 2rem; }
.margin-top-xl { margin-top: 3rem; }
.margin-top-xxl { margin-top: 6rem; }
.margin-x-auto { margin-left: auto; margin-right: auto; }

.padding-y-0 { padding-top: 0; padding-bottom: 0; }
.padding-y-s { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.padding-y-m { padding-top: 1rem; padding-bottom: 1rem; }
.padding-y-l { padding-top: 2rem; padding-bottom: 2rem; }
.padding-y-xl { padding-top: 3rem; padding-bottom: 3rem; }
.padding-y-xxl { padding-top: 6rem; padding-bottom: 6rem; }
.padding-y-xxxl { padding-top: 8rem; padding-bottom: 8rem; }
.padding-y-xxxxl { padding-top: 10rem; padding-bottom: 10rem; }

/* -- Max Widths -- */
.max-width-100 { max-width: 100%; }
.max-width-992 { max-width: 992px; }
.max-width-1080 { max-width: 1080px; }
.max-width-1112 { max-width: 1112px; }

/* -- Flexbox Helpers -- */
.align-items-start { align-items: flex-start; }
.justify-content-start { justify-content: flex-start; }

/* ==========================================================================
   Container
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.new-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.button-white {
    background-color: #ffffff;
    color: #000000;
}
.button-white:hover {
    background-color: #f0f0f0;
}

.new-button-black {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}
.new-button-black:hover {
    background-color: #000000;
    color: #ffffff;
}
.new-button-black:hover svg path {
    fill: #ffffff;
}

.new-button-small-fonts {
    font-size: 14px;
    padding: 12px 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button-black {
    background-color: #000000;
    color: #ffffff;
}
.button-black:hover {
    background-color: #333333;
}

/* ==========================================================================
   CTA Title Segment (shared across sections)
   ========================================================================== */
.cta-title-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.cta-title-segment__overline {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background-color: #0C1423;
}

.hero-section__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.hero-section__content {
    display: flex;
    flex-direction: column;
    max-width: 560px;
}

.hero-section__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 400px;
}

.info-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-card__stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   LOGOTYPE SECTION
   ========================================================================== */
.logotype-section {
    background-color: #f9f9f9;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 40px 0;
}

.logotype-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.trusted-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logotype-section__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logotype-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logotype-container img {
    max-height: 54px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.logotype-container img:hover {
    opacity: 1;
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */
.problem-section {
    padding-bottom: 0;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problem-card__icon {
    width: 48px;
    height: 48px;
    background-color: #fff1f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 100px;
    background-color: #ffe8e8;
    color: #dc2626;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    align-self: flex-start;
}

/* ==========================================================================
   TABS
   ========================================================================== */
.tabs-fts-element {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    border-radius: 4px;
}

.tabs-fts-inner-element {
display: flex;
border: 1px solid #E7E7E7;
background: #FFF;
box-shadow: 0 8px 12px 0 rgba(162, 162, 162, 0.25);
padding: 2px;
border-radius: 8px;
}

.tab {
    padding: 12px 24px;
    border-radius: 4px;

    background-color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #595959;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover {
    border-color: #28a8e0;
    color: #28a8e0;
}

.tab--active {
    background-color: #014D87;
    border-color: #014D87;
    color: #ffffff;
}
.tab--active:hover {
    background-color: #01365f;
    border-color: #01365f;
    color: #ffffff;
}

/* ==========================================================================
   FEATURED TAB PANELS
   ========================================================================== */
.featured-tab-panels {
    position: relative;
}

.featured-tab {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 80px;
}

.alert-banner {
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.alert-banner--red {
    background-color: #ffe8e8;
    border: 2px solid #ffb4b4;
}

.alert-banner--blue {
    background-color: #e8f5ff;
    border: 2px solid #b4ddff;
}

.featured-tab__content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.featured-tab__left {
    width: 584px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.featured-tab__overline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.featured-tab__right {
    width: 513px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-tab__image {
    border-radius: 16px;
    overflow: hidden;
    height: 403px;
}

.featured-tab__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-item__icon {
    background-color: #e8f5ff;
    border-radius: 4px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 6px;
}

/* ==========================================================================
   TESTIMONIAL SECTION
   ========================================================================== */
.testimonial-section {
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    padding-bottom: 70px;
}

.testimonial-cards {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    padding: 40px 50px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card__logo img {
    max-height: 40px;
    width: auto;
}

.testimonial-card__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #eaeaea;
}

/* Owl Carousel overrides for testimonials */
.testimonial-carousel.owl-carousel .owl-stage-outer {
    padding-bottom: 10px;
}

.testimonial-carousel.owl-carousel .owl-item {
    padding: 0 16px;
}

.testimonial-carousel.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 32px;
}

.testimonial-carousel.owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background-color: #d9d9d9;
    border-radius: 50%;
    display: inline-block;
    margin: 0 6px;
    transition: background-color 0.3s ease;
}

.testimonial-carousel.owl-carousel .owl-dot.active span {
    background-color: #28a8e0;
}

/* ==========================================================================
   RESULT CARDS
   ========================================================================== */
.results-section {
    padding-bottom: 80px;
}

.result-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.result-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.result-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.result-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-card__icon--blue {
    background-color: #014D87;
}

.result-card__icon--red {
    background-color: #dc2626;
}

.result-card__icon img {
    width: 24px;
    height: 24px;
}

.result-card__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-card__label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-card__label--green span {
    color: #1b9c55;
}

.result-card__label--amber {
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-card__label--amber span {
    color: #d97706;
}

.result-card__body--result {
    padding-top: 16px;
    border-top: 1px solid #eaeaea;
}

/* ==========================================================================
   CTA BANNER SECTION
   ========================================================================== */
.cta-banner-section {
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
}

.cta-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 80px 0;
}

.cta-banner__fts-logo svg {
    width: 100px;
    height: auto;
}

/* ==========================================================================
   RESPONSIVE: 1280px
   ========================================================================== */
@media (max-width: 1280px) {
    .font-size-40 {
        font-size: 32px;
    }
    .font-size-30 {
        font-size: 24px;
    }
    .hero-section__inner {
        gap: 40px;
    }
    .featured-tab__left {
        width: 50%;
    }
    .featured-tab__right {
        width: 45%;
    }
}

/* ==========================================================================
   RESPONSIVE: 1024px
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-section__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-section__content {
        align-items: center;
        max-width: 100%;
    }
    .hero-section__cards {
        max-width: 100%;
        grid-template-columns: repeat(4, 1fr);
    }
    .problem-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-tab__content {
        flex-direction: column;
    }
    .featured-tab__left,
    .featured-tab__right {
        width: 100%;
    }
    .featured-tab__image {
        height: 300px;
    }
    .result-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   RESPONSIVE: 768px
   ========================================================================== */
@media (max-width: 768px) {
    .font-size-40 {
        font-size: 28px;
    }
    .font-size-30 {
        font-size: 22px;
    }
    .font-size-20 {
        font-size: 18px;
    }
    .padding-y-xxxxl {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    .padding-y-xxl {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .hero-section__cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .tabs-fts-element {
        gap: 6px;
    }
    .tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    .logotype-section__logos {
        gap: 24px;
    }
    .testimonial-card {
        padding: 24px 30px;
    }
    .result-cards {
        grid-template-columns: 1fr;
    }
    .related-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
    .related-card {
        gap: 24px;
    }
    .related-card__image {
        height: 200px;
    }
    .related-card__text-cta {
        gap: 24px;
    }
}

/* ==========================================================================
   Related Articles Section
   ========================================================================== */
.related-section {
    background-color: #ffffff;
}

/* Static grid layout for exactly 3 cards */
.related-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.related-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.related-card__image {
    width: 100%;
    height: 252px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f4f4f4;
}

.related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card__image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

.related-card__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-card__date-badge {
    background-color: var(--gray-lite, #f9f9f9);
    border: 1px solid var(--border, #eaeaea);
    border-radius: 4px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}

.tracking-03 {
    letter-spacing: 0.36px;
}

.related-card__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.related-card__body h4 {
    min-height: calc(18px * 1.6 * 2); /* 2 lines at font-size-18 / line-height-16 */
}

.related-card__body p {
    min-height: calc(14px * 1.6 * 2); /* 2 lines at font-size-14 / line-height-16 */
}

.related-card__text-cta {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.button-black-sm {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 8px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    cursor: pointer;
}

.button-black-sm:hover {
    background-color: #333333;
}

/* Owl Carousel overrides for related carousel */
.related-carousel.owl-carousel .owl-stage-outer {
    padding-bottom: 10px;
}

.related-carousel.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 40px;
}

.related-carousel.owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background-color: #d9d9d9;
    border-radius: 50%;
    display: inline-block;
    margin: 0 6px;
    transition: background-color 0.3s ease;
}

.related-carousel.owl-carousel .owl-dot.active span {
    background-color: #28a8e0;
}

/* ==========================================================================
   RESPONSIVE: 480px
   ========================================================================== */
@media (max-width: 480px) {
    .font-size-40 {
        font-size: 24px;
    }
    .hero-section__cards {
        grid-template-columns: 1fr 1fr;
    }
    .problem-cards {
        grid-template-columns: 1fr;
    }
    .logotype-section__logos {
        flex-direction: column;
        gap: 16px;
    }
    .new-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    .cta-banner__inner {
        padding: 40px 0;
    }
    .related-cards-grid {
        grid-template-columns: 1fr;
    }
    .related-card__image {
        height: 180px;
    }
}
