/* ==========================================
   GLOBAL VARIABLES & BASE STYLES
   ========================================== */

/* Hero Banner */
.hero-section {
    position: relative;
    padding: 100px 0;
    min-height: 520px;
    display: flex;
    align-items: center;
}
.hero-title {
    font-weight: 800;
    color: #0b3c5d;
    font-size: 3.2rem;
    line-height: 1.15;
    animation: fadeInDown 0.8s ease-out;
    max-width: 580px;
}
.hero-subtitle-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    animation: fadeInUp 0.8s ease-out;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: #4a5568;
    margin: 0;
    font-weight: 500;
}
.hero-subtitle-line {
    height: 1px;
    background-color: #a0aec0;
    width: 80px;
}

/* --- OUR PROFILE / WHO WE ARE SECTION STYLES --- */
.profile-section {
    background-color: #f2f8fc;
    padding: 80px 0;
}
.profile-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a3b5c;
    margin-bottom: 8px;
}
.profile-title .highlight {
    color: #0093b8;
}
.profile-title-line {
    width: 50px;
    height: 3px;
    background-color: #0093b8;
    margin-bottom: 25px;
}
.profile-text {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.profile-text strong {
    color: #2d3748;
    font-weight: 700;
}
.video-card-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: #000;
}
.video-card-container img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    opacity: 0.85;
    display: block;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.video-card-container:hover img {
    transform: scale(1.03);
    opacity: 0.75;
}
.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a3b5c;
    font-size: 1.8rem;
    box-shadow: 0 0 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.video-card-container:hover .play-btn-overlay {
    background-color: #0093b8;
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.1);
}
.video-duration-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 8px;
    border-radius: 4px;
}
.btn-download-profile {
    background-color: #0f3f62;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(15, 63, 98, 0.2);
    border: none;
}
.btn-download-profile:hover {
    background-color: #0093b8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 147, 184, 0.3);
}

/* Titles & Underlines */
.section-title {
    font-weight: 700;
    color: var(--primary-dark);
    position: relative;
    margin-bottom: 15px;
}
.title-underline::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-cyan);
    margin: 8px auto 0 auto;
}
.title-underline-left::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-cyan);
    margin-top: 8px;
}

/* Section Layouts */
.section-padding {
    padding: 30px 0;
}
.bg-light-cyan {
    background-color: var(--bg-light-blue);
}

/* Partner Banner & Card Grid */
.partner-cards-wrapper {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #eaf2f8;
}
.partner-card {
    padding: 35px 25px;
    height: 100%;
    background: #ffffff;
    border-right: 1px solid #eef4f8;
    transition: background 0.3s ease, transform 0.3s ease;
}
.partner-card:hover {
    background: #f8fdff;
    transform: translateY(-3px);
}
.partner-card-title {
    color: #0b4b6f;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
}
.partner-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary-cyan);
}
.partner-card-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #637381;
    margin-bottom: 0;
}

/* Why Choose Cubit Healthcare Grid Cards */
.reason-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 240px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}
.reason-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}
.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 58, 88, 0.88);
    z-index: 1;
    transition: background 0.3s ease;
}
.reason-card:hover::before {
    background: rgba(14, 58, 88, 0.78);
}
.reason-card-content {
    position: relative;
    z-index: 2;
}
.reason-icon-badge {
    width: 52px;
    height: 52px;
    background-color: #ffffff;
    color: #0b4b6f;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.reason-card:hover .reason-icon-badge {
    transform: rotate(8deg) scale(1.1);
}
.reason-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}
.reason-desc {
    font-size: 0.8rem;
    line-height: 1.45;
    color: #d2e4f0;
    margin-bottom: 0;
}

.bg-card-universal {
    background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=800&q=80');
}

/* Quality Assurance Section */
.qa-section-header {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--qa-header-blue);
    margin-bottom: 28px;
}
.qa-banner-container {
    width: 100%;
    max-width: 1366.86px;
    min-height: 390.86px;
    margin: 0 auto;
    border-radius: 18.29px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0px 22.86px 28.57px -5.71px rgba(0, 0, 0, 0.10),
        0px 9.14px 11.43px -6.86px rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    padding: 40px 50px;
    transition: transform 0.4s ease;
}
.qa-banner-container:hover {
    transform: scale(1.01);
}
.qa-content-wrapper {
    max-width: 520px;
    color: #ffffff;
    z-index: 2;
}
.qa-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}
.qa-accent-line {
    width: 46px;
    height: 4px;
    background-color: var(--primary-cyan);
    border-radius: 2px;
    margin-bottom: 28px;
}
.qa-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.qa-list-item {
    display: flex;
    align-items: center;
    font-size: 1.02rem;
    font-weight: 400;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.95);
    transition: transform 0.2s ease;
}
.qa-list-item:hover {
    transform: translateX(5px);
}
.qa-list-icon {
    width: 22px;
    height: 22px;
    background-color: var(--primary-cyan);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-right: 14px;
    flex-shrink: 0;
}

