.home-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 105vh;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.home-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 1.5rem;
    box-sizing: border-box;
}

.headliner-100 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: auto;
    border-radius: 10px;
    margin: 0;
    order: 1; /* First element on mobile */
}

.headliner-title {
    font-size: 2.625rem;
    font-family: var(--main-font-family2);
    font-weight: bold;
    color: var(--text-color4);
    text-shadow: 2px 2px 4px var(--shadow-color);
    -webkit-text-stroke: 1.8px var(--text-outline-color);
    padding-bottom: 0;
}


.headliner-description-container {
    position: relative; /* Needed for pseudo-element positioning */
}

.headliner-description-container::before {
    content: "";
    position: absolute;
    inset: 0;
    
    z-index: -1; /* Place behind text */
    pointer-events: none;
}

.headliner-description {
    font-family: var(--main-font-family);
    font-weight: bold;
    font-size: 1.89rem;
    color: var(--text-color4-5);
    letter-spacing: 0.1rem;
    text-shadow: 
    2px 2px 12px rgba(0, 0, 0, 0.9),
    0 0 16px rgba(120, 119, 119, 0.833),
    0 0 24px rgba(138, 138, 138, 0.585); /* White glow for contrast */
    -webkit-text-stroke: 0.5px var(--text-outline-color);
    position: relative; /* Ensure text is above the pseudo-element */
    margin: 0;
    padding-top: 0;
}

/* ============================================================
   CARD ROW CONTAINER
   ============================================================ */

.card-row-3-items {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    gap: 2rem;
    margin: 0;
    padding: 0 2rem;
    box-sizing: border-box;
    order: 2; /* Second element on mobile */
}

/* ============================================================
   INDIVIDUAL CARDS
   ============================================================ */

.third-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 4rem) / 3 * 0.75);
    width: calc((100% - 4rem) / 3 * 0.75);
    max-width: calc((100% - 4rem) / 3 * 0.75);
    min-width: calc((100% - 4rem) / 3 * 0.75);
    background-color: var(--hero-background-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    overflow: hidden;
}

/* ============================================================
   CARD IMAGES
   ============================================================ */

.third-card img {
    width: 100%;
    height: 225px;
    display: block;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    flex-shrink: 0;
}

/* ============================================================
   CARD LINKS AND TEXT
   ============================================================ */

.third-card .card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 1.5rem;
    text-align: center;
    background-color: var(--hero-background-color);
    transition: all 0.3s ease-in-out;
    min-height: 80px;
    flex: 1;
}

.third-card .card-link h3 {
    font-family: var(--main-font-family2);
    font-size: 1.575rem;
    font-weight: bold;
    color: var(--text-color7);
    text-shadow: 1px 1px 3px var(--shadow-color);
    -webkit-text-stroke: 0.8px var(--text-outline-color2);
    margin: 0;
    padding: 0;
    transition: all 0.3s ease-in-out;
}

.third-card .card-link:hover h3 {
    color: var(--highlight-color);
    text-shadow: 2px 2px 6px var(--shadow-color2);
}

/* ============================================================
   TAB CONTAINER
   ============================================================ */
.tab-4-container {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    margin-bottom: 0;
    width: 96vw;
    max-width: 96vw;
    height: auto;
    min-height: calc((75dvh + 3rem) / 0.85);
    /* Minimum height: (card height 75dvh + padding 3rem) / 0.85 (content area percentage) */
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    background-color: var(--hero-background-color);
    box-sizing: border-box;
    border: 1.4px solid var(--border-color2);
    border-radius: 10px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    order: 3;
    /* Third element on mobile */
    z-index: 1;
    /* Ensure proper stacking context above cookie consent container */
}

/* ============================================================
   TAB BUTTONS (Top Row)
   ============================================================ */

.tab-1,
.tab-2,
.tab-3,
.tab-4 {
    position: absolute;
    top: 0;
    width: 25%;
    height: 15%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: visible;
    min-width: 0;
    min-height: 0;
}

.tab-1 {
    left: 0;
}

.tab-2 {
    left: 25%;
}

.tab-3 {
    left: 50%;
}

.tab-4 {
    left: 75%;
}

/* ============================================================
   ACTIVATION TAB BUTTONS
   ============================================================ */

