/* =========================================
   SERVICES PAGE – FINAL ULTRA PREMIUM
========================================= */

.services-page {
    overflow-x: hidden;
}

/* =========================================
   HERO
========================================= */
.services-hero {
    position: relative;
    padding: 120px 20px 100px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
    text-align: center;
}

.services-hero::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 120px;
    background: #f8fafc;
    border-top-left-radius: 100% 80px;
    border-top-right-radius: 100% 80px;
}

.services-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.services-hero .subtitle {
    max-width: 750px;
    margin: auto;
    font-size: 18px;
    opacity: 0.9;
}

/* =========================================
   INTRO
========================================= */
.services-intro {
    padding: 100px 20px 80px;
    background: #f8fafc;
    text-align: center;
}

.services-intro p {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 17px;
    line-height: 1.8;
    color: #1e293b;
}

/* =========================================
   SERVICES GRID
========================================= */
.services-grid-section {
    padding: 120px 20px;
    background: linear-gradient(180deg, #ffffff, #eef2ff);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* =========================================
   ULTRA PREMIUM SERVICE CARD
========================================= */
.service-card {
    position: relative;
    padding: 50px 40px 40px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.06),
        0 40px 120px rgba(37,99,235,0.05);
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Floating Accent Shape */
.service-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(124,58,237,0.15), transparent 70%);
    border-radius: 50%;
}

/* Top Gradient Strip */
.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg,#2563eb,#7c3aed,#06b6d4);
}

/* Heading */
.service-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg,#1e3a8a,#7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glow Underline */
.service-card h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    border-radius: 50px;
    background: linear-gradient(90deg,#2563eb,#7c3aed);
    transition: .3s ease;
}

/* Hover */
.service-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 40px 100px rgba(0,0,0,0.12),
        0 20px 80px rgba(124,58,237,0.25);
}

.service-card:hover h2::after {
    width: 90px;
}

/* =========================================
   WHY SECTION
========================================= */
.services-why {
    position: relative;
    padding: 150px 20px;
    background: linear-gradient(135deg, #f0f9ff, #e0e7ff);
    text-align: center;
    overflow: hidden;
}

.services-why::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.25), transparent 70%);
    top: -200px;
    left: -200px;
}

.services-why::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56,189,248,0.25), transparent 70%);
    bottom: -200px;
    right: -200px;
}

.services-why h2,
.services-why p,
.why-grid {
    position: relative;
    z-index: 2;
}

.services-why h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-why p {
    max-width: 750px;
    margin: 0 auto 20px;
    color: #334155;
    font-size: 16px;
}

/* WHY GRID */
.why-grid {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
}

.why-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    color: #1e293b;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.05),
        0 20px 50px rgba(99,102,241,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(120deg, #3b82f6, #8b5cf6);
    -webkit-mask: linear-gradient(#000 0 0) content-box,
                  linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 15px 40px rgba(0,0,0,0.08),
        0 25px 80px rgba(99,102,241,0.25);
}

/* =========================================
   CTA
========================================= */
.services-cta {
    padding: 120px 20px;
    background: linear-gradient(120deg, #2563eb, #7c3aed);
    color: #fff;
    text-align: center;
}

.services-cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.services-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    background: #fff;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #e0e7ff;
    transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 768px) {
    .services-hero h1 { font-size: 28px; }
    .services-why h2 { font-size: 28px; }
    .services-grid-section,
    .services-why,
    .services-cta { padding: 80px 15px; }

    .service-card {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .services-hero h1 { font-size: 24px; }
    .why-card { padding: 25px; font-size: 14px; }
}