/* ========================================
   English Version Homepage Font Size Adjustments
   ======================================== */

/* Hero Section Title - Main Headline */
.hs-title-12a {
    font-size: 52px !important;
    line-height: 1.2 !important;
}

@media (max-width: 1199px) {
    .hs-title-12a {
        font-size: 42px !important;
    }
}

@media (max-width: 991px) {
    .hs-title-12a {
        font-size: 36px !important;
    }
}

@media (max-width: 767px) {
    .hs-title-12a {
        font-size: 30px !important;
    }
}

@media (max-width: 575px) {
    .hs-title-12a {
        font-size: 26px !important;
    }
}

/* Hero Status Text */
.hs-status-a {
    font-size: 13px !important;
    line-height: 1.5 !important;
}

@media (max-width: 767px) {
    .hs-status-a {
        font-size: 12px !important;
    }
}

/* Authority Showcase Descriptions */
.authority-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

@media (max-width: 991px) {
    .authority-desc {
        font-size: 13px !important;
    }
}

/* Section Titles */
.section-title {
    font-size: 42px !important;
}

@media (max-width: 991px) {
    .section-title {
        font-size: 36px !important;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 30px !important;
    }
}

/* Data Card Titles */
.alt-features-title {
    font-size: 16px !important;
    line-height: 1.4 !important;
}

/* Data Card Descriptions */
.alt-features-descr {
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* ITDR Card Titles */
.itdr-card-title {
    font-size: 22px !important;
}

@media (max-width: 767px) {
    .itdr-card-title {
        font-size: 20px !important;
    }
}

/* ITDR Card Subtitles */
.itdr-card-subtitle {
    font-size: 14px !important;
}

/* ITDR Card Features List */
.itdr-card-features li {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* ITDR Card Quote */
.itdr-card-quote p {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Tab Labels */
.tab-label {
    font-size: 14px !important;
}

@media (max-width: 991px) {
    .tab-label {
        font-size: 13px !important;
    }
}

/* Solution Labels */
.solution-label {
    font-size: 13px !important;
    letter-spacing: 2px !important;
}

/* Gartner Quote */
.gartner-text {
    font-size: 15px !important;
    line-height: 1.6 !important;
}

@media (max-width: 767px) {
    .gartner-text {
        font-size: 14px !important;
    }
}

/* Solutions Sidebar */
.solution-title {
    font-size: 18px !important;
}

.solution-subtitle {
    font-size: 13px !important;
}

.solution-brief p {
    font-size: 13px !important;
    line-height: 1.6 !important;
}

/* Details Titles */
.details-title {
    font-size: 28px !important;
}

@media (max-width: 767px) {
    .details-title {
        font-size: 24px !important;
    }
}

/* Column Titles */
.column-title {
    font-size: 16px !important;
}

/* Challenges and Solutions Lists */
.challenges-list li,
.solutions-list li {
    font-size: 13px !important;
    line-height: 1.6 !important;
}

/* Client Success Content */
.success-content p {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Service Card Titles */
.card-title {
    font-size: 20px !important;
}

@media (max-width: 767px) {
    .card-title {
        font-size: 18px !important;
    }
}

/* Service Card Descriptions */
.card-description {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* CTA Card */
.cta-card-title {
    font-size: 22px !important;
}

.cta-card-desc {
    font-size: 14px !important;
}

/* Insight Card Titles */
.insight-card-title {
    font-size: 16px !important;
    line-height: 1.4 !important;
}

@media (max-width: 767px) {
    .insight-card-title {
        font-size: 15px !important;
    }
}

/* Insight Card Summary */
.insight-card-summary {
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* Button Text */
.btn {
    font-size: 14px !important;
}

/* Marquee Text */
.marquee-style-2 > div > div {
    font-size: 15px !important;
}

@media (max-width: 767px) {
    .marquee-style-2 > div > div {
        font-size: 14px !important;
    }
}

/* Service Badge */
.service-label {
    font-size: 12px !important;
}

.service-name {
    font-size: 13px !important;
}

/* Stat Labels */
.stat-label {
    font-size: 13px !important;
}

/* Success Label */
.success-label {
    font-size: 14px !important;
}

/* Insight Category */
.insight-category {
    font-size: 12px !important;
}

/* Card Keyword */
.card-keyword {
    font-size: 12px !important;
}

/* ========================================
   Hero Vision Text - Normal Letter Spacing for English
   ======================================== */

/* Override the Chinese version's large letter-spacing */
.hs-vision-text {
    letter-spacing: normal !important; /* Normal spacing for English text */
}

@media (max-width: 1024px) {
    .hs-vision-text {
        letter-spacing: normal !important;
    }
}

@media (max-width: 768px) {
    .hs-vision-text {
        letter-spacing: normal !important;
    }
}

/* ========================================
   Data Cards - Red Numbers Sizing
   ======================================== */

/* Reduce the size of red stat numbers in data cards */
.alt-features-item .h2 {
    font-size: 28px !important; /* Reduced from 36px */
}

@media (max-width: 991px) {
    .alt-features-item .h2 {
        font-size: 24px !important;
    }
}

@media (max-width: 767px) {
    .alt-features-item .h2 {
        font-size: 22px !important;
    }
}

/* ========================================
   Gartner Quote Box - Text Wrapping Fix
   ======================================== */

/* Allow Gartner text to wrap for long English sentences */
.gartner-text {
    white-space: normal !important; /* Override nowrap */
    display: block !important; /* Change from inline-block */
    font-size: 15px !important; /* Slightly smaller for English */
    line-height: 1.6 !important; /* Better readability */
    letter-spacing: normal !important; /* Normal spacing for English */
}

/* Adjust Gartner content container */
.gartner-content {
    flex: 1 !important;
    min-width: 0 !important; /* Allow flex item to shrink */
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .gartner-text {
        font-size: 14px !important;
    }
}

@media (max-width: 767px) {
    .gartner-quote-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 24px 30px !important;
        gap: 16px !important;
    }

    .gartner-text {
        font-size: 14px !important;
    }
}

/* ========================================
   ITDR Tabs - Prevent Wrapping
   ======================================== */

/* Prevent tabs from wrapping to multiple lines */
.itdr-tabs-nav {
    flex-wrap: nowrap !important; /* Prevent wrapping */
    overflow-x: auto !important; /* Allow horizontal scroll if needed */
    gap: 10px !important; /* Reduce gap slightly */
}

/* Reduce tab button padding and font size for English */
.itdr-tab-btn {
    padding: 12px 18px !important; /* Reduced from 14px 24px */
    font-size: 13px !important; /* Reduced from 15px */
    white-space: nowrap !important; /* Prevent text wrapping inside button */
    flex-shrink: 0 !important; /* Prevent buttons from shrinking */
}

/* Tab label */
.tab-label {
    font-size: 13px !important;
    white-space: nowrap !important;
}

/* Responsive adjustments for tablets */
@media (max-width: 1199px) {
    .itdr-tab-btn {
        padding: 10px 16px !important;
        font-size: 12px !important;
        gap: 8px !important;
    }

    .tab-label {
        font-size: 12px !important;
    }

    .itdr-tabs-nav {
        gap: 8px !important;
    }
}

/* Mobile: Allow wrapping on small screens */
@media (max-width: 767px) {
    .itdr-tabs-nav {
        flex-wrap: wrap !important; /* Allow wrapping on mobile */
        overflow-x: visible !important;
    }

    .itdr-tab-btn {
        padding: 10px 14px !important;
        font-size: 12px !important;
    }
}