.activation-tab {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background-color: var(--hero-background-color);
    color: var(--text-color2);
    font-family: var(--main-font-family2);
    font-size: 1.26rem;
    font-weight: bold;
    -webkit-text-stroke: 0.8px var(--text-outline-color2);
    text-shadow: 1px 1px 3px var(--shadow-color);
    border: 1px solid var(--border-color2);
    border-radius: 10px 10px 0 0;
    border-bottom: none;
    padding: 0.5rem;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    box-sizing: border-box;
}

.activation-tab:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
    background-color: var(--background-color3);
}

/* Active tab button styling */
.tab.active .activation-tab,
.tab-1.active .activation-tab,
.tab-2.active .activation-tab,
.tab-3.active .activation-tab,
.tab-4.active .activation-tab {
    background-color: var(--highlight-color);
    color: var(--text-color4); 
    -webkit-text-stroke: 0.8px var(--text-outline-color);
    text-shadow: 2px 2px 4px var(--shadow-color);
    border-bottom: 2px solid var(--highlight-color);
    position: relative;
    z-index: 10;
}

.tab.active .activation-tab::after,
.tab-1.active .activation-tab::after,
.tab-2.active .activation-tab::after,
.tab-3.active .activation-tab::after,
.tab-4.active .activation-tab::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--highlight-color);
}

/* ============================================================
   TAB CONTENT AREA
   ============================================================ */

