*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================================================
   INVESTOR GOAL – BRAND COLOR SYSTEM (FINAL)
========================================================= */
:root {
  /* Backgrounds */
  --bg: #F8F9FB;              /* Page background */
  --bg-alt: #EEF2F7;          /* Alternate sections */
  --bg-white: #FFFFFF;

  /* Cards */
  --card: #FFFFFF;
  --card-alt: #F9FAFC;

  /* Primary Brand (BLUE – Trust) */
 --primary: #3b82f6;                /* MAIN LIGHT BLUE */
  --primary-hover: #2563eb;          /* Hover (slightly darker blue) */
  --primary-soft: rgba(118, 246, 59, 0.12); /* Soft light blue bg */

  /* Accent (Action / CTA) */
  --accent: #F97316;          /* Orange */
  --accent-hover: #EA580C;

  /* Text */
  --text: #111827;            /* Main text */
  --text-dark: #0F172A;
  --text-light: #E5E7EB;
  --muted: #6B7280;

  /* Borders & States */
  --border: #D1D5DB;
  --danger: #B91C1C;
  --success: #16A34A;

  /* Radius */
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-soft: 0 20px 50px rgba(31, 42, 68, 0.08);
  --shadow-card: 0 16px 40px rgba(31, 42, 68, 0.06);
}

/* =========================================================
   BASE STYLES
========================================================= */
html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}


/* =========================================================
   MAIN NAVBAR (PERMANENT WHITE)
========================================================= */
/* =========================================================
   NAVBAR
========================================================= */
.main-navbar{
  position:fixed;
  top:0;
  width:100%;
  z-index:100;
  background:var(--bg-white);
  box-shadow:0 8px 20px rgba(31,42,68,.08);
}

/* =========================================================
   NAV INNER
========================================================= */
/* =========================================================
   NAV INNER
========================================================= */
.main-nav-inner{
  max-width:1200px;
  margin:auto;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* LOGO */
.main-logo-img{
  height:42px;
  transition:transform .3s ease;
}

.main-logo:hover .main-logo-img{
  transform:scale(1.05);
}

/* NAV LINKS */
.main-nav-links{
  display:flex;
  gap:24px;
}

.main-nav-links a{
  position:relative;
  text-decoration:none;
  font-size:14px;
  color:var(--text-dark);
  padding-bottom:4px;
  transition:color .3s ease;
}

.main-nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  background:var(--primary);
  transition:width .3s ease;
}

.main-nav-links a:hover{
  color:var(--primary);
}

.main-nav-links a:hover::after{
  width:100%;
}

/* CTA – BLUE (DEFAULT) */
.main-nav-cta{
  padding:10px 22px;
  border-radius:30px;
  background:var(--primary);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  transition:all .25s ease;
}

.main-nav-cta:hover{
  transform:translateY(-2px);
  background:var(--primary-hover);
  box-shadow:0 12px 30px rgba(31,42,68,.45);
}

/* CTA – ORANGE (OPTIONAL) */
.main-nav-cta.accent{
  background:var(--primary);
}

.main-nav-cta.accent:hover{
  background:var(--accent-hover);
  box-shadow:0 12px 30px rgba(249,115,22,.45);
}

/* MOBILE */
@media(max-width:900px){
  .main-logo-img{
    height:36px;
  }

  .main-nav-links{
    display:none;
  }

  .main-nav-cta{
    display:inline-flex;
    align-items:center;
  }
}

.main-navbar{
  position:fixed;
  top:0;
  width:100%;
  background:var(--bg-white);
  z-index:1000;
  box-shadow:0 8px 20px rgba(31,42,68,.08);
}

.main-nav-inner{
  max-width:1200px;
  margin:auto;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:relative;
}

/* LOGO */
.main-logo-img{
  height:42px;
}

/* NAV LINKS */
.main-nav-links{
  display:flex;
  gap:24px;
}

.main-nav-links a{
  position:relative;
  text-decoration:none;
  font-size:14px;
  color:var(--text-dark);
  padding-bottom:4px;
}

.main-nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  background:var(--primary);
  transition:.3s;
}

.main-nav-links a:hover{
  color:var(--primary);
}

.main-nav-links a:hover::after{
  width:100%;
}

/* CTA */
.main-nav-cta{
  padding:10px 22px;
  border-radius:30px;
  background:var(--primary);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  transition:.25s;
}

.main-nav-cta:hover{
  background:var(--primary-hover);
  transform:translateY(-2px);
}

/* ================= HAMBURGER ================= */
.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
}

.nav-toggle span{
  width:26px;
  height:3px;
  background:var(--text-dark);
  border-radius:2px;
}

/* ================= BOOTSTRAP JS COLLAPSE SUPPORT ================= */
.collapse{
  display:none;
}

.collapse.show{
  display:block;
}

