/* industries.css - Consolidated Industries Page Styles */

/* Main Content */
.main-content.industries-main {
    font-family: 'Montserrat', sans-serif;
    color: #2b2b2b;
    background: #ffffff;
    line-height: 1.5;
}

/* Hero Section - Updated for Full Responsiveness */
.industries-hero {
    position: relative;
    background: linear-gradient(rgba(54, 60, 79, 0.95), rgba(54, 60, 79, 0.95)), 
                url('images/22.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 300px;
    padding: 40px 20px;
}

.industries-hero-overlay {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    color: white;
}

.industries-hero h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: clamp(15px, 2vw, 20px);
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.industries-hero p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: #e0e0e0;
    line-height: 1.6;
    max-width: 800px;
    margin: 0;
    padding-right: 20px;
}

/* Industries Container */
.industries-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Split Section - Base Layout */
.split-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin: 80px 0;
    min-height: 400px;
}

/* Default layout: content left, image right */
.split-content {
    flex: 1;
    padding: 20px;
    order: 1;
}

.split-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 2;
}

/* Reverse layout: image left, content right */
.split-section.reverse .split-content {
    order: 2;
}

.split-section.reverse .split-image {
    order: 1;
}

/* Content Styling */
.split-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #363C4F;
    line-height: 1.2;
}

.split-content p {
    font-size: clamp(0.95rem, 1.2vw, 1rem);
    color: #444;
    margin-bottom: 15px;
    line-height: 1.6;
}

.split-content p:first-of-type {
    font-size: clamp(1rem, 1.3vw, 1rem);
    color: #333;
    font-weight: 500;
}

/* Image Styling */
.split-image img {
    width: 100%;
    max-width: 550px;
    height: 400px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #999, transparent);
    margin: 40px auto;
    max-width: 800px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: clamp(10px, 1.5vw, 12px) clamp(20px, 2vw, 24px);
    background: #c88a2e;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid #c88a2e;
    margin-top: 20px;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.cta-button:hover {
    background: #a96f1f;
    border-color: #a96f1f;
}

.cta-button.primary {
    background: #363C4F;
    border-color: #363C4F;
    padding: clamp(12px, 2vw, 14px) clamp(24px, 3vw, 32px);
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    border-radius: 25px;
}

.cta-button.primary:hover {
    background: #0f2544;
    border-color: #0f2544;
}

/* Industries CTA Section */
.industries-cta {
    background: #fff;
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin: 80px auto;
    border-radius: 10px;
    border: 2px solid #ddd;
    max-width: 1200px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 20px;
    color: #363C4F;
    line-height: 1.2;
}

.cta-content p {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    color: #333;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-note {
    margin-top: 30px;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    color: #999;
}

.cta-note a {
    color: #a96f1f;
    text-decoration: none;
    font-weight: 600;
}

.cta-note a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .split-section {
        gap: 40px;
        margin: 60px 0;
    }
    
    .industries-hero {
        padding: 30px 20px;
    }
    
    .industries-hero-overlay {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .industries-hero {
        min-height: 250px;
        padding: 30px 15px;
    }
    
    .industries-hero-overlay {
        padding: 0 30px;
    }
    
    .industries-hero h1 {
        font-size: 2.25rem;
    }
    
    .industries-hero p {
        font-size: 1rem;
        padding-right: 0;
    }
    
    .split-section {
        flex-direction: column;
        gap: 40px;
        margin: 60px 0;
    }
    
    .split-content {
        order: 1 !important;
        text-align: center;
        padding: 0 10px;
    }
    
    .split-image {
        order: 2 !important;
    }
    
    .split-content h2 {
        font-size: 1.75rem;
    }
    
    .split-image img {
        max-width: 100%;
        height: 300px;
    }
    
    .industries-cta {
        margin: 60px 20px;
        padding: 50px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .industries-hero {
        min-height: 200px;
        padding: 25px 15px;
    }
    
    .industries-hero-overlay {
        padding: 0 20px;
    }
    
    .industries-hero h1 {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .industries-hero p {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .split-content h2 {
        font-size: 1.5rem;
    }
    
    .split-section {
        margin: 40px 0;
    }
    
    .split-image img {
        height: 250px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .cta-button.primary {
        padding: 12px 28px;
        font-size: 1rem;
    }
    
    .industries-cta {
        padding: 40px 20px;
        margin: 40px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .industries-hero {
        min-height: 180px;
        padding: 20px 10px;
    }
    
    .industries-hero-overlay {
        padding: 0 15px;
    }
    
    .industries-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .industries-hero p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .split-content h2 {
        font-size: 1.3rem;
    }
    
    .split-content p {
        font-size: 0.95rem;
    }
    
    .split-image img {
        height: 200px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .cta-button.primary {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .industries-cta {
        padding: 30px 15px;
        margin: 30px 15px;
        border-radius: 8px;
    }
    
    .cta-content h2 {
        font-size: 1.3rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
    }
    
    .cta-note {
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .industries-hero {
        min-height: 160px;
        padding: 15px 8px;
    }
    
    .industries-hero h1 {
        font-size: 1.3rem;
    }
    
    .industries-hero p {
        font-size: 0.85rem;
    }
    
    .split-content h2 {
        font-size: 1.2rem;
    }
    
    .split-content p {
        font-size: 0.9rem;
    }
    
    .split-image img {
        height: 180px;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .cta-button.primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Individual Industry Pages Styles */
.industry-hero {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 0 20px;
}

.industry-hero-overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
}

.industry-hero h1 {
    font-size: 2.25rem;
    margin-bottom: 15px;
    color: white;
}

.industry-hero p {
    font-size: 1.1rem;
    color: #e0e0e0;
}

.services-intro {
    text-align: center;
    font-size: 1.25rem;
    color: #444;
    margin: 40px auto;
    max-width: 800px;
    padding: 0 20px;
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.cta-section {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    margin: 40px 0;
}

.cta-section h2 {
    color: #1a365d;
    margin-bottom: 20px;
    font-size: 2rem;
}

.cta-section p {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Industry-specific hero backgrounds */
.textile-leather .industry-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                     url('https://images.unsplash.com/photo-1523381294911-8a3f492d3d6e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
}

.chemical-pharma .industry-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                     url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
}

.sugar-plants .industry-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                     url('https://images.unsplash.com/photo-1592921870587-6e059a6e5e2e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
}

.power-utilities .industry-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                     url('https://images.unsplash.com/photo-1549399542-7e3f8b79c341?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
}

.manufacturing .industry-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                     url('https://images.unsplash.com/photo-1486401899868-0e435ed85128?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
}

.hotels-institutions .industry-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                     url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
}

.food-processing .industry-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                     url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
}

/* Mobile-specific adjustments for individual pages */
@media (max-width: 768px) {
    .industry-hero {
        height: 200px;
        margin-bottom: 30px;
    }
    
    .industry-hero-overlay {
        padding: 20px;
    }
    
    .industry-hero h1 {
        font-size: 1.75rem;
    }
    
    .industry-hero p {
        font-size: 1rem;
    }
    
    .services-intro {
        font-size: 1.1rem;
        margin: 30px auto;
    }
    
    .services-grid {
        gap: 20px;
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .image-gallery {
        gap: 15px;
        margin: 40px auto;
        padding: 0 15px;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .industry-hero {
        height: 180px;
    }
    
    .industry-hero h1 {
        font-size: 1.5rem;
    }
    
    .industry-hero p {
        font-size: 0.9rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
}