/* Industries We Server css */
.header-container {
    max-width: 1600px;
    margin: 0 200px;
}

.solutions-finder-header {
    font-family: "Roboto";
}

.solutions-title {
    font-size: 50px;
    font-weight: 700;
    color: #f9f9f9;
    margin-bottom: 10px;
}

.solutions-subtext {
    font-size: 20px;
    font-weight: 300;
    color: #f9f9f9;
    margin-bottom: 80px;
}

.solutions-finder-title {
    font-size: 50px;
    font-weight: 300;
    color: #f9f9f9;
    margin-bottom: 8px;
}

.solutions-finder-subtext {
    font-size: 25px;
    font-weight: 300;
    color: #f9f9f9;
    margin-bottom: 30px;
}

.main-container {
    max-width: 1600px;
    margin: 0 200px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 400px;
}

.right-section {
    flex: 0 0 750px;
    display: flex;
    flex-direction: column;
}

.success-section{
    display: flex;
    gap: 50px;
    flex-direction: column;
}

.industries-heading {
  line-height: 1.1;
}
/* 1) 8 Cards Styling */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin-bottom: 24px;
}

.category-card {
    padding: 0px 60px;
    border: 2px solid #455785;
    background: transparent;
    text-align: center;
    font-family: "Roboto";
    font-size: 20px;
    font-weight: 300;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.5s ease;
    height: 100%;
    min-height: 80px;
    max-height: 80px;
}

.category-card:hover {
    border-color: #2673ff;
}

.category-card.selected {
    background: #455785;
    border-color: #455785;
}

/* 2) Thumbnail Images */
.thumbnails-grid {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: flex-end;
}

.thumbnail-btn {
    width: 134px;
    height: 134px;
    border: 2px solid #455785;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all 0.5s ease;
}

.thumbnail-btn:hover {
    border-color: #2673ff;
}

.thumbnail-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

/* 3) Right Rectangle */
.main-image-container {
    width: 750px;
    height: 500px;
    border: 2px solid #455785;
    position: relative;
    overflow: hidden;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    border: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 0;
    margin: 0;
}

.image-arrow.prev {
    left: 0;
    background-image: url('../assets/backward_arrow.png');
}

.image-arrow.prev:hover {
    background-image: url('../assets/backward_arrow_hover.png');
}

.image-arrow.next {
    right: 0;
    background-image: url('../assets/forward_arrow.png');
}

.image-arrow.next:hover {
    background-image: url('../assets/forward_arrow_hover.png');
}

/* 4) Product Info Section */
.product-info {
    margin-top: 25px;
}

.product-details {
    margin-bottom: 16px;
}

.product-details img {
    /* max-width: 100% !important; */
    height: 48px !important;
}

.product-details h2 {
    font-family: "Roboto";
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
}
.specs-list {
    margin-bottom: 20px;
    border-bottom: 2px solid #455785;
}

.product-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-family: "Roboto";
    font-size: 20px;
    font-weight: 300;
}

.product-item:last-child {
    margin-bottom: 20px;
}

.product-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 4px;
    color: #2673ff;
}

.product-item ul {
    display: block;
    width: 100%;
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.product-item ul li {
    margin-bottom: 10px;
    display: list-item;
    color: #F9F9F9;
}

.product-item ul li:last-child {
    margin-bottom: 0;
}

/* Buttons */
.buttons-container {
    display: flex;
    gap: 16px;
}

.btn-product-page {
    padding: 3px 50px;
    background: #2673ff;
    border: 2px solid #2673ff;
    color: #ffffff;
    font-family: "Roboto";
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    max-height: 40px;
}

.btn-product-page:hover {
    background: linear-gradient(to bottom, #2673ff, #162d66);
    border: 2px solid #2673ff;
}

.btn-datasheet {
    padding: 3px 50px;
    background: transparent;
    border: 2px solid #455785;
    color: #ffffff;
    font-family: "Roboto";
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    max-height: 40px;
}

.btn-datasheet:hover {
    background: #2673ff;
    border: 2px solid #2673ff;
}

@media (max-width: 1800px) {
    .header-container {
        margin: 0 100px;
    }

    .main-container {
        margin: 0 100px;
    }
}

@media (max-width: 1700px) {
    .header-container {
        margin: 0 70px;
    }

    .main-container {
        margin: 0 70px;
    }

    .main-image-container {
        height: 400px;
    }
}

@media (max-width: 1536px) {
    .header-container {
        margin: 0 50px;
    }

    .main-container {
        margin: 0 50px;
        flex-direction: row;
    }

    .solutions-title {
        font-size: 42px;
    }

    .solutions-finder-title {
        font-size: 42px;
    }

    .solutions-subtext,
    .solutions-finder-subtext {
        font-size: 18px;
    }

    .right-section {
        flex: 0 0 500px;
    }

    .main-image-container {
        width: 100%;
        height: 100%;
    }

    .category-card {
        padding: 0px 45px;
        font-size: 18px;
        max-height: 100%;
    }

    .thumbnails-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid {
        margin-bottom: 20px;
    }

    .product-info {
        margin-top: 10px;
    }
}

@media (max-width: 1200px) {
    .main-container {
        flex-direction: row;
    }

    .right-section {
        width: 100%;
        flex: 1;
    }

    .main-image-container {
        width: 100%;
        max-width: none;
        height: 100%;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        max-height: 100%;
        padding: 0px 15px;
    }

}

@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
    }
    .main-image-container {
        height: 500px;
    }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .finder-grid {
        justify-content: start !important;
    }
    .right-section {
        flex-direction: row;
        gap: 20px;
    }
    .main-image-container {
        height: 220px;
        width: 350px;
    }
    .product-info {
        margin-top: 0;
    }
    .product-item {
        font-size: 18px;
    }
    .btn-product-page {
        padding: 3px 25px;
    }
}

@media (max-width: 868px) {
    .header-container {
        margin: 0 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        margin: 0 20px;
    }

    .solutions-title {
        font-size: 34px;
    }

    .solutions-finder-title {
        font-size: 32px;
    }

    .solutions-subtext,
    .solutions-finder-subtext {
        font-size: 16px;
    }

    .left-section {
        min-width: auto;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .thumbnails-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 20px 40px;
        font-size: 16px;
    }

    .thumbnail-btn {
        flex: 1 1 100%;
    }

    .right-section {
        flex-direction: column;
    }

    .main-image-container {
        height: 100%;
        width: 100%;
        min-height: 200px;
    }

    .buttons-container {
        flex-direction: column;
    }
    
}

.finder-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
  /* grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); */
  gap: 12px;
  justify-content: end;
  @media (max-width: 768px) {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  @media (max-width: 614px) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
   @media (max-width: 468px) {
    grid-template-columns: repeat(2, 1fr);
  }
  /* @media (max-width: 1535px) {
    grid-template-columns: repeat(4, 1fr);
  }
  @media (max-width: 1095px) {
    grid-template-columns: repeat(3, 1fr);
  }
   @media (max-width: 585px) {
    grid-template-columns: repeat(2, 1fr);
  } */
}

.we-serve {
    .slider-btn {
        padding: 10.5px 66.5px;
        font-size: 25px;
    }
    @media (max-width: 768px) {
        .slider-btn {
            padding: 5px;
            font-size: 18px;
        }
    }
}