:root {
  --blue: var(--brand-primary);
  --yellow: var(--brand-accent);
  --bg-ash: var(--brand-canvas);
  --bg-color: var(--brand-canvas);
  --primary-yellow: var(--brand-accent);
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  /* border: 1px solid red; */
}

html {
  font-size: 62.5%; 
  font-family: var(--font-sans);
}

@media only screen and (max-width: 1000px) {
  html {
    font-size: 55.5%; 
  }
}

body {
  box-sizing: border-box;
}

.center {
  text-align: center;
}

.mb {
  margin-bottom: 3rem;
}

/* Navigation Styling */
.nav {
  display: flex;
  justify-content: space-between;
  padding: 2.5rem 5rem;
  padding-right: 7rem;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 100000;
  width: 100%;
}

@media only screen and (max-width: 800px) {
  .nav {
    padding: 1rem 3rem;
    padding-left: 2rem;
  }  
}

.nav-image img {
  width: 22rem;
}

.nav-links li {
  display: inline-block;
  /* font-size: 1.6rem; */
  padding-right: 2rem;
}

.nav-links a {
  font-size: 1.6rem;
  text-decoration: none;
  color: whitesmoke;
}

@media only screen and (max-width: 800px) {
 
}

.button {
  padding: 1rem 1.5rem;
  border-radius: 5px;
}


#menuButton {
  display: none;
  font-size: 3rem;
  color: white;
}

.nav-links .closebtn {
  display: none;
}

.cta .btn {
  margin-top: 3rem;
}

a.button.btn-login{
  color: var(--blue);
  background-color: var(--yellow);
  font-weight: bold;
}

@media only screen and (max-width: 800px) {
  #menuButton {
    display: block;
  }

  .nav-links .closebtn {
    display: block;
    position: absolute;
    top: 3rem;
    right: 3rem;
    font-size: 2rem;
  }

  .nav-links2 {
    height: 100%; 
    width: 0;
    position: fixed; 
    z-index: 1; 
    top: 0; 
    right: 0;
    background-color: var(--bg-ash);
    overflow-x: hidden; 
    padding: 60px 0;
    transition: 0.5s; 
  }

  .nav-links a {
    padding: 8px 8px 8px 8px;
    text-decoration: none;
    font-size: 1.8rem;
    color: var(--blue);
    display: block;
    transition: 0.3s;
    text-align: center;
    font-weight: bold;
  }

  .nav-links ul, .nav-links li {
    display: block;
    padding: 2rem 0; 
  }

  .nav-links ul {
    padding-left:  2rem;
    padding-right:  2rem;
  }

  .nav-links a:hover {
    color: var(--primary-yellow);
  }
  
} 

/* Button Styling */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-size: 1.8rem;
  text-decoration: none;
  color: white;
}

.btn-bill {
  background-color: var(--yellow);
}

.btn-invest {
  background-color: var(--yellow);
}

/* Heading styling */
.main-heading {
  font-size: 3.6rem;
  color: var(--blue);
  font-weight: 700;
}

/* Billboard/Hero Stylingg */
.billboard {
  height: 92vh;
  max-height: 80rem;
  padding: 5rem 10rem;
  background-position: 70%;
  padding-top: 12rem;
}

@media only screen and (max-width: 600px) {
  .billboard {
    padding: 2rem 5rem;
    background-position: 70%;
    padding-top: 20rem;
    height: 90vh;
  }

  .bill2 {
    padding-top: 15rem;
  }
}

.billboard-content {
  /* padding: 0 5rem; */
  padding-top: 12rem;
  padding-right: 10rem;
}

