/* Services Page Styles */

/* Hero Section */
.services-hero {
    background: linear-gradient(135deg, #0A1929 0%, #07111d 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.services-hero .hero-content {
    max-width: 600px;
    z-index: 2;
}

.services-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2ECC71 0%, #00D1FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-hero .hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.services-visual {
    width: 400px;
    height: 400px;
    position: relative;
}

/* Services Grid */
.services-grid-section {
    padding: 5rem 0;
    background: var(--color-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(30, 42, 58, 0.6);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid rgba(46, 204, 113, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: 0 15px 30px rgba(46, 204, 113, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: rgba(46, 204, 113, 0.1);
    color: var(--color-accent);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.service-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-service {
    background: var(--color-accent);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    flex: 1;
    justify-content: center;
}

.btn-service:hover {
    background: #25a25a;
    transform: translateY(-2px);
}

.btn-learn-more {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    flex: 1;
    justify-content: center;
}

.btn-learn-more:hover {
    background: rgba(46, 204, 113, 0.1);
    transform: translateY(-2px);
}

/* Process Section */
.process {
    padding: 5rem 0;
    background: linear-gradient(135deg, #07111d 0%, #0A1929 100%);
}

.process-timeline {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
}

.process-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-number {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.step-content p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Technology Stack */
.technology {
    padding: 5rem 0;
    background: var(--color-dark);
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    background: rgba(30, 42, 58, 0.6);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(46, 204, 113, 0.1);
    transition: transform 0.3s;
}

.tech-category:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.tech-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-accent);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.tech-item {
    background: rgba(46, 204, 113, 0.1);
    color: var(--color-accent);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(46, 204, 113, 0.2);
    transition: all 0.3s;
}

.tech-item:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-2px);
}

/* CTA */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0A1929 0%, #07111d 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Modal */
.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 25, 41, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.service-modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.service-modal {
    background: var(--color-dark);
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--color-accent);
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.close-modal:hover {
    background: rgba(46, 204, 113, 0.1);
    color: var(--color-accent);
}

.modal-content {
    padding: 3rem;
}

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.modal-header h2 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.modal-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-features h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.modal-features ul {
    list-style: none;
    padding: 0;
}

.modal-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(46, 204, 113, 0.1);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.modal-features li:before {
    content: '✓';
    color: var(--color-accent);
    font-weight: bold;
}

.modal-cta {
    margin-top: 2rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-visual {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 992px) {
    .services-hero .hero-title {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .tech-stack {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-actions {
        flex-direction: column;
    }
}