/* ==========================================================================
1. VARIABLES & RESETS - DARK NAVY + ELECTRIC CYAN / VIBRANT GRADIENTS
========================================================================== */
:root {
    --primary: #29152F;
    --primary-light: #43234B;
    --accent: #FF786B;
    --accent-hover: #E85B50;
    --text-main: #30243A;
    --text-muted: #887B91;
    --bg-light: #F7F0F5;
    --white: #FFFFFF;
    --error: #E5484D;
    --success: #A3C94A;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --shadow: 0 10px 25px -5px rgba(41, 21, 47, 0.09), 0 8px 10px -6px rgba(41, 21, 47, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
2. REUSABLE COMPONENTS & UTILITIES
========================================================================== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem auto; }
.section-eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
h2 { font-family: var(--font-serif); font-size: 2.5rem; color: var(--primary); line-height: 1.2; margin-bottom: 1rem; }
h3 { font-family: var(--font-serif); color: var(--primary); }
.gradient-text {
    background: linear-gradient(135deg, #00e5ff 0%, #ff6e7f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary { background-color: var(--accent); color: var(--primary); }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, 0.2); }
.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.full-width { width: 100%; justify-content: center; }

/* ==========================================================================
3. NAVIGATION BAR
========================================================================== */
#navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 1.2rem 0;
}
#navbar.scrolled {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 0.8rem 0;
}
/* Force navbar background on inner pages */
body:not(:has(#home)) #navbar {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 0.8rem 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; color: var(--white); text-decoration: none; font-size: 1.3rem; }
.logo-icon { color: var(--accent); }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background-color: rgba(255, 255, 255, 0.1); color: var(--white); text-decoration: none; padding: 0.5rem 1.5rem; border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.2); font-weight: 500; transition: var(--transition); }
.nav-cta:hover { background-color: var(--accent); color: var(--primary); border-color: var(--accent); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background-color: var(--white); border-radius: 2px; transition: var(--transition); }