.billboard-header {
  font-size: 4.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.billboard .btn {
  margin-top: 1rem;
}


@media only screen and (max-width: 700px) {
  .billboard-header {
    text-align: left;
    font-size: 3.8rem;
  }

  .billboard-content {
    padding: 0 0 0 0;
  }

  .content-2 {
    padding-top: 1rem;
  }   
  
  .billboard .btn {
    margin-top: .5rem;
  }
  
}

.billboard-text {
  font-size: 2.5rem;
  color: white;
  text-align: left;
  line-height: 1.8;
  padding-right: 15rem;
}

@media only screen and (max-width: 600px) {
  .billboard-text {
    font-size: 2rem;
    padding: 1rem 1rem 3rem 1rem;
    line-height: 1.8;
  }
  
}

.billboard-content a {
  text-decoration: none;
}


.sub-heading {
  font-size: 2rem;
  margin: 0.8rem 0;
  /* color: white; */
}


/* Why Invest with us */
.why-invest {
  padding: 6rem 8rem;
  background-color: var(--bg-ash);

}

.why-section {
  /* display: flex; */
  justify-content: space-between;
  margin-top: 2rem;
}

.why-main-text {
  font-size: 1.6rem;
  flex: 0 0 40%;
  line-height: 2;
}

.why-main-text p {
  font-size: 1.7rem;
  text-align: justify;
}


.why-class-cards {
  /* margin-left: 3rem; */
  margin-top: 6rem;
  /* display: flex; */
}

@media only screen and (max-width: 600px) {
  .why-section {
    display: block;
  }

  .why-class-cards {
    margin-left: auto;
  }

  .why-main-text p {
    font-size: 1.8rem;
    text-align: left;
  }
  
}

.row {
  display: flex;
  justify-content: space-between;
}

.usp {
  padding: 2rem 2.5rem;
  padding-top: 3rem;
  text-align: center;
  align-items: center;
  border-radius: 0.5rem;
  margin: 1rem 1rem;
  flex: 1 1 0px;
  background-color: white;
  box-shadow: 2px 2px 2px 1px var(--primary-yellow);
  /* border: 1px solid var(--yellow); */
}

@media only screen and (max-width: 800px) {
  .usp {
    /* display: block; */
    padding: 4rem 2rem;
    margin: 2rem 0;
  }

  .why-invest {
    padding: 4rem;
  }

  .row {
    display: block;
  }

  .usp-svg {
    height: 8rem;
    width: 8rem;
    text-align: center;
    margin-bottom: 2rem;
  }
}


.usp-svg {
  width: 8rem;
  height: 8rem;
  stroke: var(--yellow);
  text-align: center;
  margin: auto;
  stroke-width: 1;
  fill: none;
}

.usp-text {
  margin-top: 3rem;
  /* font-size: 1.6rem; */
}

.usp-othertext {
  color: var(--blue);
  font-size: 1.6rem;
}

.usp-headingtext {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: bold;
  color: var(--blue)
}

.widget {
  padding: 4rem 0;
}

/* Statistics */
.iframe {
  padding: 4rem 0;
}

.statistics {
  background-color: var(--blue);
  padding: 5rem 10rem;
  /* border-radius: 8rem 0 8rem 0; */
}

.stat-group {
  display: flex;
  justify-content: space-between;
}

@media only screen and (max-width: 600px) {
  .stat-group {
    display: block;
  }

  .statistics {
    padding: 3rem 5rem;
  }

  .usp-othertext {
    font-size: 1.7rem;
  }
}

.stat-details {
  /* display: flex; */
  color: white;
  justify-content: space-between;
  align-items: center;
}

.stat-svg {
  width: 6rem;
  margin: auto;
}

.stat-figure {
  font-size: 3rem;
  text-align: center;
  font-weight: 500;
}

.stat-name {
  color: var(--yellow);
  font-size: 2rem;
  margin-top: 2rem;
  font-weight: 500;
  text-align: center
}

@media only screen and (max-width: 600px) {
  .statistics {
    padding: 5rem 5rem;
  }

  .stat-details {
    justify-content: center;
  }

  .stat {
    margin: 3rem auto;
  }
}

/* Getting Started */
.started {
  padding: 6rem 10rem;
  background-color: var(--bg-ash);
}

.starting-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 6rem;
}

.step-card {
  flex: 0 0 30%;
  text-align: center;
}

.step-svg {
  width: 10rem;
  width: 33%;
  margin: 1rem auto;
}

.step-svg img {
  width: 100%;
}

.step-heading {
  font-size: 2rem;
  color: var(--brand-link);
  font-weight: 500;
  margin: 1.5rem 0;
  margin-bottom: 1rem;
}

.start-text {
  font-size: 1.6rem;
  color: var(--blue);
}

@media only screen and (max-width: 600px) {
  .started {
    padding: 5rem 5rem;
    background-color: var(--bg-ash);
  }
  
  .starting-steps {
    display: block;
    justify-content: space-between;
    margin-top: 6rem;
  }
  
  .step-card {
    flex: 0 0 0;
    margin: 5rem auto;
  }

  .start-text {
    font-size: 1.8rem;
    color: var(--blue);
  }
}


/* Investment Plans */
.investments {
  padding: 5rem 8rem;
}

