/* ==========================================================================
   The Kollam Co-Operative Spinning Mills Ltd. (QCSM) - Official Design System
   Exact Theme, Margin & Padding Specifications Matching Screenshots
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --qcsm-primary: #e60026;
    --qcsm-primary-dark: #c0001f;
    --qcsm-primary-light: #fff0f2;
    --qcsm-secondary: #0b1a30;
    --qcsm-secondary-dark: #071120;
    --qcsm-blue: #1d4ed8;
    --qcsm-blue-light: #eff6ff;
    --qcsm-gray-bg: #f8fafc;
    --qcsm-card-bg: #f1f5f9;
    --qcsm-border: #e2e8f0;
    --qcsm-text-main: #0f172a;
    --qcsm-text-muted: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Base & Typography */
body {
    font-family: var(--font-body);
    color: var(--qcsm-text-main);
    background-color: #ffffff;
    line-height: 1.55;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1220px;
    padding-left: 20px;
    padding-right: 20px;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--qcsm-secondary);
    line-height: 1.25;
}

a {
    color: var(--qcsm-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--qcsm-primary-dark);
}

/* ==========================================================================
   Clean Header / Navbar
   ========================================================================== */

.qcsm-header-clean {
    background-color: #ffffff;
    border-bottom: 1px solid #edf2f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1050;
    padding: 10px 0;
}

.qcsm-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.qcsm-brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.qcsm-brand-text-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.qcsm-brand-text-sub {
    font-size: 0.72rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 2px;
}

.qcsm-nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b !important;
    padding: 8px 14px !important;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    display: inline-block;
}

.qcsm-nav-link:hover,
.qcsm-nav-link.active {
    color: var(--qcsm-primary) !important;
    font-weight: 700;
}

.qcsm-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2.5px;
    background-color: var(--qcsm-primary);
    border-radius: 2px;
}

.qcsm-btn-header-contact {
    background-color: var(--qcsm-primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 9px 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(230, 0, 38, 0.22);
    transition: all 0.2s ease;
    border: none;
}

.qcsm-btn-header-contact:hover {
    background-color: var(--qcsm-primary-dark);
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* ==========================================================================
   Hero Multi-Slide Carousel (Matching Slide Show Specs)
   ========================================================================== */

.qcsm-hero-carousel-item {
    position: relative;
    min-height: 500px;
    background-color: #0b1a30;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center right;
    padding: 60px 0 80px 0;
}

.qcsm-hero-carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 22, 48, 0.96) 0%, rgba(11, 26, 48, 0.88) 45%, rgba(11, 26, 48, 0.3) 100%);
    z-index: 1;
}

.qcsm-hero-carousel-content {
    position: relative;
    z-index: 2;
}

.qcsm-carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
    z-index: 5;
}

.qcsm-carousel-indicators [data-bs-target] {
    width: 28px;
    height: 4px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.qcsm-carousel-indicators .active {
    width: 46px;
    background-color: var(--qcsm-primary);
}

.qcsm-carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
    z-index: 10;
}

.qcsm-carousel-btn:hover {
    background-color: var(--qcsm-primary);
    border-color: var(--qcsm-primary);
    color: #ffffff;
}

.qcsm-hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 10px;
    display: block;
}

.qcsm-hero-headline-1 {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 0px;
}

.qcsm-hero-headline-2 {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--qcsm-primary);
    margin-bottom: 14px;
}

.qcsm-hero-desc {
    font-size: 0.94rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 24px;
}

.qcsm-btn-hero-primary {
    background-color: var(--qcsm-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 22px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(230, 0, 38, 0.3);
    border: none;
    transition: all 0.2s;
}

.qcsm-btn-hero-primary:hover {
    background-color: var(--qcsm-primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.qcsm-btn-hero-secondary {
    background-color: rgba(15, 23, 42, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 22px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.qcsm-btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

/* ==========================================================================
   Modern State-of-the-Art Stats Grid (New High-End Design)
   ========================================================================== */

.qcsm-stats-floating-wrapper {
    margin-top: -45px;
    margin-bottom: 24px;
    position: relative;
    z-index: 25;
}

.qcsm-modern-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(11, 26, 48, 0.07);
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.qcsm-modern-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--qcsm-primary) 0%, #ff4d6d 100%);
    opacity: 0.9;
}

.qcsm-modern-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(11, 26, 48, 0.12);
    border-color: rgba(230, 0, 38, 0.3);
}

.qcsm-modern-stat-card.card-alt-1::before {
    background: linear-gradient(90deg, #e60026 0%, #f43f5e 100%);
}
.qcsm-modern-stat-card.card-alt-2::before {
    background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
}
.qcsm-modern-stat-card.card-alt-3::before {
    background: linear-gradient(90deg, #059669 0%, #34d399 100%);
}
.qcsm-modern-stat-card.card-alt-4::before {
    background: linear-gradient(90deg, #d97706 0%, #fbbf24 100%);
}

.qcsm-stat-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.qcsm-stat-badge-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.badge-crimson {
    background: linear-gradient(135deg, #fff0f2 0%, #ffe4e8 100%);
    color: #e60026;
}
.badge-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
}
.badge-emerald {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
}
.badge-amber {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
}

.qcsm-stat-pill-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #64748b;
}

.qcsm-stat-num {
    font-size: 1.95rem;
    font-weight: 900;
    color: #0b1a30;
    line-height: 1.1;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.qcsm-stat-title-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    margin-top: 4px;
}

.qcsm-stat-sub-text {
    font-size: 0.74rem;
    color: #94a3b8;
    margin-top: 2px;
    font-weight: 500;
}

/* ==========================================================================
   Section Universal Spacing & Headers
   ========================================================================== */

.qcsm-section-py {
    padding: 46px 0;
}

.qcsm-eyebrow-red {
    color: var(--qcsm-primary);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.qcsm-eyebrow-red::after {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    background-color: var(--qcsm-primary);
    border-radius: 2px;
}

.qcsm-heading-main {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--qcsm-secondary);
    line-height: 1.25;
    margin-bottom: 14px;
}

.qcsm-title-center {
    text-align: center;
    margin-bottom: 28px;
}

.qcsm-title-center-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--qcsm-secondary);
}

.qcsm-title-center-wrap::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 3px;
    background-color: var(--qcsm-primary);
    border-radius: 2px;
}

.qcsm-title-center-wrap.flanked::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 3px;
    background-color: var(--qcsm-primary);
    border-radius: 2px;
}

.qcsm-subtitle-center {
    font-size: 0.88rem;
    color: var(--qcsm-text-muted);
    font-weight: 500;
    margin-top: 3px;
}

/* ==========================================================================
   About Section with Background Pattern
   ========================================================================== */

