/*stats-section*/
.stats-item {
    padding-left:30px;
    border-left: 2px solid #fff;
    transition: all 0.3s ease;
    height: 100%;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
}

.stats-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}
.production-section {
    position: relative;
    background: url('../images/b8.jpg') center/cover no-repeat;
    padding: 60px 0;
}

.main-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: #fff;
    margin: 20px 0;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

.main-image-wrapper {
    position: relative;
    padding: 10px;
}

.main-image-wrapper::before,
.main-image-wrapper::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 4px solid #0d6efd;
}

.main-image-wrapper::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 8px;
}

.main-image-wrapper::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 8px;
}

.main-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.gallery-section {
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 180px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* CSS Grid Layout - Exactly matching the image */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 220px);
    gap: 8px;
    background: #ffffff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #e2e8f0;
}
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.photo-item:hover img {
    transform: scale(1.05);
}

/* Grid positioning - Exactly matching original image layout */
/* Row 1: 3 equal images */
.item-1 { grid-column: 1; grid-row: 1; }
.item-2 { grid-column: 2; grid-row: 1; }
.item-3 { grid-column: 3; grid-row: 1; }

/* Row 2-3: Left and middle span 2 rows, right side has 2 small images */
.item-4 { grid-column: 1; grid-row: 2 / span 2; }  /* Left tall */
.item-5 { grid-column: 2; grid-row: 2 / span 2; }  /* Middle tall */
.item-6 { grid-column: 3; grid-row: 2; }            /* Right top */
.item-7 { grid-column: 3; grid-row: 3; }            /* Right bottom */

/* Row 4: 3 equal images */
.item-8 { grid-column: 1; grid-row: 4; }
.item-9 { grid-column: 2; grid-row: 4; }
.item-10 { grid-column: 3; grid-row: 4; }

/* Hover overlay effect */
.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 15px 12px 10px;
    opacity: 0;
    transition: opacity 0.3s;
}
.photo-item:hover .photo-overlay {
    opacity: 1;
}
.photo-overlay span {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.global-reach-section {
    background-color: #f0f0f0;
}

.map-container {
    position: relative;
    overflow: hidden;
}
.world-map img{width: 60%;}
.content-box {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 3px solid var(--primary-green);
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.content-box::before {
    content: '';
    position: absolute;
    left: -43px;
    top: 20%;
    transform: translateY(-50%);
    border: 20px solid transparent;
    border-right-color: var(--primary-green);
}

.content-box::after {
    content: '';
    position: absolute;
    left: -39px;
    top: 20%;
    transform: translateY(-50%);
    border: 20px solid transparent;
    border-right-color: white;
}

.content-box-title {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-text:last-child {
    margin-bottom: 0;
}

.faqs-section{
    background: #eee;
    padding: 50px 0;
}
.accordion-item {
    background: none;
    border: none;
    border-top: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
    border-bottom: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
}
.accordion-button{
    background: none;
    font-weight: bold;
}
.accordion-button:focus {
    box-shadow: none;
}
.accordion-button:not(.collapsed){
    background: none;
}
/* Contact CTA */
.contact-cta {
    padding: 50px 0;
    color: #fff;
}

.contact-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-cta p {
    margin-bottom: 10px;
}
/* Engineering Section */
.engineering-card {
    background: #fff;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.engineering-card img {
    width: 100%;
}

.engineering-card .card-body {
    padding: 10px;
    text-align: center;
}
.engineering-card .card-body a{
    color: #333;
}
.engineering-card .card-body a:hover{
    text-decoration: underline;
}

.engineering-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.engineering-card p {
    font-size: 14px;
    color: #666;
}
@media (max-width: 1200px) {
    .content-box{
        position: relative;
        width: 100%;
        max-width: 100%;
        transform: unset;
        margin-bottom: 2rem;
    }
    .content-box::after,.content-box::before{display: none;}
    .world-map img{width: 100%;}
}
@media (max-width: 992px) {
    .main-title {
        font-size: 2rem;
    }

    .main-image-wrapper {
        margin-top: 40px;
    }

    .gallery-item {
        height: 150px;
    }

}
@media (max-width: 768px) {
    .photo-grid{display: block;}
    .photo-item{margin-bottom: 10px;}
    .stats-item {margin-bottom: 20px;height: auto;border-left:none;padding-left: 0;}
    .stats-number{font-size: 2rem;}
}
@media (max-width: 576px) {
    .main-title {
        font-size: 1.3rem;
    }
    .description-text {
        font-size: 1rem;
    }

    .gallery-item {
        height: 130px;
    }

    .main-image-wrapper::before,
    .main-image-wrapper::after {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
}