/*===================================================
    Services Page - Professional & Unique Styling
    Gapat Engineering Pvt. Ltd.
====================================================*/

:root {
    --primary-color: #089fac;
    --primary-hover: #07828d;
    --dark-navy: #141f2b;
    --card-dark: #1a2734;
    --heading-dark: #1e293b;
    --text-body: #475569;
    --border-light: #e2e8f0;
    --accent-gold: #ffaa17;
}

/* ===================================================
   1. Services Hero Header - Luminous & Modern
=================================================== */
.services-hero-header {
    position: relative;
    padding: 65px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e8edf3 100%);
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    color: #1e293b;
    z-index: 1 !important;
}

.services-hero-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(8, 159, 172, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(8, 159, 172, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 1;
}

.services-hero-header .hero-watermark {
    position: absolute;
    inset: 0;
    background-image: url(../img/page-header.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    filter: grayscale(100%);
    z-index: 0;
}

.services-hero-header .container {
    position: relative;
    z-index: 2;
}

/* Breadcrumb Capsule */
.services-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.services-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.25s ease;
}

.services-breadcrumb a:hover {
    color: #07828d;
}

.services-breadcrumb i {
    font-size: 11px;
    color: #94a3b8;
}

.services-breadcrumb span {
    color: #1e293b;
    font-weight: 600;
}

/* Category Badge */
.services-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 159, 172, 0.1);
    border: 1px solid rgba(8, 159, 172, 0.35);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.services-badge-tag i {
    font-size: 15px;
    color: var(--accent-gold);
}

/* Title & Description */
.services-hero-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    color: #1e293b;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.services-hero-title span {
    color: var(--primary-color);
}

.services-hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    max-width: 760px;
    margin-bottom: 22px;
}

/* Feature Pills in Hero */
.services-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.services-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.services-hero-pill:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.services-hero-pill i {
    color: var(--primary-color);
    font-size: 16px;
}

/* ===================================================
   2. Interactive Category Filter Navigation
=================================================== */
.services-section-wrapper {
    padding: 70px 0 85px;
    background-color: #f8fafc;
}

.services-filter-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 45px;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.02);
}

.filter-btn i {
    font-size: 16px;
    color: #64748b;
    transition: color 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(8, 159, 172, 0.25);
    transform: translateY(-2px);
}

.filter-btn:hover i,
.filter-btn.active i {
    color: #ffffff;
}

/* ===================================================
   3. Premium Service Cards Grid (3 Columns)
=================================================== */
.services-grid-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    transition: all 0.35s ease;
    position: relative;
}

.service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
    border-color: var(--primary-color);
}

/* Image Showcase */
.service-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.service-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.service-card-premium:hover .service-card-img-wrap img {
    transform: scale(1.08);
}

/* Floating Category Tag on Image */
.service-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(20, 31, 43, 0.88);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-left: 3px solid var(--primary-color);
    z-index: 2;
}

/* Floating Icon Box */
.service-card-icon-float {
    position: absolute;
    bottom: -22px;
    right: 22px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    z-index: 3;
    transition: all 0.35s ease;
}

.service-card-premium:hover .service-card-icon-float {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(8, 159, 172, 0.35);
}

/* Card Body */
.service-card-body {
    padding: 30px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--heading-dark);
    margin-bottom: 12px;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.service-card-premium:hover .service-card-title {
    color: var(--primary-color);
}

.service-card-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 18px;
}

/* Deliverables Checklist */
.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}

.service-features-list li {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features-list li i {
    color: var(--primary-color);
    font-size: 14px;
    flex-shrink: 0;
}

/* Card Footer */
.service-card-footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-inquire-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease;
}

.service-inquire-link:hover {
    color: var(--primary-hover);
    gap: 10px;
}

.service-quick-badge {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ===================================================
   4. Turnkey Advantage Section (4 Pillars)
=================================================== */
.services-advantage-section {
    padding: 85px 0 90px;
    background: #ffffff;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

.services-advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 45px;
}

.advantage-card-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 22px;
    transition: all 0.3s ease;
    height: 100%;
}

.advantage-card-box:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(8, 159, 172, 0.1);
    transform: translateY(-5px);
}

.advantage-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(8, 159, 172, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.advantage-card-box:hover .advantage-icon-circle {
    background: var(--primary-color);
    color: #ffffff;
}

.advantage-card-box h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading-dark);
    margin-bottom: 8px;
}

.advantage-card-box p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
}

/* ===================================================
   5. Turnkey Workflow Process Timeline
=================================================== */
.services-workflow-section {
    padding: 85px 0 90px;
    background: #f8fafc;
}

.services-workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 45px;
    position: relative;
}

.workflow-step-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 22px;
    position: relative;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
    transition: all 0.3s ease;
}

.workflow-step-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(8, 159, 172, 0.1);
}

.workflow-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.workflow-num-capsule {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(8, 159, 172, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
    font-family: var(--primary-font, "Space Grotesk", sans-serif);
}

.workflow-icon {
    font-size: 24px;
    color: #64748b;
}

.workflow-step-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--heading-dark);
    margin-bottom: 10px;
}

.workflow-step-item p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
}

/* ===================================================
   6. Full-Width Strategic Call-To-Action Banner
=================================================== */
.services-bottom-cta {
    position: relative;
    padding: 70px 0;
    background: #141f2b;
    color: #ffffff;
    overflow: hidden;
}

.services-bottom-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 35px 35px;
    pointer-events: none;
}

.services-bottom-cta::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(8, 159, 172, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.services-cta-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.services-cta-text h3 {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.services-cta-text p {
    font-size: 16px;
    color: #cbd5e1;
    margin: 0;
    max-width: 680px;
}

.services-cta-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-services-primary {
    background: var(--primary-color);
    color: #ffffff;
    padding: 15px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(8, 159, 172, 0.35);
}

.btn-services-primary:hover {
    background: #ffffff;
    color: #141f2b;
    transform: translateY(-2px);
}

.btn-services-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 15px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-services-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* ===================================================
   7. Responsive Breakpoints
=================================================== */
@media (max-width: 1199px) {
    .services-grid-wrap {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .services-advantage-grid,
    .services-workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .services-hero-header {
        padding: 50px 0 45px;
    }

    .services-hero-title {
        font-size: 30px;
    }

    .services-grid-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-cta-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .services-grid-wrap {
        grid-template-columns: 1fr;
    }

    .services-advantage-grid,
    .services-workflow-grid {
        grid-template-columns: 1fr;
    }

    .services-hero-pills {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-cta-text h3 {
        font-size: 24px;
    }
}
