/* Services Page Styles - Matching Contact Theme */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    padding-top: 90px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Services Hero */
.services-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a1629;
    position: relative;
    overflow: hidden;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(0, 209, 255, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(0, 163, 255, 0.1) 0%, transparent 50%);
}

.services-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: slideInDown 0.8s ease-out;
}

.services-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
}

.services-hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services-section {
    padding: 100px 20px;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out backwards;
}

.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; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: #00D1FF;
    box-shadow: 0 20px 50px rgba(0, 209, 255, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #00D1FF 0%, #00A3CC 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 209, 255, 0.3);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 209, 255, 0.4);
}

.service-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0a1629;
    margin-bottom: 16px;
}

.service-desc {
    color: #4a5568;
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.service-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-features li {
    color: #2d3748;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-features li:hover {
    color: #00D1FF;
    transform: translateX(5px);
}

.service-features li i {
    color: #00D1FF;
    font-size: 14px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 209, 255, 0.1);
    border-radius: 50%;
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 100px 20px;
    background: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0a1629;
    margin-bottom: 16px;
}

.section-header p {
    color: #4a5568;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    transform: translateY(-8px);
    border-color: #00D1FF;
    box-shadow: 0 10px 30px rgba(0, 209, 255, 0.15);
}

.tech-item i {
    font-size: 48px;
    background: linear-gradient(135deg, #00D1FF 0%, #00A3CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.tech-item:hover i {
    transform: scale(1.15);
}

.tech-item span {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: #0a1629;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 209, 255, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(135deg, #00D1FF 0%, #00A3CC 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 209, 255, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 209, 255, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00D1FF;
    transform: translateY(-2px);
}
