/**
 * Services Page Styles
 *
 * @package 3DM_Express
 */

/* ============================================================
   Page Hero
   ============================================================ */

.services-hero {
    background: #1B2A4A url('../../../assets/images/services-bg.jpg') no-repeat center center / cover;
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 42, 74, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    z-index: 1;
}

.services-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF6B00, #FF8C33, #FF6B00);
    z-index: 2;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.services-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-weight: 400;
    max-width: 540px;
    margin-inline: auto;
    line-height: 1.6;
}

/* ============================================================
   Services Intro
   ============================================================ */

.services-intro {
    padding: 5rem 0 3rem;
    background-color: #FFFFFF;
    text-align: center;
}

.services-intro__inner {
    max-width: 720px;
    margin: 0 auto;
}

.services-intro__label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FF6B00;
    margin-bottom: 0.75rem;
}

.services-intro__heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #1B2A4A;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

.services-intro__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4A5568;
    margin: 0;
}

/* ============================================================
   Service Cards
   ============================================================ */

.services-list {
    padding: 2rem 0 5rem;
    background-color: #FFFFFF;
}

.services-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    background-color: #F8F9FA;
    border-radius: 12px;
    border-left: 4px solid #FF6B00;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.services-card:last-child {
    margin-bottom: 0;
}

.services-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background-color: #FFFFFF;
}

.services-card__icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #1B2A4A 0%, #2D4373 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: transform 0.3s ease;
}

.services-card:hover .services-card__icon {
    transform: scale(1.06);
}

.services-card__content {
    flex: 1;
    min-width: 0;
}

.services-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1B2A4A;
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.services-card__text {
    font-size: 1rem;
    line-height: 1.75;
    color: #4A5568;
    margin: 0;
}

/* Alternating card accent for visual variety */
.services-card:nth-child(even) {
    border-left-color: #1B2A4A;
}

.services-card:nth-child(even) .services-card__icon {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8C33 100%);
}

/* ============================================================
   Partnership Section
   ============================================================ */

.services-partnership {
    padding: 5rem 0;
    background-color: #F8F9FA;
}

.services-partnership__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.services-partnership__label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FF6B00;
    margin-bottom: 0.75rem;
}

.services-partnership__heading {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: #1B2A4A;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

.services-partnership__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4A5568;
    margin: 0 0 1.5rem;
}

.services-partnership__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-partnership__list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #4A5568;
}

.services-partnership__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background-color: #FF6B00;
    border-radius: 50%;
}

.services-partnership__list li:last-child {
    margin-bottom: 0;
}

.services-partnership__image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.services-partnership__stats {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.services-partnership__stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #FFFFFF;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-partnership__stat:hover {
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.services-partnership__stat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FF6B00 0%, #FF8C33 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.services-partnership__stat-label {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1B2A4A;
}

/* ============================================================
   CTA Section
   ============================================================ */

.services-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1B2A4A 0%, #0F172A 100%);
    text-align: center;
}

.services-cta__inner {
    max-width: 640px;
    margin: 0 auto;
}

.services-cta__heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.services-cta__text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2rem;
}

.services-cta__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.services-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    letter-spacing: 0.01em;
}

.services-cta__btn--primary {
    background-color: #FF6B00;
    color: #FFFFFF;
}

.services-cta__btn--primary:hover,
.services-cta__btn--primary:focus {
    background-color: #E55E00;
    transform: translateY(-2px);
    color: #FFFFFF;
    text-decoration: none;
}

.services-cta__btn--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.services-cta__btn--secondary:hover,
.services-cta__btn--secondary:focus {
    border-color: #FFFFFF;
    transform: translateY(-2px);
    color: #FFFFFF;
    text-decoration: none;
}

/* ============================================================
   Scroll Reveal
   ============================================================ */

.services-card,
.services-partnership__inner,
.services-cta__inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.services-card.is-visible,
.services-partnership__inner.is-visible,
.services-cta__inner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
    .services-hero {
        padding: 3.5rem 0 3rem;
    }

    .services-intro,
    .services-cta {
        padding: 3.5rem 0;
    }

    .services-list {
        padding: 1.5rem 0 3.5rem;
    }

    .services-partnership {
        padding: 3.5rem 0;
    }

    .services-card {
        flex-direction: column;
        gap: 1.25rem;
        padding: 2rem 1.5rem;
    }

    .services-card__icon {
        width: 56px;
        height: 56px;
    }

    .services-card__icon svg {
        width: 28px;
        height: 28px;
    }

    .services-partnership__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .services-cta__btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 2.5rem 0 2rem;
    }

    .services-intro,
    .services-partnership,
    .services-cta {
        padding: 2.5rem 0;
    }

    .services-list {
        padding: 1rem 0 2.5rem;
    }

    .services-card {
        padding: 1.5rem 1.25rem;
        margin-bottom: 1.25rem;
    }
}