.qcsm-about-guests-unified-bg {
    position: relative;
    background-color: #f7fbff;
    background-image: url('../images/background/about-section-bg.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 55px 0 65px 0;
    overflow: hidden;
}

.qcsm-about-sub-section {
    padding-bottom: 45px;
    position: relative;
    z-index: 2;
}

.qcsm-guests-sub-section {
    padding-top: 15px;
    position: relative;
    z-index: 2;
}

.qcsm-about-section-styled {
    position: relative;
    background-color: #fafdff;
    background-image: url('../images/background/about-section-bg.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 55px 0;
}

.qcsm-about-photo-frame {
    position: relative;
    padding-bottom: 28px;
    padding-right: 28px;
    margin-right: 12px;
    margin-bottom: 12px;
    z-index: 1;
    overflow: visible !important;
}

.qcsm-about-photo-frame .qcsm-about-img-main,
.qcsm-about-img-main {
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(11, 26, 48, 0.08);
    position: relative;
    z-index: 1;
    display: block;
}

.qcsm-about-photo-frame .qcsm-about-img-overlay,
.qcsm-about-img-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    max-width: 270px;
    min-width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    border: 5px solid #ffffff;
    box-shadow: 0 16px 36px rgba(11, 26, 48, 0.22);
    background-color: #ffffff;
    z-index: 10 !important;
    transition: transform 0.3s ease;
}

.qcsm-about-photo-frame:hover .qcsm-about-img-overlay {
    transform: translateY(-4px);
}

@media (max-width: 575.98px) {
    .qcsm-about-photo-frame {
        padding-bottom: 20px;
        padding-right: 20px;
        margin-right: 0;
        margin-bottom: 0;
    }
    .qcsm-about-photo-frame .qcsm-about-img-main {
        height: 240px;
    }
    .qcsm-about-photo-frame .qcsm-about-img-overlay {
        width: 60%;
        height: 140px;
        border-width: 3px;
    }
}

.qcsm-btn-red-pill {
    background-color: var(--qcsm-primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 20px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: all 0.2s;
}

.qcsm-btn-red-pill:hover {
    background-color: var(--qcsm-primary-dark);
    transform: translateY(-1px);
}

/* ==========================================================================
   Distinguished Guests Split Cards (Exact Screenshot Match)
   ========================================================================== */

.qcsm-guests-section {
    background: linear-gradient(180deg, #f5f9fd 0%, #edf4fc 100%);
    padding: 50px 0;
    position: relative;
}

.qcsm-title-center-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    letter-spacing: -0.3px;
    margin: 0;
}

.qcsm-title-center-wrap::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 4.5px;
    background-color: #e61e25;
    border-radius: 3px;
    flex-shrink: 0;
}

.qcsm-title-center-wrap.flanked::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 4.5px;
    background-color: #e61e25;
    border-radius: 3px;
    flex-shrink: 0;
}

.qcsm-guest-card-split {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 22px rgba(11, 37, 84, 0.06);
    border: 1px solid #dce7f5;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    min-height: 200px;
    height: 100%;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.qcsm-guest-card-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #e61e25 0%, #2563eb 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.qcsm-guest-card-split:hover::before {
    opacity: 1;
}

.qcsm-guest-card-split:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(11, 37, 84, 0.12);
    border-color: #bfdbfe;
}

.qcsm-guest-photo-col {
    width: 36%;
    min-width: 120px;
    max-width: 155px;
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
    flex-shrink: 0;
}

.qcsm-guest-photo-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.45s ease;
}

.qcsm-guest-card-split:hover .qcsm-guest-photo-col img {
    transform: scale(1.06);
}

.qcsm-guest-info-col {
    flex: 1;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    min-width: 0;
    position: relative;
}

.qcsm-guest-text-group {
    min-width: 0;
    width: 100%;
}

.qcsm-guest-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0b2554;
    margin-bottom: 3px;
    font-family: var(--font-heading);
    line-height: 1.22;
    letter-spacing: -0.2px;
}

.qcsm-guest-role {
    font-size: 0.84rem;
    font-weight: 700;
    color: #e61e25;
    line-height: 1.25;
    margin-bottom: 4px;
}

.qcsm-guest-sub {
    font-size: 0.76rem;
    color: #475569;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.qcsm-guest-hover-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(4px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.qcsm-guest-card-split:hover .qcsm-guest-hover-content,
.qcsm-guest-card-split:focus .qcsm-guest-hover-content {
    max-height: 90px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 4px;
}

.qcsm-guest-hover-desc {
    font-size: 0.74rem;
    color: #64748b;
    line-height: 1.35;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qcsm-guest-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.70rem;
    font-weight: 700;
    color: #1d4ed8;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    margin-top: 4px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .qcsm-guest-card-split {
        min-height: auto;
    }
    .qcsm-guest-photo-col {
        width: 35%;
        min-width: 105px;
    }
    .qcsm-guest-info-col {
        padding: 12px 14px;
    }
    .qcsm-guest-name {
        font-size: 1.0rem;
    }
    .qcsm-guest-role {
        font-size: 0.82rem;
    }
    .qcsm-guest-hover-content {
        max-height: none;
        opacity: 1;
        transform: none;
        margin-top: 4px;
    }
}

/* ==========================================================================
   Product Wide Cards (State-of-the-Art Professional Design)
   ========================================================================== */

.qcsm-product-wide-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(11, 37, 84, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.qcsm-product-wide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--qcsm-primary) 0%, #3b82f6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.qcsm-product-wide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11, 37, 84, 0.12);
    border-color: #cbd5e1;
}

.qcsm-product-wide-card:hover::before {
    opacity: 1;
}

.qcsm-product-img-wrap {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background-color: #f8fafc;
    margin-bottom: 14px;
}

.qcsm-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.qcsm-product-wide-card:hover .qcsm-product-img-wrap img {
    transform: scale(1.06);
}

.qcsm-product-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: #0b2554;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.qcsm-product-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-bottom: 4px;
    line-height: 1.25;
}

.qcsm-product-specs {
    font-size: 0.82rem;
    color: #475569;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 4px;
}

.qcsm-product-btn-arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 1.5px solid #e61e25;
    color: #e61e25;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(230, 30, 37, 0.12);
}

.qcsm-product-wide-card:hover .qcsm-product-btn-arrow {
    background-color: #e61e25;
    color: #ffffff;
    transform: scale(1.08);
}

/* ==========================================================================
   Operating Business Services Section (Modern Cards)
   ========================================================================== */

.qcsm-services-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 55px 0;
}

.qcsm-service-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(11, 37, 84, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.qcsm-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--qcsm-primary) 0%, #3b82f6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.qcsm-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11, 37, 84, 0.12);
    border-color: #cbd5e1;
}

.qcsm-service-card:hover::before {
    opacity: 1;
}

.qcsm-service-img-wrap {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
    margin-bottom: 16px;
}

.qcsm-service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.qcsm-service-card:hover .qcsm-service-img-wrap img {
    transform: scale(1.06);
}

.qcsm-service-icon-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--qcsm-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(230, 0, 38, 0.35);
    z-index: 10;
    transition: transform 0.3s ease;
}

.qcsm-service-card:hover .qcsm-service-icon-badge {
    transform: scale(1.1);
}

.qcsm-service-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-bottom: 6px;
    line-height: 1.25;
}

