/* Modern Services Section Styles */

/* CSS Variables for Theme Support */
:root {
    --services-bg-primary: #f8fafc;
    --services-bg-secondary: #f1f5f9;
    --services-text-primary: #1e293b;
    --services-text-secondary: #212529;
    --services-text-muted: #475569;
    --services-card-bg: #ffffff;
    --services-card-hover-bg: rgba(255, 255, 255, 0.95);
    --services-card-border: rgba(226, 232, 240, 0.8);
    --services-card-shadow: rgba(0, 0, 0, 0.08);
    --services-feature-border: #f1f5f9;
    --services-overlay-1: rgba(255, 130, 1, 0.1);
    --services-overlay-2: rgba(251, 146, 60, 0.1);
    --services-secondary-btn-bg: #ffffff;
    --services-secondary-btn-border: #e2e8f0;
    --services-accent-primary: #ff8201;
    --services-accent-secondary: #fb923c;
}
/* Light Theme Variables */
[data-theme="light"] {
    --services-bg-primary: #f8fafc;
    --services-bg-secondary: #f1f5f9;
    --services-text-primary: #1e293b;
    --services-text-secondary: #212529;
    --services-text-muted: #475569;
    --services-card-bg: #ffffff;
    --services-card-hover-bg: rgba(255, 255, 255, 0.95);
    --services-card-border: rgba(226, 232, 240, 0.8);
    --services-card-shadow: rgba(0, 0, 0, 0.08);
    --services-feature-border: #f1f5f9;
}
/* Dark Theme Variables */
[data-theme="dark"] {
    --services-bg-primary: #121212;
    --services-bg-secondary: #1d1d1d;
    --services-text-primary: #f8fafc;
    --services-text-secondary: #94a3b8;
    --services-text-muted: #cbd5e1;
    --services-card-bg: #1d1d1d;
    --services-card-border: #333333;
    --services-card-shadow: rgba(0, 0, 0, 0.3);
    --services-feature-border: #333333;
    --services-overlay-1: rgba(255, 130, 1, 0.15);
    --services-overlay-2: rgba(251, 146, 60, 0.15);
    --services-secondary-btn-bg: #333333;
    --services-secondary-btn-border: #474747;
    --services-accent-primary: #ff8201;
    --services-accent-secondary: #fb923c;
}



/* Modern Services Section */
.modern-services-area {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.modern-services-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    pointer-events: none;
}

.services-content {
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 130, 1, 0.1);
    color: var(--services-accent-primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 130, 1, 0.15);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(30deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

.services-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--services-text-primary);
    line-height: 1.3;
    position: relative;
}

.highlight {
    color: var(--services-accent-primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgb(255 141 12 / 10%);
    z-index: -1;
    border-radius: 10px;
}

.services-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--services-text-secondary);
    margin-bottom: 35px;
    max-width: 90%;
}

.services-stats {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--services-accent-primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--services-text-muted);
    font-weight: 500;
}

.services-cta {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* Modern Button Styling */
.modern-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer !important;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    z-index: 1;
    border: 0;
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-btn:hover::before {
    opacity: 1;
}

.modern-btn.primary {
    background: linear-gradient(135deg, var(--services-accent-primary), var(--services-accent-secondary));
    color: white;
    box-shadow: 0 10px 25px rgba(255, 130, 1, 0.4);
}

.modern-btn.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 130, 1, 0.5);
}

.modern-btn.primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    transform: scale(0.5);
}

.modern-btn.primary:hover::after {
    opacity: 0.5;
    transform: scale(1);
}

.modern-btn.secondary {
    background: linear-gradient(135deg, rgba(70, 70, 70, 0.85), rgba(40, 40, 40, 0.95));
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.modern-btn.secondary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 130, 1, 0.15));
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: -1;
    transform: scale(0.5) rotate(30deg);
}