/* ================= MOBILE ================= */
@media(max-width:900px){

  .nav-toggle{
    display:flex;
  }

  .main-nav-collapse{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:var(--bg-white);
    box-shadow:0 15px 30px rgba(0,0,0,.1);
  }

  .main-nav-links{
    flex-direction:column;
    gap:0;
  }

  .main-nav-links a{
    padding:12px 20px;
    border-bottom:1px solid #eee;
  }

  .desktop-cta{
    display:none;
  }

  .mobile-cta{
    margin:16px;
    text-align:center;
  }
}

@media(min-width:901px){
  .mobile-cta{
    display:none;
  }
}

/* Bootstrap JS collapse support */
.collapse{
  display:none;
}

.collapse.show{
  display:block;
}

/* Desktop par hamesha show */
@media(min-width:901px){
  .collapse{
    display:block !important;
  }
}



/* =========================================================
   SIP CALCULATOR
========================================================= */

/* Navbar height compensation */

.sip-wrapper{
  max-width:1100px;
  margin:auto;
  padding:80px 20px;
}

.sip-title{text-align:center;font-size:36px;}
.sip-subtitle{text-align:center;color:#6b7280;margin-bottom:40px;}

.sip-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}

.sip-card{
  background:#fff;
  padding:30px;
  border-radius:18px;
  box-shadow:0 20px 40px rgba(0,0,0,.1);
}

.sip-field{margin-bottom:22px;}

.sip-field label{
  display:block;
  font-weight:600;
  margin-bottom:6px;
}

.sip-value-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}

.sip-value-row input{
  width:120px;
  padding:6px 10px;
  border:1px solid #d1d5db;
  border-radius:6px;
}

input[type=range]{
  width:100%;
  appearance:none;
  height:6px;
  background:#e5e7eb;
  border-radius:5px;
}

input[type=range]::-webkit-slider-thumb{
  appearance:none;
  width:18px;
  height:18px;
  background:var(--primary);
  border-radius:50%;
  cursor:pointer;
}

.sip-btn{
  width:100%;
  padding:14px;
  border:none;
  border-radius:30px;
  background:var(--primary);
  color:#fff;
  font-size:16px;
  cursor:pointer;
}

.sip-btn:hover{background:var(--primary-hover);}

.sip-result-row{
  display:flex;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px dashed #e5e7eb;
}

.sip-graph-card{
  margin-top:40px;
  background:#fff;
  padding:30px;
  border-radius:18px;
}

/* lumpsum calculator */

.lumpsum-wrapper{
  max-width:1100px;
  margin:auto;
  padding:80px 20px;
}

.lumpsum-title{text-align:center;font-size:36px;}
.lumpsum-subtitle{text-align:center;color:#6b7280;margin-bottom:40px;}

.lumpsum-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}

.lumpsum-card{
  background:#fff;
  padding:30px;
  border-radius:18px;
  box-shadow:0 20px 40px rgba(0,0,0,.1);
}

.lumpsum-field{margin-bottom:22px;}

.lumpsum-field label{
  display:block;
  font-weight:600;
  margin-bottom:6px;
}

.lumpsum-value-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}

.lumpsum-value-row input{
  width:140px;
  padding:6px 10px;
  border:1px solid #d1d5db;
  border-radius:6px;
}

input[type=range]{
  width:100%;
  appearance:none;
  height:6px;
  background:#e5e7eb;
  border-radius:5px;
}

input[type=range]::-webkit-slider-thumb{
  appearance:none;
  width:18px;
  height:18px;
  background:var(--primary);
  border-radius:50%;
  cursor:pointer;
}

.lumpsum-btn{
  width:100%;
  padding:14px;
  border:none;
  border-radius:30px;
  background:var(--primary);
  color:#fff;
  font-size:16px;
  cursor:pointer;
}

.lumpsum-btn:hover{background:var(--primary-hover);}

.lumpsum-result-row{
  display:flex;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px dashed #e5e7eb;
}

.lumpsum-graph-card{
  margin-top:40px;
  background:#fff;
  padding:30px;
  border-radius:18px;
}

@media(max-width:900px){
  .lumpsum-grid{
    grid-template-columns:1fr;
  }
}


/* setpup calculator */
/* Container */
.sipcalculator123{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:45px;
}

/* Primary Button */
.sipcalculator123 .btn-primary{
  padding:14px 26px;
  border-radius:30px;
  background:#2563eb;   /* primary color */
  color:#ffffff;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:all 0.3s ease;
  text-align:center;
  white-space:nowrap;
}

/* Hover */
.sipcalculator123 .btn-primary:hover{
  background:#1e40af;   /* primaryhover */
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(37,99,235,0.3);
}

/* 📱 Mobile */
@media (max-width: 600px){
  .sipcalculator123{
    flex-direction:column;
    align-items:stretch;
  }

  .sipcalculator123 .btn-primary{
    width:100%;
    padding:16px;
    font-size:16px;
  }
}

/* 📱 Tablet */
@media (min-width: 601px) and (max-width: 900px){
  .sipcalculator123{
    justify-content:center;
  }

  .sipcalculator123 .btn-primary{
    min-width:220px;
  }
}
/* sept up */