.tab-content-area {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    height: 85%;
    display: none;
    flex-direction: row;
    gap: 1rem;
    padding: 1.5rem;
    box-sizing: border-box;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.tab-content-area.active {
    display: flex;
}

/* ============================================================
   TAB ITEM CARDS
   ============================================================ */

.tab-item-card-1,
.tab-item-card-2,
.tab-item-card-3,
.tab-item-card-4 {
    min-width: 0;
    height: 75dvh;
    background-color: var(--hero-background-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    box-sizing: border-box;
    color: var(--text-color5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* Center content inside tab-item-cards */
.tab-item-card-1 h3,
.tab-item-card-2 h3,
.tab-item-card-3 h3,
.tab-item-card-4 h3 {
    text-align: center;
    width: 100%;
    margin: 0.75rem 0;
    color: var(--text-color7);
}

.tab-item-card-1 .tab-card-content,
.tab-item-card-2 .tab-card-content,
.tab-item-card-3 .tab-card-content,
.tab-item-card-4 .tab-card-content {
    width: 100%;
    height: calc(77dvh - 40dvh - 3rem);
    /* Card height (75dvh) - image height (40dvh) - title margins/padding (3rem) */
    flex-shrink: 0;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color5);
    overflow-y: auto;
}

.tab-item-card-1 .tab-card-content h3,
.tab-item-card-2 .tab-card-content h3,
.tab-item-card-3 .tab-card-content h3,
.tab-item-card-4 .tab-card-content h3 {
    color: var(--text-color7);
    padding: 0;
    padding-bottom: 0.5rem;
    margin: 0;
}


.tab-item-card-1 .tab-card-content a,
.tab-item-card-2 .tab-card-content a,
.tab-item-card-3 .tab-card-content a,
.tab-item-card-4 .tab-card-content a {
    color: var(--text-color6);
    padding: 0;
    margin: 0;
}


.tab-item-card-1 .tab-card-content b,
.tab-item-card-2 .tab-card-content b,
.tab-item-card-3 .tab-card-content b,
.tab-item-card-4 .tab-card-content b {
    color: var(--text-color6);
    padding: 0;
    margin: 0;
}

/* Tab card content when there's no image - fill the card and center paragraph text */
.tab-item-card-1:not(:has(.tab-card-image)) .tab-card-content,
.tab-item-card-2:not(:has(.tab-card-image)) .tab-card-content,
.tab-item-card-3:not(:has(.tab-card-image)) .tab-card-content,
.tab-item-card-4:not(:has(.tab-card-image)) .tab-card-content {
    height: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tab-item-card-1:not(:has(.tab-card-image)) .tab-card-content p,
.tab-item-card-2:not(:has(.tab-card-image)) .tab-card-content p,
.tab-item-card-3:not(:has(.tab-card-image)) .tab-card-content p,
.tab-item-card-4:not(:has(.tab-card-image)) .tab-card-content p {
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Tab card images */
.tab-item-card-1 .tab-card-image,
.tab-item-card-2 .tab-card-image,
.tab-item-card-3 .tab-card-image,
.tab-item-card-4 .tab-card-image {
    width: 100%;
    height: 40dvh;
    flex-shrink: 0.25;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    border-bottom: 2px solid var(--border-color);
}

.tab-item-card-1 .tab-card-image img,
.tab-item-card-2 .tab-card-image img,
.tab-item-card-3 .tab-card-image img,
.tab-item-card-4 .tab-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dynamic width based on number of cards */
.tab-content-area[data-card-count="1"] .tab-item-card-1,
.tab-content-area[data-card-count="1"] .tab-item-card-2,
.tab-content-area[data-card-count="1"] .tab-item-card-3,
.tab-content-area[data-card-count="1"] .tab-item-card-4 {
    flex: 0 0 calc(100% - 0.75rem);
    width: calc(100% - 0.75rem);
    max-width: calc(100% - 0.75rem);
}

.tab-content-area[data-card-count="2"] .tab-item-card-1,
.tab-content-area[data-card-count="2"] .tab-item-card-2,
.tab-content-area[data-card-count="2"] .tab-item-card-3,
.tab-content-area[data-card-count="2"] .tab-item-card-4 {
    flex: 0 0 calc(50% - 0.75rem);
    width: calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
}

.tab-content-area[data-card-count="3"] .tab-item-card-1,
.tab-content-area[data-card-count="3"] .tab-item-card-2,
.tab-content-area[data-card-count="3"] .tab-item-card-3,
.tab-content-area[data-card-count="3"] .tab-item-card-4 {
    flex: 0 0 calc(33.333% - 0.75rem);
    width: calc(33.333% - 0.75rem);
    max-width: calc(33.333% - 0.75rem);
}

.tab-content-area[data-card-count="4"] .tab-item-card-1,
.tab-content-area[data-card-count="4"] .tab-item-card-2,
.tab-content-area[data-card-count="4"] .tab-item-card-3,
.tab-content-area[data-card-count="4"] .tab-item-card-4 {
    flex: 0 0 calc(25% - 0.75rem);
    width: calc(25% - 0.75rem);
    max-width: calc(25% - 0.75rem);
}

.tab-item-card-1:hover,
.tab-item-card-2:hover,
.tab-item-card-3:hover,
.tab-item-card-4:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-color);
    transition: all 0.3s ease-in-out;
}

/* ============================================================
   MADE IN USA FEATURE SECTION
   ============================================================ */

.made-in-usa-section {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 2rem 3rem;
    background-color: var(--hero-background-color);
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 4px 12px var(--shadow-color);
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
    order: 4; /* Fourth element on mobile */
}

/* ============================================================
   MADE IN USA IMAGES (Left Side)
   ============================================================ */

.made-in-usa-images {
    flex: 0 0 40%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    min-height: 20dvh;
}

.blower-image-large,
.blower-image-medium,
.blower-image-small {
    position: absolute;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
    background-color: var(--hero-background-color);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.blower-image-large {
    left: 0;
    bottom: 0;
    width: 45%;
    height: 70%;
    z-index: 3;
}

.blower-image-medium {
    right: 15%;
    top: 10%;
    width: 40%;
    height: 60%;
    z-index: 2;
}

.blower-image-small {
    right: 0;
    bottom: 5%;
    width: 35%;
    height: 50%;
    z-index: 1;
}

.blower-image-large img,
.blower-image-medium img,
.blower-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blower-image-large:hover,
.blower-image-medium:hover,
.blower-image-small:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px var(--shadow-color);
    transition: all 0.3s ease-in-out;
}

/* ============================================================
   MADE IN USA CONTENT (Right Side)
   ============================================================ */

.made-in-usa-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 2rem;
    gap: 1.5rem;
}

.made-in-usa-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
}

.md-pneumatics-title {
    font-family: var(--main-font-family2);
    font-size: 3.15rem;
    font-weight: bold;
    color: var(--text-color2);
    text-shadow: 2px 2px 4px var(--shadow-color);
    -webkit-text-stroke: 1px var(--text-outline-color2);
    margin: 0;
    padding: 0;
    flex: 1;
}

/* ============================================================
   MADE IN USA BADGE
   ============================================================ */

.made-in-usa-badge {
    width: 140px;
    height: 140px;
    position: relative;
    flex-shrink: 0;
}

.badge-outer-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.badge-text {
    font-size: 0.6825rem;
    font-weight: bold;
    color: var(--text-color4);
    letter-spacing: 0.1rem;
    text-align: center;
    line-height: 1.2;
}

.badge-star {
    font-size: 0.525rem;
    color: var(--text-color4);
    margin: 2px 0;
}

.badge-inner-circle {
    position: absolute;
    width: 85%;
    height: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 50%, #c0392b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.badge-flag {
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            #c0392b 0%,
            #c0392b 7.69%,
            #ffffff 7.69%,
            #ffffff 15.38%
        ),
        linear-gradient(
            90deg,
            #1e3a8a 0%,
            #1e3a8a 40%,
            transparent 40%
        );
    background-size: 100% 100%, 40% 54%;
    background-position: 0 0, 0 0;
    position: relative;
}

