/* assets/css/services.css - Services Page Styles */

/* ==========================================
   PAGE BASE
   ========================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0d192b 0%, #1a2744 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 3px;
    z-index: 10000;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 6px;
}

/* Cosmic Network Background */
.network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(64, 224, 255, 0.4);
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Hero Navigation Links */
.hero-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-nav-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: #40e0ff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(64, 224, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-nav-link:hover {
    background: rgba(64, 224, 255, 0.15);
    border-color: rgba(64, 224, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 224, 255, 0.2);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: #40e0ff;
    text-decoration: none;
}

.breadcrumb span {
    color: #fff;
}

/* ==========================================
   SERVICES OVERVIEW
   ========================================== */
.services-overview {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 20px;
    border: 1px solid rgba(64, 224, 255, 0.1);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(64, 224, 255, 0.3);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ==========================================
   SERVICE CARDS
   ========================================== */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    border: 1px solid rgba(64, 224, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(64, 224, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(64, 224, 255, 0.4);
    box-shadow: 0 20px 40px rgba(64, 224, 255, 0.1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, rgba(64, 224, 255, 0.2) 0%, rgba(26, 39, 68, 0.8) 100%);
    padding: 1rem;
    border-radius: 15px;
    border: 2px solid rgba(64, 224, 255, 0.3);
}

.service-header h2 {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 700;
}

.service-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

/* ==========================================
   SERVICE FEATURES & PROCESS
   ========================================== */
.service-features {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(64, 224, 255, 0.1);
}

.service-features h3 {
    color: #40e0ff;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-features ul {
    list-style: none;
}

.service-features li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #40e0ff;
    font-weight: bold;
}

.service-process {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(64, 224, 255, 0.1);
    align-self: start;
}

.service-process h3 {
    color: #40e0ff;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid #40e0ff;
}

.step-number {
    background: #40e0ff;
    color: #0d192b;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.step-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    text-align: left;
}

/* ==========================================
   TECH STACK & METRICS
   ========================================== */
.tech-stack {
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.tech-stack h3 {
    color: #40e0ff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(64, 224, 255, 0.1);
    color: #40e0ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(64, 224, 255, 0.3);
}

.service-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.metric-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(64, 224, 255, 0.2);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #40e0ff;
    display: block;
}

.metric-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: rgba(64, 224, 255, 0.1);
    padding: 4rem 0;
    margin: 4rem 0 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(64, 224, 255, 0.2);
}

.cta-section h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(64, 224, 255, 0.2) 0%, #1a2744 100%);
    color: #40e0ff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(64, 224, 255, 0.3);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: linear-gradient(135deg, rgba(64, 224, 255, 0.3) 0%, #1a2744 100%);
    border-color: rgba(64, 224, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 224, 255, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #40e0ff 0%, #1a2744 100%);
    color: #0d192b;
    border-color: #40e0ff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #40e0ff 0%, #2a3754 100%);
    color: #0d192b;
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(64, 224, 255, 0.2) 0%, #1a2744 100%);
    color: #40e0ff;
    border-color: rgba(64, 224, 255, 0.3);
}

/* ==========================================
   ENGAGEMENT MODELS
   ========================================== */
.engagement-models {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.engagement-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(64, 224, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.engagement-card:hover {
    border-color: rgba(64, 224, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(64, 224, 255, 0.1);
}

.engagement-card h4 {
    color: #40e0ff;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.engagement-card .team-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.engagement-card .duration-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.engagement-card .best-for {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(64, 224, 255, 0.15);
}

/* ==========================================
   GOVERNANCE GATES
   ========================================== */
.governance-gates {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.gate-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(64, 224, 255, 0.15);
}

.gate-card h5 {
    color: #40e0ff;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.gate-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* ==========================================
   RIGHT-SHORING MODEL
   ========================================== */
.shoring-model {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.shore-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(64, 224, 255, 0.15);
}

.shore-card h5 {
    color: #40e0ff;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.shore-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==========================================
   TAGS (INDUSTRY, COMPLIANCE)
   ========================================== */
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
    position: relative;
    z-index: 1;
}

.industry-tag {
    background: rgba(255, 140, 0, 0.1);
    color: #ffb347;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 140, 0, 0.25);
}

.compliance-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.compliance-tag {
    background: rgba(56, 161, 105, 0.15);
    color: #68d391;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(56, 161, 105, 0.3);
}

/* ==========================================
   SERVICE SUBSECTIONS
   ========================================== */
.service-subsection {
    margin: 2.5rem 0;
    position: relative;
    z-index: 1;
}

.service-subsection h3 {
    color: #40e0ff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-subsection > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .service-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .engagement-models {
        grid-template-columns: 1fr;
    }

    .governance-gates {
        grid-template-columns: repeat(2, 1fr);
    }

    .shoring-model {
        grid-template-columns: 1fr;
    }
}
