/* ========================================================
   EQUAL BALANCED 6-CARD GRID (सबै बक्सहरू बराबर चिटिक्क मिलेको)
   Full Clear Images, Crisp Typography, Pure White Luxury
   ======================================================== */

.equal-services-section {
    padding: 90px 0 80px 0;
    background: #ffffff;
}

.equal-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px auto;
}

.equal-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.equal-header p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

/* 3 Columns x 2 Rows Identical Grid (Mobile: 1 Column) */
.equal-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Equal Service Card (Each card strictly identical height & shape) */
.equal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.equal-card:hover {
    transform: translateY(-6px);
    border-color: #e2e8f0;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

/* Full Clear Image Container (Strictly 260px Height across all 6 cards) */
.equal-card-media {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #ffffff;
}

.equal-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.equal-card:hover .equal-card-media img {
    transform: scale(1.08);
}

/* Clear Badges on Top of Images */
.equal-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.equal-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
    color: #0a192f;
    font-size: 14px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.45);
    z-index: 2;
}

/* Equal Card Content Area */
.equal-card-body {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.equal-card-body h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f2b5c;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.equal-card:hover .equal-card-body h3 {
    color: #b8860b;
}

.equal-card-body p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.equal-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.equal-action-btn {
    font-size: 13px;
    font-weight: 700;
    color: #0f2b5c;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.equal-card:hover .equal-action-btn {
    color: #b8860b;
}

.equal-card:hover .equal-action-btn i {
    transform: translateX(5px);
}

.equal-action-btn i {
    transition: transform 0.3s ease;
}

.equal-card-footer small {
    color: #94a3b8;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .equal-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .equal-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .equal-header h2 {
        font-size: 28px;
    }
    .equal-card-media {
        height: 220px;
    }
}

/* ========================================================
   SERVICES GALLERY SHOWCASE (तका बक्सहरूमा मिलेको बाहिरैबाट देखिने ग्यालरी)
   ======================================================== */
.services-gallery-showcase {
    padding: 60px 0 80px 0;
    background: #ffffff;
    border: none;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.showcase-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-card:hover {
    transform: translateY(-6px);
    border-color: #e2e8f0;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.showcase-media {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #ffffff;
}

.showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-card:hover .showcase-media img {
    transform: scale(1.05);
}

.showcase-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.showcase-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.showcase-content h4 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.35;
}

.showcase-subtitle {
    color: #0284c7;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.showcase-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .showcase-media {
        height: 250px;
    }
}

@media (max-width: 640px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .showcase-media {
        height: 240px;
    }
}
