/* ===================================
   SERVICE PAGES - ADDITIONAL STYLES
   =================================== */

/* Service Hero Section - Video Only */
.service-hero {
    position: relative;
    height: 720px;
    overflow: hidden;
}

.hero-video-container {
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Placeholder */
.video-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh-intense);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.video-placeholder::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.placeholder-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-primary);
}

.play-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto var(--spacing-sm);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-icon:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-depth), var(--glow-orange);
}

.placeholder-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.placeholder-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.video-placeholder.small {
    height: 300px;
    border-radius: var(--radius-lg);
}

.video-placeholder.small .play-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.video-placeholder.small .placeholder-content h2 {
    font-size: 1.2rem;
}

.video-placeholder.small .placeholder-content p {
    font-size: 0.9rem;
}

/* Service Title Section */
.service-title-section {
    background: var(--bg-white);
    padding: var(--spacing-sm) 0;
    text-align: center;
    color: var(--text-primary);
    border-bottom: 3px solid var(--primary);
    margin-top: 70px;
    /* Space for fixed header */
}

.service-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.service-tagline {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.2;
}

/* Floating Get a Quote Button */
.floating-quote-btn {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 100px;
    background-image: url('../assets/quotebg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 40px rgba(255, 69, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.floating-quote-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2), 0 0 50px rgba(255, 69, 0, 0.5);
    background-color: transparent;
}

.quote-btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.3rem;
    color: var(--text-light);
    padding: 0 1rem;
    background: transparent;
}

.quote-text-line1,
.quote-text-line2 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

/* Service Overview */
.service-overview {
    background: var(--bg-white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.overview-text {
    max-width: 800px;
    margin: 0 auto;
}

.overview-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.key-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 69, 0, 0.2);
}

.stat-item .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-item .stat-label {
    display: block;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
}

/* What We Offer */
.what-we-offer {
    background: var(--gradient-hero);
}

.what-we-offer .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 280px;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-depth);
    border-color: rgba(255, 69, 0, 0.2);
}

.service-item .service-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.1), rgba(135, 206, 235, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-item h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    line-height: 1.3;
    font-weight: 700;
}

.service-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    flex-grow: 1;
}

/* Process Timeline */
.process-timeline {
    background: var(--bg-white);
}

.timeline {
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent-blue));
}

.timeline-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--gradient-hero);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.testimonial-video-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.testimonial-video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-depth);
    border-color: rgba(255, 69, 0, 0.2);
}

.testimonial-video {
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.testimonial-info {
    padding: var(--spacing-md);
}

.testimonial-info h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Case Studies */
.case-studies {
    background: var(--bg-white);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.case-study-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-depth), var(--glow-orange);
    border-color: rgba(255, 69, 0, 0.2);
}

.case-study-image {
    height: 250px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-secondary);
}

.case-study-content {
    padding: var(--spacing-md);
}

.case-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.case-study-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.case-study-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 2px solid rgba(255, 69, 0, 0.1);
}

.case-metrics .metric {
    text-align: center;
}

.case-metrics .metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-metrics .metric-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* FAQ Section */
.faq-section {
    background: var(--gradient-hero);
}

.faq-container {
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 var(--spacing-md);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact CTA */
.contact-cta {
    background: var(--bg-white);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Service Navigation */
.service-navigation {
    background: var(--gradient-hero);
    padding: var(--spacing-lg) 0;
}

.service-navigation h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.service-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-nav-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 69, 0, 0.2);
}

.service-nav-icon {
    font-size: 2rem;
}

.service-nav-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero {
        min-height: 50vh;
    }

    .service-title {
        font-size: 2rem;
    }

    .service-tagline {
        font-size: 1.2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .case-studies-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button,
    .cta-button-secondary {
        width: 100%;
    }

    /* Mobile floating button */
    .floating-quote-btn {
        right: 15px;
        width: 110px;
        height: 80px;
    }

    .quote-text-line1,
    .quote-text-line2 {
        font-size: 0.85rem;
    }

    .service-hero {
        height: 480px;
    }
}