/* ExertSense Solutions - Service Landing Pages CSS */
/* Version: 1.0 */
/* Extends the main style.css with service-specific styles */

/* ========================================
   SERVICE PAGE HERO SECTION
   ======================================== */
.service-hero {
    min-height: 60vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 46, 95, 0.92) 0%, rgba(0, 128, 204, 0.85) 100%);
    z-index: 0;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.service-hero h1 {
    color: #fff;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-hero h2 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.5;
}

.service-hero .hero-cta {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: #00bfff;
    color: #fff !important;
    border-radius: 5rem;
    font-size: 1.7rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 15px;
}

.service-hero .hero-cta:hover {
    background: #fff;
    color: #002e5f !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Breadcrumb - Inside Hero Banner */
.service-hero .breadcrumb-container {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: transparent;
    padding: 0;
    border: none;
    z-index: 2;
}

.service-hero .breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 1.4rem;
}

.service-hero .breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.service-hero .breadcrumb li + li::before {
    content: '/';
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

.service-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.service-hero .breadcrumb a:hover {
    color: #00bfff;
}

.service-hero .breadcrumb .current {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   SERVICE OVERVIEW SECTION
   ======================================== */
.service-overview {
    padding: 80px 20px;
    background: #fff;
}

.service-overview .container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-overview h2 {
    font-size: 3rem;
    color: #002e5f;
    margin-bottom: 25px;
    text-align: center;
}

.service-overview p {
    font-size: 1.8rem;
    color: #333;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
}

/* ========================================
   KEY BENEFITS SECTION
   ======================================== */
.key-benefits {
    padding: 80px 20px;
    background: #f8f9fa;
}

.key-benefits .container {
    max-width: 1200px;
    margin: 0 auto;
}

.key-benefits h2 {
    font-size: 3rem;
    color: #002e5f;
    margin-bottom: 50px;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: #00bfff;
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.15);
}

.benefit-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #002e5f, #00bfff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-card .icon i {
    font-size: 2.5rem;
    color: #fff;
}

.benefit-card h3 {
    font-size: 2rem;
    color: #002e5f;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.7;
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process-section {
    padding: 80px 20px;
    background: #fff;
}

.process-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.process-section h2 {
    font-size: 3rem;
    color: #002e5f;
    margin-bottom: 50px;
    text-align: center;
}

.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    position: relative;
}

.process-step .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #002e5f, #00bfff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.3);
}

.process-step h3 {
    font-size: 1.8rem;
    color: #002e5f;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.6;
}

/* Process connector line */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -15px;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #00bfff, #002e5f);
}

/* ========================================
   TECHNOLOGIES SECTION
   ======================================== */
.technologies-section {
    padding: 80px 20px;
    background: #002e5f;
    color: #fff;
}

.technologies-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.technologies-section h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 50px;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    text-align: center;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.tech-item:hover {
    background: rgba(0, 191, 255, 0.2);
    transform: translateY(-5px);
    border-color: #00bfff;
}

.tech-item i {
    font-size: 3rem;
    color: #00bfff;
    margin-bottom: 12px;
}

