/* Service Detail Page Styles */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.service-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, rgba(212,118,16,0.1) 0%, var(--bg-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--nav-height) + 60px);
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,118,16,0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent-primary);
}

.breadcrumb span {
    color: var(--accent-primary);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -3px;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 800px;
}

/* Service Tabs */
.service-tabs {
    background: var(--bg-lighter);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: var(--nav-height);
    z-index: 100;
    padding: 0;
}

.tabs-wrapper {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(212,118,16,0.5) rgba(255,255,255,0.05);
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}

.tabs-wrapper::-webkit-scrollbar {
    height: 4px;
}

.tabs-wrapper::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}

.tabs-wrapper::-webkit-scrollbar-thumb {
    background: rgba(212,118,16,0.5);
    border-radius: 4px;
}

.tabs-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(212,118,16,0.8);
}

.tab-btn {
    padding: 1.2rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
    text-decoration: none;
    display: block;
    flex-shrink: 0;
    min-width: fit-content;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
    background: rgba(212,118,16,0.05);
}

/* Service Section Styling */
.service-content {
    padding: 100px 0;
    background: var(--bg-dark);
}

.service-content.bg-alt {
    background: var(--bg-lighter);
}

.service-section-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: rgba(212,118,16,0.2);
    line-height: 1;
}

.service-section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.service-features {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.service-features li i {
    color: var(--accent-primary);
    font-size: 1rem;
}

.content-left h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.content-left p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Main Content Section */
.service-content-old {
    padding: 100px 0;
    background: var(--bg-dark);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.content-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.content-left p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Technologies Section */
.technologies-section {
    padding: 100px 0;
    background: var(--bg-lighter);
}

.section-header-center {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header-center h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.section-header-center p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.tech-category {
    margin-bottom: 4rem;
}

.tech-category h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.tech-item:hover {
    background: rgba(212,118,16,0.08);
    border-color: rgba(212,118,16,0.3);
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
}

.tech-item span {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.section-title-center {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 5rem;
    text-transform: uppercase;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212,118,16,0.4), transparent);
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-lighter);
    border: 3px solid rgba(212,118,16,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.process-step:hover .step-number {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
    transform: scale(1.1);
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--bg-lighter);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.feature-card:hover {
    border-color: rgba(212,118,16,0.3);
    transform: translateY(-8px);
    background: rgba(212,118,16,0.05);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: rgba(212,118,16,0.1);
    border: 1px solid rgba(212,118,16,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    transition: all 0.4s;
}

.feature-card:hover .feature-icon {
    background: var(--accent-primary);
    color: #fff;
    transform: rotate(-5deg) scale(1.1);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.project-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.project-card:hover {
    border-color: rgba(212,118,16,0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.8rem;
}

.project-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags span {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    background: rgba(212,118,16,0.1);
    border: 1px solid rgba(212,118,16,0.2);
    border-radius: 20px;
    color: var(--accent-primary);
}

/* Industries Section */
.industries-section {
    padding: 100px 0;
    background: var(--bg-lighter);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.industry-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
}

.industry-card:hover {
    background: rgba(212,118,16,0.08);
    border-color: rgba(212,118,16,0.3);
    transform: translateY(-5px);
}

.industry-card i {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.industry-card:hover i {
    opacity: 1;
}

.industry-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 2rem;
}

.faq-question span {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s;
}

.faq-question:hover span {
    color: var(--accent-primary);
}

.faq-question i {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.faq-item.active .faq-question i {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 0 2rem 0;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(212,118,16,0.1) 0%, var(--bg-lighter) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,118,16,0.15), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--accent-primary);
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212,118,16,0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    color: var(--text-main);
    padding: 1.2rem 3rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255,255,255,0.2);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-grid.reverse {
        direction: ltr;
    }

    .service-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .service-number {
        font-size: 3rem;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .tabs-wrapper {
        justify-content: flex-start;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }
}
