/* ========================================================
   B.J.S CONSTRUCTION & SUPPLIERS PVT. LTD.
   Clean Modern Architectural Design & Equal Grid
   Typography: Poppins (Clean, Bold, Geometric & Professional)
   Brand Colors: Deep Navy (#0e132a) + Architectural Gold (#d4af37)
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --brand-navy: #0f2b5c;
    --brand-royal-blue: #1e3a8a;
    --brand-dark: #0a192f;
    --brand-gold: #d4af37;
    --brand-gold-hover: #b8860b;
    --brand-gold-light: #fefce8;
    --brand-orange: #d4af37; /* Aliased to Gold for backwards compatibility */
    --brand-orange-hover: #b8860b;
    --brand-orange-light: #fefce8;
    --brand-amber: #d4af37;
    --brand-amber-light: #fefce8;
    --brand-amber-hover: #b8860b;
    --brand-slate: #64748b;
    --brand-dark-text: #0f172a;
    --brand-border: #e2e8f0;
    --brand-card-bg: #ffffff;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: var(--brand-dark-text) !important;
    background-color: #ffffff !important;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.section-tittle h2,
.equal-header h2,
.hero__caption h1,
.front-text h2 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    color: var(--brand-navy) !important;
    letter-spacing: -0.02em;
}

/* ========================================================
   EQUAL BALANCED SERVICES SECTION (3x2 GRID)
   All 6 cards strictly identical in height and width
   100% clean full image - zero buttons or tags over image!
   ======================================================== */
.equal-services-section {
    padding: 90px 0 90px 0 !important;
    background: #ffffff !important;
}

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

.equal-header .category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.equal-header h2 {
    font-size: 40px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
    color: var(--brand-navy) !important;
}

.equal-header p {
    font-size: 16px;
    color: var(--brand-slate);
    line-height: 1.7;
    margin-bottom: 0;
}

.equal-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card Container - Strict Uniform Dimensions */
.equal-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    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: #cbd5e1;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

/* 100% Pure Clean Photo Box - Zero overlay elements */
.equal-card-media {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #ffffff;
}

.equal-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

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

/* Card Body with Consistent Vertical Spacing */
.equal-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.equal-card-body h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--brand-navy) !important;
    margin-bottom: 10px;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.equal-card:hover .equal-card-body h3 {
    color: var(--brand-orange) !important;
}

.equal-card-body p {
    font-size: 14px;
    color: var(--brand-slate);
    line-height: 1.65;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer - Clean Balanced Meta */
.equal-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.equal-rate-badge {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--brand-orange);
    background: var(--brand-orange-light);
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.equal-action-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-navy);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.equal-card:hover .equal-action-btn {
    color: var(--brand-orange);
}

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

.equal-action-btn i {
    transition: transform 0.3s ease;
    color: var(--brand-orange);
}

/* ========================================================
   FULL HOUSE GALLERY CARDS (For Portfolio & Detail Pages)
   ======================================================== */
.editorial-gallery-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(14, 19, 42, 0.05);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.editorial-gallery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 95, 19, 0.4);
    box-shadow: 0 16px 36px rgba(255, 95, 19, 0.12);
}

.editorial-gallery-thumb {
    position: relative;
    height: 290px;
    overflow: hidden;
    background: #f1f5f9;
}

.editorial-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
    display: block;
}

.editorial-gallery-card:hover .editorial-gallery-thumb img {
    transform: scale(1.06);
}

.editorial-gallery-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.editorial-gallery-info h5 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: var(--brand-navy) !important;
    margin-bottom: 6px;
}

.editorial-gallery-info .loc-text {
    font-size: 13px;
    color: var(--brand-slate);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

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

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