/* ====================================================================
   SERVICES DETAIL PAGE STYLES
   ==================================================================== */

/* Back to Home Button */
.back-to-home {
    position: relative;
    width: 90px;
    top: 8rem;
    left: 2rem;
    z-index: 999;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 238, 255, 0.3);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-btn:hover {
    background: rgba(0, 238, 255, 0.1);
    border-color: var(--main-color);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 238, 255, 0.3);
}

.back-btn i {
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.back-btn:hover i {
    transform: scale(1.1);
}

/* Services Detail Section */
.services-detail {
    background: var(--bg-color);
    min-height: 100vh;
    padding: 12rem 9% 5rem;
    position: relative;
}

.services-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 238, 255, 0.03), transparent);
    pointer-events: none;
}

.services-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.services-hero {
    margin-bottom: 8rem;
    text-align: center;
}

.services-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    flex-wrap: wrap;
}

.hero-icon {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--main-color), #00d4ff);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(0, 238, 255, 0.4);
    transition: all 0.3s ease;
}

.hero-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 0 60px rgba(0, 238, 255, 0.6);
}

.hero-icon i {
    font-size: 8rem;
    color: var(--bg-color);
}

.hero-text {
    flex: 1;
    text-align: left;
    min-width: 400px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.title-highlight {
    color: var(--main-color);
    display: block;
}

.hero-subtitle {
    font-size: 2.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--main-color);
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-title i {
    font-size: 3rem;
    color: var(--main-color);
}

.section-description {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid Section */
.services-grid-section {
    margin-bottom: 8rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: linear-gradient(135deg, var(--second-bg-color), rgba(0, 238, 255, 0.05));
    border: 1px solid rgba(0, 238, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 238, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 238, 255, 0.3);
    border-color: var(--main-color);
}

.service-icon {
    font-size: 5rem;
    color: var(--main-color);
    margin-bottom: 2rem;
    display: block;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.service-card p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
}

.service-features li i {
    color: var(--main-color);
    font-size: 1.6rem;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--bg-color), transparent);
    color: var(--main-color);
    text-decoration: none;
    border: 0.5px solid var(--main-color);
    border-radius: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 238, 255, 0.4);
}

/* Process Section */
.process-section {
    background: linear-gradient(135deg, var(--second-bg-color), rgba(0, 238, 255, 0.05));
    border: 1px solid rgba(0, 238, 255, 0.1);
    border-radius: 2rem;
    padding: 5rem 3rem;
    margin-bottom: 8rem;
    position: relative;
    overflow: hidden;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    position: relative;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 238, 255, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover {
    background: rgba(0, 238, 255, 0.1);
    border-color: var(--main-color);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -1.5rem;
    left: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--main-color), #00d4ff);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.step-content p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.feature-tag {
    padding: 0.4rem 1rem;
    background: rgba(0, 238, 255, 0.1);
    color: var(--main-color);
    border: 1px solid rgba(0, 238, 255, 0.3);
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Technologies Section */
.technologies-section {
    margin-bottom: 8rem;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.tech-category {
    background: linear-gradient(135deg, var(--second-bg-color), rgba(0, 238, 255, 0.05));
    border: 1px solid rgba(0, 238, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 238, 255, 0.2);
    border-color: var(--main-color);
}

.tech-category h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    border: 1px solid rgba(0, 238, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    background: rgba(0, 238, 255, 0.1);
    border-color: var(--main-color);
    transform: scale(1.05);
}

.tech-item i {
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.tech-item:hover i {
    transform: scale(1.1);
}

.tech-item span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
}

/* Pricing Section */
.pricing-section {
    margin-bottom: 8rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: linear-gradient(135deg, var(--second-bg-color), rgba(0, 238, 255, 0.05));
    border: 1px solid rgba(0, 238, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Coming Soon Overlay Style */
.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 28, 36, 0.7); /* Semi-transparent dark background */
    backdrop-filter: blur(5px); /* Blur effect */
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2rem;
    cursor: not-allowed;
}

.coming-soon-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--main-color);
    text-shadow: 0 0 10px rgba(0, 238, 255, 0.5);
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem 3rem;
    border-radius: 1rem;
    border: 1px solid var(--main-color);
    transform: rotate(-5deg);
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.3);
}

.pricing-card:hover .coming-soon-text {
    transform: scale(1.1) rotate(0deg);
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--main-color);
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.3);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 2rem;
    right: -3rem;
    background: linear-gradient(135deg, var(--main-color), #00d4ff);
    color: var(--bg-color);
    padding: 0.5rem 4rem;
    font-size: 1.2rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 238, 255, 0.3);
    border-color: var(--main-color);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.currency {
    font-size: 2rem;
    color: var(--main-color);
    font-weight: 600;
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--main-color);
}

.period {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-features {
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature i {
    color: var(--main-color);
    font-size: 1.6rem;
}

.pricing-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-color)20%,#00d5ff4b 100%);
    color: var(--main-color);
    text-decoration: none;
    border-radius: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 238, 255, 0.4);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 8rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, var(--second-bg-color), rgba(0, 238, 255, 0.05));
    border: 1px solid rgba(0, 238, 255, 0.1);
    border-radius: 1.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--main-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 238, 255, 0.1);
}

.faq-question h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.faq-question i {
    font-size: 2rem;
    color: var(--main-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 2rem;
}

.faq-answer p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--second-bg-color), rgba(0, 238, 255, 0.1));
    border: 1px solid rgba(0, 238, 255, 0.2);
    border-radius: 2rem;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 238, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 3rem;
    border-radius: 2rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: transparent;
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 238, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border-color: var(--main-color);
}

.btn-secondary:hover {
    background: rgba(0, 238, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 238, 255, 0.2);
}

.btn i {
    font-size: 1.8rem;
}

/* Loading Placeholder */
.loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 238, 255, 0.3);
    border-top: 4px solid var(--main-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-placeholder p {
    color: var(--main-color);
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-detail {
        padding: 12rem 5% 5rem;
    }
    
    .hero-text {
        min-width: 350px;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .back-to-home {
        top: 7rem;
        left: 1rem;
    }
    
    .back-btn {
        padding: 0.8rem 1.2rem;
        font-size: 1.2rem;
    }
    
    .services-detail {
        padding: 10rem 3% 3rem;
    }
    
    .services-hero-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        min-width: auto;
        text-align: center;
    }
    
    .hero-icon {
        width: 150px;
        height: 150px;
    }
    
    .hero-icon i {
        font-size: 6rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.6rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .section-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-description {
        font-size: 1.4rem;
    }
    
    .cta-content h2 {
        font-size: 2.8rem;
    }
    
    .cta-content p {
        font-size: 1.6rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-detail {
        padding: 9rem 2% 2rem;
    }
    
    .hero-icon {
        width: 120px;
        height: 120px;
    }
    
    .hero-icon i {
        font-size: 5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .service-card,
    .process-step,
    .tech-category,
    .pricing-card {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .process-section {
        padding: 3rem 2rem;
    }
    
    .cta-section {
        padding: 3rem 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.4rem;
    }
}
/* Back to Home Button - Complete Styling */
.back-to-home {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
    animation: slideInLeft 0.8s ease-out;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
    background: rgba(0, 238, 255, 0.1);
    color: var(--bg-color);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 238, 255, 0.3);
}

.back-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-btn:hover i {
    transform: translateX(-3px);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
