html, body {
  overflow-x: hidden;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    font-size: 14px;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    z-index: 1000;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

header, section {
}

#sections {
    background-color:#FFFAF4;
}

#section1 {
  background-color:rgb(255, 255, 255);
}

#section2 {
  background-color:rgb(242, 255, 222);
}

#section3 {
  background-color:rgb(255, 255, 255);
}

#section4 {
  /* background-color: #0d3c72; */
}

#section4.5 {
}

#section5 {
  background-color:rgb(255, 255, 255);
}

#section6 {
  background-color:rgb(28, 28, 28);
}

button {
    padding: 10px 20px;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
}

/* ---------------------------------------------------------------- */

.navbar {
  width: 100%;
  height: 100px;
  position: absolute;
  top: 0px;
  left: 0px;
}
.navbar-1 {
  width: 100%;
  height: 100px;
  background: rgba(17,17,17,1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
}
.nav-1{
}
.nav-2 {
}
.nav-3 {
  margin-right:.5em;
}
.logo-text {
  left: .5em;
  font-size: 50px;
  text-align: left;
}

#nav-text{
  color: rgba(255,255,255,1);
  position: relative;
  align-self: center;
  font-family: Abel;
  font-weight: Regular;
  border-radius: 100px;
  padding: 5px min(20px,1vw);

  &:active {
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.33);
    font-weight: bold;
  }

  @media (hover: hover) and (pointer: fine) {
    &:hover {
      color: rgb(0, 0, 0);
      background-color: rgb(255, 255, 255);
      box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.33);
      font-weight: bold;
    }
  }
}

.btn-highlight {
  -webkit-tap-highlight-color: transparent; /* Disables tap highlight on mobile */
}

.nav-sub{
  font-size: 36px;
}

.logo-nav {
  width:0px;
}

@media (max-width: 768px) { 

  .logo-nav {
    width:40px;
    border-radius: 20%;
    position: fixed;
    left: 10px;
  }
  .nav-sub  {
    font-size: 20px;
  }
  .logo-text {
    /* background-image: url("/assets/logo-1.svg"); */
    font-size: 0px;
  }
  .navbar-1 {
    height: 50px;
  }
  .nav-3 {
    margin-right:.5em;
  }

  #nav-text{
    border-radius: 10px;
    padding: 5px min(20px,1vw);
  }
}

/* ---------------------------------------------------------------- */

.section-1 {
  width: 100vw;
  height: 1280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  color: white;
}
.intro-Image {
  max-width: 90vw;
  margin-left: 10vw;
  margin-bottom: 50px;
}
.Tagline {
  width: 50vw;
  color: rgb(38, 38, 38);
  position: absolute;
  top: 150px;
  left: 69px;
  font-family: Montserrat;
  font-weight: Medium;
  font-size: 50px;
  text-align: left;
}
.Tagline span{
  color: #082833;
  font-size: 60px;
  font-weight: Bold;
}
.Tagline {
  /* background-image: linear-gradient(135deg, black 30%, transparent 70%); */
  /* background-repeat: no-repeat; */
  mask-image: linear-gradient(135deg, black 30%, transparent 50%);
  background-size: 500%;
  mask-size: 500%;
  animation: revealMask 3s forwards;
}

@keyframes revealMask {
  from {
    mask-position: 100%;
    background-position: 100%;
  }
  to {
    mask-position: 0%;
    background-position: 0%;
  }
}

@media (max-width: 768px) {
  .Tagline {
    width: 80vw;
    color: rgb(38, 38, 38);
    position: absolute;
    top: 70px;
    left: 5vw;
    font-family: Montserrat;
    font-weight: Medium;
    font-size: 30px;
    text-align: left;
  }
  .Tagline span{
    font-size: 35px;
  }

  .intro-Image {
  }

  .section-1 {
    height: 130vw;
    height: max(130vw, 600px);
  }

  nav ul {
  }
}

