/* --- GALLERY SECTION --- */
.gallery-section {
    padding: 100px 0;
    background: #f4f7fa;
}

/* Header Focus Box */
.engagement-focus-box {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(11, 74, 153, 0.05);
    border: 1px solid rgba(11, 74, 153, 0.1);
    text-align: center;
}

.hindi-highlight-text {
    font-size: 24px;
    line-height: 1.6;
    color: #1e293b;
    font-weight: 600;
}

.hindi-highlight-text span {
    color: var(--primary-blue);
    display: block;
    margin-top: 10px;
    font-size: 18px;
}

/* Masonry Grid Logic */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 240px;
    grid-auto-flow: dense;
    gap: 15px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 13, 26, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s ease;
}

.gallery-overlay i {
    color: #fff;
    font-size: 28px;
    transform: scale(0.5);
    transition: 0.4s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay i { transform: scale(1); }
.gallery-item:hover img { transform: scale(1.1); }

/* Trust Bar Styling */
.packing-trust-bar {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.trust-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.trust-stat:not(:last-child) { border-right: 1px solid #cbd5e1; }

.stat-icon-circle {
    width: 55px; height: 55px;
    background: rgba(11, 74, 153, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 22px;
}

.stat-txt strong { display: block; font-size: 17px; color: #1e293b; }
.stat-txt span { font-size: 14px; color: #64748b; }

/* Lightbox Styling */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn { from {opacity:0; transform:scale(0.95);} to {opacity:1; transform:scale(1);} }

.close-btn {
    position: absolute;
    top: 30px; right: 40px;
    color: #fff; font-size: 40px; cursor: pointer;
}

/* Mobile Fixes */
@media (max-width: 900px) {
    .gallery-grid { grid-auto-rows: 200px; }
    .gallery-item.wide { grid-column: span 1; }
    .packing-trust-bar { flex-direction: column; gap: 30px; }
    .trust-stat:not(:last-child) { border-right: none; border-bottom: 1px solid #cbd5e1; padding-bottom: 20px; }
}
/* --- FIXING THE OVERLAP --- */

.emotional-visual-column {
    display: flex;
    flex-direction: column;
    gap: 20px; /* This creates a clean gap between text and image */
    flex: 1;
}

.premium-glass-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    /* Remove any fixed height or absolute positioning here */
}

.massive-family-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 6px solid #ffffff;
    /* REMOVED: negative margin-top that caused overlap */
    transition: transform 0.3s ease;
}

.massive-family-container:hover {
    transform: translateY(-5px); /* Gentle lift instead of tilt */
}

.family-group-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustment for side-by-side view */
@media (min-width: 992px) {
    .container-flex {
        display: flex;
        align-items: flex-start; /* Keeps columns aligned at top */
        gap: 40px;
    }
}