/* ============================================================
   SHREE MATESHWARI SOLUTION — DESIGN SYSTEM
   Color Theme: Red #c9242b | Gold #fec712 | Dark #1a1a2e
   ============================================================ */

/* ---- Root Variables ---- */
:root {
    --red:    #c9242b;
    --red-dk: #9e1d22;
    --red-lt: #f5d0d1;
    --gold:   #fec712;
    --gold-dk:#d4a000;
    --dark:   #1a1a2e;
    --gray:   #6c757d;
    --light:  #faf9f7;
    --white:  #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 12px 35px rgba(201,36,43,0.18);
    --radius: 14px;
    --radius-lg: 20px;
}

/* ---- Base ---- */
body { font-family: 'Poppins', sans-serif; color: #333; background: #fff; }
* { box-sizing: border-box; }

/* ---- Top Bar ---- */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid var(--red);
}
.top-bar a { color: var(--gold); text-decoration: none; }
.top-bar a:hover { text-decoration: underline; }

/* ---- Navbar ---- */
.navbar {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}
.navbar-brand img { height: 48px; }
.navbar-brand .brand-text { font-size: 20px; font-weight: 800; color: var(--dark); line-height: 1.2; }
.navbar-brand .brand-text span { color: var(--red); }
.navbar-brand .brand-sub { font-size: 11px; color: var(--gray); font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }

.nav-link {
    font-weight: 500;
    color: #444 !important;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 14px;
}
.nav-link:hover, .nav-link.active { color: var(--red) !important; background: rgba(201,36,43,0.06); }
.nav-cta {
    background: var(--red) !important;
    color: #fff !important;
    border-radius: 30px !important;
    padding: 8px 22px !important;
    font-weight: 600 !important;
    transition: all 0.25s !important;
}
.nav-cta:hover { background: var(--red-dk) !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(201,36,43,0.4) !important; }

/* ---- Footer ---- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    border-top: 4px solid var(--red);
}
.footer h5, .footer h6 { color: #fff; font-weight: 700; }
.footer-link { color: rgba(255,255,255,0.7); text-decoration: none; display: block; padding: 3px 0; font-size: 14px; transition: color 0.2s; }
.footer-link:hover { color: var(--gold); padding-left: 4px; }
.footer-divider { border-color: rgba(255,255,255,0.1); }
.footer-bottom { background: rgba(0,0,0,0.25); font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-badge { background: var(--red); color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 20px; }

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    position: fixed; width: 55px; height: 55px; bottom: 24px; right: 24px;
    background: #25D366; color: #fff; border-radius: 50%; text-align: center;
    font-size: 26px; box-shadow: 0 4px 15px rgba(37,211,102,0.4); z-index: 100;
    display: flex; align-items: center; justify-content: center; transition: 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.12); background: #1ebe5d; color: white; box-shadow: 0 6px 20px rgba(37,211,102,0.5); }

/* ---- Section Helpers ---- */
.section-badge {
    display: inline-block; background: rgba(201,36,43,0.1); color: var(--red);
    padding: 5px 16px; border-radius: 30px; font-size: 12px; font-weight: 600;
    letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 10px;
}
.section-title { font-weight: 800; color: var(--dark); line-height: 1.25; }
.section-divider { width: 48px; height: 4px; background: var(--gold); border-radius: 3px; margin: 12px auto 0; }
.section-divider-left { width: 48px; height: 4px; background: var(--gold); border-radius: 3px; margin: 12px 0 20px; }

/* ---- Hero — Home ---- */
.home-hero {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dk) 55%, #6b0f13 100%);
    padding: 100px 0 80px;
    position: relative; overflow: hidden;
}
.home-hero::before {
    content: ''; position: absolute; top: -80px; right: -60px;
    width: 550px; height: 550px; background: rgba(255,255,255,0.04); border-radius: 50%;
    pointer-events: none;
}
.home-hero::after {
    content: ''; position: absolute; bottom: -120px; left: -80px;
    width: 400px; height: 400px; background: rgba(254,199,18,0.07); border-radius: 50%;
    pointer-events: none;
}
.hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25); border-radius: 30px;
    padding: 6px 16px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-pill .dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }

