/* ---------------------------------- */
/* Scrollable Services Section Styles */
/* ---------------------------------- */

.services-section {
    background-color: #FAF8F5; /* Warm off-white background */
    /* Custom brand gold grid pattern overlay */
    background-image: 
        linear-gradient(rgba(234, 161, 15, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(234, 161, 15, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
    color: var(--color-black);
    padding: 40px 0 120px 0; /* Increased bottom space */
    position: relative;
    z-index: 20;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1440px; /* Increased for wider card area */
    margin: 0 auto;
    padding: 0 16px; /* Reduced padding for more horizontal space */
    position: relative; /* Context for absolute slider arrows */
}

/* Centered Header Group */
.services-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 20px; /* Reduced margin to bring cards closer to text */
    position: relative;
    z-index: 5;
}

/* Centered Chip badge */
.services-chip {
    background-color: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #2c2e30;
    padding: 6px 14px;
    border-radius: var(--border-radius-pill);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: center !important; /* Force center alignment */
}

.services-chip .badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-gold-start);
    border-radius: 50%;
    display: inline-block;
    animation: dot-blink 1.4s infinite ease-in-out;
}

.services-title {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 5vw, 2.1rem); /* Dynamic sizing */
    font-weight: 900;
    color: #0b0c0d;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-top: 8px;
    white-space: nowrap; /* Force one line */
}

/* Premium Gold Text Clip Gradient matching logo */
.services-title span {
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Centered gold line divider directly under services main title */
.header-gold-bar {
    width: 45px;
    height: 3px;
    background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-end));
    margin: 14px auto 8px auto;
    border-radius: 1.5px;
}

.services-subtitle {
    font-family: var(--font-primary);
    font-size: 0.92rem;
    color: #4b5563; /* Slate gray */
    line-height: 1.5;
    font-weight: 500;
    max-width: 580px;
}

/* Slider Navigation Controls on Left & Right Sides */
.services-slider-controls {
    position: absolute;
    top: 64%;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
    z-index: 15;
    width: calc(100% - 20px);
}

.services-control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    pointer-events: auto; /* Enable clicks */
}

.services-control-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.services-control-btn:hover {
    background: #ea580c;
    color: #ffffff;
    border-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.25);
}

.services-control-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .services-slider-controls {
        display: none;
    }
}

/* Horizontal Scroll wrapper - Converted to static container */
.services-scroll-wrapper {
    width: 100%;
    z-index: 5;
    margin-top: 30px;
}

/* Converted to a 4-column Grid Layout */
.services-scroll-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    padding: 15px 4px 35px 4px; /* Space for shadow rendering */
}

@media (max-width: 1024px) {
    .services-scroll-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-scroll-track {
        grid-template-columns: 1fr;
    }
}

/* Individual Scrollable Card Styling - Premium Left-Aligned Editorial Style */
.service-scroll-card {
    width: 100%;
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: auto;
}

.service-scroll-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(234, 161, 15, 0.05); /* Soft premium warm gold glow */
    border-color: rgba(234, 161, 15, 0.25);
}

/* Card Top Row: Holds Icon & Number */
.service-card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
}

/* Premium Left-aligned Icon Box */
.service-card-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px; /* Smooth rounded square instead of raw circle */
    background-color: rgba(234, 161, 15, 0.05);
    color: var(--color-gold-start);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-svg {
    width: 22px;
    height: 22px;
}

.service-scroll-card:hover .service-card-icon-wrapper {
    background-color: var(--color-gold-start);
    color: var(--color-white);
}

/* Minimalist Editorial Number Badge */
.service-card-number {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 800;
    color: rgba(234, 161, 15, 0.25);
    letter-spacing: -0.02em;
    transition: var(--transition-smooth);
}

.service-scroll-card:hover .service-card-number {
    color: var(--color-gold-start);
}

/* Headline & Info (Left-aligned) */
.service-card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card-headline {
    font-family: var(--font-primary);
    font-size: 1.18rem;
    font-weight: 800;
    color: #0b0c0d;
    line-height: 1.3;
    margin: 0 0 10px 0;
    letter-spacing: -0.01em;
}

/* Body Text Description (Left-aligned) */
.service-card-body-text {
    font-family: var(--font-primary);
    font-size: 0.82rem;
    color: #4b5563;
    line-height: 1.55;
    margin: 0;
    font-weight: 500;
}

/* CTA Pill Button (Book a Call) */
.services-action {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    position: relative;
    z-index: 5;
}

.btn-book-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--color-white);
    border: 1.5px solid var(--color-gold-start); /* Gold border outline */
    color: #111111;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 13px 40px;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: var(--transition-smooth);
}

.btn-book-call:hover {
    background-color: #111111;
    color: var(--color-white);
    border-color: #111111;
    transform: translateY(-2px);
}

.btn-book-call:hover .arrow-right-icon {
    transform: translateX(4px);
    color: var(--color-gold-start); /* Gold arrow glow on hover */
}

/* Responsive Padding tweaks */
@media (max-width: 768px) {
    .services-scroll-track {
        padding: 10px 24px 20px 24px;
    }
}

/* Slider container wrapper */
.services-slider-container {
    position: relative;
    width: 100%;
}

/* Left / Right scroll arrows */
.services-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0A0A0A;
    transition: var(--transition-smooth);
    z-index: 10;
}

.services-arrow:hover {
    background-color: var(--color-gold-start);
    border-color: var(--color-gold-start);
    color: #000000;
    box-shadow: 0 6px 16px rgba(234, 161, 15, 0.25);
}

.services-arrow svg {
    width: 18px;
    height: 18px;
}

.services-arrow-left {
    left: -22px;
}

.services-arrow-right {
    right: -22px;
}

@media (max-width: 992px) {
    .services-arrow {
        display: none; /* Hide arrows on smaller viewports where swipe is natural */
    }
}

