/* Services Page Specific Styles */

/* Hero Section */
.services-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 4rem;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/services-hero.jpg') center/cover no-repeat;
    opacity: 0.12;
    z-index: 0;
}

.services-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.services-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.services-hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.8;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.3s forwards;
}

@media (max-width: 768px) {
    .services-hero {
        min-height: 40vh;
        padding: 8rem 2rem 3rem;
    }

    .services-hero h1 {
        font-size: 2.5rem;
    }

    .services-hero p {
        font-size: 1.1rem;
    }
}

/* Services Grid */
.services-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Service Category Cards */
.service-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
    display: flex;
    flex-direction: column;
}

.service-category:nth-child(1) {
    animation-delay: 0.4s;
}

.service-category:nth-child(2) {
    animation-delay: 0.6s;
}

.service-category:nth-child(3) {
    animation-delay: 0.8s;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.service-category:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.category-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: var(--text);
    font-weight: 700;
    margin: 0;
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-list li {
    padding: 0.75rem 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-list li:hover {
    color: var(--text);
    padding-left: 2rem;
}

.service-list li:hover::before {
    color: var(--secondary);
}

/* Learn More Button */
.learn-more-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px -8px rgba(139, 92, 246, 0.4);
    cursor: pointer;
    margin-top: auto;
    align-self: flex-start;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -8px rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, #9d6fff, #4a94ff);
}

.learn-more-btn:active {
    transform: translateY(0);
}

/* Lifecycle Page Styles */
.lifecycle-hero {
    position: relative;
    padding: 10rem 2rem 4rem;
    text-align: center;
}

@media (max-width: 768px) {
    .lifecycle-hero {
        padding: 8rem 1.5rem 3rem;
    }
}

.lifecycle-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .lifecycle-hero h1 {
        font-size: 2.2rem;
    }
}

.lifecycle-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

@media (max-width: 768px) {
    .lifecycle-hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

/* Lifecycle Diagram */
.lifecycle-diagram {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lifecycle-diagram img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* Lifecycle Phases */
.lifecycle-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.phase-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.phase-section:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.phase-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.phase-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: var(--text);
    margin: 0;
    font-weight: 500;
}



.phase-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.phase-section ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.phase-section ul li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 2rem 0;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.back-button::before {
    content: '←';
    font-size: 1.2rem;
}

/* Services Intro */
.services-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
    text-align: center;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.services-offered-header {
    margin-top: 2rem;
    margin-bottom: -2rem;
}

.intro-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.intro-content strong {
    color: var(--text);
    font-weight: 600;
}

.highlight-text {
    color: var(--text);
    font-weight: 600;
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Statistics Section */
.services-stats {
    max-width: 1200px;
    margin: 4rem auto 8rem;
    padding: 0 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
}

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .lifecycle-hero h1 {
        font-size: 2rem;
    }

    .phase-section {
        padding: 1.5rem;
    }

    .phase-header {
        flex-direction: column;
        text-align: center;
    }

    .phase-header h3 {
        font-size: 1.5rem;
    }
}