.qcsm-service-desc {
    font-size: 0.88rem;
    color: #556987;
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.qcsm-service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.qcsm-service-highlight-pill {
    font-size: 0.74rem;
    font-weight: 700;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 9px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.qcsm-service-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.qcsm-service-nav-btn:hover {
    background-color: var(--qcsm-primary);
    border-color: var(--qcsm-primary);
    color: #ffffff;
}

/* ==========================================================================
   Mission & Vision Section (Exact Match to Background & Layout)
   ========================================================================== */

.qcsm-mission-vision-section {
    background-color: #eaf3fd;
    background-image: url('../images/background/mission-vision-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 60px 0 70px 0;
    position: relative;
}

.qcsm-mv-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 30px;
    box-shadow: 0 8px 30px rgba(11, 37, 84, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.85);
    display: flex;
    align-items: flex-start;
    gap: 22px;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.qcsm-mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(11, 37, 84, 0.14);
    border-color: #cbd5e1;
}

.qcsm-mv-icon-pure {
    font-size: 2.85rem;
    color: #e61e25;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding-top: 4px;
    transition: transform 0.3s ease;
}

.qcsm-mv-card:hover .qcsm-mv-icon-pure {
    transform: scale(1.1);
}

.qcsm-mv-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-bottom: 8px;
    line-height: 1.25;
}

.qcsm-mv-text {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .qcsm-mv-card {
        padding: 20px;
        gap: 16px;
    }
    .qcsm-mv-icon-pure {
        font-size: 2.2rem;
    }
    .qcsm-mv-title {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Public Information 4-Grid Cards
   ========================================================================== */

/* ==========================================================================
   From the Chairman's Desk (Executive Redesign)
   ========================================================================== */

.qcsm-chairman-section {
    padding: 60px 0;
    background-color: #ffffff;
    position: relative;
}

.qcsm-chairman-quote-box {
    position: relative;
    padding-left: 24px;
    border-left: 3.5px solid var(--qcsm-primary, #e61e25);
    margin-bottom: 24px;
}

.qcsm-quote-icon {
    font-size: 1.8rem;
    color: rgba(230, 0, 38, 0.2);
    margin-bottom: 8px;
    display: block;
}

.qcsm-chairman-quote-text-wrap {
    position: relative;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.qcsm-chairman-quote-text-wrap.is-collapsible {
    max-height: 125px;
    overflow: hidden;
}

.qcsm-chairman-quote-text-wrap.is-expanded {
    max-height: 1500px;
}

.qcsm-chairman-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.qcsm-chairman-quote-text-wrap.is-expanded .qcsm-chairman-fade-overlay {
    opacity: 0;
    visibility: hidden;
}

.qcsm-chairman-quote-text {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.68;
    margin-bottom: 8px;
    font-weight: 500;
}

.qcsm-chairman-quote-text p {
    margin-bottom: 12px;
}

.qcsm-chairman-quote-text p:last-child {
    margin-bottom: 0;
}

.qcsm-chair-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff1f2;
    color: #e61e25;
    border: 1px solid #fecdd3;
    font-size: 0.80rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(230, 30, 37, 0.06);
}

.qcsm-chair-toggle-btn:hover {
    background: #e61e25;
    color: #ffffff;
    border-color: #e61e25;
    box-shadow: 0 4px 12px rgba(230, 30, 37, 0.22);
    transform: translateY(-1px);
}

.qcsm-chair-toggle-btn:active {
    transform: translateY(0);
}

.qcsm-chair-toggle-btn i {
    transition: transform 0.25s ease;
}

.qcsm-chairman-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.qcsm-chair-pill {
    font-size: 0.76rem;
    font-weight: 700;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.qcsm-montage-wrapper {
    position: relative;
}

.qcsm-montage-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 24px rgba(11, 37, 84, 0.07);
    border: 1px solid #e2e8f0;
    height: 230px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.qcsm-montage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(11, 37, 84, 0.12);
    border-color: #cbd5e1;
}

.qcsm-montage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.qcsm-montage-card:hover img {
    transform: scale(1.06);
}

.qcsm-montage-chip {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    color: #0b2554;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

/* ==========================================================================
   Public Information 2x2 Grid Cards
   ========================================================================== */

.qcsm-pub-info-section {
    background: linear-gradient(180deg, #f8fafc 0%, #edf4fc 100%);
    padding: 55px 0 65px 0;
    border-top: 1px solid #e2e8f0;
}

.qcsm-pub-info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(11, 37, 84, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    min-height: 78px;
    position: relative;
    overflow: hidden;
}

.qcsm-pub-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--qcsm-primary) 0%, #3b82f6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.qcsm-pub-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(11, 37, 84, 0.12);
    border-color: #bfdbfe;
}

.qcsm-pub-info-card:hover::before {
    opacity: 1;
}

.qcsm-pub-icon-red {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e60026 0%, #ff2a4b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(230, 0, 38, 0.28);
}

.qcsm-pub-icon-blue {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.28);
}

.qcsm-pub-text {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0b2554;
    padding: 0 16px;
    flex-grow: 1;
    line-height: 1.35;
    font-family: var(--font-heading);
}

.qcsm-pub-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.qcsm-pub-info-card:hover .qcsm-pub-arrow {
    background: var(--qcsm-primary);
    color: #ffffff !important;
    border-color: var(--qcsm-primary);
    transform: scale(1.08);
}

/* ==========================================================================
   Photo Gallery: Big Hero Image + Under Thumbnails + View More
   ========================================================================== */

.qcsm-gallery-section {
    padding: 60px 0;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.qcsm-gallery-more-btn {
    background: #fff0f2;
    color: #e60026 !important;
    border: 1px solid rgba(230, 0, 38, 0.25);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.qcsm-gallery-more-btn:hover {
    background: #e60026;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 0, 38, 0.25);
}

.qcsm-gallery-featured-frame {
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 32px rgba(11, 37, 84, 0.1);
    border: 1px solid #e2e8f0;
    background-color: #0b1a30;
}

.qcsm-gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease, transform 0.45s ease;
}

.qcsm-gallery-featured-frame:hover .qcsm-gallery-main-img {
    transform: scale(1.03);
}

.qcsm-gallery-featured-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px 18px 28px;
    background: linear-gradient(180deg, rgba(11, 26, 48, 0) 0%, rgba(11, 26, 48, 0.88) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    z-index: 2;
}

.qcsm-gallery-thumbs-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.qcsm-gallery-thumb-item {
    height: 85px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 2.5px solid transparent;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    background-color: #f1f5f9;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.qcsm-gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.qcsm-gallery-thumb-item:hover,
.qcsm-gallery-thumb-item.active {
    border-color: #e60026;
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(230, 0, 38, 0.28);
}

.qcsm-gallery-thumb-item:hover img,
.qcsm-gallery-thumb-item.active img {
    transform: scale(1.08);
}

.qcsm-gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease;
}

.qcsm-gallery-thumb-item.active .qcsm-gallery-thumb-overlay,
.qcsm-gallery-thumb-item:hover .qcsm-gallery-thumb-overlay {
    opacity: 0;
}

.qcsm-btn-gallery-explore {
    background: linear-gradient(135deg, #0b1a30 0%, #172d54 100%);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(11, 26, 48, 0.18);
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qcsm-btn-gallery-explore:hover {
    background: linear-gradient(135deg, var(--qcsm-primary) 0%, #ff2a4b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230, 0, 38, 0.32);
}

@media (max-width: 768px) {
    .qcsm-gallery-featured-frame {
        height: 250px;
    }
    .qcsm-gallery-thumbs-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .qcsm-gallery-thumb-item {
        height: 65px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.qcsm-footer-clean {
    background-color: #0b162c;
    color: #cbd5e1;
    padding-top: 45px;
    font-size: 0.85rem;
}

.qcsm-footer-heading {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
    font-family: var(--font-heading);
}

.qcsm-footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qcsm-footer-link-list li {
    margin-bottom: 6px;
}

.qcsm-footer-link-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.82rem;
}

.qcsm-footer-link-list a:hover {
    color: #ffffff;
    padding-left: 2px;
}

.qcsm-social-red-btn {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background-color: var(--qcsm-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    margin-right: 5px;
    transition: transform 0.2s, background-color 0.2s;
}

.qcsm-social-red-btn:hover {
    background-color: var(--qcsm-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.qcsm-footer-map-box {
    background-color: #1e293b;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 10px;
    padding: 10px;
}

.qcsm-footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
    margin-top: 32px;
    font-size: 0.78rem;
    color: #94a3b8;
}

.qcsm-footer-bottom-bar a {
    color: #94a3b8;
    margin: 0 6px;
}

.qcsm-footer-bottom-bar a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Inner Hero Banners & Form Controls
   ========================================================================== */

.qcsm-hero-banner {
    background-color: var(--qcsm-secondary);
    background-image: linear-gradient(135deg, rgba(11, 26, 48, 0.95) 0%, rgba(15, 36, 68, 0.92) 100%), url('../images/banner/banner-about.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    color: #ffffff;
}

.qcsm-breadcrumbs {
    font-size: 0.82rem;
    margin-bottom: 10px;
    color: #94a3b8;
}

.qcsm-breadcrumbs a {
    color: #94a3b8;
}

.qcsm-breadcrumbs a:hover {
    color: #ffffff;
}

.qcsm-breadcrumbs .separator {
    margin: 0 5px;
}

.qcsm-breadcrumbs .active {
    color: #ffffff;
    font-weight: 600;
}

.qcsm-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.qcsm-hero-title .highlight {
    color: var(--qcsm-primary);
}

.qcsm-hero-subtitle {
    font-size: 0.92rem;
    color: #cbd5e1;
    max-width: 680px;
}

.qcsm-career-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.qcsm-career-header {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    transition: background-color 0.2s;
}

.qcsm-career-header:hover {
    background: #f8fafc;
}

.qcsm-career-body {
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* ==========================================================================
   Redesigned About Us Page (Matches Final Design Screenshot)
   ========================================================================== */

.qcsm-about-hero {
    background-color: #0b1a30;
    background-image: linear-gradient(90deg, rgba(11, 26, 48, 0.94) 0%, rgba(11, 26, 48, 0.8) 45%, rgba(11, 26, 48, 0.35) 100%), url('../images/banner/banner-about.jpg');
    background-size: cover;
    background-position: center right;
    padding: 70px 0 65px 0;
    color: #ffffff;
    position: relative;
}

.qcsm-about-hero .qcsm-breadcrumbs {
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.qcsm-about-hero .qcsm-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.qcsm-about-hero .qcsm-breadcrumbs a:hover {
    color: #ffffff;
}

.qcsm-about-hero .qcsm-breadcrumbs .crumb-active {
    color: #ef4444;
    font-weight: 700;
}

.qcsm-about-hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
}

.qcsm-about-hero-subtitle {
    font-size: 1.02rem;
    color: #cbd5e1;
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Section 1: Department of Industries & Commerce */
.qcsm-about-intro-section {
    padding: 75px 0 60px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.qcsm-botanical-bg {
    position: absolute;
    right: -30px;
    top: 20px;
    width: 440px;
    height: auto;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.qcsm-about-montage-wrapper {
    position: relative;
    padding-right: 15px;
}

.qcsm-about-corner-accent {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 55px;
    height: 55px;
    border-top: 4px solid #e60026;
    border-left: 4px solid #e60026;
    border-top-left-radius: 8px;
    z-index: 1;
}

.qcsm-dot-pattern-left {
    position: absolute;
    top: 20px;
    left: -28px;
    width: 60px;
    height: 100px;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    z-index: 0;
}

.qcsm-about-img-main {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(11, 37, 84, 0.08);
    display: block;
    position: relative;
    z-index: 2;
}

.qcsm-about-img-lower {
    width: 100%;
    height: 155px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 14px;
    box-shadow: 0 8px 24px rgba(11, 37, 84, 0.08);
    display: block;
    position: relative;
    z-index: 2;
}

.qcsm-since-badge {
    position: absolute;
    left: -15px;
    top: 185px;
    background: #e60026;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(230, 0, 38, 0.35);
    z-index: 4;
    line-height: 1.1;
}

.qcsm-since-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
    opacity: 0.95;
}

.qcsm-since-year {
    font-size: 1.7rem;
    font-weight: 800;
    font-family: var(--font-heading);
    display: block;
}

.qcsm-eyebrow-red-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #e60026;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.qcsm-eyebrow-red-inline::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2.5px;
    background: #e60026;
    border-radius: 2px;
}

.qcsm-section-heading-dark {
    font-size: 2.15rem;
    font-weight: 800;
    color: #0b2554;
    line-height: 1.25;
    margin-bottom: 18px;
    font-family: var(--font-heading);
}

.qcsm-about-body-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Section 2: Our Journey Timeline */
.qcsm-about-journey-section {
    background-color: #f8fafc;
    padding: 65px 0 75px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.qcsm-eyebrow-flanked {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #e60026;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.qcsm-eyebrow-flanked::before,
.qcsm-eyebrow-flanked::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: #e60026;
}

.qcsm-timeline-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 45px;
}

.qcsm-timeline-track::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    border-top: 2px dashed #cbd5e1;
    z-index: 1;
}

.qcsm-timeline-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 16px 20px 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(11, 37, 84, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.qcsm-timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(11, 37, 84, 0.09);
    border-color: #cbd5e1;
}

.qcsm-timeline-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.qcsm-timeline-icon.icon-rose {
    background: #ffe4e6;
    color: #e11d48;
}

.qcsm-timeline-icon.icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.qcsm-timeline-icon.icon-orange {
    background: #fee2e2;
    color: #dc2626;
}

.qcsm-timeline-icon.icon-indigo {
    background: #e0e7ff;
    color: #4f46e5;
}

.qcsm-timeline-icon.icon-pink {
    background: #fce7f3;
    color: #db2777;
}

.qcsm-timeline-year {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0b2554;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.qcsm-timeline-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.qcsm-timeline-desc {
    font-size: 0.77rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 0;
}

/* Section 3: Our History */
.qcsm-history-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.qcsm-history-montage {
    position: relative;
    padding-bottom: 28px;
    padding-right: 28px;
    margin-right: 12px;
    margin-bottom: 12px;
    z-index: 1;
    overflow: visible !important;
}

.qcsm-history-corner-red {
    position: absolute;
    top: -12px;
    right: 12px;
    width: 55px;
    height: 55px;
    border-top: 4px solid #e60026;
    border-right: 4px solid #e60026;
    border-top-right-radius: 8px;
    z-index: 1;
}

.qcsm-history-square-blue {
    position: absolute;
    bottom: 45px;
    left: -12px;
    width: 22px;
    height: 22px;
    background-color: #2563eb;
    border-radius: 3px;
    z-index: 4;
}

.qcsm-dot-pattern-right {
    position: absolute;
    top: 30px;
    right: -5px;
    width: 60px;
    height: 120px;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    z-index: 0;
}

.qcsm-history-main-img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(11, 37, 84, 0.08);
    display: block;
    position: relative;
    z-index: 1;
}

.qcsm-history-inset-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 52%;
    max-width: 270px;
    min-width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    border: 5px solid #ffffff;
    box-shadow: 0 16px 36px rgba(11, 26, 48, 0.22);
    background-color: #ffffff;
    z-index: 10 !important;
    display: block;
    transition: transform 0.3s ease;
}

.qcsm-history-montage:hover .qcsm-history-inset-img {
    transform: translateY(-4px);
}

/* Section 4: Photo Gallery Grid */
.qcsm-about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 25px;
}

.qcsm-about-gallery-item {
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background-color: #f1f5f9;
    display: block;
}

.qcsm-about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.qcsm-about-gallery-item:hover img {
    transform: scale(1.08);
}

.qcsm-about-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 26, 48, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 8px;
}

.qcsm-about-gallery-item:hover .qcsm-about-gallery-overlay {
    opacity: 1;
}

.qcsm-about-gallery-zoom {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
}

@media (max-width: 991px) {
    .qcsm-timeline-track {
        grid-template-columns: repeat(2, 1fr);
    }
    .qcsm-timeline-track::before {
        display: none;
    }
    .qcsm-about-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .qcsm-about-hero-title {
        font-size: 2.2rem;
    }
    .qcsm-section-heading-dark {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .qcsm-timeline-track {
        grid-template-columns: 1fr;
    }
    .qcsm-about-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .qcsm-history-montage {
        padding-bottom: 20px;
        padding-right: 20px;
        margin-right: 0;
        margin-bottom: 0;
    }
    .qcsm-history-main-img {
        height: 240px;
    }
    .qcsm-history-inset-img {
        width: 60%;
        height: 140px;
        border-width: 3px;
    }
}

/* ==========================================================================
   Company Profile Page (Matches Screenshot)
   ========================================================================== */

.qcsm-profile-stat-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 4px 14px rgba(11, 37, 84, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.qcsm-profile-stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(11, 37, 84, 0.08);
}

.qcsm-profile-stat-icon-red {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #e60026;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(230, 0, 38, 0.25);
}

.qcsm-profile-stat-icon-blue {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #1d4ed8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.25);
}

.qcsm-profile-stat-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0b2554;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.qcsm-profile-stat-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 0;
}

.qcsm-feature-section {
    padding: 55px 0;
    background-color: #ffffff;
    position: relative;
}

.qcsm-feature-heading-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.qcsm-feature-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffe4e6;
    color: #e11d48;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.qcsm-feature-icon-badge.icon-gear {
    background: #fee2e2;
    color: #dc2626;
}

.qcsm-feature-icon-badge.icon-target {
    background: #ffe4e6;
    color: #e11d48;
}

.qcsm-feature-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0b2554;
    margin-bottom: 0;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 10px;
}

.qcsm-feature-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 3px;
    background: #e60026;
    border-radius: 2px;
}

.qcsm-feature-frame-right {
    position: relative;
    padding: 10px;
}

.qcsm-feature-frame-left {
    position: relative;
    padding: 10px;
}

.qcsm-frame-accent-tl-red {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    border-top: 4px solid #e60026;
    border-left: 4px solid #e60026;
    border-top-left-radius: 8px;
    z-index: 1;
}

.qcsm-frame-accent-br-blue {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45px;
    height: 45px;
    border-bottom: 4px solid #2563eb;
    border-right: 4px solid #2563eb;
    border-bottom-right-radius: 8px;
    z-index: 1;
}

.qcsm-frame-accent-bl-blue {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 45px;
    border-bottom: 4px solid #2563eb;
    border-left: 4px solid #2563eb;
    border-bottom-left-radius: 8px;
    z-index: 1;
}

.qcsm-feature-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(11, 37, 84, 0.08);
    position: relative;
    z-index: 2;
    display: block;
}

.qcsm-aims-section {
    background: linear-gradient(180deg, #edf7ff 0%, #f8fafc 100%);
    padding: 60px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.qcsm-cotton-boll-img {
    width: 100%;
    max-width: 380px;
    height: 230px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(11, 37, 84, 0.12);
    display: block;
    margin: 0 auto;
}

/* Section 5: Our Journey in Numbers */
.qcsm-journey-numbers-section {
    background-color: #0b1a30;
    background-image: linear-gradient(180deg, rgba(11, 26, 48, 0.9) 0%, rgba(15, 36, 68, 0.94) 100%), url('../images/colarge/s1.jpg');
    background-size: cover;
    background-position: center;
    padding: 65px 0 60px 0;
    color: #ffffff;
    position: relative;
}

.qcsm-numbers-heading {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    text-align: center;
}

.qcsm-numbers-sub {
    font-size: 0.95rem;
    color: #cbd5e1;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
}

.qcsm-numbers-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.qcsm-number-stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 18px;
    position: relative;
}

.qcsm-number-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.qcsm-number-icon {
    font-size: 2.2rem;
    color: #e60026;
    flex-shrink: 0;
}

.qcsm-number-val {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.qcsm-number-label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .qcsm-numbers-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .qcsm-number-stat-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .qcsm-numbers-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Management & Leadership Team Page (Matches Screenshot)
   ========================================================================== */

.qcsm-team-grid-section {
    padding: 60px 0 70px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.qcsm-team-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(11, 37, 84, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.qcsm-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(11, 37, 84, 0.12);
    border-color: #cbd5e1;
}

.qcsm-team-photo-wrap {
    width: 100%;
    aspect-ratio: 4 / 3.7;
    background: #f1f5f9;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qcsm-team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
    display: block;
}

.qcsm-team-card:hover .qcsm-team-photo-wrap img {
    transform: scale(1.03);
}

.qcsm-team-info {
    padding: 14px 12px 18px 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.qcsm-team-name {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0b2554;
    margin-bottom: 4px;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.qcsm-team-role {
    font-size: 0.84rem;
    font-weight: 700;
    color: #e60026;
    margin-bottom: 4px;
    line-height: 1.3;
}

.qcsm-team-role-sub {
    font-size: 0.73rem;
    font-weight: 600;
    color: #dc2626;
    line-height: 1.35;
    margin-bottom: 0;
}

.qcsm-team-divider-red {
    width: 24px;
    height: 2px;
    background: #e60026;
    margin: 6px auto 0 auto;
    border-radius: 2px;
}

/* ==========================================================================
   GALLERY PAGE (Matches Screenshot Exactly)
   ========================================================================== */

.qcsm-gallery-filter-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: 0 4px 16px rgba(11, 37, 84, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.qcsm-gallery-filter-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.qcsm-gallery-filter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-right: 6px;
    white-space: nowrap;
}

.qcsm-year-pill {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.qcsm-year-pill:hover {
    border-color: #e60026;
    color: #e60026;
    background: #fff5f5;
}

.qcsm-year-pill.active {
    background: #e60026;
    border-color: #e60026;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(230, 0, 38, 0.25);
}

.qcsm-gallery-search-wrap {
    display: flex;
    align-items: center;
    position: relative;
    min-width: 270px;
}

.qcsm-gallery-search-input {
    width: 100%;
    padding: 8px 42px 8px 36px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.85rem;
    background: #ffffff;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
}

.qcsm-gallery-search-input:focus {
    border-color: #e60026;
    box-shadow: 0 0 0 3px rgba(230, 0, 38, 0.1);
}

.qcsm-gallery-search-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 0.85rem;
    pointer-events: none;
}

.qcsm-gallery-search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 32px;
    background: #e60026;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.2s;
}

.qcsm-gallery-search-btn:hover {
    background: #b9001f;
}

/* Year Section */
.qcsm-gallery-year-block {
    margin-bottom: 50px;
}

.qcsm-gallery-year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 8px;
}

.qcsm-gallery-year-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.qcsm-gallery-year-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0b2554;
    font-family: var(--font-heading);
    line-height: 1;
    margin: 0;
    letter-spacing: -0.5px;
}

.qcsm-gallery-year-dash {
    width: 44px;
    height: 3px;
    background: #e60026;
    border-radius: 2px;
}

.qcsm-gallery-year-count {
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
}

.qcsm-gallery-viewall-btn {
    padding: 6px 18px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0b2554;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.qcsm-gallery-viewall-btn:hover {
    border-color: #e60026;
    color: #e60026;
    background: #fff5f5;
}

/* Album Sub-block */
.qcsm-gallery-album-block {
    margin-bottom: 36px;
}

.qcsm-gallery-album-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.qcsm-gallery-album-date {
    font-weight: 800;
    color: #0b2554;
    border-bottom: 2px solid #e60026;
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qcsm-gallery-album-sep {
    color: #cbd5e1;
    font-weight: 300;
}

.qcsm-gallery-album-title {
    font-weight: 700;
    color: #1e293b;
}

.qcsm-gallery-album-photos {
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Gallery Photo Card */
.qcsm-gallery-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(11, 37, 84, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.qcsm-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(11, 37, 84, 0.1);
    border-color: #cbd5e1;
}

.qcsm-gallery-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    background: #f1f5f9;
    overflow: hidden;
}

.qcsm-gallery-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.qcsm-gallery-card:hover .qcsm-gallery-photo-wrap img {
    transform: scale(1.05);
}

.qcsm-gallery-zoom-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    background: rgba(11, 37, 84, 0.88);
    color: #ffffff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.qcsm-gallery-card:hover .qcsm-gallery-zoom-badge {
    background: #e60026;
    transform: scale(1.1);
}

.qcsm-gallery-condition-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: rgba(11, 37, 84, 0.85);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 6px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: calc(100% - 20px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}

.qcsm-gallery-card:hover .qcsm-gallery-condition-badge {
    background: #e60026;
    border-color: rgba(255, 255, 255, 0.35);
}

.qcsm-gallery-caption {
    padding: 12px 14px 14px 14px;
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.qcsm-gallery-meta-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.qcsm-gallery-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.qcsm-gallery-meta-tag.condition {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}

.qcsm-gallery-caption-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0b2554;
    line-height: 1.35;
    margin: 0;
}

/* Coming Soon Banner */
.qcsm-gallery-coming-soon {
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f2 100%);
    border: 1px solid #fee2e2;
    border-radius: 14px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.qcsm-gallery-coming-soon-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.qcsm-gallery-coming-soon-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid #fecaca;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e60026;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(230, 0, 38, 0.08);
}

.qcsm-gallery-coming-soon-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #e60026;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.qcsm-gallery-coming-soon-sub {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

/* Lightbox Modal Previous / Next Navigation */
.qcsm-lightbox-body-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    background: #090e17;
}

.qcsm-lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 37, 84, 0.82);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 1055;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.qcsm-lightbox-nav-btn:hover {
    background: #e60026;
    border-color: #e60026;
    color: #ffffff;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 6px 20px rgba(230, 0, 38, 0.5);
}

.qcsm-lightbox-prev {
    left: 18px;
}

.qcsm-lightbox-next {
    right: 18px;
}

@media (max-width: 768px) {
    .qcsm-lightbox-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    .qcsm-lightbox-prev {
        left: 8px;
    }
    .qcsm-lightbox-next {
        right: 8px;
    }
}

/* ==========================================================================
   DOWNLOADS PAGE (Matches Screenshot Exactly)
   ========================================================================== */

.qcsm-downloads-hero {
    background-color: #0b1a30;
    background-image: linear-gradient(90deg, rgba(11, 26, 48, 0.94) 0%, rgba(11, 26, 48, 0.8) 45%, rgba(11, 26, 48, 0.3) 100%), url('../images/banner/banner-about.jpg');
    background-size: cover;
    background-position: center right;
    padding: 65px 0 60px 0;
    color: #ffffff;
    position: relative;
}

.qcsm-downloads-hero .qcsm-breadcrumbs {
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.qcsm-downloads-hero .qcsm-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.qcsm-downloads-hero .qcsm-breadcrumbs a:hover {
    color: #ffffff;
}

.qcsm-downloads-hero .qcsm-breadcrumbs .crumb-active {
    color: #e60026;
    font-weight: 700;
}

.qcsm-downloads-hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
}

.qcsm-downloads-hero-subtitle {
    font-size: 1rem;
    color: #cbd5e1;
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 0;
}

.qcsm-downloads-section {
    background-color: #f1f5f9;
    padding: 50px 0 60px 0;
}

/* Sidebar Categories */
.qcsm-dl-sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(11, 37, 84, 0.04);
}

.qcsm-dl-sidebar-header {
    background-color: #0b1a30;
    color: #ffffff;
    padding: 16px 20px;
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.2px;
}

.qcsm-dl-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.qcsm-dl-sidebar-item {
    border-bottom: 1px solid #f1f5f9;
}

.qcsm-dl-sidebar-item:last-child {
    border-bottom: none;
}

.qcsm-dl-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.qcsm-dl-sidebar-link:hover {
    background-color: #f8fafc;
    color: #0b2554;
}

.qcsm-dl-sidebar-link.active {
    background-color: #e60026;
    color: #ffffff;
    font-weight: 700;
}

.qcsm-dl-sidebar-link.active .qcsm-dl-sidebar-icon,
.qcsm-dl-sidebar-link.active .qcsm-dl-sidebar-text,
.qcsm-dl-sidebar-link.active i {
    color: #ffffff !important;
}

.qcsm-dl-sidebar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qcsm-dl-sidebar-icon {
    width: 22px;
    text-align: center;
    font-size: 1.05rem;
    color: #64748b;
    flex-shrink: 0;
}

.qcsm-dl-sidebar-text {
    line-height: 1.35;
}

.qcsm-dl-sidebar-chevron {
    font-size: 0.82rem;
    color: #ffffff;
}

/* Header & Search */
.qcsm-dl-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.qcsm-dl-title-wrap {
    display: flex;
    flex-direction: column;
}

.qcsm-dl-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0b2554;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: -0.2px;
    margin-bottom: 5px;
}

.qcsm-dl-title-bar {
    width: 38px;
    height: 3px;
    background-color: #e60026;
    border-radius: 2px;
}

.qcsm-dl-search-form {
    display: flex;
    align-items: center;
    min-width: 280px;
    max-width: 340px;
    width: 100%;
}

.qcsm-dl-search-input {
    width: 100%;
    padding: 8px 14px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border: 1px solid #cbd5e1;
    border-right: none;
    font-size: 0.85rem;
    background: #ffffff;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
}

.qcsm-dl-search-input:focus {
    border-color: #e60026;
}

.qcsm-dl-search-btn {
    width: 40px;
    height: 37px;
    background: #e60026;
    border: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.qcsm-dl-search-btn:hover {
    background: #b9001f;
}

/* Document Cards */
.qcsm-dl-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 2px 8px rgba(11, 37, 84, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.qcsm-dl-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 37, 84, 0.08);
    border-color: #cbd5e1;
}

.qcsm-dl-card-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1 1 auto;
}

.qcsm-pdf-badge {
    width: 40px;
    height: 46px;
    background: #e60026;
    color: #ffffff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(230, 0, 38, 0.22);
}

.qcsm-pdf-badge i {
    font-size: 1.15rem;
    line-height: 1;
}

.qcsm-pdf-badge span {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2px;
    line-height: 1;
}

.qcsm-dl-card-body {
    flex: 1 1 auto;
}

.qcsm-dl-card-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    line-height: 1.35;
    margin-bottom: 5px;
}

.qcsm-dl-card-desc {
    font-size: 0.81rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 0;
}

.qcsm-dl-card-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.qcsm-dl-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    min-width: 105px;
}

