/* ==========================================================================
   BayBiz Home Styles - 2026 Master Version
   Includes: Bento Grid, Mission Flex Layout, and Charity Branding
   ========================================================================== */

/* 1. TOP SECTION (Centered) */
.welcome-section {
    text-align: center !important;
    margin-bottom: 50px;
    width: 100%;
}

.welcome-section h1 {
    font-size: 42px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: -1.5px;
}

.subtitle {
    color: #666;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
    text-align: center;
}

/* 2. FEATURED HEADING (Centered) */
.section-title {
    text-align: center !important;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #1a1a1a;
    width: 100%;
    display: block;
}

/* 3. GRID LAYOUT */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

/* 4. THE BUSINESS CARD */
.biz-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 25px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.biz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(63, 33, 181, 0.1);
    border-color: #3f21b5;
}

.biz-card-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.biz-logo-container {
    width: 75px;
    height: 75px;
    min-width: 75px;
    background: #f8f9fa;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eee;
}

.biz-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.placeholder-initial {
    font-size: 28px;
    font-weight: 900;
    color: #3f21b5;
}

.category-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    color: #3f21b5;
    background: #f0f0ff;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.biz-info-text h4 {
    font-size: 19px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.toggle-label {
    font-size: 12px;
    font-weight: 700;
    color: #3f21b5;
    margin-top: 8px;
    opacity: 0.7;
}

/* 5. EXPANDED SECTION */
.biz-expanded-info {
    display: none;
    margin-top: 0;
    padding-top: 0;
}

.biz-expanded-info.show {
    display: block; 
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.biz-desc {
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.contact-box-mini {
    background: #f8f9ff;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #edf0ff;
    text-align: left;
}

.contact-box-mini p {
    font-size: 13px;
    margin-bottom: 8px;
    color: #444;
}

.contact-box-mini strong {
    color: #3f21b5;
}

.biz-web-link {
    display: block;
    background: #3f21b5;
    color: #ffffff !important;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    margin-top: 15px;
    text-transform: uppercase;
}

/* 6. MISSION SECTION (Updated Flex Layout) */
.mission-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 35px;
    border: 1px solid #f0f0f0;
    margin: 120px auto 40px auto;
    max-width: 900px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.02);
}

.mission-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.mission-text { flex: 1; }

.mission-card h2 {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 20px;
}

.mission-card p {
    color: #555;
    line-height: 1.8;
    font-size: 16.5px;
}

/* Charity Link Styling */
.charity-link {
    color: #3f21b5;
    text-decoration: none;
    font-weight: 800;
    border-bottom: 2px solid #eeebff;
    transition: 0.3s;
}

.charity-link:hover {
    color: #2e1896;
    border-bottom-color: #3f21b5;
}

/* Badge Styling */
.charity-badge-container {
    flex: 0 0 130px;
    text-align: center;
    text-decoration: none;
}

.charity-badge-container img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: 0.4s ease;
}

.charity-badge-container:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.badge-label {
    display: block;
    margin-top: 8px;
    font-size: 9px;
    color: #bbb;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 7. FOOTER */
.home-footer {
    text-align: center !important;
    padding: 60px 20px;
    color: #bbb;
    font-size: 13px;
    width: 100%;
    display: block;
}

.area-identifier {
    text-align: center;
    margin-top: 20px;
    color: #999;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .featured-grid { grid-template-columns: 1fr; }
    .mission-card { margin-top: 60px; padding: 30px; }
    .mission-flex { flex-direction: column-reverse; text-align: center; gap: 20px; }
    .welcome-section h1 { font-size: 32px; }
}