.modern-btn.secondary:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(80, 80, 80, 0.9), rgba(50, 50, 50, 0.95));
    color: #ffffff;
    border-color: rgba(255, 130, 1, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.modern-btn.secondary:hover::after {
    opacity: 0.7;
    transform: scale(1) rotate(0deg);
}

.modern-btn svg {
    transition: transform 0.3s ease;
}

.modern-btn:hover svg {
    transform: translateX(5px);
}

/* Services Grid */
/* Service Card Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    width: 100%;
    perspective: 1500px;
}

.service-card {
    position: relative;
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.25),
        0 3px 10px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    z-index: 0;
    opacity: 0.2;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 130, 1, 0.15),
        transparent
    );
    transition: left 0.7s ease;
    z-index: 0;
    pointer-events: none;
}

.service-card:hover::after {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) translateZ(10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 130, 1, 0.3);
    
}

.service-card:hover::before {
    opacity: 0.5;
}

/* AI Service Specific */
.ai-service:hover {
    box-shadow: 0 20px 40px rgba(255, 130, 1, 0.25);
}

.ai-service .icon-wrapper {
    background: linear-gradient(135deg, #ff8201, #ea580c);
}

/* Design Service Specific */
.design-service:hover {
    box-shadow: 0 20px 40px rgba(251, 146, 60, 0.2);
}

.design-service .icon-wrapper {
    background: linear-gradient(135deg, #fb923c, #f97316);
}

/* Development Service Specific */
.development-service:hover {
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.2);
}

.development-service .icon-wrapper {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Service Icon */
.service-icon {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--services-accent-primary), var(--services-accent-secondary));
    color: white;
    box-shadow: 0 8px 20px rgba(255, 130, 1, 0.3);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    transform: translateZ(20px);
}

.service-card:hover .icon-wrapper {
    transform: translateY(-5px) translateZ(30px);
    box-shadow: 0 12px 25px rgba(255, 130, 1, 0.4);
}

.service-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--services-accent-primary), var(--services-accent-secondary));
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(255, 130, 1, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-badge {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 130, 1, 0.4);
}

/* Service Content */
.service-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--services-text-primary);
    margin-bottom: 18px;
    transition: all 0.3s ease;
    transform: translateZ(10px);
}

.service-card:hover .service-title {
    color: var(--services-accent-primary);
    transform: translateZ(15px);
}

.service-description {
    font-size: 1rem;
    color: var(--services-text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
    transform: translateZ(5px);
    transition: all 0.3s ease;
}

.service-card:hover .service-description {
    transform: translateZ(10px);
}

/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex: 1;
    transform-style: preserve-3d;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--services-text-secondary);
    transition: all 0.3s ease;
    transform: translateZ(5px);
}

.service-card:hover .service-features li {
    transform: translateZ(8px);
}

.check-icon {
    color: var(--services-accent-primary);
    margin-right: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255, 130, 1, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .check-icon {
    background: rgba(255, 130, 1, 0.2);
    transform: scale(1.1);
}

/* Service Action */
.service-action {
    display: flex;
    align-items: center;
    color: var(--services-accent-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-top: auto;
    transition: all 0.3s ease;
    cursor: pointer;
    transform: translateZ(10px);
    padding: 10px 0;
    position: relative;
}

.service-action::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--services-accent-primary), var(--services-accent-secondary));
    transition: width 0.3s ease;
}

.service-card:hover .service-action::before {
    width: 100%;
}

.service-action:hover {
    color: var(--services-accent-secondary);
    transform: translateX(5px) translateZ(10px);
}

