/* 
Theme Name: Hello Elementor Child
Template: hello-elementor
*/

/* ==============================
   BM PORTFOLIO GRID (LISTING ONLY)
   ============================== */

.elementor .bm-portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 60px !important; /* more breathing space */
    width: 100% !important;
    max-width: 100% !important;
}

/* CARD */
.elementor .bm-portfolio-grid > .bm-card {
    background: transparent; /* remove box look */
    border-radius: 0;
    overflow: hidden;
    box-shadow: none; /* remove shadow */
    width: 100% !important;
    max-width: 100% !important;
}

/* IMAGE */
.elementor .bm-card-image {
    position: relative;
}

.elementor .bm-card-image img {
    width: 100%;
    height: 440px; /* taller elegant proportion */
    object-fit: cover;
    display: block;
}

/* BODY */
.elementor .bm-card-body {
    padding: 22px 0 0 0; /* clean spacing */
}

/* TITLE */
.elementor .bm-card-body h3 {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 10px;
    line-height: 1.3;
}

/* DESCRIPTION */
.elementor .bm-card-body p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 18px;
}

/* META */
.elementor .bm-meta {
    display: flex;
    align-items: center;
    gap: 30px; /* consistent spacing */
    font-size: 14px;
    margin: 0;
}

.elementor .bm-meta .stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ICON */
.elementor .stat_count_img {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain;
}

/* HIDE DETAILS */
.elementor .bm-details {
    display: none !important;
}

/* MOBILE */
@media (max-width: 900px) {
    .elementor .bm-portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .elementor .bm-card-image img {
        height: 300px;
    }
}


/* =========================================================
   EVERYTHING BELOW THIS IS YOUR ORIGINAL SINGLE PAGE CSS
   (UNCHANGED)
   ========================================================= */

.bm-hero{
    height:85vh;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
}

.bm-hero-inner h1{
    font-size:48px;
}

.bm-container{
    max-width:1200px;
    margin:100px auto;
    padding:0 20px;
}

.bm-overview{
    display:grid;
    grid-template-columns:300px 1fr;
    gap:80px;
}

.bm-stat{
    padding:14px 0;
    border-bottom:1px solid #ddd;
}

.bm-btn{
    display:inline-block;
    margin-top:20px;
    padding:14px 28px;
    background:#111;
    color:#fff;
    text-decoration:none;
}

.bm-gallery{
    max-width:1200px;
    margin:120px auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.bm-gallery img{
    width:100%;
    object-fit:cover;
}

/*=== Start Overview Page ===*/

.hero.reveal {
	text-align: center;
	padding-top: 250px;
	padding-bottom: 250px;
	padding-left: 10px;
	padding-right: 10px;
	color: #fff;
}

.hero.reveal span {
	text-transform: uppercase;
	font-size: 67%;
	font-weight: 600;
	letter-spacing: 1px;
	text-shadow: 0px 0px 15px #000;
}

.hero.reveal h1 {
	font-size: 320%;
	font-weight: 600;
	text-transform: capitalize;
	text-shadow: 0px 0px 35px #000;
}

.overview.reveal .container {
	max-width: 1160px;
	margin: 0 auto;
	padding: 80px 10px;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.overview.reveal .stats .stat img {
	width: 16px;
	margin-right: 10px;
}

.overview.reveal .stats .stat {
	border-bottom: 1px solid #d4d4d4;
	padding: 10px;
}

.overview.reveal .container .stats {
	width: 50%;
}

/* Gallery */

.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.gallery-grid:has(.gallery-item:nth-child(2)) {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-grid:has(.gallery-item:nth-child(3)) {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-grid:has(.gallery-item:nth-child(4)) {
  grid-template-columns: repeat(1, 1fr);
}

.gallery-section.reveal {
	max-width: 1160px;
	margin: 0 auto;
}

.gallery-section.reveal h3 {
	text-align: center;
	font-size: 12px;
	max-width: 875px;
	margin: 0 auto;
	padding-top: 60px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: -30px;
}

.gallery-section.reveal p {
	text-align: center;
	font-size: 24px;
	max-width: 875px;
	margin: 0 auto;
	padding-top: 60px;
	padding-bottom: 60px;
}

.gallery-section.reveal .gallery-item {
	margin: 0 auto;
	width: 100%;
	text-align: center;
}

.gallery-section.reveal .gallery-item img {
	padding-bottom:10px;
	width:95%;
}

/* Responsive */

@media (max-width: 768px) {
	.overview.reveal .container .stats {
		width: 70%;
	}

	.gallery-section .gallery-grid{
		grid-template-columns: 1fr;
	}
}
.elementor .bm-card-body .bm-overview,
.elementor .bm-card-body p {
    width: 100%;
    max-width: 100%;
    display: block;
}

/* IMAGE HOVER ZOOM */
.elementor .bm-card-image {
    overflow: hidden;
}

.elementor .bm-card-image img {
    transition: transform 0.6s ease;
}

.elementor .bm-card:hover .bm-card-image img {
    transform: scale(1.05);
}
/* CARD LIFT */
.elementor .bm-card {
    transition: transform 0.4s ease;
}

.elementor .bm-card:hover {
    transform: translateY(-6px);
}
/* ICON ANIMATION */
./* ICON BASE */
/* Base transition */
.elementor .stat_count_img {
    transition: transform 0.4s ease, opacity 0.4s ease;
    display: inline-block;
}

/* Animate only when hovering that specific stat */
.elementor .bm-meta .stat:hover .stat_count_img {
    transform: rotate(-8deg) scale(1.1);
    opacity: 0.85;
}
.elementor .bm-meta .stat {
    transition: transform 0.3s ease;
}

.elementor .bm-meta .stat:hover {
    transform: translateY(-3px);
}



