/* =============================================
   Lendier — Main Stylesheet
   ============================================= */

/* --- Variables --- */
:root {
  --navy: #1E3A5F;
  --blue-mid: #1A5DAB;
  --blue-light: #4DA8F0;
  --white: #ffffff;
  --off-white: #f5f8fc;
  --gray-light: #e8eef5;
  --gray-text: #6b7c93;
  --text-dark: #1a2a3a;
  --gradient: linear-gradient(135deg, #1A5DAB 0%, #4DA8F0 100%);
  --shadow: 0 4px 24px rgba(30,58,95,0.10);
  --radius: 14px;
  --container: 1160px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Container --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.text-center { text-align: center; }

/* --- Typography --- */
.section-label { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-mid); margin-bottom: 12px; }
.section-label.light { color: rgba(255,255,255,0.8); }
.section-title { font-size: 2.2rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-text); max-width: 600px; margin: 0 auto 48px; }
h1,h2,h3,h4 { line-height: 1.25; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 16px rgba(26,93,171,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,93,171,0.4); }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.7); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-full { width: 100%; justify-content: center; }

/* --- Navbar --- */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-light); transition: box-shadow 0.2s; }
.navbar.scrolled { box-shadow: 0 2px 20px rgba(30,58,95,0.10); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 32px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-dark); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-mid); }
.nav-cta { padding: 10px 22px; font-size: 0.88rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.2s; }

/* --- Mobile Menu --- */
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--white); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.4rem; font-weight: 600; color: var(--navy); }
.mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); }