@media only screen and (max-width: 600px) {
  .investments {
    padding: 4rem;
  }
}

.invest-group {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
}

@media only screen and (max-width: 800px) {
  .invest-group {
    display: block;
    margin: 0 auto;
    margin-top: 3rem;
  }
}



.investment-plan {
  background-color: rgb(234, 249, 244);
  padding: 3rem 2rem;
  font-size: 1.8rem;
  text-align: center;
  margin: 0 1rem;
  margin-bottom: 2rem;
  width: 33%;
  box-shadow: 0.5px 0.5px 1px black;
  border-radius: 0.5rem;
}

.investment-plan a {
  text-align: center; 
  margin-top: 2rem;
}

.invest-price {
  font-size: 2rem;
  color: var(--blue);
  font-weight: 600;
  padding: 1rem 0;
  text-align: center;
}

@media only screen and (max-width: 800px) {
  .invest-price {
    font-size: 1.5rem;
  }

  .investment-plan {
    width: 100%;
    margin: 2rem auto;
  }
}

.invest-type {
  /* font-weight: bold; */
  color: var(--brand-link);
  font-size: 2rem;
  text-transform: uppercase;
}

.plan-list {
  text-align: left;
  padding: 3rem 0;
}

.invest-details {
  padding: 0.5rem 0.5rem;
  /* color: var(--blue); */
  color: #086454;
}

/* New Invest */
.invest-percent {
  font-size: 4rem;
  color: var(--blue);
  font-weight: 600;
  margin: 1rem 0;
}

.invest-p p {
  color: var(--blue);
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 1rem;
}

@media only screen and (max-width: 800px) {
  .invest-p p {
    font-size: 1.6rem;
  }
}


.invest-size {
  display: flex;
  justify-content: space-between;
  color: var(--brand-link);
  margin: 3rem 0;
  font-weight: bold;
  font-size: 1.4rem;
}

/* Testimonials Section */

.testimony-group {
  display: flex;
}

@media only screen and (max-width: 800px) {
  .testimony-group {
    display: block;
  }
}

.testimonials {
  padding: 6rem 6rem;
  justify-content: space-between;
  background-color: var(--bg-ash);
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 4rem;
}

@media only screen and (max-width: 800px) {
  .testimonials {
    padding: 4rem 2rem;
  }

  .testimony {
    padding: 3rem 2rem;
  }
}

.testimony {
  text-align: center;
  padding: 3rem 3rem;
  flex: 0 0 32%;    
}

@media only screen and (max-width: 800px) {
  .testimonials {
    padding: 4rem;
  }

  .testimony {
    padding: 3rem 2rem;
  }
}

.testimony-image {
  background-color: var(--primary-black);
  border-radius: 100px; 
  width: 10rem;
  height: 10rem;
  margin: 0 auto;
}

.testimony-image img {
  width: 100%;
  width: 10rem;
  height: 10rem;
  object-fit: cover;
  border-radius: 100px; 
}

.testimony-details {
  padding: 3rem 0;
}

.testimony-details {
  color: white;
}

.testimony-name {
  font-size: 2rem;
  color: var(--blue);
  font-weight: 500;
}

.testimony-location {
  padding-top: .5rem;
  font-style: italic;
  font-size: 1.4rem;
  color: black;
  font-weight: 500;
}

.testimony-details-text {
  font-size: 1.5rem;
  padding-top: 1rem;
  color: black;
}