/* ---- Stats Bar ---- */
.stats-bar { background: var(--dark); }
.stat-item { padding: 28px 20px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-item h2 { font-size: 38px; font-weight: 800; color: var(--gold); line-height: 1; margin: 0; }
.stat-item p { color: rgba(255,255,255,0.55); font-size: 13px; margin: 4px 0 0; }

/* ---- Service Cards ---- */
.svc-card {
    background: #fff; border-radius: var(--radius-lg); padding: 36px 28px;
    border: 1px solid #f0f0f0; transition: all 0.3s; height: 100%;
}
.svc-card:hover {
    transform: translateY(-8px); box-shadow: var(--shadow-hover);
    border-bottom: 4px solid var(--gold);
}
.svc-icon {
    width: 68px; height: 68px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; font-size: 28px;
}
.svc-icon-red { background: rgba(201,36,43,0.1); color: var(--red); }
.svc-icon-gold { background: rgba(254,199,18,0.15); color: var(--gold-dk); }
.svc-icon-dark { background: rgba(26,26,46,0.1); color: var(--dark); }

/* ---- Bank Logo Cards ---- */
.bank-logo-card {
    background: #fff; border-radius: var(--radius); padding: 18px 14px;
    box-shadow: var(--shadow); border: 1px solid #f0f0f0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 100px; transition: all 0.3s; position: relative; overflow: hidden;
}
.bank-logo-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--red); transform: scaleX(0);
    transition: transform 0.3s; transform-origin: left;
}
.bank-logo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.bank-logo-card:hover::before { transform: scaleX(1); }
.bank-logo-card img { max-height: 50px; max-width: 100%; object-fit: contain; filter: grayscale(30%); transition: filter 0.3s; }
.bank-logo-card:hover img { filter: grayscale(0%); }
.bank-logo-initials {
    width: 54px; height: 54px; border-radius: 12px;
    background: linear-gradient(135deg, var(--red), var(--red-dk));
    color: #fff; font-weight: 800; font-size: 13px;
    display: flex; align-items: center; justify-content: center; text-align: center;
    line-height: 1.2;
}
.bank-logo-name { font-size: 11px; font-weight: 600; color: #444; text-align: center; margin-top: 8px; line-height: 1.3; }

/* ---- Sold Out Properties ---- */
.sold-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; }
.sold-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.15); }
.sold-card img, .sold-card .sold-placeholder { width: 100%; height: 215px; object-fit: cover; }
.sold-placeholder { background: linear-gradient(135deg, #f0f0f0, #e4e4e4); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #bbb; }
.sold-ribbon {
    position: absolute; top: 14px; left: -6px;
    background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
    padding: 4px 16px 4px 20px; letter-spacing: 0.5px;
    clip-path: polygon(8px 0%, 100% 0%, 100% 100%, 8px 100%, 0% 50%);
}

/* ---- Team Cards ---- */
.team-card {
    background: #fff; border-radius: var(--radius-lg); border: 1px solid #f0f0f0;
    transition: all 0.3s; overflow: hidden;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-bottom: 4px solid var(--gold); }
.team-avatar-initials {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--red-dk));
    color: #fff; font-weight: 800; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px; flex-shrink: 0;
    border: 3px solid var(--gold);
}

