/* Manufacturing Companies Page Styles */

/* Banner Section */
.support-banner {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    margin-top: 136px;
}

.support-banner .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive Banner */
@media (max-width: 767px) {
    .support-banner {
        height: 300px;
        margin-top: 120px;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .support-banner {
        height: 200px;
        margin-top: 70px;
        margin-bottom: 0;
    }
}

/* Section Styles */
.section {
    padding: 60px 0;
}

/* Intro Section */
.intro-section {
    background: #fff;
    padding: 80px 0 60px;
}

.intro-section .section-heading {
    color: #0b0c41;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
    text-align: center;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Why Industries Need Section */
.why-need-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.why-need-section .section-heading {
    color: #0b0c41;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.feature-box {
    background: #c4d69a !important;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #0b0c41;
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-box:hover .feature-image img {
    transform: scale(1.1);
}

.feature-box h4 {
    color: #0b0c41;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 20px 25px 15px;
    text-align: center;
}

.feature-box p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 25px 25px;
    text-align: center;
}

/* Who We Serve Section */
.who-serve-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.who-serve-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(11,12,65,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.who-serve-section .container {
    position: relative;
    z-index: 1;
}

.who-serve-section .section-heading {
    color: #0b0c41;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subheading {
    text-align: center;
    color: #555;
    font-size: 1.15rem;
    margin-bottom: 60px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.industry-card-detailed {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    border: 2px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 35px 30px;
    min-height: 420px;
}

.industry-card-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.industry-card-detailed:hover::before {
    transform: scaleX(1);
}

.industry-card-detailed:hover {
    border-color: #0b0c41;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(11, 12, 65, 0.15);
}

.industry-icon-detailed {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0b0c41 0%, #1a1d5e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: #fff;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(11, 12, 65, 0.2);
}

.industry-card-detailed:hover .industry-icon-detailed {
    background: linear-gradient(135deg, #f8b739 0%, #fba301 100%);
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(248, 183, 57, 0.4);
}

.industry-card-detailed h4 {
    color: #0b0c41;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.industry-card-detailed p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

.industry-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-features li {
    color: #555;
    font-size: 0.9rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.industry-features li i {
    color: #28a745;
    margin-right: 10px;
    font-size: 14px;
    flex-shrink: 0;
}

.industry-card-detailed:hover .industry-features li {
    color: #0b0c41;
    transform: translateX(5px);
}

.industry-card-detailed:hover .industry-features li i {
    color: #f8b739;
}

/* What We Offer Section */
.what-offer-section {
    background: linear-gradient(135deg, #0b0c41 0%, #1a1d5e 100%);
    padding: 80px 0;
}

.what-offer-section .section-heading {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.offer-item {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.offer-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #f8b739;
    transform: translateX(10px);
}

.offer-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #f8b739;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 22px;
    color: #0b0c41;
}

.offer-content h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.offer-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Benefits Section */
.benefits-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.benefits-section .section-heading {
    color: #0b0c41;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.benefit-box {
    background: #fff;
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.benefit-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f8b739 0%, #fba301 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-box:hover::before {
    transform: scaleX(1);
}

.benefit-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #0b0c41;
    transition: all 0.3s ease;
    border: 3px solid #f8b739;
}

.benefit-box:hover .benefit-icon {
    background: linear-gradient(135deg, #f8b739 0%, #fba301 100%);
    color: #fff;
    transform: rotate(360deg);
}

.benefit-box h4 {
    color: #0b0c41;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

/* Section Heading Styles */
.section-heading {
    text-align: center;
    margin-bottom: 15px;
    color: #0b0c41;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f8b739 0%, #fba301 100%);
    border-radius: 2px;
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-box,
.industry-card-detailed,
.offer-item,
.benefit-box {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Staggered animation delays */
.feature-box:nth-child(1),
.industry-card-detailed:nth-child(1),
.benefit-box:nth-child(1) { animation-delay: 0.1s; }
.feature-box:nth-child(2),
.industry-card-detailed:nth-child(2),
.benefit-box:nth-child(2) { animation-delay: 0.2s; }
.feature-box:nth-child(3),
.industry-card-detailed:nth-child(3),
.benefit-box:nth-child(3) { animation-delay: 0.3s; }
.feature-box:nth-child(4),
.industry-card-detailed:nth-child(4),
.benefit-box:nth-child(4) { animation-delay: 0.4s; }
.feature-box:nth-child(5),
.industry-card-detailed:nth-child(5),
.benefit-box:nth-child(5) { animation-delay: 0.5s; }
.feature-box:nth-child(6),
.industry-card-detailed:nth-child(6) { animation-delay: 0.6s; }
.industry-card-detailed:nth-child(7) { animation-delay: 0.7s; }
.industry-card-detailed:nth-child(8) { animation-delay: 0.8s; }
.industry-card-detailed:nth-child(9) { animation-delay: 0.9s; }

.offer-item:nth-child(1) { animation-delay: 0.1s; }
.offer-item:nth-child(2) { animation-delay: 0.2s; }
.offer-item:nth-child(3) { animation-delay: 0.3s; }
.offer-item:nth-child(4) { animation-delay: 0.4s; }
.offer-item:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .feature-box,
    .industry-card-detailed,
    .benefit-box {
        margin-bottom: 25px;
    }
    
    .offer-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 50px 0;
    }
    
    .intro-section,
    .why-need-section,
    .who-serve-section,
    .what-offer-section,
    .benefits-section {
        padding: 60px 0;
    }
    
    .section-heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .intro-section .section-heading,
    .why-need-section .section-heading,
    .who-serve-section .section-heading,
    .what-offer-section .section-heading,
    .benefits-section .section-heading {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .intro-content p {
        font-size: 1rem;
    }
    
    .section-subheading {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .feature-image {
        height: 180px;
    }
    
    .feature-box h4 {
        margin: 18px 20px 12px;
        font-size: 1.1rem;
    }
    
    .feature-box p {
        margin: 0 20px 20px;
        font-size: 0.9rem;
    }
    
    .benefit-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }
    
    .industry-card-detailed {
        padding: 25px 20px;
        min-height: auto;
    }
    
    .industry-icon-detailed {
        width: 65px;
        height: 65px;
        font-size: 26px;
        margin-bottom: 18px;
    }
    
    .industry-card-detailed h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .industry-card-detailed p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .industry-features li {
        font-size: 0.85rem;
        padding: 5px 0;
    }
    
    .offer-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-right: 15px;
    }
    
    .offer-item {
        padding: 20px;
    }
    
    .offer-content h4 {
        font-size: 1.1rem;
    }
    
    .offer-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .section-heading {
        font-size: 1.5rem;
    }
    
    .intro-section .section-heading {
        font-size: 1.6rem;
    }
    
    .feature-image {
        height: 160px;
    }
    
    .feature-box h4 {
        margin: 15px 18px 10px;
        font-size: 1.05rem;
    }
    
    .feature-box p {
        margin: 0 18px 18px;
        font-size: 0.88rem;
    }
    
    .benefit-box {
        padding: 25px 20px;
    }
    
    .industry-card-detailed {
        padding: 25px 20px;
        min-height: 380px;
    }
    
    .industry-icon-detailed {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .industry-card-detailed h4 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }
    
    .industry-card-detailed p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .industry-features li {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .offer-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .offer-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}


/* Equipment Cards */
.equipment-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.equipment-container {
    margin: auto;
    padding: 40px 40px;
    /* background-color: #d7e6a7; */

}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.equipment-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px;
}

.equipment-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.equipment-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.equipment-badge.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.equipment-badge.success {
    background-color: #28a745;
    color: var(--white);
}

.equipment-badge.warning {
    background-color: #ffc107;
    color: #212529;
}

.equipment-card .card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.equipment-card .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.equipment-card .card-text {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.equipment-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.equipment-features li {
    color: #495057;
    position: relative;
    padding-left: 30px;
    margin-bottom: 2px;
    line-height: 1.5;
}

.equipment-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Buttons */
.btn-view-details {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    margin-top: auto;
}

.btn-view-details:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 31, 91, 0.2);
}

.btn-view-all {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-view-all:hover {
    background-color: #171840;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}