.btn-home-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  space-between:;
  width: 100%;
  padding: 15px 20px;
  background:rgb(255, 255, 255);
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.btn-home {
  padding: 10px 20px;
  border: none;
  background:rgb(196, 255, 133);
  color:rgb(0, 0, 0);
  font-size: 16px;
  cursor: pointer;
  border-radius: 25px;
  margin: .5rem;
  width: 10rem;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 16px rgba(0,0,0,0.1);
  }
}
@media (max-width: 768px) {
  .btn-home-container {
    flex-direction: column;
    padding: 10px 0;
    width: 100%;
    align-items: flex-start;
  }
 .btn-home {
    width: 80%;
    margin: .2rem;
    margin-left: 0;
    border-radius:  0 1rem 1rem 0;
    text-align: center;
 }
}
/* --------------------------------------------------------------------------------- */

/* Why Choose Us Section */
.why-choose-us {
  max-width: 100vw;
  padding: 4rem 1rem;
  text-align: center;
  background: linear-gradient(135deg,rgb(96, 169, 142) 0%,rgb(105, 177, 224) 100%);
  background-color:rgb(166, 202, 247);
}

.why-choose-us h2 {
  font-size: 2.5rem;
  margin-bottom: 0rem;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: #fff;
}

/* Decorative line under the heading */
.why-choose-us h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background-color:rgb(255, 255, 255);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.feature-why {
  background: linear-gradient(135deg,rgba(197, 255, 206, 0.36) 0%,rgba(255, 231, 219, 0.61) 70%);
  background-color: white;
  color:rgb(0, 0, 0);
  padding: 20px;
  border-radius: 25px;
  width: 220px;
  text-align: center;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.3);
  /* Transition for a smooth, slightly bouncy animation */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (hover: hover) and (pointer: fine) {
  .feature-why:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 12px rgba(0, 0, 0, 0.3);
  }
}
.feature-why h2 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 30px;
}
.feature-why p {
  color:rgb(151, 151, 151);
  font-size: 16px;
  margin-bottom: 20px;
}
.feature-why img {
  height: 100px;
  margin: 30px;
  margin-bottom:30px;
}

@media (max-width: 768px) {
  .container-cards h1 {
    font-size:20px;
  }
  .container-cards h2 {
    font-size:15px;
  }
  .container-cards p  {
    font-size:13px;
  }
  .feature-why {
  }
}

/* -------------------------- About-us ---------------------------------------------- */

.About-us {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color:rgb(255, 255, 255);
}

.about-us-container {
  padding: 20px;
  padding-top: 60px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 40px;
  max-width: min(1200px, 95vw);
  background-color: rgb(255, 255, 255);;
  margin: 100px;
  margin-top: 20px;
  margin-bottom: 0px;
  border-radius: 60px;
  /* box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.57); */
}

.about-logo {
  width: 100px;
  border-radius:20px;
}
.About-heading {
  font-size: 50px;
  font-weight: bold;
}

.about-us-text {
  font-size: 20px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .about-us-container {
    padding: 40px;
    padding-top: 40px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 20px;
    max-width: min(1200px, 95vw);
    background-color: rgb(255, 255, 255);;
    margin: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
    border-radius: 20px;
    /* box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.57); */
  }
  .about-logo {
    width: 100px;
    border-radius:20px;
  }
}

/* --------------------------------------------------------------------------------- */

.container-bar {
}
h1 {
  font-size: 28px;
  font-weight: bold;
}
#section2 {
  padding: 10px;
  padding-bottom: 0px;
  padding-top: 60px;
}
.highlight {
  color: #6d5dfc;
}
.chart-center {
  display: flex;
  justify-content: center;
}
.chart {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  margin: 10vw;
  margin-top: 12em;
  margin-bottom: 0px;
  max-width: min(1200px, 95vw);
  height: 440px;
}