.qcsm-dl-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qcsm-dl-meta-item i {
    color: #e60026;
    font-size: 0.85rem;
    width: 14px;
    text-align: center;
}

.qcsm-dl-btn {
    background-color: #e60026;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(230, 0, 38, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.qcsm-dl-btn:hover {
    background-color: #b9001f;
    color: #ffffff;
    transform: translateY(-1px);
}

.qcsm-dl-chevron-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.88rem;
    padding: 4px 6px;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qcsm-dl-chevron-btn:hover {
    color: #0b2554;
}

.qcsm-dl-chevron-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.qcsm-dl-chevron-btn i {
    transition: transform 0.25s ease;
}

/* Info Banner */
.qcsm-dl-info-banner {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 26px;
    box-shadow: 0 2px 8px rgba(11, 37, 84, 0.02);
}

.qcsm-dl-info-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qcsm-dl-info-icon {
    font-size: 2.2rem;
    color: #e60026;
    line-height: 1;
    flex-shrink: 0;
}

.qcsm-dl-info-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-bottom: 2px;
}

.qcsm-dl-info-desc {
    font-size: 0.84rem;
    color: #64748b;
    margin-bottom: 0;
}

.qcsm-dl-info-btn {
    background-color: #e60026;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 0.86rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(230, 0, 38, 0.2);
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.qcsm-dl-info-btn:hover {
    background-color: #b9001f;
    color: #ffffff;
}

@media (max-width: 991px) {
    .qcsm-dl-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .qcsm-dl-card-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        border-top: 1px solid #f1f5f9;
        padding-top: 12px;
        margin-top: 4px;
    }
    .qcsm-dl-meta {
        text-align: left;
    }
}

