/*--------------------------------------------------------------
* Template Name: SoftLand
* Updated: Consolidated & Revamped Master Optimization Pipeline
* Template URL: [https://bootstrapmade.com/softland-bootstrap-app-landing-page-template/](https://bootstrapmade.com/softland-bootstrap-app-landing-page-template/)
* Author: My Fund Guide Development Team
* License: Proprietary / Core Compliance Lock
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# 1. CRITICAL PERFORMANCE ENGINE & CORE OVERRIDES
--------------------------------------------------------------*/
@font-face {
  font-family: 'boxicons';
  font-display: swap;
}

@font-face {
  font-family: 'bootstrap-icons';
  font-display: swap;
}

/* Structural Navigation Placeholder - Eliminates Above-The-Fold Jitter */
#header-placeholder { 
  min-height: 80px; 
  display: block; 
  background-color: #648232; /* Instantly locks your signature green menu footprint */
  margin: 0;
  padding: 0;
}

/* Master Core Layout */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: #9fa1a4;
  line-height: 1.5;
  background-color: #fbfbfd;
}

a {
  color: #777;
  text-decoration: none;
  transition: 0.3s all ease;
}

a:hover {
  color: #000;
}

h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #000;
  font-weight: 600;
}

.container {
  z-index: 2;
  position: relative;
}

