.elementor-6758 .elementor-element.elementor-element-402760d7{padding:0px 0px 0px 0px;}/* Start custom CSS for html, class: .elementor-element-b996817 *//* =========================================
   CAD GURU GALLERY
   Same Previous Website Color Theme
========================================= */

.cadguru-gallery-section {
    width: 100%;
    padding: 80px 20px;
    background: #ffffff;
    box-sizing: border-box;
}

.cadguru-gallery-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   SECTION HEADING
========================================= */

.cadguru-gallery-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.cadguru-gallery-heading span {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0044c2;
    text-transform: uppercase;
}

.cadguru-gallery-heading h2 {
    margin: 0 0 15px;
    color: #1a1a1a;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

.cadguru-gallery-heading p {
    margin: 0;
    color: #666666;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   GALLERY GRID
========================================= */

.cadguru-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* =========================================
   GALLERY IMAGE
========================================= */

.cadguru-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #f5f7fa;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.cadguru-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


/* =========================================
   IMAGE ZOOM
========================================= */

.cadguru-gallery-item:hover img {
    transform: scale(1.08);
}


/* =========================================
   HOVER OVERLAY
========================================= */

.cadguru-gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 68, 194, 0.78);

    opacity: 0;
    visibility: hidden;

    transition: all 0.35s ease;
}

.cadguru-gallery-item:hover .cadguru-gallery-overlay {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   PLUS ICON
========================================= */

.cadguru-gallery-overlay span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    border: 2px solid #ffffff;
    border-radius: 50%;

    color: #ffffff;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;

    transform: scale(0.7);
    transition: all 0.35s ease;
}

.cadguru-gallery-item:hover .cadguru-gallery-overlay span {
    transform: scale(1);
}


/* =========================================
   LIGHTBOX
========================================= */

.cadguru-lightbox {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, 0.92);

    opacity: 0;
    visibility: hidden;

    transition: all 0.3s ease;
}

.cadguru-lightbox.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   LIGHTBOX IMAGE
========================================= */

.cadguru-lightbox img {
    display: block;

    max-width: 90%;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 5px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}


/* =========================================
   CLOSE BUTTON
========================================= */

.cadguru-lightbox-close {
    position: absolute;

    top: 20px;
    right: 30px;

    width: 50px;
    height: 50px;

    padding: 0;

    border: none;
    outline: none;

    background: transparent;

    color: #ffffff;

    font-size: 45px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition: transform 0.3s ease;
}

.cadguru-lightbox-close:hover {
    transform: rotate(90deg);
}


/* Prevent Background Scroll */

.cadguru-no-scroll {
    overflow: hidden !important;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .cadguru-gallery-section {
        padding: 65px 20px;
    }

    .cadguru-gallery-heading h2 {
        font-size: 34px;
    }

    .cadguru-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .cadguru-gallery-item {
        height: 230px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .cadguru-gallery-section {
        padding: 50px 15px;
    }

    .cadguru-gallery-heading {
        margin-bottom: 30px;
    }

    .cadguru-gallery-heading h2 {
        font-size: 30px;
    }

    .cadguru-gallery-heading p {
        font-size: 15px;
    }

    .cadguru-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cadguru-gallery-item {
        height: 190px;
        border-radius: 8px;
    }

    .cadguru-gallery-overlay span {
        width: 45px;
        height: 45px;
        font-size: 28px;
    }

    .cadguru-lightbox {
        padding: 15px;
    }

    .cadguru-lightbox img {
        max-width: 96%;
        max-height: 82vh;
    }

    .cadguru-lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 38px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .cadguru-gallery-grid {
        gap: 10px;
    }

    .cadguru-gallery-item {
        height: 165px;
    }

    .cadguru-gallery-heading h2 {
        font-size: 26px;
    }

    .cadguru-gallery-heading span {
        font-size: 12px;
    }
}/* End custom CSS */