/* Our World-Class Infrastructure */
.infra-section {
    padding: 60px 0;
    background-color: var(--bg-light-blue);
}
.infra-header-title {
    color: var(--infra-blue-dark);
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
}
.infra-header-subtitle {
    color: var(--infra-text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 45px;
    font-weight: 400;
}
.infra-steps-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 45px;
    padding-bottom: 10px;
}
.infra-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 90px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    transition: transform 0.3s ease;
}
.infra-step-item:hover {
    transform: translateY(-4px);
}
.infra-step-circle {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #d0e2ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 1.35rem;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}
.infra-step-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-cyan);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.infra-step-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--infra-blue-dark);
    line-height: 1.25;
    max-width: 95px;
}
.infra-step-item.active .infra-step-circle {
    border-color: var(--primary-cyan);
    background-color: #e6f7fa;
    box-shadow: 0 4px 12px rgba(0, 168, 204, 0.25);
    transform: scale(1.1);
}
.infra-img-card {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.infra-img-card img {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.infra-img-card:hover img {
    transform: scale(1.03);
}
.infra-detail-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.infra-detail-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary-cyan);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}
.infra-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--infra-blue-dark);
    margin: 0;
    line-height: 1.2;
}
.infra-detail-subtitle {
    font-size: 0.85rem;
    color: var(--infra-text-muted);
    margin-top: 2px;
}
.infra-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.infra-list-item {
    display: flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--infra-blue-dark);
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}
.infra-list-item:hover {
    transform: translateX(4px);
}
.infra-list-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-cyan);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    margin-right: 10px;
    flex-shrink: 0;
}
.infra-quote-card {
    background-color: #0b3c5d;
    border-radius: 14px;
    padding: 22px 28px;
    color: #ffffff;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.3s ease;
}
.infra-quote-card:hover {
    transform: translateY(-3px);
}
.infra-quote-icon {
    font-size: 1.6rem;
    color: var(--primary-cyan);
    line-height: 1;
    margin-top: 2px;
}
.infra-quote-text {
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
    color: #ffffff;
}

/* Feature Cards (Dark Solid) */
.card-dark {
    background-color: var(--primary-dark);
    color: #ffffff;
    border-radius: 12px;
    padding: 25px 20px;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-dark:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(10, 59, 92, 0.3);
}
.card-dark-icon {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    color: var(--primary-cyan);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px auto;
    transition: transform 0.3s ease;
}
.card-dark:hover .card-dark-icon {
    transform: scale(1.1) rotate(5deg);
}
.card-dark-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.card-dark-text {
    font-size: 0.85rem;
    color: #d1e2ec;
    margin-bottom: 0;
}