/* ==========================================================================
   CAREERS PAGE (Matches Screenshot Exactly)
   ========================================================================== */

.qcsm-careers-hero {
    background-color: #0b1a30;
    background-image: linear-gradient(90deg, rgba(11, 26, 48, 0.94) 0%, rgba(11, 26, 48, 0.8) 45%, rgba(11, 26, 48, 0.3) 100%), url('../images/banner/banner-about.jpg');
    background-size: cover;
    background-position: center right;
    padding: 65px 0 60px 0;
    color: #ffffff;
    position: relative;
}

.qcsm-careers-hero .qcsm-breadcrumbs {
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.qcsm-careers-hero .qcsm-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.qcsm-careers-hero .qcsm-breadcrumbs a:hover {
    color: #ffffff;
}

.qcsm-careers-hero .qcsm-breadcrumbs .crumb-active {
    color: #e60026;
    font-weight: 700;
}

.qcsm-careers-hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
    line-height: 1.15;
}

.qcsm-careers-hero-title .highlight-red {
    color: #e60026;
}

.qcsm-careers-hero-bar {
    width: 44px;
    height: 3.5px;
    background-color: #e60026;
    margin-top: 12px;
    margin-bottom: 14px;
    border-radius: 2px;
}

.qcsm-careers-hero-subtitle {
    font-size: 1rem;
    color: #cbd5e1;
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 0;
}

