/* Services Page Styles */

#services-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.9;
}

.services-grid-section {
    padding: 6rem 0;
    background: #0a0a0a;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

.services-3d-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.service-card-3d {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 99, 235, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: cardFloat 6s ease-in-out infinite;
}

.service-card-3d:nth-child(1) { animation-delay: 0s; }
.service-card-3d:nth-child(2) { animation-delay: 1.5s; }
.service-card-3d:nth-child(3) { animation-delay: 3s; }
.service-card-3d:nth-child(4) { animation-delay: 4.5s; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotateX(0deg); }
    50% { transform: translateY(-10px) rotateX(2deg); }
}

.service-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.6s;
}

.service-card-3d:hover::before {
    left: 100%;
}

.service-card-3d:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(-2deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.4);
    border-color: rgba(37, 99, 235, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.card-content h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-cta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.service-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ff6b6b;
}

.modal-body h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-body p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-body ul {
    list-style: none;
    margin-bottom: 2rem;
}

.modal-body li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 1.5rem;
}

.modal-body li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.modal-body .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    text-align: center;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.service-info {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.service-info.active {
    display: block;
}

.service-info h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-info ul {
    list-style: none;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    text-align: left;
}

.service-info li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 1.5rem;
}

.service-info li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.service-info .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

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

/* Services Carousel Styles */
.services-carousel-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.services-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
}

.services-carousel-section .container {
    position: relative;
    z-index: 2;
}

.services-carousel-container {
    position: relative;
    margin-bottom: 4rem;
}

.services-carousel {
    height: 400px;
    border-radius: 20px;
    position: relative;
    background: radial-gradient(circle, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.carousel-btn:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

.carousel-indicators {
    display: flex;
    gap: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.indicator:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

.indicator.active {
    background: #2563eb;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
    transform: scale(1.3);
}

.service-details {
    position: relative;
}

.service-detail {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.service-detail.active {
    display: block;
}

.service-detail h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-detail p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-detail ul {
    list-style: none;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.service-detail li {
    padding: 0.8rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 8px;
    border-left: 3px solid #2563eb;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 2.5rem;
    transition: all 0.3s ease;
}

.service-detail li:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateX(5px);
}

.service-detail li:before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: #2563eb;
    font-weight: bold;
    font-size: 1.1rem;
}

.service-detail .price {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    padding: 1rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    background-color: rgba(255, 215, 0, 0.05);
    animation: pulse-gold 2s ease-in-out infinite;
}

.cta-services {
    padding: 4rem 0;
    background: rgba(37, 99, 235, 0.05);
    text-align: center;
    border-radius: 20px;
    margin-top: 3rem;
}

.cta-services h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-button-large {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 1.5rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    animation: float-button 3s ease-in-out infinite;
}

.cta-button-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.6);
}

.cta-button-large:focus {
    outline: 2px solid #ffd700;
    outline-offset: 3px;
}

/* Modal Content Enhancements */
.service-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-section {
    margin-bottom: 2rem;
}

.service-section h4 {
    color: #2563eb;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.features-list li {
    background: rgba(37, 99, 235, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

.examples, .process {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.6;
}

.price-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.modal-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.price-breakdown {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-item {
    background: rgba(37, 99, 235, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #2563eb;
    text-align: left;
}

.price-item.premium {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: #ffd700;
}

.price-item strong {
    color: #2563eb;
    font-size: 1.1rem;
}

.price-item.premium strong {
    color: #ffd700;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.6); }
}

@keyframes float-button {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .services-3d-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-carousel {
        height: 250px;
    }
    
    .service-detail {
        padding: 2rem;
    }
    
    .service-detail ul {
        grid-template-columns: 1fr;
    }
    
    .carousel-controls {
        gap: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 2rem;
        max-height: 80vh;
        overflow-y: auto;
    }
}