.custom-container{
    padding: 0 10vw;
}

.serving-industry-container {
    display: flex;
    flex-wrap: wrap;
    /* allows safe fallback if more items are added */
    gap: 2rem;
    /* space between the two boxes */
    /* padding: 2rem; */
    /* max-width: 1200px; */
    margin: 0 auto;
}

/* Desktop (≥ 768px) – row, equal width */
@media (min-width: 768px) {
    .serving-industry-container {
        flex-direction: row;
    }

    .industry {
        flex: 0 0 calc(50% - 1rem);
        /* 50% minus half the gap */
        /* OR simply: flex: 1;  (if you want them to stretch equally) */
    }
}

/* Tablet & Mobile (< 768px) – column, full width */
@media (max-width: 767px) {
    .serving-industry-container {
        flex-direction: column;
    }

    .industry {
        flex: 0 0 100%;
    }
}

/* -------------------------------------------------
     2. Individual industry box
     ------------------------------------------------- */
.industry {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.industry .image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /* overflow: hidden; */
}

.industry .image-wrapper img {
    width: 30%;
    height: 100%;
    object-fit: cover;
    transition: all 300ms ease;
}

.industry:hover .image-wrapper img {
    transform: scale(1.1);
}

.industry-details {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    justify-content: center;
}

.industry-details h3 {
    margin-top: 0;
    margin-bottom: .75rem;
    font-size: 1.5rem;
}

.list-icons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-icons li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: .5rem;
    line-height: 1.5;
}

.list-icons li i {
    position: absolute;
    left: 0;
    top: .2rem;
    color: #28a745;
}

/* ---- VERTICAL DIVIDER – ONLY ON DESKTOP ---- */
@media (min-width: 768px) {
    .serving-industry-container {
        position: relative;
        /* needed for pseudo-element */
    }

    .serving-industry-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        /* center of the container */
        /* transform: translateX(-50%); */

        width: 2px;
        /* line thickness */
        height: 100%;
        background: #0c54a0;
        /* line color – change as needed */
        z-index: 1;
    }

    /* Optional: push the boxes away from the line (already handled by gap) */
    .industry {
        position: relative;
        z-index: 2;
    }
}

.what-we-do{
    display: flex;
    gap: 2rem;
}

.what-we-do>div{
    box-shadow: 0px 0px 30px rgba(128, 128, 128, 0.100);
    border-radius: 10px;
    transition: all 300ms !important;
}

.what-we-do>div:hover{
    box-shadow: 0px 0px 30px rgba(128, 128, 128, 0.200);
    transform: translateY(-5%);
    border-bottom: 5px solid #0c54a0;
}


@media (max-width: 425px) {

    .what-we-do{
        flex-direction: column;
        gap: 0;
    }

}

.showcase-boxes{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

@media (max-width: 768px) {

    .showcase-boxes{
        flex-wrap: wrap;
    }

    .what-we-do{
        flex-direction: column;
    }

}

@media (max-width: 425px) {

    .showcase-boxes{
        flex-direction: column;
    }

    .custom-container{
        padding: 0 4vw;
    }

}

.tables-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1500px;
    margin: 0 auto;
}
.beautiful-table {
    flex: 1;
    min-width: 480px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.beautiful-table caption {
    background: linear-gradient(135deg, #063970, #0c54a0);
    color: white;
    padding: 18px;
    font-size: 22px;
    font-weight: 600;
    caption-side: top;
    text-align: center;
}
.beautiful-table thead th {
    background: linear-gradient(135deg, #063970, #0c54a0);
    color: white;
    padding: 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
}
/* First column = 30% */
.beautiful-table thead th:first-child,
.beautiful-table tbody td:first-child {
    width: 30%;
}
/* All remaining columns share the rest equally */
.beautiful-table thead th:not(:first-child),
.beautiful-table tbody td:not(:first-child) {
    width: calc(70% / (var(--col-count) - 1));
    text-align: center;
}
.beautiful-table tbody td {
    padding: 18px 20px;
    border-bottom: 1px solid #e0f2fe;
    vertical-align: top;
    line-height: 1.6;
}
.beautiful-table tbody td:first-child {
    background-color: #eef5ff;
    font-weight: 600;
    color: #063970;
}
.beautiful-table tbody tr:hover {
    background-color: #dbecff4b;
    transition: background-color 0.3s;
}
.beautiful-table tbody tr:last-child td {
    border-bottom: none;
}
@media (max-width: 768px) {
    .tables-container { flex-direction: column; }
    .beautiful-table { min-width: 100%; }
}

/* =============================================
   HERO SECTION VIDEO BACKGROUND STYLES
   ============================================= */

/* Video Background Container */
.hero-video-container {
    position: relative;
    overflow: hidden;
    background-color: #1a1a2e;
}

/* Hide old parallax background images inside video container */
.hero-video-container .parallax-background {
    display: none !important;
}

/* Video element styling */
.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

/* Ensure container content appears above video */
.hero-video-container .container,
.hero-video-container .shape-divider {
    position: relative;
    z-index: 2;
}

/* Shape divider stays on top */
.hero-video-container .shape-divider {
    z-index: 3;
}

/* Dark overlay for better text readability */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.65); */
    z-index: 1;
}

/* Keep PACKAGING SOLUTIONS heading as it was - NO CHANGE */
.hero-video-container .custom-text-background {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    /* Keep original background image */
}

/* Make "Precision Packaging for Every Industry" text white */
.hero-video-container strong {
    color: #ffffff !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Make list items text white */
.hero-video-container .list li {
    color: #ffffff !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Make list items text white - additional selector */
.hero-video-container .list.list-icons-style-3 li {
    color: #ffffff !important;
}

/* Ensure icons are visible */
.hero-video-container .carousel-icon {
    color: #ffc107;
}

/* Remove any forced white from the heading background */
.hero-video-container .custom-text-background {
    background-image: url(img/bg_image.webp);
    /* Keep original background */
}

/* Keep original shape divider styling intact */
.hero-video-container .shape-divider svg polygon {
    fill: #F3F3F3;
}

/* Responsive Video */
@media (max-width: 768px) {
    .hero-bg-video {
        min-width: auto;
        min-height: 100%;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* FIX: View More button overlapping cards issue - NO LAYOUT CHANGE */

/* 1. Hero section ke button ko cards ke upar rakho */
.hero-video-container .btn,
.hero-video-container .mt-3 a,
.hero-video-container .col-md-7.col-xl-5 .btn {
    position: relative;
    z-index: 15 !important;
    display: inline-block;
}

/* 2. Cards container ko button ke neeche rakho */
.container[style*="margin-top: -280px"] {
    position: relative;
    z-index: 5 !important;
}

/* 3. Cards ko ensure karo button ke peechhe na jayein */
.showcase-boxes .card {
    position: relative;
    z-index: 5;
}

/* 4. Hero section ke text/list ko button ke level pe rakho */
.hero-video-container .list,
.hero-video-container strong,
.hero-video-container h1 {
    position: relative;
    z-index: 10;
}