.qcsm-careers-section {
    background-color: #ffffff;
    padding: 60px 0 75px 0;
}

.qcsm-careers-header-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.qcsm-careers-main-title {
    font-size: 2.15rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-top: 8px;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.qcsm-careers-main-sub {
    font-size: 0.92rem;
    color: #64748b;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.55;
}

/* Accordion Card */
.qcsm-career-acc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(11, 37, 84, 0.03);
    transition: all 0.25s ease;
    overflow: hidden;
}

.qcsm-career-acc-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(11, 37, 84, 0.07);
}

.qcsm-career-acc-header {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    background: #ffffff;
    user-select: none;
}

.qcsm-career-acc-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qcsm-career-role-icon {
    width: 36px;
    font-size: 1.6rem;
    color: #e60026;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qcsm-career-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.qcsm-career-role-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-bottom: 0;
    line-height: 1.2;
}

.qcsm-career-pill-badge {
    background-color: #e60026;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.3;
}

.qcsm-career-acc-header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.qcsm-career-date-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
}

.qcsm-career-date-wrap i {
    color: #e60026;
    font-size: 0.88rem;
}

.qcsm-career-dl-btn {
    background-color: #e60026;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(230, 0, 38, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.qcsm-career-dl-btn:hover {
    background-color: #b9001f;
    color: #ffffff;
    transform: translateY(-1px);
}

