@charset "utf-8";
/* CSS Document */
.footer-link a:link {
  color: black;
  text-decoration: none;
}
  
.footer-link a:visited {
  color: black;
  text-decoration: none;
}

.footer-link a:hover {
  color: darkblue;
  text-decoration: underline;
}
  
.breadcrumb-link a:link {
	color: black;
	text-decoration: none
}

.breadcrumb-link a:visited {
	color: black;
	text-decoration: none
}

.breadcrumb-link a:hover {
	color: black;
	text-decoration: underline; 
}
.img-hover-zoom {
  overflow: hidden;
  position: relative;
}

.img-hover-zoom img {
  transition: transform 2s ease;
  object-fit: cover;
  width:100%;
  height: 100%; 
  position: absolute;
  top: 0;
  left: 0;
  object-position: center;
}

.img-hover-zoom:hover img {
  transform:scale(1.05);
}
.img-crop {
  aspect-ratio: 4/3;
  object-fit:cover;
}



/*10 Most Popular Granite Colors */

 .granite-card {
            transition: all 0.3s ease;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            overflow: hidden;
            
            background-color: white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .granite-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 20px rgba(0,0,0,0.15);
            border-color: #0d6efd;
        }
        
        .granite-image {
            height: auto; 
           
            width: auto;
            transition: all 0.3s ease;
        }
        
        .granite-card:hover .granite-image {
            transform: scale(1.05);
        }
        
        .granite-title {
            font-size: 1rem;
            margin-top: 15px;
            text-align: center;
            font-weight: 500;
            color: #333;
            transition: color 0.3s ease;
        }
        
        .granite-card:hover .granite-title {
            color: #0d6efd;
        }
        
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.2);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        
        .granite-card:hover .overlay {
            opacity: 1;
        }
        
        .card-content {
            position: relative;
        }



/*Most Popular Products */
 .product-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
            margin-bottom: 1.5rem;
        }
        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.15);
        }
        .product-image {
            width: 100%;
            
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        .product-card:hover .product-image {
            transform: scale(1.05);
        }
        .card-title {
                  font-size: 1rem;
                  margin-top: 15px;
                  text-align: center;
                  font-weight: 500;
                  color: #333;
                  transition: color 0.3s ease;
              }
         .product-card:hover .card-title {
                  color: #0d6efd;
              }
/*Products no border radius */
 .product-card-no-radius {
            background: white;
            border-radius: 0px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
            margin-bottom: 1.5rem;
        }
        .product-card-no-radius:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.15);
        }
        .product-image {
            width: 100%;
            
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        .product-card-no-radius:hover .product-image {
            transform: scale(1.05);
        }
        .card-title {
                  font-size: 1rem;
                  margin-top: 15px;
                  text-align: center;
                  font-weight: 500;
                  color: #333;
                  transition: color 0.3s ease;
              }
         .product-card-no-radius:hover .card-title {
                  color: #0d6efd;
              }

/*Video Files*/
        .video-card {
            transition: transform 0.3s ease;
            border: none;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            border-radius: 8px;
            overflow: hidden;
            height: 100%;
        }
        
        .video-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.15);
        }
        
        .video-wrapper {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            overflow: hidden;
            cursor: pointer;
        }
        
        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }
        
        .video-cover {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
            padding: 10px;
        }
        
        .video-cover::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            transition: background-color 0.3s ease;
        }
        
        .video-cover:hover::before {
            background-color: rgba(0, 0, 0, 0.2);
        }
        
        .video-cover-content {
            position: relative;
            z-index: 1;
        }
        
        .play-icon {
            font-size: 3rem;
            margin-bottom: 10px;
            color: #ff0000;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }
        
        .video-title {
            font-weight: 600;
            margin-bottom: 5px;
            color: #343a40;
        }
        
        .video-description {
            color: #6c757d;
            font-size: 0.9rem;
            line-height: 1.4;
        }
        
        .card-body {
            padding: 15px;
        }
        
        h1 {
            margin-bottom: 30px;
            color: #343a40;
            font-weight: 600;
            text-align: center;
        }
        
        .header-section {
            margin-bottom: 40px;
            text-align: center;
        }
        
        .header-section p {
            color: #6c757d;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .duration-badge {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 0.8rem;
            z-index: 2;
        }
        
        /* FIXED: Consistent spacing between rows */
        .row {
            margin-bottom: 0;
        }
        
        /* Apply margin to all columns */
        .row > [class*="col-"] {
            margin-bottom: 25px;
        }
        
        /* Extra spacing for very small screens */
        @media (max-width: 575.98px) {
            .row > [class*="col-"] {
                margin-bottom: 30px;
            }
        }

        /* Custom styles for the bathtub gallery */

        .hero-section {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/bathtub/bathroom-bathtub-hero-image.jpg') center/cover no-repeat;
            padding: 150px 0;
            text-align: center;
        }
        
        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 30px;
            cursor: pointer;
            transition: transform 0.3s ease;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        }
        
        .gallery-item img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .gallery-item:hover img {
            transform: scale(1.05);
        }
        
        .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: white;
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }
        
        .gallery-item:hover .overlay {
            transform: translateY(0);
        }
        
        .modal-content {
            border-radius: 10px;
            overflow: hidden;
            border: none;
        }
        

        .carousel-item img {
  width: 100%;
    height: 60vh;
    object-fit: contain;
    background-color: #f8f9fa; /* Optional: adds a neutral background */        }


        
        .carousel-caption {
            background: rgba(0,0,0,0.7);
            border-radius: 5px;
            padding: 10px 20px;
            left: 10%;
            right: 10%;
            bottom: 20px;
        }
        
        .carousel-indicators {
            bottom: -50px;
        }
        
        .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 5px;
            background-color: #186777;
        }
        
        .carousel-indicators button.active {
            background-color: #0d3c44;
        }
        
        .image-counter {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 14px;
            z-index: 10;
        }
        
        .carousel-control-prev, .carousel-control-next {
            width: 50px;
            height: 50px;
            background-color: rgba(0,0,0,0.5);
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            opacity: 0.7;
        }
        
        .carousel-control-prev:hover, .carousel-control-next:hover {
            opacity: 1;
        }
        
        .carousel-control-prev {
            left: 20px;
        }
        
        .carousel-control-next {
            right: 20px;
        }
        
        .modal-footer {
            background-color: #f8f9fa;
        }
        
        .product-specs {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 10px;
        }
        
        .spec-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .spec-item i {
            color: #186777;
        }


 /* Isolated styles for this specific carousel */
 /* Full-width carousel container with 70vh height */