.bar {
  /* width: 200px; */
  border-radius: 20px 20px 5px 5px;
  text-align: center;
  color: white;
  font-weight: bold;
  padding-top: 10px;
  position: relative;
  margin: 0 2vw;
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.2);
}
.bar span {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  color:rgb(61, 61, 61);
  font-size: 1.7em;
  font-weight: bold;
  font-family: DM Sans;
}

.bar-percent {
  padding-top: 10px;
  font-size:1.4em;
}

.label {
  height: 100px;
  margin-top: 10px;
  color: #555;
  color: rgb(90, 90, 90);
  /* position: absolute; */
  top: 204px;
  font-family: DM Sans;
  font-weight: SemiBold;
  font-size: 25px;
  text-align: center;
}

#dark-bold {
  color: black;
  font-weight: bold;
}

.fd { 
  height: 0px; background-color: #6e7385;
  overflow: hidden;
  transition: height 1s ease-out;}
.rp { 
  height: 0px; background-color: #6e7385;
  overflow: hidden;
  transition: height 1s ease-out;}
.nifty { 
  height: 0px; background-color: #6e7385;
  overflow: hidden;
  transition: height 1s ease-out;}
.sw { 
  height: 0px; background-color: #6d5dfc;
  overflow: hidden;
  transition: height 1s ease-out;}

.fd.active     { height: 100px; }
.rp.active     { height: 180px; }
.nifty.active  { height: 260px; }
.sw.active     { height: 420px; }

.bar-container {
  width: 20em;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {

  .chart {
    font-size: 10px;
    margin-top: 8em;
  }
  
  .bar {
    border-radius: 12px 12px 0 0;
  }

  .label {
    font-size: 14px;
    
  }
  .fd.active     { height: 100px; }
  .rp.active     { height: 160px; }
  .nifty.active  { height: 220px; }
  .sw.active     { height: 320px; }

  .fd    { height: 50px;}
  .rp    { height: 90px;}
  .nifty { height: 120px;}
  .sw    { height: 210px;}
}

#line-1 {
  width: 100%;
  color: rgb(79, 79, 79);
  font-family: DM Sans;
  font-weight: Bold;
  font-size: 24px;
  text-align: center;
  margin-bottom: .5em;
  letter-spacing: .1em;
}

#line-2 {
  width: 100%;
  color: rgb(20, 20, 20);
  font-family: DM Serif Display;
  font-weight: Regular;
  font-size: 80px;
  text-align: center;
  line-height: 1.1em;
  letter-spacing: .03em;
}

#line-3 {
  width: 100%;
  color: rgba(83,83,83,1);
  top: 237px;
  font-family: DM Sans;
  font-weight: Bold;
  font-size: 32px;
  text-align: center;
  margin-top: 1em;
}

@media (max-width: 768px) {
  #line-1 {
    font-size: 15px;
  }
  #line-2 {
    font-size: 15px;
    font-size: 45px;
  }
  #line-3 {
    font-size: 15px;
  }
} 


/* ---------------------------------------------------------------- */


table {
  /* width: 800px;
  border-collapse: collapse; */
}
th, td {
  padding: 30px 24px;
  text-align: left;
}
th {
  font-size: 25px;
  font-weight: 700;
}
#section3 {
  padding: 100px 0px 100px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Advantages {
  text-align: center;
  font-size: 45px;
  font-weight: Bold;
  font-family: "Montserrat";
  margin-bottom: 50px;
  color: #555;
}

.table-container {
  display: flex;
  justify-content: center;
  background-color:rgba(0, 0, 0, 0);
  border-radius: 30px;
  padding: 50px 20px 50px 20px;
  margin: 0px 10px 0px 10px;
  border:10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  max-width:1000px;
}

.highlight {
  color: #6E64D0;
  font-weight: 700;
}

.stack-cell {
  font-weight: 600;
  display: flex;
  align-items: center;
}

.stack-cell-B {
  display: flex;
  align-items: center;
  height:0px;
}