.qcsm-career-toggle-btn {
    width: 34px;
    height: 34px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #e60026;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.qcsm-career-acc-header:hover .qcsm-career-toggle-btn {
    border-color: #e60026;
}

.qcsm-career-toggle-btn .icon-collapse-up {
    display: none;
}

.qcsm-career-toggle-btn .icon-collapse-plus {
    display: inline-block;
}

.qcsm-career-acc-header[aria-expanded="true"] .qcsm-career-toggle-btn .icon-collapse-up {
    display: inline-block;
}

.qcsm-career-acc-header[aria-expanded="true"] .qcsm-career-toggle-btn .icon-collapse-plus {
    display: none;
}

/* Accordion Body */
.qcsm-career-acc-body {
    padding: 0 24px 24px 24px;
}

.qcsm-career-desc-text {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.qcsm-career-spec-grid {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.qcsm-career-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.qcsm-career-spec-item:not(:last-child) {
    border-right: 1px solid #e2e8f0;
    padding-right: 12px;
}

.qcsm-career-spec-icon {
    color: #0b2554;
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.qcsm-career-spec-info {
    flex-grow: 1;
}

.qcsm-career-spec-label {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0b2554;
    margin-bottom: 2px;
}

.qcsm-career-spec-val {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.35;
    word-break: break-word;
}

/* General Instructions Box */
.qcsm-instructions-box {
    background: #f0f7ff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 30px;
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.qcsm-instructions-left {
    flex: 1 1 auto;
}

.qcsm-instructions-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.qcsm-instructions-icon {
    font-size: 2.2rem;
    color: #e60026;
    line-height: 1;
    flex-shrink: 0;
}

.qcsm-instructions-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-bottom: 0;
}

.qcsm-instructions-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.qcsm-instructions-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 0.83rem;
    color: #475569;
    line-height: 1.5;
}

.qcsm-instructions-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -2px;
    color: #e60026;
    font-size: 1.3rem;
    line-height: 1;
}

.qcsm-instructions-illu {
    flex-shrink: 0;
    opacity: 0.45;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qcsm-instructions-illu svg {
    width: 80px;
    height: 80px;
}

@media (max-width: 991px) {
    .qcsm-career-acc-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .qcsm-career-acc-header-right {
        width: 100%;
        justify-content: space-between;
        border-top: 1px solid #f1f5f9;
        padding-top: 12px;
        margin-top: 6px;
    }
    .qcsm-career-spec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .qcsm-career-spec-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .qcsm-career-spec-grid {
        grid-template-columns: 1fr;
    }
    .qcsm-career-spec-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 10px;
    }
    .qcsm-instructions-box {
        flex-direction: column;
    }
    .qcsm-instructions-illu {
        display: none;
    }
}

/* ==========================================================================
   CONTACT US PAGE (Professional Executive Design)
   ========================================================================== */

.qcsm-contact-hero {
    background-color: #0b1a30;
    background-image: linear-gradient(90deg, rgba(11, 26, 48, 0.94) 0%, rgba(11, 26, 48, 0.8) 45%, rgba(11, 26, 48, 0.3) 100%), url('../images/banner/banner-about.jpg');
    background-size: cover;
    background-position: center right;
    padding: 65px 0 60px 0;
    color: #ffffff;
    position: relative;
}

.qcsm-contact-hero .qcsm-breadcrumbs {
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.qcsm-contact-hero .qcsm-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.qcsm-contact-hero .qcsm-breadcrumbs a:hover {
    color: #ffffff;
}

.qcsm-contact-hero .qcsm-breadcrumbs .crumb-active {
    color: #e60026;
    font-weight: 700;
}

.qcsm-contact-hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
    line-height: 1.15;
}

.qcsm-contact-hero-title .highlight-red {
    color: #e60026;
}

.qcsm-contact-hero-bar {
    width: 44px;
    height: 3.5px;
    background-color: #e60026;
    margin-top: 12px;
    margin-bottom: 14px;
    border-radius: 2px;
}

.qcsm-contact-hero-subtitle {
    font-size: 1rem;
    color: #cbd5e1;
    max-width: 660px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact Info Quick Cards */
.qcsm-contact-cards-section {
    padding: 60px 0 50px 0;
    background-color: #ffffff;
}

.qcsm-contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(11, 37, 84, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.qcsm-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background-color 0.3s ease;
}

.qcsm-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(11, 37, 84, 0.1);
    border-color: #cbd5e1;
}

.qcsm-contact-card:hover::before {
    background: #e60026;
}

.qcsm-contact-icon-bubble {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #fff1f2;
    color: #e60026;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 18px;
    border: 1.5px solid #fecaca;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(230, 0, 38, 0.08);
}

.qcsm-contact-card:hover .qcsm-contact-icon-bubble {
    background: #e60026;
    color: #ffffff;
    border-color: #e60026;
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(230, 0, 38, 0.25);
}

.qcsm-contact-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.qcsm-contact-card-value {
    font-size: 0.88rem;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 6px;
}

.qcsm-contact-card-sub {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 14px;
}

.qcsm-contact-card-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #e60026;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.qcsm-contact-card-link:hover {
    gap: 8px;
    color: #b9001f;
}

/* Form & Map Section */
.qcsm-contact-main-section {
    background-color: #f8fafc;
    padding: 65px 0 75px 0;
    border-top: 1px solid #f1f5f9;
}

.qcsm-contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 38px 34px;
    box-shadow: 0 4px 20px rgba(11, 37, 84, 0.04);
    height: 100%;
}

.qcsm-contact-form-header {
    margin-bottom: 24px;
}

.qcsm-contact-form-title {
    font-size: 1.95rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.qcsm-contact-form-sub {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0;
}

.qcsm-contact-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
    display: block;
}

