/* ==========================================================
    Base / Shared
    (.section-padding / .section-header) — reused by sections
    1, 2, 4, 5, 6 and 7 below.
    ========================================================== */
.section-padding {
    padding: clamp(32px, 20px + 4vw, 60px) 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .sub-title {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(6, 80, 143, 0.12);
    border: 1px solid rgba(6, 80, 143, 0.22);
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.12;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: #667085;
    max-width: 820px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.75;
}

@media (max-width: 1199.98px) {
    .section-header h2 {
        font-size: 42px;
    }
}

@media (max-width: 991.98px) {
    .section-header h2 {
        font-size: 36px;
    }

    .section-header p {
        font-size: 15px;
    }
}

@media (max-width: 767.98px) {
    .section-header {
        margin-bottom: 45px;
    }

    .section-header h2 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .section-header .sub-title {
        font-size: 12px;
        padding: 6px 12px;
    }

    .section-header p {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 575.98px) {
    .section-header {
        margin-bottom: 35px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .section-header p {
        font-size: 14px;
    }
}

@media (max-width: 479.98px) {
    .section-header h2 {
        font-size: 24px;
    }
}

/* ==========================================================
    2. Mission, Vision & Values
    ========================================================== */
.service-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(6, 80, 143, 0.15);
    border-color: var(--primary);
}

.service-card h3 {
    font-size: clamp(18px, 15px + 1vw, 22px);
}

.service-icon {
    font-size: clamp(36px, 28px + 2vw, 50px);
    color: var(--primary);
    margin-bottom: clamp(16px, 10px + 2vw, 25px);
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Core Values checklist: a wrapping flex row so items flow one
    after another and drop onto additional lines instead of
    overflowing the card when they don't all fit on one row. */
.core-values-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px 18px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.core-values-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.core-values-list li i {
    flex-shrink: 0;
}

/* ==========================================================
    3. Why Choose Us (USP)
    ========================================================== */
.why-us-section {
    background-color: var(--secondary);
    color: var(--white);
    padding: clamp(30px, 12px + 4vw, 60px) 0;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: clamp(16px, 10px + 1.5vw, 20px);
    transition: transform 0.3s ease;
}

.why-feature:last-child {
    margin-bottom: 0;
}

.why-feature:hover {
    transform: translateX(10px);
}

.why-icon {
    min-width: clamp(44px, 34px + 2vw, 60px);
    height: clamp(44px, 34px + 2vw, 60px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 14px + 1vw, 24px);
    color: var(--primary);
    margin-right: clamp(12px, 8px + 1vw, 20px);
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.why-feature:hover .why-icon {
    background: var(--primary);
    color: var(--white);
}

/* .why-text h4 had no font-size of its own, so it was silently
    inheriting the theme's global h4 default from main.css instead
    of scaling with the rest of this card. */
.why-text h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: clamp(16px, 13px + 1vw, 20px);
}

.why-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(13px, 12px + 0.4vw, 15px);
    line-height: 1.6;
}

/* ==========================================================
    4. Infrastructure & Capacity
    ========================================================== */
.stat-box {
    background-color: #eee;
    border-radius: 0.375rem;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.stat-box h4 {
    font-size: clamp(22px, 18px + 2vw, 30px);
}

/* ==========================================================
    5. Quality Control Process
    ========================================================== */
.process-step {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: clamp(20px, 14px + 2vw, 30px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-10px);
}

.process-step h5 {
    font-size: clamp(15px, 13px + 0.8vw, 18px);
    margin-bottom: 8px;
}

.step-num {
    width: clamp(38px, 30px + 1.5vw, 50px);
    height: clamp(38px, 30px + 1.5vw, 50px);
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto clamp(14px, 10px + 1vw, 20px);
    box-shadow: 0 5px 15px rgba(6, 80, 143, 0.3);
    font-size: clamp(16px, 14px + 0.6vw, 20px);
}

/* ==========================================================
    6. Compliance & Global Reach
    --timeline-indent drives both the left padding and the dot's
    offset from one source, so they can never drift out of sync
    while the indent itself shrinks on narrow screens.
    ========================================================== */
.history-timeline {
    --timeline-indent: clamp(20px, 14px + 1.5vw, 30px);
    position: relative;
    padding-left: var(--timeline-indent);
    border-left: 2px solid var(--primary);
}

.history-item {
    position: relative;
    margin-bottom: clamp(26px, 20px + 2vw, 40px);
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--timeline-indent) - 8px);
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary);
}

.history-item h5 {
    font-size: clamp(16px, 14px + 0.6vw, 19px);
    margin-bottom: 6px;
}

/* ==========================================================
    7. Leadership & CTA
    ========================================================== */
.cta-section {
    background: linear-gradient(rgba(6, 80, 143, 0.9), rgba(4, 59, 102, 0.95));
    text-align: center;
    color: var(--white);
}

.cta-section h3 {
    font-size: clamp(22px, 18px + 2vw, 30px);
}
