/* Services section styles moved from templates/app_core/snippets/services.html */

/* ── Services Section ─────────────────────────────────────── */
#services-sec {
    background: #0a0a0a;
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
    font-family: var(--body-font);
}

#services-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(254,0,0,0.08) 0%, transparent 65%);
    pointer-events: none;
}

/* Section header */
.srv-header {
    text-align: center;
    margin-bottom: 52px;
}

/* Tab filter pills */
.srv-tabs-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.srv-tabs-wrap .srv-pill {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.60);
    border-radius: 999px;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}
.srv-tabs-wrap .srv-pill:hover {
    border-color: rgba(254,0,0,0.55);
    color: #fff;
}
.srv-tabs-wrap .srv-pill.active {
    background: #fe0000;
    border-color: #fe0000;
    color: #fff;
    box-shadow: 0 4px 20px rgba(254,0,0,0.35);
}

/* Cards */
.srv-cards-area .tab-pane {
    animation: srvFadeUp .4s ease both;
}
@keyframes srvFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.srv-card {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.srv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.55);
    border-color: rgba(254,0,0,0.35);
}

/* Image */
.srv-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.srv-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.srv-card:hover .srv-card__img img {
    transform: scale(1.06);
}
.srv-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fe0000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
}

/* Body */
.srv-card__body {
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.srv-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
    font-family: var(--title-font);
}
.srv-card__desc {
    font-size: 14px;
    color: rgba(255,255,255,0.50);
    line-height: 1.75;
    margin: 0 0 22px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.srv-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.srv-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color .2s, gap .2s;
}
.srv-card__link:hover {
    color: #fe0000;
    gap: 12px;
}
.srv-card__link svg {
    flex-shrink: 0;
    transition: transform .2s;
}
.srv-card__link:hover svg {
    transform: translateX(3px);
}
.srv-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(254,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .25s;
}
.srv-card:hover .srv-card__icon {
    background: rgba(254,0,0,0.25);
}

/* Subservices chips */
.srv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.srv-chip {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    padding: 3px 10px;
    letter-spacing: .3px;
}

/* ── Larger typography for services section ── */
#services-sec .sub-title.style4.text-white {
    font-size: 15px;
}

#services-sec .sec-title {
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.05;
}

.srv-tabs-wrap .srv-pill {
    font-size: 16px;
    padding: 10px 28px;
}

.srv-card__title {
    font-size: 26px;
}

.srv-card__desc {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
}

.srv-card__link {
    font-size: 16px;
}

/* ── CTA card styles ── */
.srv-card--cta {
    padding: 36px 32px;
}
.srv-card--cta .srv-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.srv-card--cta .srv-cta-pre {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}
.srv-card--cta .srv-cta-title {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    font-family: var(--title-font);
}
.srv-card--cta .srv-cta-text {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.65;
}
.srv-card--cta .srv-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #fe0000;
    font-size: 18px;
    font-weight: 800;
    padding: 14px 30px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    transition: transform .2s, box-shadow .2s;
    align-self: flex-start;
}
.srv-card--cta .srv-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    color: #fe0000;
}

@media (max-width: 767px) {
    #services-sec .sec-title {
        font-size: clamp(30px, 8vw, 46px);
    }
    .srv-tabs-wrap .srv-pill {
        font-size: 14px;
        padding: 8px 18px;
    }
    .srv-card__title { font-size: 22px; }
    .srv-card__desc  { font-size: 15px; }
    .srv-card--cta .srv-cta-title { font-size: 26px; }
    .srv-card--cta .srv-cta-btn   { padding: 12px 24px; font-size: 15px; }
}