:root {
  --stack-radius: 30px;
  --stack-radius--small: 16px;
}

#stack-top{
  border-radius: 0;
  background-color: #e0f3b9;
  border-radius: var(--stack-radius) var(--stack-radius) 0 0;
}
#stack-mid{
  border-radius: 0;
  background-color: #e0f3b9;
}

#stack-bottom{
  border-radius: 0;
  background-color: #e0f3b9;
  border-radius: 0 0 var(--stack-radius) var(--stack-radius);
}

.stack-2 {
  border-bottom: 2px solid #dddddd;
}

.icon {
  font-size: 18px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}
.check {
  color: #6d5dfc;
}
.cross {
  color: #999;
}
.feature-title {
  font-weight: 700;
  font-size: 18px;
  color: #333;
  border-bottom: 2px solid #dddddd;
  padding: 0px 24px;
}

.feature-title-last {
  font-weight: 700;
  font-size: 18px;
  color: #333;
  padding: 0px 24px;
}

.divider {
}

.table-line {
  background-color:rgba(111, 111, 111, 0.39);
  height: 0px;
  padding: 0;
  border:0;
  cellspacing:0;
  cellpadding:0;
}

@media (max-width: 768px) {
  table, th, td {
    font-size: 10px;
    padding: 20px 24px;
  }
  td,table {
    padding: 15px 8px;
  }
  th {
    padding: 15px;
  }

  .Advantages {
    font-size: 25px;
  }

  .table-container {
    margin:0;
    padding: 0;
  }
  
  #stack-top{
    font-size: 14px;
  }

  .stack-cell-B {
    padding:0;
    
  }
  
  .feature-title {
    font-size: 12px;
    padding: 0px 6px;
  }
  
  .feature-title-last {
    font-size: 12px;
    padding: 0px 6px;
  }

  .icon {
    display: inline-flex;
    align-items: center;  
    margin-right: 10px;
    width:1em;
  }
  
  #stack-top{
    border-radius: var(--stack-radius--small) var(--stack-radius--small) 0 0;
  }
  
  #stack-bottom{
    border-radius: 0 0 var(--stack-radius--small) var(--stack-radius--small);
  }
}

/*----------------------------------------------------------------- */

.Insurance {
  width: 100%;
}

.hero-section {
  position: relative;
  /* background: linear-gradient(135deg, #007ACC 0%,rgb(8, 131, 57) 100%); */
  background: linear-gradient(135deg,rgb(96, 169, 142) 0%,#007ACC  100%);
  background: linear-gradient(135deg,rgb(96, 169, 142) 0%,rgb(105, 177, 224) 100%);

  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  overflow: hidden; /* ensures wave doesn't cause overflow */
}

.insurance-content {
  padding: 0rem 1rem 2rem; /* extra bottom padding for wave overlap */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  overflow: hidden; /* ensures wave doesn't cause overflow */
}

.hero-content {
  flex: 1 1 400px;
  min-width: 280px;
  color: #fff;
  margin-right: 1rem;
}

.Insurance-heading {
  color: white;
  font-size: 3rem;
  letter-spacing: 2px;
  margin: 0rem;
  padding: 1rem;
  padding-top: 4rem;
}

.Insurance h2 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  color:rgb(255, 255, 255);
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
  line-height: 1.6;
}

.hero-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 280px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Wave Divider */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(1px);
}

/* ========== INFO SECTION ========== */
.info-section {
  padding: 3rem 1rem;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.info-section p {
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
}

.info-section ul {
  list-style-type: disc;
  margin: 0 auto 2rem;
  padding-left: 1.5rem;
  max-width: 600px;
  text-align: left;
}

.info-section li {
  margin-bottom: 0.75rem;
  color: #ffffff;
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  border-radius: 4px;
  margin-top: 1rem;
  text-align: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  font-size: 20px;

  color: #fff;
  margin-right: 1rem;
  padding: 20px 40px;
  border-radius:80px;
  transition: background-color 0.3s ease;
  font-weight: bold;
  cursor: pointer;
  border: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.33);
}