/* ---- CA Section ---- */
.ca-box {
    background: linear-gradient(135deg, #fffbe6, #fff8d6);
    border: 2px solid var(--gold); border-radius: var(--radius-lg); padding: 50px 40px;
}
.ca-icon-wrap {
    width: 72px; height: 72px; background: var(--gold);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 32px; margin: 0 auto 16px; box-shadow: 0 4px 15px rgba(254,199,18,0.4);
}

/* ---- Inner Page Heroes ---- */
.page-hero {
    position: relative; overflow: hidden;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--red), var(--red-dk));
}
.page-hero::after {
    content: ''; position: absolute; right: -60px; top: -60px;
    width: 300px; height: 300px; background: rgba(255,255,255,0.06); border-radius: 50%;
}
.page-hero-finance { background: linear-gradient(135deg, var(--dark) 0%, #2d0d10 60%, var(--red-dk) 100%); }
.page-hero-realestate { background: linear-gradient(135deg, #0d2410 0%, #1a3a1e 60%, #2a5c2a 100%); }

/* ---- Finance Loan Cards ---- */
.loan-card { background: #fff; border-radius: var(--radius); border: 1px solid #f0f0f0; transition: all 0.3s; height: 100%; }
.loan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-left: 4px solid var(--red); }
.loan-icon { width: 64px; height: 64px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px; }

/* ---- Real Estate Cards ---- */
.prop-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; }
.prop-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.14); }
.prop-card-img { height: 210px; object-fit: cover; width: 100%; }
.prop-badge { position: absolute; top: 12px; right: 12px; border-radius: 30px; font-size: 12px; font-weight: 700; padding: 4px 14px; }

/* ---- What We Do ---- */
.service-box { background: #fff; border-radius: var(--radius); border: 1px solid #f0f0f0; padding: 32px 24px; transition: all 0.3s; height: 100%; }
.service-box:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-bottom: 4px solid var(--gold); }

/* ---- Why Us cards ---- */
.why-card { background: var(--light); border-radius: var(--radius); padding: 30px 24px; transition: all 0.3s; border-bottom: 3px solid transparent; }
.why-card:hover { transform: translateY(-6px); border-bottom-color: var(--red); box-shadow: var(--shadow); }

/* ---- Contact Form ---- */
.contact-form-wrap { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px; }
.form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(201,36,43,0.12); }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-icon { width: 44px; height: 44px; background: rgba(201,36,43,0.1); color: var(--red); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

/* ---- CTA Sections ---- */
.cta-section {
    background: linear-gradient(135deg, var(--red), var(--red-dk));
}
.finance-cta, .whatwedo-cta { background: linear-gradient(135deg, var(--dark), #2d1018); }

/* ---- Breadcrumb Section ---- */
.breadcrumb-section { background: var(--red); padding: 30px 0; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb-item.active { color: rgba(255,255,255,0.8); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ---- About Hero ---- */
.about-hero {
    background: linear-gradient(135deg, var(--dark), #1e0810, var(--red-dk));
    padding: 90px 0 70px; position: relative; overflow: hidden;
}
.about-hero::before { content: ''; position: absolute; right: -60px; bottom: -60px; width: 300px; height: 300px; background: rgba(254,199,18,0.06); border-radius: 50%; }

/* ---- Real Estate Hero ---- */
.realestate-hero {
    background: linear-gradient(135deg, #0a1f0c, #1a3a1e, #2d5230);
    padding: 90px 0 70px; position: relative; overflow: hidden;
}

/* ---- What We Do Hero ---- */
.whatwedo-hero {
    background: linear-gradient(135deg, var(--dark), #0d1a2e, #1a2d4a);
    padding: 90px 0 70px;
}

/* ---- Finance Hero ---- */
.finance-hero {
    background: linear-gradient(135deg, var(--dark), #1e0810, var(--red-dk));
    padding: 90px 0 70px; position: relative; overflow: hidden;
}

/* ---- Buttons ---- */
.btn-red { background: var(--red); color: #fff; border-radius: 30px; font-weight: 600; transition: all 0.25s; border: none; }
.btn-red:hover { background: var(--red-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(201,36,43,0.4); }
.btn-gold { background: var(--gold); color: #1a1a1a; border-radius: 30px; font-weight: 700; transition: all 0.25s; border: none; }
.btn-gold:hover { background: #e5b310; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(254,199,18,0.5); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .home-hero { padding: 70px 0 50px; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .ca-box { padding: 30px 20px; }
    .contact-form-wrap { padding: 24px; }
    .page-hero { padding: 60px 0 40px; }
}
@media (max-width: 576px) {
    .bank-logo-card { height: 88px; }
    .bank-logo-card img { max-height: 40px; }
}