/* Service Cards (White Bordered) */
.card-light {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #eef2f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-light:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.card-light-icon {
    width: 45px;
    height: 45px;
    background-color: #e6f7fa;
    color: var(--primary-cyan);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 15px auto;
    transition: transform 0.3s ease;
}
.card-light:hover .card-light-icon {
    transform: scale(1.1);
}
.card-light-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Process Flow Banner */
.qa-process-container {
    position: relative;
    background: linear-gradient(rgba(14, 62, 94, 0.85), rgba(14, 62, 94, 0.85)), 
                url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
    border-radius: 20px;
    padding: 45px 30px 35px 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.process-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px 10px 20px 10px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, background 0.3s ease;
}
.process-box:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.2);
}
.process-number {
    width: 65px;
    height: 65px;
    background-color: #ffffff;
    color: var(--primary-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 18px auto;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.process-box:hover .process-number {
    transform: scale(1.1);
}
.process-number span {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary-cyan);
    color: white;
    font-size: 0.75rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.process-box h6 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0;
}

/* UPDATED: Subfeatures Alignment Fixes */
.qa-subfeatures {
    font-size: 0.88rem;
    color: #e0f2fe;
}
.qa-subfeatures .qa-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1.3;
    min-height: 100%;
}
.qa-subfeatures i {
    color: var(--primary-cyan, #0093b8);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 2px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
}

/* Manufacturing Cards - UPDATED FIX FOR OVERLAP */
.mfg-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.mfg-card img {
    width: 100%;
    height: 329px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.mfg-card:hover img {
    transform: scale(1.08);
}
.mfg-card-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 59, 92, 0.92);
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    flex-wrap: wrap; /* Allows badge to break to next line if space is tight */
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.mfg-title {
    color: #ffffff;
    font-size: 1.15rem; /* Scaled down slightly to prevent clipping on small cards */
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.3px;
    flex: 1 1 auto;
    min-width: 120px;
}

.mfg-badge {
    background-color: #0093b8;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap; /* Prevents badge internal text from breaking weirdly */
    transition: background-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}
.mfg-badge:hover {
    background-color: #007a99;
    color: #ffffff;
    transform: translateY(-2px);
}
.mfg-badge i {
    font-size: 1rem;
    flex-shrink: 0;
}
.mfg-badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Gallery Row */
.gallery-thumb-wrap {
    overflow: hidden;
    border-radius: 8px;
}
.gallery-thumb {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.gallery-thumb-wrap:hover .gallery-thumb {
    transform: scale(1.1);
}

.rounded-img {
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
}

/* Custom Keyframe Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 168, 204, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(0, 168, 204, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 168, 204, 0); }
}


/* ==========================================
   MOBILE & TABLET RESPONSIVE MEDIA QUERIES
   ========================================== */

/* 1. Tablet & Medium Screen Optimizations (992px and below) */
@media (max-width: 992px) {
    .hero-section {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%), 
                    url('<?php echo esc_url($hero_img); ?>') no-repeat center/cover;
        padding: 60px 0;
        min-height: auto;
    }

    .hero-title { 
        font-size: 2.2rem; 
        max-width: 100%;
    }

    .profile-title { 
        font-size: 1.8rem; 
    }

    .qa-banner-container {
        min-height: auto;
        padding: 35px 25px;
        background: linear-gradient(
            180deg, 
            rgba(11, 60, 93, 0.95) 0%, 
            rgba(11, 60, 93, 0.85) 100%
        ), url("<?= esc_url($qa_banner_img); ?>") center/cover !important;
    }

    .qa-title { 
        font-size: 1.6rem; 
    }

    .qa-list-item { 
        font-size: 0.92rem; 
    }

    .partner-card {
        border-right: none;
        border-bottom: 1px solid #eef4f8;
    }

    .partner-card:last-child {
        border-bottom: none;
    }
}

/* 2. Mobile Screen Optimizations (768px and below) */
@media (max-width: 768px) {
    /* --- MOBILE TEXT JUSTIFICATION & WORD BREAK FIX --- */
    .section-padding p,
    .profile-section p,
    .profile-text,
    p {
        /*text-align: center;*/
        text-justify: inter-word;
        word-break: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .section-padding {
        padding: 30px 0;
    }

    .hero-title {
        font-size: 1.85rem;
        text-align: center;
    }

    .hero-subtitle-container {
        justify-content: center;
    }

    .hero-subtitle-line {
        width: 40px;
    }

    .profile-section {
        padding: 50px 0;
    }

    .video-card-container img {
        height: 240px;
    }

    /* Exactly 3 buttons/items per row on mobile screens */
    .infra-steps-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 15px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .infra-step-item {
        flex: 0 0 calc(33.333% - 6px);
        max-width: calc(33.333% - 6px);
        margin-right: 0;
    }

    .infra-step-circle {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .infra-step-badge {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }

    .infra-step-label {
        font-size: 0.72rem;
        max-width: 100%;
        word-wrap: break-word;
    }

    .infra-img-card img {
        height: 260px;
    }

    .infra-quote-card {
        padding: 16px 20px;
        gap: 12px;
    }

    .infra-quote-text {
        font-size: 0.85rem;
    }

    .mfg-card img {
        height: 240px;
    }

    .mfg-card-bar {
        padding: 12px;
    }

    .mfg-title {
        font-size: 1rem;
    }

    .mfg-badge {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .qa-subfeatures .qa-item {
        font-size: 0.82rem;
    }
}

/* 3. Small Mobile Screen Optimizations (576px and below) */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .qa-banner-container {
        padding: 25px 18px;
        border-radius: 12px;
    }

    .qa-title {
        font-size: 1.35rem;
    }

    .reason-card {
        height: 220px;
        padding: 18px 15px;
    }

    .qa-process-container {
        padding: 30px 15px 20px 15px;
    }

    .gallery-thumb {
        height: 80px;
    }
}