.text-black { color: #000 !important; }
.text-primary { color: #2d71a1 !important; }
.border-top { border-top: 1px solid #f2f2f2 !important; }
.border-bottom { border-bottom: 1px solid #f2f2f2 !important; }

figure figcaption {
  margin-top: 0.5rem;
  font-style: italic;
  font-size: 0.8rem;
}

section {
  overflow: hidden;
}

.section {
  padding: 5rem 0;
}

.section-heading {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(-45deg, #3db3c5, #274685);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 768px) {
  .section-heading { font-size: 2.2rem; }
  .section { padding: 3.5rem 0; }
}

/*--------------------------------------------------------------
# 2. FIXED TOP NAVIGATION & HERO LAYOUTS
--------------------------------------------------------------*/
#header {
  height: 80px;
  z-index: 997;
  transition: all 0.4s ease-in-out;
  background: rgba(100, 130, 50, 0.7); /* Translucent branding green */
}

#header.header-scrolled,
#header.scrolled {
  background: rgba(100, 130, 50, 0.95);
  height: 60px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 26px;
  margin: 0;
  padding: 4px 0;
  line-height: 1;
  font-weight: 600;
}

#header .logo h1 a { color: #fff; }
#header .logo img { padding: 0; margin: 0; max-height: 45px; }

/* Desktop Navigation Architecture */
.navbar { padding: 0; }
.navbar ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; }
.navbar li { position: relative; }

.navbar a, 
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i { font-size: 12px; line-height: 0; margin-left: 5px; }
.navbar a:hover, 
.navbar .active, 
.navbar li:hover > a { color: #fff; }

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease-in-out;
  border-radius: 6px;
}

.navbar .dropdown ul li { min-width: 210px; }
.navbar .dropdown ul a { padding: 10px 20px; font-size: 14px; color: #101c36; }
.navbar .dropdown ul a:hover, 
.navbar .dropdown ul .active:hover, 
.navbar .dropdown ul li:hover > a { color: #2d71a1; background-color: #f8fafc; }
.navbar .dropdown:hover > ul { opacity: 1; top: 100%; visibility: visible; }

/* Mobile Navigation Toggle Links */
.mobile-nav-toggle { color: #fff; font-size: 28px; cursor: pointer; display: none; line-height: 0; }

@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; color: #fff; z-index: 9999; }
  .navbar ul { display: none; }
}

.navbar-mobile { position: fixed; top: 0; right: 0; left: 0; bottom: 0; background: rgba(27, 49, 94, 0.95); z-index: 999; transition: 0.3s; }
.navbar-mobile .mobile-nav-toggle { position: absolute; top: 15px; right: 15px; }
.navbar-mobile ul { display: block; position: absolute; top: 55px; right: 15px; bottom: 15px; left: 15px; padding: 10px 0; border-radius: 8px; background-color: #fff; overflow-y: auto; }
.navbar-mobile a { padding: 10px 20px; font-size: 15px; color: #101c36; display: block; }
.navbar-mobile a:hover, .navbar-mobile .active { color: #0b5ed7; background-color: #f8fafc; }

/* Hardcoded Master Hero Container Parameters - Eradicates CLS Shifts Completely */
.hero-section {
  min-height: 100vh;
  height: 100vh;
  display: block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #b1c9c5; /* Clean dark-green baseline palette matching the WebP imagery */
}

/* HIGH-IMPACT PAYLOAD SIZING QUERY: Serves vertically optimized layouts for compact mobile screens */
@media screen and (max-width: 768px) {
  .hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    background-color: #b1c9c5;
  }
}

.hero-section .wave { width: 100%; overflow: hidden; position: absolute; z-index: 1; bottom: -1px; }
.hero-section .wave svg { width: 100%; height: auto; }

.hero-section h1 { font-size: 3.5rem; color: #fff; font-weight: 700; margin-bottom: 20px; }
.hero-section p { font-size: 1.15rem; color: rgba(255,255,255,0.85); }

@media screen and (max-width: 992px) {
  .hero-section h1 { font-size: 2.3rem; text-align: center; margin-top: 20px; }
  .hero-section p { text-align: center; font-size: 1rem; }
  .hero-text-image { margin-top: 2rem; }
}

/*--------------------------------------------------------------
# 3. CORE DESIGN COMPONENTS & UTILITIES
--------------------------------------------------------------*/
/* Action Buttons */
.btn {
  border: none;
  padding: 12px 28px !important;
  font-weight: 500;
  border-radius: 6px;
  transition: 0.2s ease-in-out;
}

.btn.btn-primary {
  background: linear-gradient(-45deg, #1391a5, #274685);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Feature Grid Cards */
.feature-1 .wrap-icon {
  margin: 0 auto 25px auto;
  height: 80px;
  width: 80px;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-1 .wrap-icon.icon-1 {
  background: linear-gradient(-45deg, #3b87bd, #2d71a2);
}

.feature-1 .wrap-icon i { font-size: 32px; color: #fff; }
.feature-1 h3 { font-size: 19px; color: #1e293b; font-weight: 600; }
.feature-1 p { color: #64748b; font-size: 14px; }

/* Structural Milestones / Steps */
.step {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background: #fff;
  padding: 35px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}

.step .number {
  background: linear-gradient(-45deg, #1391a5, #274685);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  margin-bottom: 10px;
  display: block;
}

/* Social Proof Reviews Frame Layout */
.taggbox {
  min-height: 280px;
  display: block;
  background-color: #ffffff;
  border-radius: 8px;
}

/* Technical Input Controls */
.form-control {
  height: 48px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.1);
  border: 1px solid #2d71a1;
}

/* Categories Sidebar */
.categories li, .sidelink li {
  position: relative;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #dee2e6;
  list-style: none;
}

/* Back To Top Button */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  background: #2d71a1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top i { font-size: 24px; color: #fff; }
.back-to-top:hover { background: #1d568c; }
.back-to-top.active { visibility: visible; opacity: 1; }

/*--------------------------------------------------------------
# 4. UNIFIED SITE FOOTER STYLES
--------------------------------------------------------------*/
.footer {
  padding: 4rem 0 2rem 0;
  background-color: #ffffff;
}

.footer h3 { font-size: 18px; margin-bottom: 25px; color: #0a2e6e; }
.footer ul li { margin-bottom: 8px; list-style: none; }
.footer a { color: #334155; font-size: 14.5px; }
.footer a:hover { color: #0b5ed7; }

.social a {
  display: inline-block;
  width: 42px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  position: relative;
  text-align: center;
  transition: 0.2s ease-in-out;
  color: #0d1e2d;
  margin-right: 6px;
}

.social a span {
  display: inline-block;
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
}

.social a:hover {
  color: #fff;
  background: #0b5ed7;
  transform: translateY(-1px);
}