.btn-primary {
  background-color: #007ACC;

  &:hover {
    background-color: rgb(0, 102, 153);
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.33);
  }
}
.btn-primary:hover {
  background-color: #005f99;
}
.btn-secondary {
  background-color: #00c851;

  &:hover {
    background-color: rgb(0, 102, 153);
    box
  }
}
.btn-secondary:hover {
  background-color: #009643;
}

/* .Insurance-heading-2 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
} */

/* ---------------------------------------------------------------- */

#section4 {
  background: linear-gradient(135deg,rgb(40, 64, 117) 0%,rgb(23, 185, 255) 100%);
  padding: 50px 0px 100px 0px;
}

.container-cards {
  /* background-color:rgb(74, 122, 178); */ 
  background-color:#0d3c72;
  color:rgb(255, 255, 255);
  text-align: center;
  padding: 40px 20px;
  /* border-radius: 20px; */
  max-width: 100%;
  margin: 0px;
  height:100%;
}
.container-cards h1 {
  font-size:60px;
  font-weight: normal;
}
.container-cards h1 span {
  font-weight: bold;
}
.features {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 100px;
}
.feature {
  background-color: white;
  color:rgb(0, 0, 0);
  padding: 20px;
  border-radius: 25px;
  width: 220px;
  text-align: center;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.3);
  /* Transition for a smooth, slightly bouncy animation */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (hover: hover) and (pointer: fine) {
  .feature:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 12px rgba(0, 0, 0, 0.3);
  }
}
.feature h2 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 30px;
}
.feature p {
  color:rgb(151, 151, 151);
  font-size: 16px;
  margin-bottom: 20px;
}
.feature img {
  height: 100px;
  margin: 30px;
  margin-bottom:30px;
}

@media (max-width: 768px) {
  .container-cards h1 {
    font-size:20px;
  }
  .container-cards h2 {
    font-size:15px;
  }
  .container-cards p  {
    font-size:13px;
  }

  .features {
    gap: 10px;
  }

  .feature {
    padding: 20px;
    border-radius: 25px;
    width: 120px;
  }
  .feature img {
    height: 60px;
    margin: 3px;
    margin-bottom:3px;
  }
}

/* ============================================================================ */

/***************/
/* LOAN CHART  */
/***************/
.loan-comparison {
  text-align: center;
  padding: 2rem 1rem;
  background-color:rgb(255, 255, 255);
}

.loan-comparison h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.loan-comparison .subtitle {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 2rem;
}

/* Main chart container with Y-axis on the left */
.loans-chart-container {
  position: relative;
  display: flex;
  align-items: flex-end; /* Align bars at the bottom */
  justify-content: center;
  margin: 0 auto;
  max-width: 600px;
  height: 300px;
  padding-left: 40px;          /* Room for axis labels */
  margin-bottom: 80px;
  border-left: 2px solid rgba(0, 0, 0, 0.33);  /* Y-axis line */
  border-bottom: 2px solid rgba(0, 0, 0, 0.33); /* Y-axis line */
}

/* Y-axis labels: 20 at top -> 0 at bottom */
.axis-labels {
  position: absolute;
  top: 0;
  left: -10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  font-weight: 600;
  transform: translateX(-110%); /* Shift labels left so they don't overlap the axis */
}

/* Group all bars in a row */
.bar-groups {
  display: flex;
  gap: 3rem;
}

/* Each bar + label under it */
.bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.bar-stripped {
  background: repeating-linear-gradient(
    135deg,
  #02b3ff,
  #02b3ff 10px,
  #5fcfff 10px,
  #5fcfff 20px
  );
}

/* Base bar styling */
.bar-loan {
  position: relative;
  width: 165px;
  border-radius: 8px 8px 0 0;
}

