/* Services Page Custom Styles */
:root {
    --bg-dark: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(148, 163, 184, 0.1);
    --glass-shimmer: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

/* --- Hero Section --- */
/* Header Override for Dark Theme */
.modern-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
}

.main-nav a {
    color: var(--text-primary) !important;
}

.main-nav a:hover {
    color: var(--accent-blue) !important;
}

.mobile-menu-btn {
    color: #fff !important;
}

.services-hero {
    position: relative;
    padding: 180px 20px 100px;
    /* Increased top padding for header */
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15), transparent 70%);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    animation-delay: 0s;
}

.shape-2 {
    bottom: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.services-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent-blue);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.services-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* --- Feature Cards (Glassmorphism) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto 100px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

/* Color specific glows */
.glow-blue {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
}

.glow-purple {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
}

.glow-cyan {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Split Section (Image + Content) --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.split-image-container {
    position: relative;
}

.split-image {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.split-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.benefit-text h4 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.benefit-text p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* --- Network Grid --- */
.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 50px auto 100px;
    padding: 0 20px;
}

.network-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.network-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

.network-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.network-type {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- CTA Section --- */
.cta-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 80px 20px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 100px;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #fff;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

/* Responsive */
@media (max-width: 900px) {
    .services-title {
        font-size: 2.5rem;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-box {
        padding: 40px 20px;
    }
}

/* --- Utility Classes (Replacing Inline Styles) --- */
.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

.order-2 {
    order: 2;
}

.split-image-glow {
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.2);
}

.icon-purple-bg {
    color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
}

.icon-cyan-bg {
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
}

.icon-blue-bg {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.text-blue {
    color: #3b82f6;
}

.text-purple {
    color: #8b5cf6;
}

.text-green {
    color: #10b981;
}

.text-rose {
    color: #e11d48;
}

.text-amber {
    color: #f59e0b;
}