/* IT Service Page Specific Styles */

/* Loading Screen */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Background Animations */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 60s linear infinite;
    will-change: transform;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.data-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(59, 130, 246, 0.4);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
    will-change: transform;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) translateX(30px);
        opacity: 0;
    }
}

/* Service Hero Section */
.service-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 8rem;
    background: linear-gradient(135deg, #000000 0%, #111827 50%, #1f2937 100%);
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    animation: heroGlow 20s infinite ease-in-out;
}

@keyframes heroGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.hero-floating-icons .floating-icon {
    position: absolute;
    font-size: 2rem;
    animation: gentleFloat 12s ease-in-out infinite;
    color: rgba(59, 130, 246, 0.5);
    will-change: transform;
}

.hero-floating-icons .floating-icon:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.hero-floating-icons .floating-icon:nth-child(2) { top: 60%; right: 20%; animation-delay: 3s; color: rgba(6, 182, 212, 0.5); }
.hero-floating-icons .floating-icon:nth-child(3) { bottom: 25%; left: 25%; animation-delay: 6s; }
.hero-floating-icons .floating-icon:nth-child(4) { top: 35%; right: 30%; animation-delay: 9s; color: rgba(6, 182, 212, 0.5); }

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(-2deg); }
}

.service-hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
    position: relative;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #60a5fa;
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: iconPulse 4s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #f9fafb;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(45deg, #f9fafb, #3b82f6, #06b6d4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.service-hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #9ca3af;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.service-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Overview */
.service-overview {
    padding: 6rem 0;
    background: #000000;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #f9fafb;
    font-weight: 700;
}

.overview-text p {
    color: #9ca3af;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

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

.benefit-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(55, 65, 81, 0.5);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-item h3 {
    color: #f9fafb;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.benefit-item p {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.5;
}

.overview-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.systems-animation {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border-radius: 24px;
    padding: 3rem;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(55, 65, 81, 0.5);
    position: relative;
    overflow: hidden;
}

.systems-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(59, 130, 246, 0.03), transparent);
    animation: slowRotate 60s linear infinite;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.system-layers {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1;
    position: relative;
}

.system-layer {
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    color: #3b82f6;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
    animation: layerPulse 6s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.system-layer:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
}

.system-layer:nth-child(2) {
    animation-delay: 2s;
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    color: #06b6d4;
}

.system-layer:nth-child(3) {
    animation-delay: 4s;
}

@keyframes layerPulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.01); }
}

/* Service Features */
.service-features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(55, 65, 81, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #3b82f6;
    background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #1f2937 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 50px rgba(59, 130, 246, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
}

.feature-card h3 {
    color: #f9fafb;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.feature-card p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    color: #d1d5db;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    transition: all 0.3s ease;
}

.service-list li:hover {
    color: #f9fafb;
    padding-left: 2.5rem;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.service-list li:hover::before {
    transform: translateX(5px);
}

/* Technology Stack */
.tech-stack {
    padding: 6rem 0;
    background: #000000;
}

.tech-categories {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.tech-category {
    text-align: center;
}

.tech-category h3 {
    color: #f9fafb;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border: 1px solid rgba(55, 65, 81, 0.5);
    border-radius: 16px;
    transition: all 0.3s ease;
    min-width: 180px;
}

.tech-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.tech-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    font-size: 0.9rem;
}

.tech-item:hover .tech-placeholder {
    transform: scale(1.1) rotate(5deg);
}

.tech-item span {
    color: #d1d5db;
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.tech-item:hover span {
    color: #f9fafb;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(55, 65, 81, 0.5);
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border-radius: 20px 20px 0 0;
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.process-step h3 {
    color: #f9fafb;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.process-step p {
    color: #9ca3af;
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    padding: 6rem 0;
    background: #000000;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(55, 65, 81, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: scale(1.05);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b82f6;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: scale(1.1);
}

.stat-label {
    color: #d1d5db;
    font-size: 1.1rem;
}

/* Service CTA */
.service-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    animation: ctaGlow 25s infinite ease-in-out;
}

@keyframes ctaGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: #f9fafb;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    color: #9ca3af;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .service-hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding-top: 6rem;
        min-height: 80vh;
    }
    
    .service-hero h1 {
        font-size: 2.2rem;
    }
    
    .service-hero p {
        font-size: 1.1rem;
    }
    
    .service-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .service-hero-buttons a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .features-grid,
    .tech-items,
    .stats-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .service-icon-large {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-floating-icons .floating-icon {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .process-step,
    .stat-item {
        padding: 1.5rem;
    }
    
    .hero-floating-icons .floating-icon {
        font-size: 1.2rem;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    .grid-pattern,
    .data-particle,
    .hero-floating-icons .floating-icon {
        animation: none;
    }
    
    .scroll-animate {
        transition: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.feature-card:focus,
.tech-item:focus,
.process-step:focus,
.stat-item:focus,
.system-layer:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tech-stack {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}


.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: #ffffff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.tech-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.tech-category h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #00d4ff;
    font-weight: 600;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: rgba(0, 212, 255, 0.3);
}

.tech-logo {
    width: 80px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.tech-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.tech-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.tech-item:hover .tech-logo img {
    transform: scale(1.1);
}

.tech-item span {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 500;
}

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-items {
        grid-template-columns: repeat(2, 1fr);
    }
}
