/* ===================================
   SERVICES PAGE STYLES
   =================================== */

:root {
    --color-service-teal: #1BA89C;
    --color-service-orange: #f37021;
    --color-service-bg: #f5f7fa;
    --color-service-text: #333333;
    --color-service-text-light: #666666;
}

/* Hero Section */
.services-hero {
    background-color: var(--color-service-teal);
    padding: var(--space-24) 0 160px;
    /* Increase bottom padding to accommodate cards */
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    min-height: auto;
}

.services-hero__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    font-family: 'Poppins', sans-serif;
    color: white;
}

.services-hero__subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.5;
    opacity: 1;
    color: white;
}

/* Services Grid Section */
.services-section {
    padding: 0 0 100px;
    background-color: #ffffff;
    /* White background for the rest of the page */
    background-image: url('../assets/chapeauBG.png');
    background-repeat: no-repeat;
    background-position: center 200px;
    /* Centered behind the cards, slightly offset from top */
    background-size: 80%;
    /* Large enough to be behind the cards */
    position: relative;
    margin-top: -120px;
    /* Pull the grid up so it's half on teal, half on white */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
    position: relative;
    z-index: 2;
    /* Ensure cards stay on top */
}

.service-card {
    background: #f2f2f2;
    border-radius: 60px;
    padding: 50px 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border for structure */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

/* Left column cards: orange border only on the left */
.services-grid .service-card:nth-child(odd) {
    border: none;
    border-left: 10px solid var(--color-service-orange);
}

/* Right column cards: orange border only on the right */
.services-grid .service-card:nth-child(even) {
    border: none;
    border-right: 10px solid var(--color-service-orange);
}

/* Response fix for mobile: in 1 column, all borders should be on the left */
@media (max-width: 900px) {

    .services-grid .service-card:nth-child(even),
    .services-grid .service-card:nth-child(odd) {
        border-right: none;
        border-left: 8px solid var(--color-service-orange);
    }
}

.service-card:hover {
    transform: scale(1.02);
}

.service-card__title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.1;
}

.service-card__desc {
    color: #444;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 90%;
}

.service-card__list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    flex-grow: 1;
    text-align: left;
    width: 100%;
    max-width: 400px;
}

.service-card__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

.service-card__list li::before {
    content: '•';
    color: var(--color-service-teal);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

.service-card__badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.service-badge {
    background-color: var(--color-service-teal);
    color: white;
    padding: 12px 25px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 35px 25px;
        border-radius: 40px;
        border-width: 6px;
    }

    .service-card__title {
        font-size: 1.6rem;
    }

    .service-card__desc {
        font-size: 1rem;
    }

    .service-badge {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}

/* Responsive adjustments continued */
.how-to-start {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.how-to-start__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-service-text);
    margin-bottom: 15px;
}

.how-to-start__subtitle {
    color: var(--color-service-text-light);
    margin: 0 auto 60px;
    font-size: 1.1rem;
    max-width: 600px;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
}



.step-card {
    background: white;
    padding: 60px 40px;
    border-radius: 60px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-card__number {
    width: 80px;
    height: 80px;
    background-color: var(--color-service-orange);
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
}

.step-card__title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #000;
}

.step-card__desc {
    font-size: 1.05rem;
    color: #888;
    line-height: 1.4;
    max-width: 250px;
}

/* CTA Section */
.services-cta {
    padding: 100px 0 140px;
    background-color: white;
    text-align: center;
}

.services-cta__title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #000;
    font-family: 'Poppins', sans-serif;
}

.services-cta__subtitle {
    margin: 0 auto 50px;
    color: #888;
    text-align: center;
    max-width: 700px;
    font-size: 1.2rem;
    font-weight: 500;
}

.services-cta__actions {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.btn-cta {
    padding: 20px 50px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    min-width: 280px;
    display: inline-block;
}

.btn-cta--teal {
    background: linear-gradient(to right, #1ba89c, #45aca3);
    color: white;
    border: none;
}

.btn-cta--orange {
    background: linear-gradient(to right, #f37021, #ffb347);
    color: white;
    border: none;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    filter: brightness(1.05);
}

/* Responsive adjustments */
/* Responsive Updates */
@media (max-width: 1024px) {
    .header {
        position: fixed !important;
        top: 0 !important;
    }

    .services-hero {
        padding-top: var(--space-32);
    }

    .services-hero__title {
        font-size: 3rem;
    }

    .services-grid {
        gap: 40px 30px;
        padding: 0 20px;
    }

    .steps-grid {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .services-hero__title {
        font-size: 2.22rem;
        padding: 0 15px;
    }

    .services-hero__subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .services-section {
        margin-top: -80px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 35px 25px;
        border-radius: 40px;
        border-left: 8px solid var(--color-service-orange) !important;
        border-right: none !important;
    }

    .service-card__title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .service-card__desc {
        font-size: 1rem;
        max-width: 100%;
    }

    .service-badge {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .how-to-start {
        padding: 60px 0;
    }

    .how-to-start__title {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 30px;
    }

    .step-card {
        padding: 40px 25px;
        border-radius: 40px;
    }

    .step-card__number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .step-card__title {
        font-size: 1.5rem;
    }

    .services-cta {
        padding: 60px 20px;
    }

    .services-cta__title {
        font-size: 2rem;
    }

    .services-cta__actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-cta {
        width: 100%;
        max-width: 320px;
        min-width: unset;
        padding: 16px 30px;
    }
}

@media (max-width: 480px) {
    .services-hero__title {
        font-size: 1.8rem;
    }

    .services-section {
        margin-top: -60px;
    }
}