.tech-item span {
    display: block;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* ========================================
   CASE STUDY SECTION
   ======================================== */
.case-study-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.case-study-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.case-study-section h2 {
    font-size: 3rem;
    color: #002e5f;
    margin-bottom: 50px;
    text-align: center;
}

.case-study-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.case-study-image {
    background: linear-gradient(135deg, #002e5f, #00bfff);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.case-study-image img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.case-study-image .industry-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: 600;
}

.case-study-content {
    padding: 50px;
}

.case-study-content h3 {
    font-size: 2.2rem;
    color: #002e5f;
    margin-bottom: 15px;
}

.case-study-content .challenge,
.case-study-content .solution,
.case-study-content .results {
    margin-bottom: 20px;
}

.case-study-content h4 {
    font-size: 1.5rem;
    color: #00bfff;
    margin-bottom: 8px;
    font-weight: 600;
}

.case-study-content p {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.case-study-content .results-list {
    list-style: none;
    padding: 0;
}

.case-study-content .results-list li {
    font-size: 1.5rem;
    color: #28a745;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.case-study-content .results-list li i {
    margin-right: 10px;
    color: #28a745;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 80px 20px;
    background: #fff;
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 3rem;
    color: #002e5f;
    margin-bottom: 50px;
    text-align: center;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 22px 25px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 1.7rem;
    color: #002e5f;
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    font-size: 1.5rem;
    color: #00bfff;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.service-cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #002e5f, #00bfff);
    text-align: center;
}

.service-cta-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.service-cta-section h2 {
    font-size: 3.2rem;
    color: #fff;
    margin-bottom: 20px;
}

.service-cta-section p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.6;
}

.service-cta-section .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service-cta-section .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background: #fff;
    color: #002e5f !important;
    border-radius: 50px;
    font-size: 1.7rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.service-cta-section .btn-primary:hover {
    background: #00bfff;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.service-cta-section .btn-primary i {
    margin-right: 10px;
}

.service-cta-section .btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background: transparent;
    color: #fff !important;
    border: 2px solid #fff;
    border-radius: 50px;
    font-size: 1.7rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.service-cta-section .btn-secondary i {
    margin-right: 10px;
}

/* ========================================
   RELATED SERVICES
   ======================================== */
.related-services {
    padding: 80px 20px;
    background: #f8f9fa;
}

.related-services .container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-services h2 {
    font-size: 3rem;
    color: #002e5f;
    margin-bottom: 50px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.related-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.related-card:hover {
    transform: translateY(-8px);
    border-color: #00bfff;
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.15);
}

.related-card i {
    font-size: 3.5rem;
    color: #00bfff;
    margin-bottom: 20px;
}

.related-card h3 {
    font-size: 1.8rem;
    color: #002e5f;
    margin-bottom: 12px;
}

.related-card p {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.6;
}

.related-card .learn-more {
    display: inline-block;
    margin-top: 15px;
    color: #00bfff;
    font-size: 1.4rem;
    font-weight: 600;
}

/* ========================================
   WHY CHOOSE US STRIP
   ======================================== */
.why-choose-strip {
    padding: 60px 20px;
    background: #fff;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.why-choose-strip .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.why-choose-strip .item {
    padding: 25px 15px;
}

.why-choose-strip .item i {
    font-size: 3rem;
    color: #002e5f;
    margin-bottom: 15px;
}

.why-choose-strip .item h4 {
    font-size: 2.2rem;
    color: #00bfff;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-choose-strip .item p {
    font-size: 1.4rem;
    color: #666;
    margin: 0;
}

/* ========================================
   SERVICE PAGE HEADER (sticky navigation)
   ======================================== */
.service-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-header .header {
    background: transparent;
}

.service-header.scrolled {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .service-hero h1 {
        font-size: 3.5rem;
    }

    .service-hero h2 {
        font-size: 1.8rem;
    }

    .case-study-card {
        grid-template-columns: 1fr;
    }

    .case-study-image {
        padding: 40px;
    }

    .case-study-content {
        padding: 40px;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .why-choose-strip .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: 50vh;
        padding: 100px 15px 50px;
    }

    .service-hero h1 {
        font-size: 2.8rem;
    }

    .service-hero h2 {
        font-size: 1.6rem;
    }

    .service-hero .hero-cta {
        padding: 1.2rem 3rem;
        font-size: 1.5rem;
    }

    .key-benefits,
    .process-section,
    .technologies-section,
    .case-study-section,
    .faq-section,
    .service-cta-section,
    .related-services {
        padding: 60px 15px;
    }

    .service-overview h2,
    .key-benefits h2,
    .process-section h2,
    .technologies-section h2,
    .case-study-section h2,
    .faq-section h2,
    .related-services h2 {
        font-size: 2.5rem;
        margin-bottom: 35px;
    }

    .service-cta-section h2 {
        font-size: 2.5rem;
    }

    .service-cta-section p {
        font-size: 1.6rem;
    }

    .service-cta-section .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .service-cta-section .btn-primary,
    .service-cta-section .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .process-timeline {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
    }

    .faq-question h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .why-choose-strip .container {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-study-image {
        padding: 30px;
    }

    .case-study-content {
        padding: 30px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