/*Landing page carousel with 3 slides*/
        .fullwidth-stone-carousel {
            width: 100vw;
            height: 70vh;
            position: relative;
            margin: 0;
        }
        
        /* Carousel inner and items to match container dimensions */
        .fullwidth-stone-carousel .carousel-inner,
        .fullwidth-stone-carousel .carousel-item {
            height: 70vh;
            width: 100%;
        }
        
        /* Background images with overlay */
        .fullwidth-stone-carousel .carousel-item {
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
        }
        
        /* Dark overlay for better text readability */
        .fullwidth-stone-carousel .carousel-item::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.1);
            z-index: 1;
        }
        
        /* Caption styling */
        .fullwidth-stone-carousel .carousel-caption {
            position: absolute;
            bottom: 15%;
            left: 10%;
            right: 10%;
            text-align: center;
            z-index: 2;
            padding: 25px;
            background: rgba(0, 0, 0, 0.6);
            border-radius: 8px;
            backdrop-filter: blur(5px);
        }
        
        .fullwidth-stone-carousel .carousel-caption h3 {
            color: #fff;
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        .fullwidth-stone-carousel .carousel-caption p {
            color: #f8f9fa;
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 0;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* Control buttons */
        .fullwidth-stone-carousel .carousel-control-prev,
        .fullwidth-stone-carousel .carousel-control-next {
            width: 50px;
            height: 50px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            margin: 0 15px;
            z-index: 3;
        }
        
        .fullwidth-stone-carousel .carousel-control-prev:hover,
        .fullwidth-stone-carousel .carousel-control-next:hover {
            background: rgba(0, 0, 0, 0.6);
        }
        
        /* Indicators */
        .fullwidth-stone-carousel .carousel-indicators {
            bottom: 20px;
            z-index: 3;
        }
        
        .fullwidth-stone-carousel .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            margin: 0 6px;
            border: 2px solid transparent;
        }
        
        .fullwidth-stone-carousel .carousel-indicators button.active {
            background-color: #fff;
            transform: scale(1.2);
        }
        
        /* Content below carousel for demonstration */
        .content-below {
            padding: 40px 20px;
            text-align: center;
            background-color: #f8f9fa;
        }
        
        .content-below h2 {
            margin-bottom: 20px;
            color: #333;
        }
        
        .content-below p {
            max-width: 1024px;
            margin: 0 auto;
            color: #666;
            line-height: 1.6;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .fullwidth-stone-carousel .carousel-caption {
                bottom: 10%;
                padding: 20px;
            }
            
            .fullwidth-stone-carousel .carousel-caption h3 {
                font-size: 1.8rem;
            }
            
            .fullwidth-stone-carousel .carousel-caption p {
                font-size: 1rem;
            }
            
            .fullwidth-stone-carousel .carousel-control-prev,
            .fullwidth-stone-carousel .carousel-control-next {
                width: 45px;
                height: 45px;
            }
        }
        
        @media (max-width: 576px) {
            .fullwidth-stone-carousel .carousel-caption {
                bottom: 5%;
                padding: 15px;
            }
            
            .fullwidth-stone-carousel .carousel-caption h3 {
                font-size: 1.5rem;
            }
            
            .fullwidth-stone-carousel .carousel-caption p {
                font-size: 0.9rem;
            }
        }
     
 /* Isolated styles for stone 3d modeling videos */
 /* Isolated styles with specific namespace */
        .stonecraft-page {
            --stonecraft-primary: #8b7355;
            --stonecraft-secondary: #333333;
            --stonecraft-accent: #c19a6b;
            --stonecraft-light: #f8f9fa;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
        }
        
        .stonecraft-page * {
            box-sizing: border-box;
        }
        
        /* Hero Section */
        .stonecraft-hero {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                        url('/videos/3d-modeling/hero.webp') no-repeat center center;
            background-size: cover;
            height: 100vh;
            display: flex;
            align-items: center;
            color: white;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
        }
        
        .stonecraft-hero-content {
            max-width: 700px;
        }
        
        .stonecraft-hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }
        
        .stonecraft-hero-subtitle {
            font-size: 1.3rem;
            line-height: 1.6;
            margin-bottom: 2rem;
        }
        
        .stonecraft-btn-primary {
            background-color: var(--stonecraft-primary);
            border-color: var(--stonecraft-primary);
            padding: 12px 30px;
            font-weight: 600;
            transition: all 0.3s;
            color: white;
        }
        
        .stonecraft-btn-primary:hover {
            background-color: var(--stonecraft-accent);
            border-color: var(--stonecraft-accent);
            transform: translateY(-2px);
            color: white;
        }
        
        /* Video Gallery */
        .stonecraft-section-title {
            text-align: center;
            margin: 4rem 0 2rem;
            font-weight: 700;
            color: var(--stonecraft-secondary);
            position: relative;
        }
        
        .stonecraft-section-title:after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--stonecraft-primary);
            margin: 10px auto;
        }
        
        .stonecraft-video-card {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            margin-bottom: 30px;
            cursor: pointer;
            background: white;
        }
        
        .stonecraft-video-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .stonecraft-video-thumbnail {
            position: relative;
            overflow: hidden;
            height: 200px;
            background: #eee;
        }
        
        .stonecraft-video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .stonecraft-video-card:hover .stonecraft-video-thumbnail img {
            transform: scale(1.1);
        }
        
        .stonecraft-play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(255, 255, 255, 0.8);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--stonecraft-primary);
            font-size: 24px;
            transition: all 0.3s;
            z-index: 2;
        }
        
        .stonecraft-video-card:hover .stonecraft-play-icon {
            background: var(--stonecraft-primary);
            color: white;
        }
        
        .stonecraft-video-info {
            padding: 20px;
        }
        
        .stonecraft-video-title {
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--stonecraft-secondary);
        }
        
        .stonecraft-video-description {
            color: #666;
            font-size: 0.9rem;
        }
        
        /* Full Screen Video Player */
        .stonecraft-video-fullscreen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }
        
        .stonecraft-video-fullscreen.active {
            opacity: 1;
            visibility: visible;
        }
        
        .stonecraft-video-container {
            width: 80%;
            max-width: 1200px;
            position: relative;
        }
        
        .stonecraft-video-container video {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        
        .stonecraft-close-btn {
            position: absolute;
            top: -40px;
            right: 0;
            background: none;
            border: none;
            color: white;
            font-size: 30px;
            cursor: pointer;
            transition: color 0.3s;
        }
        
        .stonecraft-close-btn:hover {
            color: var(--stonecraft-accent);
        }
        
        /* Footer */
        .stonecraft-footer {
            background-color: var(--stonecraft-secondary);
            color: white;
            padding: 3rem 0;
            margin-top: 4rem;
        }
        
        .stonecraft-footer-title {
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--stonecraft-accent);
        }
        
        .stonecraft-footer-links a {
            color: #ccc;
            text-decoration: none;
            display: block;
            margin-bottom: 10px;
            transition: color 0.3s;
        }
        
        .stonecraft-footer-links a:hover {
            color: white;
        }
        
        .stonecraft-social-icons a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            margin-right: 10px;
            color: white;
            transition: all 0.3s;
        }
        
        .stonecraft-social-icons a:hover {
            background: var(--stonecraft-primary);
            transform: translateY(-3px);
        }
        
        .stonecraft-copyright {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 20px;
            margin-top: 30px;
            text-align: center;
            color: #aaa;
            font-size: 0.9rem;
        }
        
        /* Utility classes */
        .stonecraft-container {
            width: 100%;
            padding-right: 15px;
            padding-left: 15px;
            margin-right: auto;
            margin-left: auto;
        }
        
        @media (min-width: 576px) {
            .stonecraft-container {
                max-width: 540px;
            }
        }
        

        @media (min-width: 768px) {
            .stonecraft-container {
                max-width: 720px;
            }
        }
        
        @media (min-width: 992px) {
            .stonecraft-container {
                max-width: 960px;
            }
        }
        
        @media (min-width: 1200px) {
            .stonecraft-container {
                max-width: 1140px;
            }
        }
        
        .stonecraft-row {
            display: flex;
            flex-wrap: wrap;
            margin-right: -15px;
            margin-left: -15px;
        }
        
        .stonecraft-col-md-6,
        .stonecraft-col-lg-4 {
            position: relative;
            width: 100%;
            padding-right: 15px;
            padding-left: 15px;
        }
        
        @media (min-width: 768px) {
            .stonecraft-col-md-6 {
                flex: 0 0 50%;
                max-width: 50%;
            }
        }
        
        @media (min-width: 992px) {
            .stonecraft-col-lg-4 {
                flex: 0 0 33.333333%;
                max-width: 33.333333%;
            }
        }
        
        .stonecraft-text-center {
            text-align: center;
        }
        
        .stonecraft-mb-4 {
            margin-bottom: 1.5rem;
        }
        
        .stonecraft-mt-4 {
            margin-top: 1.5rem;
        }        
        .stonecraft-mb-4 {
            margin-bottom: 1.5rem;
        }
        
        .stonecraft-mt-4 {
            margin-top: 1.5rem;
        }
        /* Custom styles for the hardscape product main page */
        .hardscape-hero-section {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/hardscape/hardscape-hero-bg-image.webp') center/cover no-repeat;
            padding: 150px 0;
            text-align: center;
        }
        /* Custom styles for the project showcase page */
        .project-hero-section {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/projects/stone-project-case.webp') center/cover no-repeat;
            padding: 150px 0;
            text-align: center;
        }
        /* Custom styles for the onyx color page */
        .onyx-hero-section {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/onyx/onyx-hall-accent-wall.webp') center/cover no-repeat;
            padding: 150px 0;
            text-align: center;
        }
        /* Custom styles for cobblestone page */
        .cobblestone-hero-section {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/cobblestone/cobblestone-hero-image.webp') center/cover no-repeat;
            padding: 150px 0;
            text-align: center;
        }
        /* Custom styles for lavastone page */
        .lavastone-hero-section {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/basalt/lava/puka-lava-hero-image.webp') center/cover no-repeat;
            padding: 150px 0;
            text-align: center;
        }
        /* Custom styles for basalt page */
        .basalt-hero-section {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/basalt/basalt-hero-image.webp') center/cover no-repeat;
            padding: 150px 0;
            text-align: center;
        }
        /* Custom styles for quartzite page */
        .quartzite-hero-section {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/quartzite/quartzite-hero-image.webp') center/cover no-repeat;
            padding: 150px 0;
            text-align: center;
        }
        /* Custom styles for reclaimed stone page */
        .reclaimed-stone-hero-section {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/images/hardscape/reclaimed-stone/hero-backgroud-image.webp') center/cover no-repeat;
            padding: 150px 0;
            text-align: center;
        }

        /*Isolated Styles for mximgdemo*/
       /* All styles scoped under .mximgdemo to prevent global leakage */
        .mximgdemo .gallery-item {
          position: relative;
          overflow: hidden;
          border-radius: 12px; /* Rounded container */
          aspect-ratio: 3 / 4; /* Enforce uniform 3:4 ratio */
          background-color: #f8f9fa; /* Optional: fallback background */
        }

        .mximgdemo .gallery-img {
          width: 100%;
          height: 100%;
          object-fit: cover; /* Crop to fill 4:3 area without distortion */
          display: block;
          transition: box-shadow 0.3s ease;
          border-radius: 12px; /* Match container for smooth edges */
        }

        .mximgdemo .gallery-item:hover .gallery-img {
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
        }

        /* Optional: Add subtle scale effect on hover (enhancement) */
        .mximgdemo .gallery-item:hover .gallery-img {
          transform: scale(1.02);
        }
  