.qcsm-contact-label .req {
    color: #e60026;
}

.qcsm-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.qcsm-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.qcsm-contact-input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.88rem;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    outline: none;
}

.qcsm-contact-input.no-icon {
    padding-left: 14px;
}

.qcsm-contact-input:focus {
    border-color: #e60026;
    box-shadow: 0 0 0 3.5px rgba(230, 0, 38, 0.1);
}

.qcsm-input-wrap:focus-within .qcsm-input-icon {
    color: #e60026;
}

.qcsm-contact-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.88rem;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    outline: none;
    resize: vertical;
}

.qcsm-contact-textarea:focus {
    border-color: #e60026;
    box-shadow: 0 0 0 3.5px rgba(230, 0, 38, 0.1);
}

.qcsm-contact-submit-btn {
    background-color: #e60026;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(230, 0, 38, 0.25);
    transition: all 0.25s ease;
    cursor: pointer;
}

.qcsm-contact-submit-btn:hover {
    background-color: #b9001f;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 0, 38, 0.35);
}

.qcsm-contact-privacy-note {
    font-size: 0.77rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
}

/* Map Location Card */
.qcsm-contact-map-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11, 37, 84, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.qcsm-contact-map-frame {
    width: 100%;
    height: 310px;
    border: none;
    display: block;
}

.qcsm-contact-map-body {
    padding: 26px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
}

.qcsm-map-unit-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.qcsm-map-unit-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #ffe4e6;
    color: #e11d48;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.qcsm-map-unit-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-bottom: 4px;
}

.qcsm-map-unit-address {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 0;
}

.qcsm-map-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.qcsm-map-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qcsm-map-chip i {
    color: #e60026;
    font-size: 0.82rem;
}

.qcsm-map-directions-btn {
    background: #0b2554;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(11, 37, 84, 0.15);
}

.qcsm-map-directions-btn:hover {
    background: #071735;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(11, 37, 84, 0.25);
}

/* Department Support Section */
.qcsm-dept-section {
    padding: 70px 0;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.qcsm-dept-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(11, 37, 84, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qcsm-dept-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(11, 37, 84, 0.08);
    border-color: #cbd5e1;
}

.qcsm-dept-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #0b2554;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    transition: all 0.25s ease;
}

.qcsm-dept-card:hover .qcsm-dept-icon-box {
    background: #e60026;
    color: #ffffff;
    border-color: #e60026;
    transform: scale(1.08);
}

.qcsm-dept-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.qcsm-dept-desc {
    font-size: 0.81rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .qcsm-contact-form-card {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   LEGAL / POLICY PAGES (Terms & Conditions, Privacy Policy)
   ========================================================================== */

.qcsm-legal-hero {
    background-color: #0b1a30;
    background-image: linear-gradient(90deg, rgba(11, 26, 48, 0.94) 0%, rgba(11, 26, 48, 0.8) 45%, rgba(11, 26, 48, 0.3) 100%), url('../images/banner/banner-about.jpg');
    background-size: cover;
    background-position: center right;
    padding: 65px 0 60px 0;
    color: #ffffff;
    position: relative;
}

.qcsm-legal-hero .qcsm-breadcrumbs {
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.qcsm-legal-hero .qcsm-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.qcsm-legal-hero .qcsm-breadcrumbs a:hover {
    color: #ffffff;
}

.qcsm-legal-hero .qcsm-breadcrumbs .crumb-active {
    color: #e60026;
    font-weight: 700;
}

.qcsm-legal-hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
    line-height: 1.15;
}

.qcsm-legal-hero-title .highlight-red {
    color: #e60026;
}

.qcsm-legal-hero-bar {
    width: 44px;
    height: 3.5px;
    background-color: #e60026;
    margin-top: 12px;
    margin-bottom: 14px;
    border-radius: 2px;
}

.qcsm-legal-hero-subtitle {
    font-size: 1rem;
    color: #cbd5e1;
    max-width: 660px;
    line-height: 1.6;
    margin-bottom: 0;
}

.qcsm-legal-section {
    background-color: #f8fafc;
    padding: 60px 0 75px 0;
}

/* Legal Table of Contents Sidebar */
.qcsm-legal-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(11, 37, 84, 0.04);
    position: sticky;
    top: 90px;
}

.qcsm-legal-sidebar-header {
    background: #0b1a30;
    color: #ffffff;
    padding: 16px 20px;
    font-size: 1.08rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.2px;
}

.qcsm-legal-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 520px;
    overflow-y: auto;
}

.qcsm-legal-toc-item {
    border-bottom: 1px solid #f1f5f9;
}

.qcsm-legal-toc-item:last-child {
    border-bottom: none;
}

.qcsm-legal-toc-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.qcsm-legal-toc-link:hover {
    background-color: #fff5f5;
    color: #e60026;
    padding-left: 22px;
}

.qcsm-legal-toc-link.active {
    background-color: #e60026;
    color: #ffffff;
    font-weight: 700;
}

.qcsm-legal-toc-link.active i {
    color: #ffffff !important;
}

.qcsm-legal-toc-left {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qcsm-legal-toc-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: #e60026;
    background: #fff1f2;
    padding: 2px 6px;
    border-radius: 4px;
}

.qcsm-legal-toc-link.active .qcsm-legal-toc-num {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Numbered Policy Cards */
.qcsm-policy-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 26px 28px;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(11, 37, 84, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    scroll-margin-top: 100px;
}

.qcsm-policy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(11, 37, 84, 0.07);
    border-color: #cbd5e1;
}

.qcsm-policy-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.qcsm-policy-num-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #e60026;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--font-heading);
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(230, 0, 38, 0.25);
}

.qcsm-policy-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-bottom: 0;
}

.qcsm-policy-card-body {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0;
}

.qcsm-policy-card-body p:last-child {
    margin-bottom: 0;
}

/* Bottom Assistance Card */
.qcsm-legal-notice-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(11, 37, 84, 0.03);
}

.qcsm-legal-notice-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qcsm-legal-notice-icon {
    font-size: 2.2rem;
    color: #e60026;
    line-height: 1;
    flex-shrink: 0;
}

.qcsm-legal-notice-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0b2554;
    font-family: var(--font-heading);
    margin-bottom: 2px;
}

.qcsm-legal-notice-desc {
    font-size: 0.84rem;
    color: #64748b;
    margin-bottom: 0;
}

.qcsm-legal-notice-btn {
    background-color: #e60026;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 0.86rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(230, 0, 38, 0.2);
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.qcsm-legal-notice-btn:hover {
    background-color: #b9001f;
    color: #ffffff;
}

@media (max-width: 991px) {
    .qcsm-legal-sidebar-card {
        position: static;
        margin-bottom: 24px;
    }
}

/* ==========================================================================
   SITEMAP PAGE
   ========================================================================== */

.qcsm-sitemap-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(11, 37, 84, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qcsm-sitemap-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(11, 37, 84, 0.08);
    border-color: #cbd5e1;
}

.qcsm-sitemap-header {
    background: #0b1a30;
    color: #ffffff;
    padding: 14px 18px;
    font-size: 0.98rem;
    font-weight: 800;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
}

.qcsm-sitemap-list {
    list-style: none;
    margin: 0;
    padding: 12px 16px;
    flex-grow: 1;
}

.qcsm-sitemap-list li {
    margin-bottom: 8px;
}

.qcsm-sitemap-list li:last-child {
    margin-bottom: 0;
}

.qcsm-sitemap-list a {
    color: #475569;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.qcsm-sitemap-list a i {
    font-size: 0.72rem;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.qcsm-sitemap-list a:hover {
    color: #e60026;
    background: #fff5f5;
    padding-left: 12px;
}

.qcsm-sitemap-list a:hover i {
    color: #e60026;
    transform: translateX(2px);
}








