/* Services Page Specific Styles */

.services-hero {
    padding: 8rem 0 4rem;
    background: var(--background-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.services-hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: var(--surface-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: all 0.6s ease;
    z-index: 1;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px rgba(0, 255, 255, 0.15);
}

.service-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover .service-hover-effect {
    opacity: 0.05;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-color);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.icon-img {
    width: 40px;
    height: 40px;
    filter: invert(1);
    transition: var(--transition);
}

.service-card:hover .icon-img {
    filter: invert(1) drop-shadow(0 0 10px rgba(0, 255, 255, 0.8));
    transform: scale(1.1);
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.service-features li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '✅';
    font-size: 0.9rem;
}

.service-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-tag {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: var(--background-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--background-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Technologies Section */
.technologies-section {
    padding: 6rem 0;
    background: var(--surface-color);
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.tech-category {
    background: var(--background-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
}

.tech-category:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
}

.tech-category h4 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
}

.tech-category h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.tech-item {
    background: rgba(139, 92, 246, 0.1);
    color: var(--secondary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: var(--transition);
    cursor: pointer;
}

.tech-item:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--background-color);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Floating animations */
@keyframes floatUp {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.service-card:nth-child(odd) {
    animation: floatUp 6s ease-in-out infinite;
    animation-delay: 0s;
}

.service-card:nth-child(even) {
    animation: floatUp 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* Service card special effects */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -2;
    border-radius: var(--border-radius);
}

.service-card:hover::after {
    opacity: 0.03;
}

/* Interactive hover states */
.service-card {
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .technologies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .services-hero {
        padding: 5rem 0 3rem;
    }
    
    .services-hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }
    
    .services-hero p {
        font-size: 1.1rem;
        padding: 0 2rem;
    }
    
    .services-section {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .service-card:hover {
        transform: translateY(-8px);
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .icon-img {
        width: 35px;
        height: 35px;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .service-content p {
        font-size: 1rem;
    }
    
    .service-features {
        margin: 1.5rem 0;
    }
    
    .service-features li {
        font-size: 0.95rem;
        padding: 0.3rem 0;
    }
    
    .process-section {
        padding: 4rem 0;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .step-content h4 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .technologies-section {
        padding: 4rem 0;
    }
    
    .technologies-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-category {
        padding: 1.5rem;
    }
    
    .tech-category h4 {
        font-size: 1.2rem;
    }
    
    .tech-items {
        gap: 0.8rem;
    }
    
    .tech-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        padding: 0 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
        padding: 0 2rem;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 4rem 0 2rem;
    }
    
    .services-hero h1 {
        font-size: 1.8rem;
        padding: 0 0.5rem;
        line-height: 1.3;
    }
    
    .services-hero p {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.6;
    }
    
    .services-section {
        padding: 3rem 0;
    }
    
    .services-grid {
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .icon-img {
        width: 30px;
        height: 30px;
    }
    
    .service-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .service-features {
        margin: 1rem 0;
    }
    
    .service-features li {
        font-size: 0.85rem;
        padding: 0.2rem 0;
    }
    
    .service-technologies {
        margin-top: 1rem;
    }
    
    .tech-tag {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .process-section {
        padding: 3rem 0;
    }
    
    .process-steps {
        gap: 1rem;
    }
    
    .process-step {
        padding: 1rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .step-content h4 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .technologies-section {
        padding: 3rem 0;
    }
    
    .technologies-grid {
        gap: 1.5rem;
    }
    
    .tech-category {
        padding: 1rem;
    }
    
    .tech-category h4 {
        font-size: 1rem;
    }
    
    .tech-items {
        gap: 0.5rem;
    }
    
    .tech-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        gap: 0.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Animation delays for staggered effect */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Loading animation for service cards */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 