/* ========================================
   services.css - Alliance Global
   Services Page Styles
   ======================================== */

/* Page Hero & Breadcrumb styles moved to style.css */

/* ========================================
   SERVICES PAGE SECTION
   ======================================== */
.services-page-section {
    padding: 60px 0;
    background: #ffffff;
}

.section-header {
    margin-bottom: 50px;
}

.section-header .section-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(183, 147, 72, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--accent);
}

.section-header .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-header .section-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--primary), #a3842f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-muted);
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ========================================
   SERVICE CARD
   ======================================== */
.service-page-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-light);
}

.service-page-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(7, 41, 98, 0.03), rgba(183, 147, 72, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-page-card:hover::after {
    opacity: 1;
}

.service-page-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(7, 41, 98, 0.12);
    border-color: var(--accent);
    background: #ffffff;
}

.service-page-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-page-card:hover .service-page-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(7, 41, 98, 0.3);
}

.service-page-number {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 700;
    color: rgba(7, 41, 98, 0.04);
    position: absolute;
    top: 15px;
    right: 20px;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 1;
}

.service-page-card:hover .service-page-number {
    color: rgba(183, 147, 72, 0.15);
    transform: scale(1.1);
}

.service-page-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-page-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process-section {
    padding: 60px 0;
    background: var(--bg-light);
}

/* ========================================
   PROCESS SECTION (Timeline)
   ======================================== */
.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Connecting Line — endpoints tucked under the outer circles so no stray tips show */
.process-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10.5%;
    right: 10.5%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
    border-radius: 2px;
    z-index: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* Step Icon Circle */
.step-icon-wrap {
    width: 72px;
    height: 72px;
    background: #ffffff;
    border: 3px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.step-icon-wrap i {
    font-size: 24px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon-wrap {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(7, 41, 98, 0.3);
}

.process-step:hover .step-icon-wrap i {
    color: white;
}

/* Step Number Badge */
.step-number {
    position: absolute;
    top: -6px;
    right: calc(50% - 46px);
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(183, 147, 72, 0.45);
}

/* Step Content */
.step-content {
    margin-top: 8px;
}

.step-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.35;
}

.step-content p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 210px;
    margin: 0 auto;
}

/* Connector (hidden on desktop — line replaces it) */
.process-connector {
    display: none;
}

/* CTA styles moved to style.css */

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .process-grid::before {
        top: 36px;
        bottom: 36px;
        left: 36px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .process-step {
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
        padding: 16px 0;
        width: 100%;
        max-width: 400px;
    }

    .step-icon-wrap {
        margin: 0;
        min-width: 72px;
    }

    .step-number {
        top: -6px;
        right: -6px;
        left: auto;
    }

    .step-content p {
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .services-page-section,
    .process-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .services-page-section,
    .process-section {
        padding: 30px 0;
    }

    .services-page-grid {
        grid-template-columns: 1fr;
    }

    .service-page-card {
        padding: 30px 20px;
    }
}
