/* =========================================
   SERVICES STUDIO PRO - SMART ELITE CSS
   ========================================= */

/* 1. Global Wrapper */
.services-wrapper {
    background: #020617;
    /* Deep midnight blue */
    min-height: 100vh;
    padding: 80px 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* 2. Smart Header Section */
.section-header {
    margin-bottom: 80px;
    position: relative;
}

.badge-pill {
    display: inline-block;
    background: rgba(255, 51, 102, 0.1);
    color: #ff3366;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 51, 102, 0.2);
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
}

.highlight-text {
    color: #ff3366;
    text-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
}

.section-subtitle {
    color: #64748b;
    font-size: 17px;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 3. The Smart Grid */
.grid-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    padding: 0 25px;
}

/* 4. Smart Service Card (Glassmorphism) */
.service-card {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 51, 102, 0.4);
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 51, 102, 0.1);
}

/* Image Reveal Logic */
.service-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: 0.8s transform ease;
    filter: grayscale(40%);
}

.service-card:hover .service-img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.service-content {
    padding: 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Floating Icon */
.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ff3366, #ff6699);
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 190px;
    /* Sits on the line of img and content */
    left: 30px;
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
    z-index: 10;
}

.service-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 20px 0 12px 0;
    letter-spacing: -0.5px;
}

.service-content p {
    color: #94a3b8;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* 5. Smart Footer (Pricing & CTA) */
.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price {
    font-weight: 900;
    color: #3b82f6;
    /* Accent Blue */
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-quote {
    background: #ffffff;
    color: #020617;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    transition: all 0.3s ease;
    border: none;
}

.btn-quote:hover {
    background: #ff3366;
    color: #fff;
    transform: scale(1.05);
}

/* 6. Responsive Tuning */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 34px;
    }

    .service-img {
        height: 180px;
    }

    .service-icon {
        top: 150px;
    }
}