.service-action svg {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.service-action:hover svg {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-services-area {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .services-title {
        font-size: 2rem;
    }
    
    .services-description {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Animation on Scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card[data-aos="fade-up"] {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card[data-aos-delay="100"] {
    animation-delay: 0.1s;
}

.service-card[data-aos-delay="200"] {
    animation-delay: 0.2s;
}

.service-card[data-aos-delay="300"] {
    animation-delay: 0.3s;
}

/* Loading states and micro-interactions */
.service-card {
    transform-origin: center bottom;
}

.service-card:active {
    transform: translateY(-4px) scale(0.98);
}

/* Accessibility improvements */
.service-card:focus {
    outline: 2px solid #ff8201;
    outline-offset: 2px;
}

.modern-btn:focus {
    outline: 2px solid #ff8201;
    outline-offset: 2px;
}

/* Enhanced Dark Theme Styles */
[data-theme="dark"] .modern-services-area {
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #475569;
}

[data-theme="dark"] .ai-service:hover {
    box-shadow: 0 20px 40px rgba(255, 130, 1, 0.3);
}

[data-theme="dark"] .design-service:hover {
    box-shadow: 0 20px 40px rgba(251, 146, 60, 0.3);
}

[data-theme="dark"] .development-service:hover {
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .service-badge {
    background: rgba(255, 130, 1, 0.2);
    color: #fb923c;
}

[data-theme="dark"] .modern-btn.secondary {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(55, 55, 55, 0.9), rgba(30, 30, 30, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .modern-btn.secondary::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 130, 1, 0.2));
}

[data-theme="dark"] .modern-btn.secondary:hover {
    box-shadow: 0 8px 25px rgba(255, 130, 1, 0.3);
    background: linear-gradient(135deg, rgba(65, 65, 65, 0.9), rgba(45, 45, 45, 0.95));
    border-color: rgba(255, 130, 1, 0.35);
    color: #ffffff;
}

/* Theme transition animations */
.modern-services-area,
.service-card,
.services-title,
.services-description,
.service-title,
.service-description,
.service-features li,
.service-action,
.modern-btn.secondary {
    transition: all 0.3s ease;
}

/* Dark mode support for system preference */
@media (prefers-color-scheme: dark) {
    .modern-services-area {
    }
    
    .services-title {
        color: var(--services-text-primary);
    }
    
    .services-description {
        color: var(--services-text-secondary);
    }
    
    .service-card {
        background: var(--services-card-bg);
        border-color: var(--services-card-border);
    }
    
    .service-title {
        color: var(--services-text-primary);
    }
    
    .service-description {
        color: var(--services-text-secondary);
    }
    
    .service-features li {
        color: var(--services-text-muted);
    }
} 

/* Service card light theme styles */
[data-theme="light"] .service-card {
    background: var(--services-card-bg);
    border: 1px solid var(--services-card-border);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 3px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .service-card:hover {
    background: var(--services-card-hover-bg);
    border-color: rgba(255, 130, 1, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .service-features li {
    color: var(--services-text-secondary);
}

[data-theme="light"] .service-title {
    color: var(--services-text-primary);
}

[data-theme="light"] .service-description {
    color: var(--services-text-secondary);
}

[data-theme="light"] .check-icon {
    background: rgba(255, 130, 1, 0.1);
}

[data-theme="light"] .service-card:hover .check-icon {
    background: rgba(255, 130, 1, 0.2);
}

[data-theme="light"] .modern-btn.secondary {
    background: linear-gradient(135deg, rgba(240, 240, 240, 0.95), rgba(220, 220, 220, 0.9));
    color: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-btn.secondary::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 130, 1, 0.1));
}

[data-theme="light"] .modern-btn.secondary:hover {
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.98), rgba(230, 230, 230, 0.95));
    color: rgba(20, 20, 20, 1);
    border-color: rgba(255, 130, 1, 0.3);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* AI Service Specific for light theme */
[data-theme="light"] .ai-service:hover {
    box-shadow: 0 20px 40px rgba(255, 130, 1, 0.15);
}

/* Design Service Specific for light theme */
[data-theme="light"] .design-service:hover {
    box-shadow: 0 20px 40px rgba(251, 146, 60, 0.15);
}

/* Development Service Specific for light theme */
[data-theme="light"] .development-service:hover {
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.15);
} 