/* ═══════════════════════════════════════
   SERVICES SECTION — The Bird Studio
   ═══════════════════════════════════════ */

/* ─── Section wrapper ─── */

/* ─── Section headings ─── */
.services-hd {
    text-align: center;
}

.services-hd .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.services-hd .eyebrow-line {
    width: 38px;
    height: 1.5px;
    background: #662D91;
}

.services-hd .eyebrow-text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #662D91;
}

.services-hd h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 700;
    color: #662D91;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.services-hd .services-sub {
    font-size: 1.02rem;
    color: #662D91;
    max-width: 460px;
    margin-inline: auto;
    line-height: 1.78;
    font-weight: 300;
}


/* ─── Individual card ─── */
.svc-card {
    background: #FFFFFF;
    /* gold top accent */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Decorative number watermark */
.svc-card::before {
    content: attr(data-num);
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 3.6rem;
    font-weight: 700;
    color: rgba(200, 164, 74, 0.09);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

/* ─── Hover: lift + deeper shadow ─── */
.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 56px rgba(32, 24, 16, 0.16);
}

/* ─── Icon ─── */
.svc-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
    line-height: 1;
    /* Wrap in a styled badge */
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #662D91, #FFFFFF);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.svc-card:hover .svc-icon {
    background: linear-gradient(135deg, #662D91, #FFFFFF);
    box-shadow: 0 4px 18px rgba(200, 164, 74, 0.28);
}

/* ─── Card title ─── */
.svc-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #662D91;
    margin-bottom: 14px;
    line-height: 1.3;
}

/* ─── Card description ─── */
.svc-card p {
    font-size: 0.91rem;
    color: black;
    line-height: 1.78;
    margin-bottom: 24px;
}

/* ─── Tags ─── */
.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.svc-tag {
    padding: 4px 13px;
 
    background: rgba(102, 45, 145, 0.1);
    font-size: 0.73rem;
    font-weight: 500;
    color: black;
}

/* ─── CTA link ─── */
.svc-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(236, 33, 124, .97);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.svc-card:hover .svc-cta {
    gap: 12px;
}

/* ─── Responsive: 1 column on mobile ─── */
@media (max-width: 580px) {

    .svc-card {
        padding: 32px 28px;
    }
}

.wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    min-height: 100vh;
    /* Center vertically and horizontally */
}

.wrapper i {
    height: 56px;
    width: 56px;
    background: var(--bird-pink, #EC217C);
    color: #fff;
    text-align: center;
    line-height: 56px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    font-size: 2.2rem;
    transform: translateY(-50%);
    box-shadow: 0 3px 12px rgba(236, 33, 124, 0.23);
    z-index: 2;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.wrapper i:hover {
    background: var(--bird-purple, #662D91);
    color: #fff;
    box-shadow: 0 6px 18px rgba(102, 45, 145, 0.28);
}

.wrapper i:first-child {
    left: -22px;
}

.wrapper i:last-child {
    right: -22px;
}

.wrapper .carousel {
    display: flex;
    flex-direction: row;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    width: 100%;
    padding: 32px 0;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel li {
    scroll-snap-align: start;
    list-style: none;
    min-width: 380px;
    max-width: 420px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.svc-card {
    width: 100%;
    min-width: 340px;
    max-width: 420px;
    height: 100%;
    background: #fff;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.svc-card::before {
    content: attr(data-num);
    position: absolute;
    right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 3.6rem;
    font-weight: 700;
    color: rgba(200, 164, 74, 0.09);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 56px rgba(32, 24, 16, 0.16);
}

.svc-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, #662D91, #FFFFFF);
    border: 1px solid rgba(200, 164, 74, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.svc-card:hover .svc-icon {
    background: linear-gradient(135deg, #662D91, #FFFFFF);
    box-shadow: 0 4px 18px rgba(200, 164, 74, 0.28);
}

.svc-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #662D91;
    margin-bottom: 14px;
    line-height: 1.3;
}

.svc-card p {
    font-size: 0.91rem;
    color: black;
    line-height: 1.78;
    margin-bottom: 24px;
}

.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.svc-tag {
    padding: 4px 13px;
    border-radius: 50px;
    background: rgba(102, 45, 145, 0.1);
    font-size: 0.73rem;
    font-weight: 500;
    color: black;
}

.svc-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(236, 33, 124, .97);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.svc-card:hover .svc-cta {
    gap: 12px;
}

.carousel :where(.card, .img) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel.no-transition {
    scroll-behavior: auto;
}

.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

@media (max-width: 900px) {
    .carousel li {
        min-width: 220px;
        max-width: 240px;
    }
    .svc-card {
        min-width: 220px;
        max-width: 240px;
    }
}

@media (max-width: 600px) {
    .carousel li {
        min-width: 100%;
        max-width: 100%;
    }
    .svc-card {
        min-width: 100%;
        max-width: 100%;
    }
}