/* ==========================================================================
4. HERO SECTION
========================================================================== */
.hero { background-color: var(--primary); color: var(--white); padding: 10rem 0 6rem 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background-color: rgba(0, 229, 255, 0.1); color: var(--accent); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; margin-bottom: 1.5rem; border: 1px solid rgba(0, 229, 255, 0.2); }
.hero-content h1 { font-family: var(--font-serif); font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 550px; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.trust-item i { color: var(--accent); }
.hero-visual { position: relative; }
.dashboard-card { background-color: var(--primary-light); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 2rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.dash-header { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.dash-title { font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.dash-live { font-size: 0.8rem; color: var(--success); display: flex; align-items: center; gap: 0.3rem; }
.dash-live i { font-size: 0.5rem; animation: pulse 2s infinite; }
.dash-amount { font-size: 2.5rem; font-weight: 700; }
.dash-amount span { font-size: 1.5rem; opacity: 0.5; }
.dash-growth { color: var(--success); font-size: 0.9rem; margin-bottom: 1.5rem; }
.dash-assets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.asset-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; background: rgba(255, 255, 255, 0.03); padding: 0.5rem 0.8rem; border-radius: 8px; }
.asset-dot { width: 8px; height: 8px; border-radius: 50%; }
.hero-float-cards { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; }
.float-card { position: absolute; background: rgba(10, 25, 47, 0.8); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.1); padding: 0.6rem 1.2rem; border-radius: 50px; font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.float-card i { color: var(--accent); }
.fc1 { top: -20px; right: -20px; }
.fc2 { bottom: 40px; left: -40px; }
.fc3 { bottom: -20px; right: 40px; }
.hero-stats { background-color: rgba(255, 255, 255, 0.03); border-top: 1px solid rgba(255, 255, 255, 0.05); display: grid; grid-template-columns: repeat(4, 1fr); padding: 2rem; margin-top: 5rem; border-radius: 12px; text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* ==========================================================================
5. ABOUT US SECTION
========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-content p { margin-bottom: 1.5rem; color: var(--text-main); }
.about-features { margin-top: 2rem; }
.af-item { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; font-weight: 500; }
.af-item i { color: var(--success); }
.about-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.about-stat-card { background-color: var(--bg-light); padding: 2rem; border-radius: 12px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); }
.about-stat-card:hover { transform: translateY(-5px); }
.asc-icon { font-size: 1.8rem; color: var(--accent); margin-bottom: 0.5rem; }
.asc-num { font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.asc-label { font-size: 0.85rem; color: var(--text-muted); }

/* ==========================================================================
6. WHY CHOOSE US & SERVICES SECTIONS
========================================================================== */
.why { background-color: var(--bg-light); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.why-card { background-color: var(--white); padding: 2.5rem 2rem; border-radius: 12px; box-shadow: var(--shadow); transition: var(--transition); }
.why-card:hover { transform: translateY(-5px); }
.why-icon { width: 50px; height: 50px; background-color: rgba(0, 229, 255, 0.1); color: var(--accent); display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 1.3rem; margin-bottom: 1.5rem; }
.why-card h3 { margin-bottom: 0.8rem; color: var(--primary); }
.why-card p { color: var(--text-muted); font-size: 0.95rem; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-bottom: 4rem; }
.service-category { border: 1px solid #e2e8f0; border-radius: 16px; padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; transition: var(--transition); background: var(--white); }
.service-category:hover { box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1); border-color: transparent; }
.sc-header { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.sc-icon { width: 60px; height: 60px; min-width: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.loans-icon { background: #e0f7fa; color: #00bcd4; }
.insurance-icon { background: #fff8e1; color: #ffc107; }
.invest-icon { background: #f3e5f5; color: #9c27b0; }
.wealth-icon { background: #e8f5e9; color: #00e5ff; }
.payments-icon { background: #f1f5f9; color: #475569; }
.debt-icon { background: #ffebee; color: #ef5350; }
.home-icon { background: #e0f2f1; color: #009688; }
.auto-icon { background: #fff3e0; color: #ff9800; }
.sc-header h3 { margin-bottom: 0.3rem; color: var(--primary); }
.sc-header p { color: var(--text-muted); font-size: 0.9rem; }
.sc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.sc-tags span { background-color: var(--bg-light); padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.8rem; font-weight: 500; }
.sc-link { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5rem; }

.subservices-directory { margin-top: 5rem; background: var(--bg-light); padding: 4rem 2rem; border-radius: 24px; }
.subservices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.subservice-block { background: var(--white); padding: 2rem; border-radius: 12px; box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.subservice-block h4 { font-size: 1.2rem; color: var(--primary); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.subservice-block p { font-size: 0.95rem; color: var(--text-main); line-height: 1.6; }

/* ==========================================================================
7. NEWSLETTER SECTION
========================================================================== */
.newsletter { background-color: var(--primary); color: var(--white); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.newsletter-inner h2 { color: var(--white); }
.newsletter-inner p { color: rgba(255, 255, 255, 0.7); margin-bottom: 2rem; }
.nl-perks { display: flex; flex-direction: column; gap: 0.8rem; }
.nl-perks div { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.nl-perks i { color: var(--accent); }
.nl-form { background-color: var(--primary-light); padding: 2.5rem; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
.form-group.full { grid-column: span 2; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.form-group input, .form-group select, .form-group textarea { padding: 0.8rem 1rem; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.05); color: var(--white); font-family: var(--font-sans); outline: none; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); background-color: rgba(255, 255, 255, 0.08); }
.form-check { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1.5rem; }
.form-check input { margin-top: 0.3rem; }
.form-check label { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.nl-unsub { text-align: center; margin-top: 1rem; }
.nl-unsub a { color: rgba(255, 255, 255, 0.4); font-size: 0.8rem; }

/* ==========================================================================
8. REVIEWS, BLOG, & CONTACT SECTIONS
========================================================================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.review-card { border: 1px solid #e2e8f0; padding: 2.5rem 2rem; border-radius: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.review-stars { color: var(--accent); margin-bottom: 1rem; font-size: 0.9rem; }
.review-card p { font-size: 0.95rem; color: var(--text-main); margin-bottom: 1.5rem; font-style: italic; }
.review-footer { display: flex; align-items: center; gap: 1rem; }
.review-avatar { width: 45px; height: 45px; background-color: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.review-footer strong { display: block; color: var(--primary); font-size: 0.95rem; }
.review-footer span { font-size: 0.8rem; color: var(--text-muted); }

.blog { background-color: var(--bg-light); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background-color: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.blog-img { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255, 255, 255, 0.3); }
.blog-body { padding: 2rem; }
.blog-tag { display: inline-block; background-color: rgba(0, 229, 255, 0.1); color: var(--accent); padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700; margin-bottom: 0.8rem; }
.blog-body h4 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--primary); margin-bottom: 0.5rem; }
.blog-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.blog-link { color: var(--primary); font-weight: 600; text-decoration: none; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.ci-card { display: flex; gap: 1.2rem; align-items: center; background-color: var(--bg-light); padding: 1.5rem; border-radius: 12px; }
.ci-icon { font-size: 1.5rem; color: var(--accent); }
.ci-card strong { display: block; color: var(--primary); margin-bottom: 0.2rem; }
.ci-card span { font-size: 0.9rem; color: var(--text-muted); }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.contact-form .form-group label { color: var(--text-main); }
.contact-form input, .contact-form select, .contact-form textarea { background-color: var(--bg-light); border: 1px solid #cbd5e1; color: var(--text-main); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--primary); background-color: var(--white); }

/* ==========================================================================
9. ACCORDION (FAQ) SYSTEM
========================================================================== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
.faq-question { width: 100%; padding: 1.5rem; background-color: var(--white); border: none; text-align: left; font-size: 1.1rem; font-weight: 600; color: var(--primary); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background-color: var(--bg-light); }
.faq-answer p { padding: 1.5rem; color: var(--text-muted); font-size: 0.95rem; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-question i { transform: rotate(45deg); color: var(--error); }

/* ==========================================================================
10. MODAL DIALOG OVERLAYS
========================================================================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 25, 47, 0.6); backdrop-filter: blur(5px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box { background-color: var(--white); padding: 2.5rem; border-radius: 16px; max-width: 500px; width: 90%; text-align: center; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); transform: translateY(-30px); transition: transform 0.3s ease; }
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-icon { font-size: 3rem; margin-bottom: 1rem; }
.modal-icon.success { color: var(--success); }
.modal-box h3 { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 1rem; color: var(--primary); }
.modal-box p { color: var(--text-muted); margin-bottom: 1.5rem; }
.modal-large { max-width: 800px; text-align: left; display: flex; flex-direction: column; max-height: 80vh; width: 90%; }
.modal-scroll-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid #e2e8f0; }
.modal-scroll-header h3 { color: var(--primary) !important; margin: 0; }
.modal-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--primary); }
.modal-scroll-body { overflow-y: auto; padding: 1.5rem 0; font-size: 0.95rem; flex-grow: 1; }
.policy-section { margin-bottom: 1.5rem; }
.policy-section h4 { margin-bottom: 0.5rem; color: var(--primary) !important; font-weight: 700; }
.policy-section p { color: var(--text-main) !important; line-height: 1.6; margin-bottom: 0; }
.modal-footer-btn { padding-top: 1rem; border-top: 1px solid #e2e8f0; display: flex; justify-content: flex-end; }
.modal-footer-btn button { border: none; }
.modal-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 1.5rem; }
.btn-ghost { background: none; border: 1px solid #cbd5e1; padding: 0.8rem 1.5rem; border-radius: 50px; cursor: pointer; }

/* ==========================================================================
11. FOOTER ARCHITECTURE
========================================================================== */
.footer { background-color: var(--primary); color: var(--white); padding: 5rem 0 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 4rem; margin-bottom: 4rem; }
.footer-about p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; margin: 1.5rem 0; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 36px; height: 36px; background-color: rgba(255, 255, 255, 0.05); color: var(--white); display: flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; transition: var(--transition); }
.footer-social a:hover { background-color: var(--accent); color: var(--primary); }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 1.5rem; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col ul a { color: rgba(255, 255, 255, 0.6); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--accent); padding-left: 5px; }
.footer-nl p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; margin-bottom: 1.5rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 2rem; display: flex; justify-content: space-between; font-size: 0.85rem; color: rgba(255, 255, 255, 0.4); }
.footer-bottom a { color: rgba(255, 255, 255, 0.4); text-decoration: none; margin-left: 1.5rem; }
.footer-bottom a:hover { color: var(--accent); }

.scroll-top { position: fixed; bottom: 30px; right: -60px; width: 45px; height: 45px; background-color: var(--accent); color: var(--primary); border: none; border-radius: 50%; cursor: pointer; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); transition: var(--transition); z-index: 99; }
.scroll-top.visible { right: 30px; }

/* ==========================================================================
12. RESPONSIVE MEDIA QUERIES (BREAKPOINTS)
========================================================================== */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .newsletter-inner, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid, .services-grid, .subservices-grid, .reviews-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .nav-links { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background-color: var(--primary); flex-direction: column; align-items: center; padding: 3rem 0; transition: var(--transition); }
    .nav-links.active { left: 0; }
    .hamburger { display: flex; }
    .why-grid, .services-grid, .subservices-grid, .reviews-grid, .blog-grid, .about-stats-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .contact-form { grid-template-columns: 1fr; }
}

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }