/* Service Pages Specific Styles */

/* General Section Spacing */
section {
    position: relative;
}

section + section {
    margin-top: 0;
}

/* Ensure proper section flow */
.other-services + .cta-section {
    margin-top: 2rem;
}

/* Service Hero Section */
.service-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.service-hero-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.service-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-hero-icon i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: float 6s ease-in-out infinite;
}

/* Service Overview */
.service-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.overview-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.overview-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.overview-icon i {
    font-size: 1.8rem;
    color: white;
}

.overview-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.overview-item p {
    color: #666;
    line-height: 1.6;
}

/* Technologies Section */
.technologies {
    padding: 80px 0;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.tech-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.tech-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    text-align: center;
}

.tech-item:hover {
    background: #6c5ce7;
    color: white;
    transform: translateY(-3px);
}

.tech-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #6c5ce7;
    transition: color 0.3s ease;
}

.tech-item:hover i {
    color: white;
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content {
    margin-top: 1rem;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
}

/* Package Tabs */
.package-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #495057;
    min-width: 180px;
    justify-content: center;
}

.tab-btn:hover {
    border-color: #6c5ce7;
    background: rgba(108, 92, 231, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.1);
}

.tab-btn.active {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border-color: #6c5ce7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn span {
    font-size: 0.9rem;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

.tab-description {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tab-description h3 {
    font-size: 2rem;
    color: #2d3436;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tab-description p {
    font-size: 1.1rem;
    color: #636e72;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid #6c5ce7;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.price {
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: #6c5ce7;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #6c5ce7;
}

.period {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin-left: 0.25rem;
}

.pricing-header p {
    color: #666;
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
}

.pricing-features i {
    color: #6c5ce7;
    margin-right: 0.5rem;
    width: 16px;
}

.btn-outline {
    background: transparent;
    color: #6c5ce7;
    border: 2px solid #6c5ce7;
}

.btn-outline:hover {
    background: #6c5ce7;
    color: white;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.faq-question i {
    color: #6c5ce7;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Other Services Section - Additional Styles */
/* Main styles are now in styles.css */

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    clear: both;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for Service Pages */
@media (max-width: 768px) {
    .service-hero {
        padding: 100px 0 60px;
    }
    
    .service-hero-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .service-hero-text h1 {
        font-size: 2.2rem;
    }
    
    .service-hero-icon {
        width: 150px;
        height: 150px;
    }
    
    .service-hero-icon i {
        font-size: 3.5rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .tech-items {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    /* Responsive Tab Styles */
    .package-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .tab-description h3 {
        font-size: 1.5rem;
    }
    
    .tab-description p {
        font-size: 1rem;
    }
    

    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-hero-text h1 {
        font-size: 1.8rem;
    }
    
    .service-hero-text p {
        font-size: 1rem;
    }
    
    .service-hero-icon {
        width: 120px;
        height: 120px;
    }
    
    .service-hero-icon i {
        font-size: 3rem;
    }
    
    .overview-item,
    .tech-category,
    .process-step,
    .pricing-card {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