/* Text inside the bar */
.bar-content {
  position: relative;
  padding: 8px;
  display: flex;
  font-size: 0.9rem;
  height: 100%;
}

.bar-label {
  font-weight: 600;
  font-size: 0.9rem;
  max-width: 120px;
  text-align: center;
  height: 0;
}

/* 1) LOAN AGAINST MUTUAL FUND (solid color) */
.bar-mf {
  background-color:rgb(0, 179, 255);
  height: 0;
  overflow: hidden;
  transition: height 1s ease-out;
  position: relative;
}

.bar-mf.active {
  height: 80px;
}

/* 2) PERSONAL LOAN (striped top portion) */
.bar-personal {
  height: 0;
  overflow: hidden;
  transition: height 1s ease-out;
  position: relative;
}

.bar-personal.active {
  height: 120px;
}

.bar-personal-before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0px;
  z-index: 0;
  background-color: rgb(0, 179, 255);
  transition: height 1s ease-out;
}

.bar-personal-before.active {
  height: 80px;
}

/* 3) CREDIT CARD (larger striped portion) */
.bar-credit {
  height: 0;
  overflow: hidden;
  transition: height 1s ease-out;
  position: relative;
}

.bar-credit.active {
  height: 200px;
}

/* Mimics the ::before pseudo-element */
.bar-credit-before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0px;
  z-index: 0;
  background-color: rgb(0, 179, 255);
  transition: height 1s ease-out;
}

.bar-credit-before.active {
  height: 80px;
}

/* .bar-credit::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0px;
  z-index: 0;
  background-color:rgb(0, 179, 255);
} */

.bar-credit.active::before {
  height: 80px;
}

/* Top text */
.bar-loan-text-1 {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
}

/* Center text */
.bar-loan-text-2 {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translate(-50%, -50%); 
}

/* Bottom text */
.bar-loan-text-3 {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {

  .bar-loan {
    width: 70px;
  }
  .bar-groups {
    display: flex;
    gap: 3vw;
  }
  .bar-label {
    font-size: 0.7rem;
  }

  .loans-chart-container {
    margin: 0 auto;
    max-width: 70vw;
    padding-left: 4px;          /* Room for axis labels */
    margin-bottom: 80px;
  }
}

/* ============================ PMS ================================ */

  /* HEADER */
  .pms-header {
    padding: 2rem 1rem;
    padding-bottom: 0;
    text-align: center;
    color: #fff;
  }
  .pms-header h1 {
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  /* CURVED INFO BAR SECTION */
  /* Top Curve (White wave) */
  .top-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transform: translateY(-99.5%); /* Pulls the wave down to create a curved edge */
  }
  
  /* Info Content Layout */
  .info-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-around;
  }
  .info-box {
    background-color: rgb(255, 255, 255);
    flex: 1 1 300px;
    min-width: 280px;
    padding: 1.5rem;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center; 
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 16px rgba(0,0,0,0.1);
    }
  }
  .info-box h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .info-box p {
    color:rgb(90, 90, 90);
  }
  /* MAIN CONTENT SECTION */
  .pms-main {
    /* background: linear-gradient(135deg, #007ACC 0%, #00c851 100%); */
    background: linear-gradient(135deg, #007ACC 0%,rgb(0, 255, 102) 100%);
  background: linear-gradient(135deg,rgb(96, 169, 142) 0%,#007ACC  100%);
    background-color: #fff;
  }
  .pms-info-bar {
    padding: 0rem 1rem 3rem;
  }
  .pms-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .pms-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
  }
  .pms-description {
    max-width: 800px;
    margin-top: 2rem;
    margin-left: .5rem;
    margin-right: .5rem;
    color:rgb(255, 255, 255);
    font-size: 1rem;
    line-height: 1.4;
  }
  
  /* FEATURES GRID */
  .features-pms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    padding: 1rem;
    padding-bottom: 5rem;
  }
  .feature-box {
    background-color: #fafafa;
    border-radius: 25px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 16px rgba(0,0,0,0.1);
    }
  }
  .feature-box img {
    width: 64px;
    margin-bottom: 1rem;
  }
  .feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color:rgb(0, 0, 0);
  }
  .feature-box p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
  }

