/* Enhanced Service Page Styles for Ideators Digital - WOW Factor Edition */

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

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Animated Background Particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Enhanced Header Styles */
.service-header {
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

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

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.service-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(248,249,250,1) 0%, rgba(248,249,250,0) 100%);
    z-index: 2;
}

.service-icon {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    z-index: 3;
    animation: iconPulse 4s ease-in-out infinite, iconFloat 6s ease-in-out infinite;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
    50% { transform: scale(1.05); box-shadow: 0 25px 50px rgba(0,0,0,0.2); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: titleSlideIn 1s ease-out;
}

@keyframes titleSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    font-weight: 400;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: subtitleSlideIn 1s ease-out 0.3s both;
}

@keyframes subtitleSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 0.95; transform: translateY(0); }
}

/* Enhanced Header Color Variations */
.service-header.seo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
}

.service-header.web-design {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
}

.service-header.social-media {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 50%, #ff6b6b 100%);
}

.service-header.ui-ux {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #6c5ce7 100%);
}

.service-header.digital-strategy {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 50%, #2d3436 100%);
}

.service-header.mobile-apps {
    background: linear-gradient(135deg, #e17055 0%, #fdcb6e 50%, #e17055 100%);
}

.service-header.ecommerce {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 50%, #00b894 100%);
}

.service-header.software {
    background: linear-gradient(135deg, #0984e3 0%, #74b9ff 50%, #0984e3 100%);
}

.service-header.cybersecurity {
    background: linear-gradient(135deg, #d63031 0%, #e84393 50%, #d63031 100%);
}

/* Enhanced Main Content */
.main-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: -60px auto 40px;
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.1),
        0 10px 30px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.2);
    animation: contentSlideUp 1s ease-out 0.5s both;
}

@keyframes contentSlideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section {
    padding: 80px 60px;
    position: relative;
}

.section-title {
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    font-weight: 700;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 2px;
    animation: lineExpand 1s ease-out 0.5s both;
}

@keyframes lineExpand {
    from { width: 0; }
    to { width: 60px; }
}

/* Section Title Color Variations */
.seo .section-title::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.web-design .section-title::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.social-media .section-title::before {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
}

.ui-ux .section-title::before {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
}

.digital-strategy .section-title::before {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
}

.mobile-apps .section-title::before {
    background: linear-gradient(135deg, #e17055 0%, #fdcb6e 100%);
}

.ecommerce .section-title::before {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
}

.software .section-title::before {
    background: linear-gradient(135deg, #0984e3 0%, #74b9ff 100%);
}

.cybersecurity .section-title::before {
    background: linear-gradient(135deg, #d63031 0%, #e84393 100%);
}

.description {
    font-size: 1.2rem;
    line-height: 2;
    color: #555;
    margin-bottom: 60px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    font-weight: 400;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Enhanced Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 80px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    animation: cardSlideIn 0.6s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.15),
        0 20px 40px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Feature Icon Color Variations */
.seo .feature-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.web-design .feature-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.social-media .feature-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
}

.ui-ux .feature-icon {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
}

.digital-strategy .feature-icon {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
}

.mobile-apps .feature-icon {
    background: linear-gradient(135deg, #e17055 0%, #fdcb6e 100%);
}

.ecommerce .feature-icon {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
}

.software .feature-icon {
    background: linear-gradient(135deg, #0984e3 0%, #74b9ff 100%);
}

.cybersecurity .feature-icon {
    background: linear-gradient(135deg, #d63031 0%, #e84393 100%);
}

.feature-title {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-description {
    color: #555;
}

/* Enhanced Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, rgba(248,249,250,0.8) 0%, rgba(233,236,239,0.8) 100%);
    backdrop-filter: blur(10px);
    padding: 80px 60px;
    margin: 60px 0;
    border-radius: 25px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.2);
    animation: sectionSlideIn 0.8s ease-out 0.7s both;
}

@keyframes sectionSlideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
    animation: benefitSlideIn 0.5s ease-out both;
}

.benefit-item:nth-child(odd) { animation-delay: 0.1s; }
.benefit-item:nth-child(even) { animation-delay: 0.2s; }

@keyframes benefitSlideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 1);
}

.benefit-check {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-check {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(40, 167, 69, 0.4);
}

.benefit-item span {
    font-weight: 500;
    color: #333;
    font-size: 1.05rem;
}

/* Enhanced CTA Section */
.cta-section {
    color: white;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    border-radius: 25px;
    margin: 60px 0;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite, ctaSlideIn 0.8s ease-out 0.9s both;
    overflow: hidden;
}

@keyframes ctaSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CTA Section Color Variations */
.seo .cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
}

.web-design .cta-section {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
}

.social-media .cta-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 50%, #ff6b6b 100%);
}

.ui-ux .cta-section {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #6c5ce7 100%);
}

.digital-strategy .cta-section {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 50%, #2d3436 100%);
}

.mobile-apps .cta-section {
    background: linear-gradient(135deg, #e17055 0%, #fdcb6e 50%, #e17055 100%);
}

.ecommerce .cta-section {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 50%, #00b894 100%);
}

.software .cta-section {
    background: linear-gradient(135deg, #0984e3 0%, #74b9ff 50%, #0984e3 100%);
}

.cybersecurity .cta-section {
    background: linear-gradient(135deg, #d63031 0%, #e84393 50%, #d63031 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: shimmer 8s ease-in-out infinite;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    margin-top: 20px;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: buttonPulse 3s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 15px 35px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 20px 45px rgba(0,0,0,0.3); }
}

/* CTA Button Color Variations */
.seo .cta-button {
    color: #667eea;
}

.web-design .cta-button {
    color: #4facfe;
}

.social-media .cta-button {
    color: #ff6b6b;
}

.ui-ux .cta-button {
    color: #6c5ce7;
}

.digital-strategy .cta-button {
    color: #2d3436;
}

.mobile-apps .cta-button {
    color: #e17055;
}

.ecommerce .cta-button {
    color: #00b894;
}

.software .cta-button {
    color: #0984e3;
}

.cybersecurity .cta-button {
    color: #d63031;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(255,255,255,0.8);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
    
    .container {
        padding: 0 20px;
    }

    .service-header {
        padding: 60px 0;
    }

    .service-header h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .service-subtitle {
        font-size: 1.1rem;
    }

    .service-icon {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .content-section, .benefits-section, .cta-section {
        padding: 50px 30px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 50px 0;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .benefits-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .content-section, .benefits-section, .cta-section {
        padding: 40px 20px;
    }

    .service-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .description {
        font-size: 1.1rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    body::before {
        animation: none;
    }
} 