/* Videp Testimonial */
.video-testimonials {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

video {
  width: 100%;
}

.calltoact {
  padding: 6rem 8rem;
  background-color: var(--primary-yellow);
}

@media only screen and (max-width: 600px) {
  .testimony-details-text {
    font-size: 1.8rem;
    padding-top: 1rem;
    color: black;
  }

  .calltoact {
    padding: 3rem 4rem;
    background-color: var(--primary-yellow);
  }
}

.cta {
  text-align: center;
}

.cta-heading {
  font-size: 3rem;
  padding-bottom: 1.5rem;
}

.cta-text {
  font-size: 2.5rem; 
  color: white;
  font-weight: 500;
}

@media only screen and (max-width: 600px) {
  .cta-heading {
    font-size: 3rem
  }

  .cta-text {
    font-size: 2rem;
  }
}



/* Footer Styling */

.footer {
  padding: 5rem 8rem;
  background-color: var(--blue);
  display: flex;
  justify-content: space-between;
}

.footer2 {
 padding-left: 33rem;
}


@media only screen and (max-width: 600px) {
  .footer {
    display: block;
    padding: 4rem 3rem;
  }

  .footer-contact {
    margin-top: 2rem;
  }

}


.footer-heading {
  font-size: 2rem;
  color: var(--yellow);
  padding-bottom: 1rem;
  font-weight: 400;
}

.footer-link-group, .footer-link-group a {
  color: white;
}

.footer-link-group li {
  padding: 0.5rem 0;
  font-size: 1.4rem;
  text-decoration: none;
  line-height: 1.5;
  list-style: none;
}

.copyright {
  background-color: black;
}

.copyright-text {
  color: white;
  font-size: 1.6rem;
  text-align: center;
  padding: 2rem 1rem;
}

@media only screen and (max-width: 600px) {
  .copyright {
    padding-left: 0;
   }

   
  .footer-link-group li {
    padding: 0.5rem 0;
    font-size: 1.6rem;
    text-decoration: none;
    line-height: 1.5;
    list-style: none;
  }
}

.about-group {
  padding: 6rem;
  width: 70%;
}

.about-text {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: justify;
}

@media only screen and (max-width: 1000px) {
  .about-group {
    padding: 6rem 2rem;
    width: 100%;
  }
}

/* Public site refresh */
body {
  background: #f3f8f6;
  color: #173f44;
}

.nav {
  padding: 1.6rem clamp(2rem, 5vw, 7rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 38, 43, 0.94);
  box-shadow: 0 8px 30px rgba(3, 38, 43, 0.08);
  backdrop-filter: blur(16px);
  transition: background-color .2s ease, box-shadow .2s ease;
}

.nav-image {
  padding: 0;
  background: transparent;
  line-height: 0;
}

.nav-image img {
  width: 22rem;
  height: auto;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.nav-links li {
  padding-right: 0;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  padding: .9rem 1.2rem;
  align-items: center;
  font-weight: 500;
}

.nav-link:not(:last-child) > a::after {
  position: absolute;
  right: 1.2rem;
  bottom: .3rem;
  left: 1.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  content: "";
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .2s ease, transform .2s ease;
}

.nav-link:not(:last-child) > a:hover::after,
.nav-link.is-active > a::after {
  opacity: 1;
  transform: scaleX(1);
}

a.button.btn-login {
  min-width: 8.5rem;
  justify-content: center;
  border-radius: .9rem;
  color: var(--brand-primary);
  box-shadow: 0 8px 18px rgba(27, 221, 177, .22);
  transition: background .2s ease, transform .2s ease;
}

a.button.btn-login:hover,
.btn-bill:hover,
.btn-invest:hover {
  background: #16c49d;
  transform: translateY(-1px);
}

.btn {
  border-radius: .9rem;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn-bill {
  padding: 1.25rem 2.4rem;
  box-shadow: 0 12px 28px rgba(27, 221, 177, .24);
}

.billboard {
  min-height: 38rem;
}

.bill2 {
  height: min(82vh, 76rem);
}

.billboard-content {
  max-width: 78rem;
}

.billboard-header {
  font-size: clamp(3.8rem, 5vw, 6.2rem);
  line-height: 1.08;
  letter-spacing: -.12rem;
  text-transform: none;
}

.billboard-text {
  max-width: 72rem;
  padding-right: 0;
  color: #cce3df;
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  line-height: 1.6;
}

.main-heading {
  letter-spacing: -.05rem;
}

.why-invest,
.started,
.testimonials {
  background: #f3f8f6;
}

.why-section,
.starting-steps,
.invest-group,
.testimony-group {
  max-width: 124rem;
  margin-right: auto;
  margin-left: auto;
}

.usp,
.investment-plan,
.step-card,
.testimony {
  border-radius: 1.6rem;
}

.usp {
  border: 1px solid #dceae7;
  box-shadow: 0 12px 34px rgba(3, 38, 43, .06);
}

.investment-plan {
  flex: 1;
  width: auto;
  border: 1px solid #dceae7;
  background: white;
  box-shadow: 0 12px 32px rgba(3, 38, 43, .07);
}

.investment-plan:nth-child(2) {
  border-color: rgba(27, 221, 177, .45);
  box-shadow: 0 16px 38px rgba(27, 221, 177, .10);
}

.statistics {
  background-color: var(--blue);
}

.about-group {
  max-width: 100rem;
  margin: 0 auto;
}

.about-text {
  color: #395e62;
}

.footer {
  display: grid;
  padding: 6rem clamp(3rem, 7vw, 10rem);
  background: var(--blue);
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 5rem;
}

.footer-brand__name {
  display: inline-flex;
  align-items: center;
  color: white;
  font-size: 2.2rem;
  font-weight: 700;
  gap: 1rem;
  text-decoration: none;
}

.footer-brand__name span {
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  place-items: center;
  border-radius: .9rem;
  background: var(--yellow);
}

.footer-brand p {
  max-width: 28rem;
  margin-top: 1.5rem;
  color: #adc9c6;
  font-size: 1.4rem;
  line-height: 1.7;
}

.footer-heading {
  font-weight: 600;
}

.footer-link-group a {
  text-decoration: none;
  transition: color .2s ease;
}

.footer-link-group a:hover {
  color: var(--yellow);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #021c20;
}

.public-message {
  display: flex;
  margin: 1rem 0;
  padding: 1.2rem 1.4rem;
  border: 1px solid #a8e8d8;
  border-radius: .9rem;
  background: #effbf7;
  color: var(--brand-primary);
  font-size: 1.4rem;
  gap: .6rem;
}

.public-message--success {
  border-color: #bce6d5;
  background: #eaf8f2;
  color: #1a674e;
}

.public-message--error,
.public-message--danger {
  border-color: #ffc8c8;
  background: #ffebeb;
  color: #8d3030;
}

@media only screen and (max-width: 900px) {
  .footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 800px) {
  .nav {
    padding: 1rem 2rem;
  }

  .nav-links2 {
    background: var(--blue);
    box-shadow: -18px 0 50px rgba(3, 38, 43, .25);
  }

  .nav-links ul {
    display: block;
  }

  .nav-links a {
    color: white;
  }

  .nav-links .closebtn a {
    color: var(--yellow);
  }

  .investment-plan {
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .nav-image img {
    width: 18rem;
  }

  .billboard {
    padding-right: 3rem;
    padding-left: 3rem;
  }

  .billboard-header {
    font-size: 4rem;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Local wordmark and readable mint actions. */
.footer-brand__name img { width: 22rem; max-width: 100%; height: auto; }
.footer-link-group a { overflow-wrap: anywhere; }
.btn-bill, .btn-invest { color: var(--brand-primary); }
/* The mobile drawer must use the viewport, not the blurred navbar, as its containing block. */
#menuButton, .public-nav-close {
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
#menuButton svg, .public-nav-close svg {
  display: block;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}
.public-nav-overlay { display: none; }

@media only screen and (max-width: 800px) {
  .nav {
    /* backdrop-filter establishes a containing block for fixed descendants. */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  #menuButton { display: grid; place-items: center; }
  body.public-nav-open { overflow: hidden; }
  .public-nav-overlay {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: block;
    background: rgba(1, 17, 20, .6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }
  .nav-links2 {
    position: fixed;
    z-index: 2;
    inset: 0 0 auto auto;
    width: min(34rem, calc(100vw - 2rem));
    height: 100vh;
    height: 100dvh;
    padding: max(8rem, env(safe-area-inset-top)) 2.4rem max(3rem, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--brand-primary);
    box-shadow: -12px 0 40px rgba(0, 0, 0, .2);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .24s ease, visibility .24s ease;
  }
  .public-nav-open .nav-links2 { visibility: visible; transform: translateX(0); }
  .public-nav-open .public-nav-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links ul { display: flex; flex-direction: column; align-items: stretch; margin: 0; padding: 0; gap: .8rem; }
  .nav-links li { display: block; margin: 0; padding: 0; }
  .nav-links a { display: flex; min-height: 48px; align-items: center; width: 100%; padding: 1.2rem 1.5rem; border-radius: .8rem; font-size: 1.8rem; text-align: left; }
  .nav-links .nav-link.is-active > a { background: rgba(27, 221, 177, .12); color: var(--brand-accent); }
  .nav-links .nav-link > a::after { display: none; }
  .nav-links a:focus-visible, .public-nav-close:focus-visible { outline-color: var(--brand-accent); outline-offset: 2px; }
  .nav-links .closebtn { position: absolute; top: max(1.5rem, env(safe-area-inset-top)); right: 1.5rem; display: block; padding: 0; }
  .public-nav-close { display: grid; width: 44px; height: 44px; place-items: center; color: var(--brand-accent); }
  .nav-links .btn-login { margin-top: 1.5rem; color: var(--brand-primary); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links2, .public-nav-overlay { transition: none; }
}