/* ================================================================ */

.Join-Us {
  padding: 50px 0px 100px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* box-shadow: 10px 0px 50px rgba(0, 0, 0, 0.61); */
}

.join-text {
  font-family: Montserrat;
  font-weight: Medium;
  font-size: 50px;
  color: rgb(0, 0, 0);
  text-align: center;
  font-weight: bold;
}

.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-join {
  background-color: rgb(0, 136, 204);
  color: white;
  padding: 20px 60px;
  margin-top: 50px;
  border-radius:80px;
  transition: background-color 0.3s ease;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  border: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.33);

  &:hover {
    background-color: rgb(0, 102, 153);
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.33);
  }
}

@media (max-width: 768px) {
  .Join-Us {
    padding: 30px 0px 60px 0px;
  }

  .join-text {
    font-size: max(25px, 6vw);
  }

  .btn-join {
    padding: 20px 50px;
    font-size: 20px;
    margin-top: 30px;
  }
}

/* ================================================================= */

.Courses {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(28, 28, 28, 1);
  background: linear-gradient(135deg,rgb(96, 169, 142) 0%,#007ACC  100%);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.Courses-container {
  padding-top: 70px;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: left;
  max-width: min(1200px, 95vw);
  background-color: rgb(255, 255, 255);
  margin: 40px;
  border-radius: 40px;
  width: min(1000px,90vw);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.26);
}

.Courses-Content {
  margin-left: 100px;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 40px;
}

.Courses-logo {
  width: 200px;
  border-radius:40px;
}
.Courses-heading {
  font-size: 50px;
  font-weight: bold;
  color:rgb(0, 0, 0);

}

.Courses-text {
  font-size: 30px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .Courses {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .Courses-container {
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: min(1200px, 95vw);
    background-color: rgb(255, 255, 255);;
    margin: 40px;
    border-radius: 60px;
  }

  .Courses-Content {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 40px;
  }
  
  .Courses-logo {
    width: 200px;
    border-radius:40px;
  }
  .Courses-heading {
    font-size: 50px;
    font-weight: bold;
    margin:0px
  }
  
  .Courses-text {
    font-size: 20px;
    line-height: 1.5;
    
  }
}


/* ---------------------------------------------------------------- */

.Contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color:rgb(255, 255, 255);
}

.Contact-container {
  padding-top: 60px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(1200px, 95vw);
  width: min(800px,90vw);
}

.Contact-logo {
  width: 30px;
}
.Contact-heading {
  font-size: 40px;
  font-weight: bold;
}

.Contact-text {
  background-color: rgb(0, 136, 204);
  color: white;
  padding: 20px 60px;
  margin-top: 40px;
  border-radius:80px;
  width: 220px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  border: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.33);

  &:hover {
    background-color: rgb(0, 102, 153);
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.33);
  }
}

.tel {
  font-size: 20px;
  line-height: 1.5;
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 768px) {
  
  .Contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(1200px, 95vw);
    width: min(800px,90vw);
  }
  
  .Contact-logo {
    width: 20px;
  }
  .Contact-heading {
  }
  
  .Contact-text {
    width: 200px;
    padding: 10px 20px;
  }
}

/* ---------------------------------------------------------------- */

.footer {
}

#section6 {
  padding: 20px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright {
  color: white;
  font-size: 18px;
}

.footer-logo {
  font-size: 24px;
  font-weight: bold;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.Credits {
  color: white;
  font-size: 14px;
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5em;
}

.Credits span {
  font-size: 14px;
  font-weight: bold;
  color: white;
  text-decoration: underline;
}