.quarry-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
}

.quarry-left, .quarry-right {
    width: 50%;
    box-sizing: border-box;
}

.quarry-left {
    position: relative;
    min-height: 400px;
}

.quarry-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.play-btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.play-btn-inner {
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #f0ad4e;
    margin-left: 4px;
}

.quarry-right {
    padding: 30px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quarry-right h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: clamp(20px, 4vw, 28px);
    color: #333;
    font-weight: 600;
}

.right-imgs {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.right-img-item {
    text-align: center;
    margin-bottom: 25px;
    flex: 1 1 calc(50% - 20px);
    min-width: 150px;
    max-width: 100%;
}

.right-img-item img {
    width: clamp(120px, 20vw, 180px);
    height: clamp(120px, 20vw, 180px);
    border-radius: 50%;
    display: block;
    margin: 0 auto 15px;
    border: 3px solid #ddd;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.right-img-item img:hover {
    transform: scale(1.05);
}

.right-img-item p {
    font-size: clamp(14px, 2vw, 18px);
    color: #555;
    font-weight: 500;
}

/* Video Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.active {
    display: flex !important;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #f0ad4e;
}

.video-container {
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    max-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Responsive Design for Tablets (768px and below) */
@media (max-width: 768px) {
    .quarry-left, .quarry-right {
        width: 100%;
    }

    .quarry-left {
        min-height: 300px;
    }

    .quarry-left img {
        min-height: 300px;
    }

    .play-btn {
        width: 60px;
        height: 60px;
    }

    .play-btn-inner {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 16px solid #f0ad4e;
    }

    .quarry-right {
        padding: 30px 20px;
    }

    .quarry-right h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .right-imgs {
        gap: 15px;
    }

    .right-img-item {
        flex: 1 1 calc(50% - 15px);
    }

    .right-img-item img {
        width: clamp(100px, 25vw, 150px);
        height: clamp(100px, 25vw, 150px);
    }

    .right-img-item p {
        font-size: 16px;
    }

    .close-btn {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }

    .video-container {
        width: 95%;
        height: 70vh;
    }
}

/* Responsive Design for Mobile (480px and below) */
@media (max-width: 480px) {
    .quarry-left {
        min-height: 250px;
    }

    .quarry-left img {
        min-height: 250px;
    }

    .play-btn {
        width: 50px;
        height: 50px;
    }

    .play-btn-inner {
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 14px solid #f0ad4e;
    }

    .quarry-right {
        padding: 20px 15px;
    }

    .quarry-right h3 {
        font-size: 18px !important;
        margin-bottom: 20px;
    }

    .right-imgs {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        justify-content: center;
    }

    .right-img-item {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }

    .right-img-item img {
        width: 150px !important;
        height: 150px !important;
        max-width: 150px;
    }

    .right-img-item p {
        font-size: 14px !important;
        margin-top: 10px;
    }

    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .video-container {
        width: 95%;
        height: 60vh;
    }
}

/* Very Small Mobile (360px and below) */
@media (max-width: 360px) {
    .right-img-item img {
        width: 130px !important;
        height: 130px !important;
        max-width: 130px;
    }

    .quarry-right h3 {
        font-size: 16px !important;
    }

    .right-img-item p {
        font-size: 13px !important;
    }
}

/* ========================================
   Producing Advantages Widget Styles
   ======================================== */

.producing-advantages-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
}

.producing-advantage-item {
    text-align: center;
    margin: 10px;
    width: calc(25% - 20px);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producing-advantage-item:hover {
    transform: translateY(-5px);
}

.producing-advantage-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.producing-advantage-item:hover img {
    opacity: 0.9;
}

.advantage-title {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin-top: 10px;
    padding: 0 5px;
}

/* Responsive Design for Producing Advantages */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .producing-advantage-item {
        width: calc(50% - 20px);
    }

    .advantage-title {
        font-size: 15px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .producing-advantage-item {
        width: 100%;
        max-width: 400px;
        margin: 15px auto;
    }

    .advantage-title {
        font-size: 14px;
        padding: 0 10px;
    }
}

/* Very Small Mobile (360px and below) */
@media (max-width: 360px) {
    .producing-advantage-item {
        margin: 10px auto;
    }

    .advantage-title {
        font-size: 13px;
    }
}

/* ========================================
   Equipment Gallery Widget Styles
   ======================================== */

.our-equipment-container {
    padding: 30px 15px;
    max-width: 100%;
}

.equipment-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.equipment-item {
    width: calc(33.333% - 20px);
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.equipment-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.equipment-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Hover Effects */
.equipment-item.hover-zoom:hover img {
    transform: scale(1.08);
}

.equipment-item.hover-zoom-bright:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* Equipment Modal Styles */
.equipment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.equipment-modal.active {
    display: flex !important;
}

.modal-image-container {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border: 4px solid #fff;
    border-radius: 4px;
    object-fit: contain;
}

.equipment-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.equipment-modal .close-modal:hover {
    color: #ddd;
}

/* Responsive Design for Equipment Gallery */

/* Tablet and below (992px) */
@media (max-width: 992px) {
    .equipment-item {
        width: calc(50% - 20px);
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .equipment-item {
        width: 100%;
        max-width: 400px;
    }

    .equipment-item img {
        height: 250px;
    }

    .equipment-modal .close-modal {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }

    .modal-image {
        border: 2px solid #fff;
    }
}

/* Very Small Mobile (360px and below) */
@media (max-width: 360px) {
    .equipment-item img {
        height: 220px;
    }

    .equipment-modal .close-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}