/* --- Hero --- */
.hero { background: linear-gradient(135deg, #0f2240 0%, #1A5DAB 60%, #4DA8F0 100%); color: #fff; padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero-blob { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: rgba(255,255,255,0.05); top: -200px; right: -100px; }
.hero-content { position: relative; max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: 50px; padding: 8px 18px; font-size: 0.82rem; font-weight: 600; margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4DA8F0; }
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { color: #4DA8F0; }
.hero-sub { font-size: 1.1rem; opacity: 0.9; margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 800; }
.stat-label { font-size: 0.75rem; opacity: 0.75; }

/* --- Page Header --- */
.page-header { background: linear-gradient(135deg, #0f2240 0%, #1A5DAB 100%); color: #fff; padding: 60px 0; }
.page-header .breadcrumb { font-size: 0.82rem; opacity: 0.7; margin-bottom: 12px; }
.page-header .breadcrumb a { color: #fff; opacity: 0.7; }
.page-header h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.page-header p { opacity: 0.85; max-width: 560px; }

/* --- Intro Section --- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-text h2 { font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.intro-text p { color: var(--gray-text); margin-bottom: 14px; }
.intro-features { margin: 28px 0; display: flex; flex-direction: column; gap: 18px; }
.intro-feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--gradient); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon svg { width: 18px; height: 18px; fill: #fff; }
.feature-text h4 { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.feature-text p { font-size: 0.85rem; color: var(--gray-text); }
.intro-card-stack { position: relative; }
.intro-main-card { background: var(--gradient); color: #fff; border-radius: var(--radius); padding: 36px; }
.card-icon-large { font-size: 2.5rem; margin-bottom: 16px; }
.intro-main-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.intro-main-card p { opacity: 0.9; font-size: 0.9rem; }
.floating-badge { background: #fff; border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); margin-top: 16px; }
.badge-icon { width: 36px; height: 36px; border-radius: 50%; background: #e8f5e9; color: #2e7d32; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.badge-text strong { display: block; font-size: 0.9rem; color: var(--navy); }
.badge-text span { font-size: 0.78rem; color: var(--gray-text); }

/* --- Services Grid --- */
.services-section { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(30,58,95,0.13); }
.service-card-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; color: var(--gray-text); margin-bottom: 20px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--blue-mid); }
.card-link svg { width: 16px; height: 16px; }

/* --- Calculator --- */
.calculator-section { background: var(--navy); color: #fff; }
.calculator-section .section-title { color: #fff; }
.calculator-section p { color: rgba(255,255,255,0.8); }
.calc-wrapper { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); max-width: 680px; margin: 0 auto; overflow: hidden; }
.calc-header { padding: 28px 32px 0; }
.calc-header h3 { font-size: 1.2rem; font-weight: 700; }
.calc-header p { font-size: 0.85rem; opacity: 0.75; margin-top: 6px; }
.calc-body { padding: 24px 32px 32px; }
.calc-type-toggle { display: flex; gap: 8px; margin-bottom: 24px; }
.calc-type-btn { flex: 1; padding: 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.calc-type-btn.active { background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(255,255,255,0.5); }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.calc-field label { display: block; font-size: 0.78rem; font-weight: 600; opacity: 0.8; margin-bottom: 6px; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-prefix { position: absolute; left: 12px; font-size: 0.9rem; opacity: 0.7; }
.input-suffix { position: absolute; right: 12px; font-size: 0.9rem; opacity: 0.7; }
.input-wrap input { width: 100%; padding: 10px 32px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; color: #fff; font-size: 0.9rem; font-family: inherit; }
.input-wrap.no-prefix input { padding-left: 14px; }
.input-wrap input:focus { outline: none; border-color: rgba(255,255,255,0.5); }
.calc-result { background: rgba(255,255,255,0.1); border-radius: 10px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; }
.result-label { font-size: 0.85rem; opacity: 0.8; }
.result-note { font-size: 0.75rem; opacity: 0.6; margin-top: 2px; }
.result-value { font-size: 2rem; font-weight: 800; color: #4DA8F0; }

/* --- Testimonials --- */
.testimonials-section { background: var(--off-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 16px; }
.testimonial-text { font-size: 0.9rem; color: var(--gray-text); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-role { font-size: 0.78rem; color: var(--gray-text); }

/* --- CTA Banner --- */
.cta-banner { background: var(--gradient); color: #fff; padding: 80px 0; }
.cta-banner h2 { font-size: 2.2rem; font-weight: 800; margin: 12px 0 16px; }
.cta-banner p { opacity: 0.9; max-width: 540px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Footer --- */
.footer { background: #0a1628; color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 8px; }
.footer-brand strong { font-size: 1.1rem; color: #fff; font-weight: 700; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,0.06); padding: 16px 0; font-size: 0.75rem; color: rgba(255,255,255,0.3); line-height: 1.6; }

/* --- About Page --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text h2 { font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.about-text p { color: var(--gray-text); margin-bottom: 14px; }
.values-list { margin: 28px 0; display: flex; flex-direction: column; gap: 20px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-num { width: 36px; height: 36px; border-radius: 10px; background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.value-content h4 { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.value-content p { font-size: 0.85rem; color: var(--gray-text); }
.about-visual-card { background: var(--off-white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.broker-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.broker-stat { text-align: center; padding: 20px; background: #fff; border-radius: 10px; }
.broker-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.broker-stat-label { font-size: 0.75rem; color: var(--gray-text); margin-top: 4px; }

/* --- Bio Section --- */
.bio-section { background: var(--off-white); }
.bio-grid { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start; }
.bio-sidebar { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); text-align: center; }
.bio-sidebar-avatar { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 20px; overflow: hidden; border: 4px solid var(--blue-light); }
.bio-sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.bio-sidebar h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.role-tag { display: inline-block; background: var(--gradient); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 4px 14px; border-radius: 50px; }
.bio-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.bio-contact-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--gray-text); }
.bio-contact-item svg { width: 16px; height: 16px; fill: var(--blue-mid); flex-shrink: 0; }
.bio-content h2 { font-size: 1.8rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.bio-content p { color: var(--gray-text); margin-bottom: 14px; }

/* --- Why Section --- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.why-icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; color: var(--gray-text); }

/* --- Services Detail --- */
.service-detail { padding: 70px 0; }
.service-detail.alt-bg { background: var(--off-white); }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-detail-content h2 { font-size: 1.8rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.service-detail-content p { color: var(--gray-text); margin-bottom: 14px; }
.service-features { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.service-feature { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-dark); }
.service-feature::before { content: '✓'; color: var(--blue-mid); font-weight: 700; }
.service-visual { background: var(--gradient); border-radius: var(--radius); padding: 48px; text-align: center; color: #fff; }
.service-icon-large { font-size: 4rem; margin-bottom: 20px; }
.service-visual h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.service-visual p { opacity: 0.85; font-size: 0.9rem; }

/* --- Contact --- */
.contact-section { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.contact-info h2 { font-size: 1.8rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.contact-info > p { color: var(--gray-text); margin-bottom: 28px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 20px; display: flex; align-items: flex-start; gap: 16px; box-shadow: var(--shadow); }
.contact-card-icon { font-size: 1.5rem; }
.contact-card-body h4 { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.contact-card-body p { font-size: 0.85rem; color: var(--gray-text); }
.contact-services-list h4 { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.contact-services-list ul { display: flex; flex-direction: column; gap: 8px; }
.contact-services-list ul li { font-size: 0.85rem; color: var(--gray-text); display: flex; align-items: center; gap: 8px; }
.contact-services-list ul li::before { content: '→'; color: var(--blue-mid); }
.contact-form-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.contact-form-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.contact-form-card > p { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 24px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.required { color: #e53e3e; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-light); border-radius: 8px; font-family: inherit; font-size: 0.9rem; color: var(--text-dark); background: var(--off-white); transition: border-color 0.2s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue-mid); background: #fff; }
.form-field input.error, .form-field textarea.error { border-color: #e53e3e; }
.field-error { display: none; font-size: 0.78rem; color: #e53e3e; margin-top: 4px; }
.form-disclaimer p { font-size: 0.75rem; color: var(--gray-text); line-height: 1.5; }
.thankyou-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 36px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.thankyou-icon { font-size: 3rem; margin-bottom: 20px; }
.thankyou-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.thankyou-card p { color: var(--gray-text); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .intro-grid, .about-grid, .bio-grid, .service-detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .testimonials-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .calc-inputs { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid, .testimonials-grid, .why-grid, .broker-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 56px 0; }
  .bio-grid { grid-template-columns: 1fr; }
}
