.pg-banner {
    position: relative;
    width: 100%;
    height: 610px;
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 0 8%;
    color: #fff;
    overflow: hidden;
}

/* Dark overlay */
.pg-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Content */
.banner-content {
    position: absolute;
    bottom: 80px;
    left: 150px;
    transition: all 0.8s ease;
    z-index: 9;
}

.banner-content h1 {
    color: #FFF;
    font-family: "DM Sans";
    font-size: 72px;
    font-style: normal;
    font-weight: 600;
    line-height: 73px;
    letter-spacing: -1.32px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.sub-banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    text-decoration: underline;
    color: #fff;
    cursor: pointer;
}

.banner-arrow {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #4d4f51;
    /* your color */
    padding: 10px;
    border-radius: 50%;
    /* makes it circular */
}

.banner-arrow img {
    width: 9px;
    height: 9px;
    transition: transform 0.4s ease;
}

.sub-banner-content:hover .banner-arrow img {
    transform: rotate(45deg);
}




.cn-tab-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding: 0 150px 150px 0px;
    margin-top: 40px;
}

/* Sidebar: Sticky at the top for Mobile */
.cn-tab-sidebar {
    width: 425px;
    background: #ffffff;
    overflow-x: auto;
    /* Allow horizontal swipe if many tabs */
    -webkit-overflow-scrolling: touch;

}


.cn-tab-menu {
    display: flex;
    /* Horizontal menu for mobile */
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}

.cn-tab-menu-item {
    padding: 20px 20px 20px 150px;
    cursor: pointer;
    color: #767676;
    font-family: "DM Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.96px;
    text-transform: capitalize;
    background: #F0F5FF;
}

.cn-tab-menu-item.active {
    color: #172747;
    border-bottom: 3px solid #172747;
    background: #fff;

}

/* Content Area */
.cn-tab-content-area {
    flex: 1;
}

.cn-tab-pane {
    display: none;
}

.cn-tab-pane.active {
    display: block;
}

.cn-tab-title {
    color: #172747;
    font-family: "DM Sans";
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: 70px;
    letter-spacing: -0.52px;
    text-transform: capitalize;
    padding-bottom: 10px;
    margin-bottom: 0px;
}

.cn-tab-description {
    color: #2F2E2E;
    font-family: "DM Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
}



/* Image Responsive scaling */
.cn-tab-image-box img {
    height: auto;
    margin: 20px 0;
    width: fit-content;
}




/* Typography & Titles */
.cn-tab-section-title {
    color: #172747;
    font-family: "DM Sans";
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    margin: 30px 0 30px 0;
}

/* Equipments Grid Layout */
.cn-tab-equip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns on desktop */
    gap: 15px;
}

/* Card Styling */
.cn-tab-equip-card {
    background-color: #E3ECFF;
    /* Light blue from image */
    padding: 20px 20px 30px 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.cn-tab-equip-name {
    margin: 0 0 10px 0;
    color: #172747;
    font-family: "DM Sans";
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -1.08px;
    text-transform: capitalize;
}

.cn-tab-equip-desc {
    color: #2F2E2E;
    font-family: "DM Sans";
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.48px;
    margin: 0;
}

/* Procedure Section Styling */
.cn-tab-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-bottom: 60px;
}

.cn-tab-step-item {

    margin-bottom: 15px;
    color: #172747;
    font-family: "DM Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.cn-tab-content-area .major_projects_vy {
    background-image: none;
    background-color: #172747;
    padding: 50px 50px 90px;
}

.cn-tab-content-area .mp_slider_vy {
    gap: 3px;
}

.cn-tab-content-area .mp_card_vy {
    min-width: calc(23.333% - 17px);
    height: 330px;
}

.cn-tab-step-item strong {
    color: #172747;
    font-weight: 600;
}





/* Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns for desktop */
    gap: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

/* Load More Button */
.load-more {
    margin: 57px auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    column-gap: 5px;
    justify-content: center;
}


/* Lightbox Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.gallery-pg .pg-banner {
    background-image: url("./images/gallery/banner.webp");
}

.gallery-pg .contact_hpr_title_vy {
    line-height: normal;
}

.gallery-pg .contact_hpr_inner_vy {
    align-items: flex-start;
}

/* .modal-content img {
    max-width: 90%;
    max-height: 80vh;
} */

/* Navigation Buttons */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(255 255 255 / 0%);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.gallery-modal .modal-content {
    width: fit-content;
    height: auto;
    border: 0px;
    margin: auto;
    background-color: transparent;
}

.gallery-modal {
    z-index: 9999 !important;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.gallery-item.hidden {
    display: none;
}

.contact_arrow_btn_vy img {
    transition: transform 0.3s ease;
    /* Makes the arrow rotate smoothly */
}

/* Ensure hidden items remain hidden until toggled */
.gallery-item.hidden {
    display: none;
}


.pg-banner.construction-video {
    height: 94vh;
    min-height: auto;
    overflow: hidden;
    background-color: #000;
}

.pg-banner.construction-video .overlay {
    z-index: 9;
    background-color: #00000045;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 Aspect Ratio (9 / 16 = 0.5625) */
    min-height: 100%;
    min-width: 177.77vh;
    /* 16:9 Aspect Ratio (16 / 9 = 1.777) */
    transform: translate(-50%, -50%);
    z-index: 1;
}

.video-bg iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Scale it slightly (1.1) to hide potential thin YouTube border/lines */
    transform: scale(1.1);
}

.mobile-drawer-wrapper,
.mobile-filter-btn {
    display: none !important;
}

.mobile-drawer-wrapper,
.mobile-filter-btn {
    display: none !important;
}

@media (max-width: 575px) {
    .cn-tab-section-title {

        margin: 30px 0 10px 0;
    }
}