.badge-flag::after {
    content: "★";
    position: absolute;
    top: 8%;
    left: 8%;
    font-size: 1.26rem;
    color: var(--text-color4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   MADE IN USA TEXT CONTENT
   ============================================================ */

.made-in-usa-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.made-in-usa-description,
.made-in-usa-applications {
    font-family: var(--main-font-family);
    font-size: 1.155rem;
    line-height: 1.6;
    color: var(--text-color2);
    margin: 0;
    padding: 0;
    text-align: left;
}

.made-in-usa-description {
    font-weight: 600;
}

.made-in-usa-applications {
    font-weight: 400;
}

/* ============================================================
   MOBILE RESPONSIVE: Galaxy S23 and similar (360px - 480px)
   ============================================================ */

@media (max-width: 480px) {
    /* ============================================================
       HOME CONTAINER MOBILE FIX
       ============================================================ */
    
    .home-container {
        min-height: auto;
        padding: 0;
        overflow-x: hidden;
        width: 100%;
    }
    
    .home-content {
        width: 100%;
        padding: 0 0.75rem;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    /* ============================================================
       HEADLINER MOBILE FIX
       ============================================================ */
    
    .headliner-100 {
        height: auto;
        min-height: auto;
        margin-top: 0;
        margin-bottom: 0;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
        order: 1;
    }
    
    .headliner-title {
        font-size: 1.3125rem; /* 50% reduction from desktop 2.5rem */
        line-height: 1.3;
        text-align: center;
        padding: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        /* Prevent word-by-word breaking */
        white-space: normal;
        /* Handle br tags properly */
        display: block;
    }
    
    .headliner-title br {
        display: block;
        content: "";
        margin-top: 0.25rem;
    }
    
    .headliner-description {
        font-size: 0.91875rem; /* Reduced from 1.8rem desktop */
        text-align: center;
        padding: 0.5rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    /* ============================================================
       HERO CARDS MOBILE FIX
       ============================================================ */
    
    .card-row-3-items {
        flex-direction: column !important;
        gap: 1rem;
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
        width: 100%;
        box-sizing: border-box;
        align-items: stretch;
        order: 2;
    }
    
    .third-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        flex: 1 1 100% !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        overflow: hidden;
    }
    
    .third-card img {
        height: 120px; /* Reduced from 140px */
        max-width: 100%;
    }
    
    .third-card .card-link {
        padding: 0.75rem;
        min-height: 60px;
    }
    
    .third-card .card-link h3 {
        font-size: 1.05rem; /* Reduced from 1.5rem desktop */
    }
    
    /* ============================================================
       TAB CONTAINER MOBILE FIX
       ============================================================ */
    
    .tab-4-container {
        width: 96vw;
        max-width: 96vw;
        height: auto;
        min-height: auto;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        margin-bottom: 0;
        order: 3;
    }
    
    .tab-1, .tab-2, .tab-3, .tab-4 {
        position: relative;
        left: 0 !important;
        width: 100%;
        height: auto;
        min-height: 44px;
        margin-bottom: 0.25rem;
    }
    
    .tab-1 {
        order: 1;
    }
    
    .tab-2 {
        order: 2;
    }
    
    .tab-3 {
        order: 3;
    }
    
    .tab-4 {
        order: 4;
    }
    
    .activation-tab {
        border-radius: 10px;
        border: 1px solid var(--border-color2);
        border-bottom: 1px solid var(--border-color2);
    }
    
    .tab.active .activation-tab,
    .tab-1.active .activation-tab,
    .tab-2.active .activation-tab,
    .tab-3.active .activation-tab,
    .tab-4.active .activation-tab {
        border-bottom: 2px solid var(--highlight-color);
    }
    
    .tab-content-area {
        position: relative;
        top: 0;
        height: auto;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        order: 5;
        justify-content: center;
        align-items: center;
    }
    
    .tab-content-area[data-card-count="1"] .tab-item-card-1,
    .tab-content-area[data-card-count="1"] .tab-item-card-2,
    .tab-content-area[data-card-count="1"] .tab-item-card-3,
    .tab-content-area[data-card-count="1"] .tab-item-card-4,
    .tab-content-area[data-card-count="2"] .tab-item-card-1,
    .tab-content-area[data-card-count="2"] .tab-item-card-2,
    .tab-content-area[data-card-count="2"] .tab-item-card-3,
    .tab-content-area[data-card-count="2"] .tab-item-card-4,
    .tab-content-area[data-card-count="3"] .tab-item-card-1,
    .tab-content-area[data-card-count="3"] .tab-item-card-2,
    .tab-content-area[data-card-count="3"] .tab-item-card-3,
    .tab-content-area[data-card-count="3"] .tab-item-card-4,
    .tab-content-area[data-card-count="4"] .tab-item-card-1,
    .tab-content-area[data-card-count="4"] .tab-item-card-2,
    .tab-content-area[data-card-count="4"] .tab-item-card-3,
    .tab-content-area[data-card-count="4"] .tab-item-card-4 {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 82dvh;
        min-height: 82dvh;
        /* Card height: 75dvh */
    }
    
    .activation-tab {
        font-size: 0.91875rem;
        padding: 0.75rem;
    }
    
    .tab-content-area {
        padding: 0.75rem;
    }
    
    .tab-item-card-1 h3,
    .tab-item-card-2 h3,
    .tab-item-card-3 h3,
    .tab-item-card-4 h3 {
        font-size: 1.05rem;
        text-align: center;
    }
    
    .tab-item-card-1 .tab-card-content,
    .tab-item-card-2 .tab-card-content,
    .tab-item-card-3 .tab-card-content,
    .tab-item-card-4 .tab-card-content {
        text-align: center;
        height: calc(75dvh - 40dvh - 3rem);
        /* Card height (75dvh) - image height (40dvh) - title margins/padding (3rem) */
        overflow-y: auto;
    }
    
    .tab-item-card-1 .tab-card-image,
    .tab-item-card-2 .tab-card-image,
    .tab-item-card-3 .tab-card-image,
    .tab-item-card-4 .tab-card-image {
        height: 40dvh;
        flex-shrink: 0;
    }
    
    /* Tab card content when there's no image on mobile - fill the card and center paragraph text */
    .tab-item-card-1:not(:has(.tab-card-image)) .tab-card-content,
    .tab-item-card-2:not(:has(.tab-card-image)) .tab-card-content,
    .tab-item-card-3:not(:has(.tab-card-image)) .tab-card-content,
    .tab-item-card-4:not(:has(.tab-card-image)) .tab-card-content {
        height: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .tab-item-card-1:not(:has(.tab-card-image)) .tab-card-content p,
    .tab-item-card-2:not(:has(.tab-card-image)) .tab-card-content p,
    .tab-item-card-3:not(:has(.tab-card-image)) .tab-card-content p,
    .tab-item-card-4:not(:has(.tab-card-image)) .tab-card-content p {
        text-align: center;
        width: 100%;
    }
    
    /* ============================================================
       MADE IN USA SECTION MOBILE FIX
       ============================================================ */
    
    .made-in-usa-section {
        flex-direction: column;
        padding: 1rem;
        gap: 1.5rem;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        margin-bottom: 0;
        order: 4;
    }
    
    .made-in-usa-images {
        flex: 1;
        height: auto;
        min-height: 200px;
        position: relative;
        flex-direction: column;
        align-items: center;
    }
    
    .blower-image-large,
    .blower-image-medium,
    .blower-image-small {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 150px;
        margin-bottom: 0.5rem;
    }
    
    .made-in-usa-content {
        padding-left: 0;
        gap: 1rem;
    }
    
    .made-in-usa-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .md-pneumatics-title {
        font-size: 1.575rem; /* Reduced from 3rem desktop */
        text-align: center;
    }
    
    .made-in-usa-badge {
        width: 80px; /* Reduced from 100px */
        height: 80px;
    }
    
    .made-in-usa-description,
    .made-in-usa-applications {
        font-size: 0.91875rem; /* Reduced from 1.1rem desktop */
        text-align: left;
    }
}
