/* Single Industry Page Styles */

.industry-single {
    background: #fff;
}

/* Hero Section */
.industry-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: #273039;
    overflow: hidden;
}

.industry-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.industry-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.industry-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 204, 113, 0.5);
    z-index: 2;
}

.industry-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.industry-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #273039;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.industry-hook {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.industry-cta-buttons .btn,
.btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.industry-cta-buttons .btn-primary {
    background: #25a35a;
    color: #fff;
    border: 2px solid #25a35a;
}

.industry-cta-buttons .btn-primary:hover {
    background: #19753f;
    border-color: #19753f;
}

.industry-cta-buttons .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.industry-cta-buttons .btn-secondary:hover {
    background: #e6eaec;
    color: #273039;
    border: 2px solid #e6eaec;
}

.btn-primary {
    background: #25a35a;
    color: white;
}

.btn-primary:hover {
    background: #19753f;
    color: white;
}

.btn-secondary {
    background: white;
    color: #273039;
}

.btn-secondary:hover {
    background: #e6eaec;
    color: #273039;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

/* Arrow hover effect for CTA buttons */
.industry-cta-buttons .btn i { 
    transition: transform 200ms ease; 
}

.industry-cta-buttons .btn:hover i,
.industry-cta-buttons .btn:focus-visible i { 
    transform: translateX(6px); 
}

/* Rating pill */
.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #273039;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.rating-pill i {
    color: #ffd700;
}

/* Industry Info Pills */
.industry-info-pills {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.industry-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #273039;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Section Styles */
.section-padding {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #273039;
    text-align: center;
}

.section-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Overview Section */
.industry-overview-section {
    background: #f8f9fa;
}

.industry-overview-content {
    text-align: center;
}

/* Challenges Section */
.industry-challenges-section {
    background: #fff;
}

.industry-challenges-content {
    text-align: center;
}

.challenges-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 600px;
    text-align: left;
}

.challenges-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.125rem;
    color: #4a5568;
    position: relative;
    padding-left: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.challenges-list li i {
    color: #273039;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.challenges-list li:last-child {
    border-bottom: none;
}

/* Solutions Section */
.industry-solutions-section {
    background: #f8f9fa;
}

.industry-solutions-content {
    text-align: center;
}

.related-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.service-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #273039;
    text-decoration: none;
    border-radius: 55px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.service-link:hover {
    background: #273039;
    color: #fff;
    border-color: #273039;
    transform: translateY(-2px);
}

/* Related Industries Section */
.industry-related-section {
    background: #fff;
}

.industry-related-content {
    text-align: center;
}

.related-industries-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 600px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.related-industries-list li {
    margin: 0;
}

.related-industries-list a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #273039;
    text-decoration: none;
    border-radius: 55px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.related-industries-list a:hover {
    background: #273039;
    color: #fff;
    border-color: #273039;
    transform: translateY(-2px);
}

/* Bottom CTA Section */
.industry-bottom-cta-section {
    background: var(--menu-color-5);
    color: #273039;
}

.industry-bottom-cta-content {
    text-align: center;
}

.industry-bottom-cta-section .section-title {
    color: #fff;
}

.industry-bottom-cta-section .section-content {
    color: #fff;
}

.industry-bottom-cta-section .btn {
    margin-top: 2rem;
}

.case-studies-cta,
.btn.case-studies-cta,
.btn-primary.case-studies-cta {
    background: #25a35a !important;
    color: #fff !important;
    border: 2px solid #25a35a !important;
}

.case-studies-cta:hover,
.btn.case-studies-cta:hover,
.btn-primary.case-studies-cta:hover {
    background: #19753f !important;
    border-color: #19753f !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .industry-hero {
        min-height: 100vh;
    }
    
    .industry-title {
        font-size: 2.5rem;
    }
    
    .industry-hook {
        font-size: 1.125rem;
    }
    
    .industry-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .industry-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-content {
        font-size: 1rem;
    }
    
    .challenges-list {
        margin: 1.5rem auto;
    }
    
    .challenges-list li {
        font-size: 1rem;
        padding: 0.75rem 0 0.75rem 1.5rem;
    }
    
    .related-services-list,
    .related-industries-list {
        flex-direction: column;
        align-items: center;
    }
    
    .service-link,
    .related-industries-list a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* Case Studies Section Mobile Improvements */
    .case-studies-split {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .case-studies-left {
        order: 1;
        width: 100% !important;
        grid-column: 1 !important;
    }
    
    .case-studies-right {
        order: -1;
        width: 100% !important;
        grid-column: 1 !important;
    }
}

@media (max-width: 480px) {
    .industry-hero {
        min-height: 100vh;
    }
    
    .industry-hero-content {
        padding: 2rem 0;
    }
    
    .industry-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Remove Bootstrap's default blue focus/active styles on buttons */
.industry-single .btn:focus,
.industry-single .btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.industry-single .btn:active,
.industry-single .btn.active {
    background-color: inherit;
    border-color: inherit;
}

.industry-single .btn-primary:focus,
.industry-single .btn-primary:focus-visible {
    background-color: #007bff;
    border-color: #007bff;
}

.industry-single .btn-primary:active,
.industry-single .btn-primary.active {
    background-color: #0056b3;
    border-color: #0056b3;
}
