:root {
  --clr-primary: #282828;
  --clr-primary-light: #182341;
  --clr-primary-lighter: #393f52;
  --clr-primary-lightest: #b3bbd4;
  --clr-primary-dark: #282828;
  --clr-primary-darker: #0e162e;
  --clr-primary-darkest: #151a27;

  --clr-accent: #e6a390;
  --clr-accent-light: #ec6f4d;
  --clr-accent-lighter: #e98569;
  --clr-accent-lightest: #e6a390;
  --clr-accent-dark: #009074;
  --clr-accent-darker: #006c57;
  --clr-offset: #b6c030;

  --clr-gray-100: #f3f3f3;
  --clr-gray-200: #e7e7e7;
  --clr-gray-300: #dbdbdb;
  --clr-gray-400: #cfcfcf;
  --clr-gray-500: #c4c4c4;
  --clr-gray-600: #b8b8b8;
  --clr-gray-700: #acacac;
  --clr-gray-800: #a0a0a0;
  --clr-gray-900: #949494;
  --clr-gray-d100: #888888;
  --clr-gray-d200: #7a7a7a;
  --clr-gray-d300: #6d6d6d;
  --clr-gray-d400: #525252;
  --clr-gray-d500: #292929;

  --radius-100: 0.3rem;
  --radius-200: 0.5rem;
  --radius-400: 0.7rem;
  --radius-600: 0.9rem;
  --radius-800: 1.2rem;
  --radius-c100: 2rem;
  --radius-half: 50%;

  --font-primary: "Raleway", cursive;

  --brand-ink: #182341;
  --accent: #f6b042;
  --muted: #182341;
  --card: #ffffff;
  --glass: rgba(255, 255, 255, 0.85);
  --max-width: 1100px;
  --radius: 12px;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

input,
button {
  font: inherit;
  display: inline-block;
}

a {
  display: inline-block;
  text-decoration: none;
  font-size: 1.5rem;
  width: max-content;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

h1,
h2,
h3,
h4 {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: var(--clr-gray-d500);
  text-align: left;
  margin: 2rem 0em;
}

h5 {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: var(--clr-accent);
  text-align: left;
  margin: 2rem 0;
}

h1 {
  margin: 2rem 0;
  color: var(--clr-primary);
  font-size: 3rem;
  position: relative;
  padding: 0.6rem 0;
}

p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
}

li {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.7;
}

div {
  font-size: 1.6rem;
  font-weight: 400;
}

.cta {
  padding: 0.7rem 2rem;
  background-color: var(--clr-accent);
  font-weight: 500;
  color: #000f37;
  transition: all 300ms ease-in-out;
  position: relative;
  z-index: 1;
  border-radius: var(--radius-c100);
}

.cta:hover {
  background-color: var(--clr-accent);
}

.wrapper {
  width: 100%;
  display: flex;
  align-items: center;
}

section {
  width: 90%;
  margin: 0 auto;
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding: 4rem;
  overflow: hidden;
}

body {
  height: 100vh;
  font-family: var(--font-primary);
  background-color: #faf4eb;
  font-size: 1.6rem;
  font-weight: 500;
  overflow-x: hidden;
}

header {
  width: 100%;
  height: 5rem;
  position: fixed;
  left: 0;
  top: -100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: linear-gradient(to right, #efefef, #ddd);
  z-index: 999;
  padding: 0 2rem;
  opacity: 0;
  transition: all 600ms ease-in-out;
}

header.show {
  top: 0;
  opacity: 1;
}

header .contact-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

header .contact-info a {
  color: var(--clr-primary);
}

header .contact-info a:hover {
  animation-name: headShake;
  animation-duration: 1.5s;
}

header .socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

header .socials a {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--clr-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: var(--radius-400);
}

header .socials a:hover {
  animation-name: jello;
  animation-duration: 2s;
}

nav {
  width: 100%;
  height: 8rem;
  background-color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: relative;
}

nav .logo-img {
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.4rem;
  list-style: none;
}

.nav-list .list-link {
  color: white;
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 300ms ease-in-out;
}

.nav-list .list-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.3rem;
  background-color: var(--clr-primary-dark);
  transition: all 300ms ease-in-out;
}

.nav-list .list-link:hover::after {
  background-color: var(--clr-accent);
  bottom: -0.3rem;
}

nav .burger {
  width: 4.5rem;
  height: 4.5rem;
  background-color: var(--clr-accent);
  color: white;
  border-radius: var(--radius-400);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  cursor: pointer;
  display: none;
}

nav .burger:hover {
  animation-name: jello;
  animation-duration: 1.5s;
}

footer {
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin-top: 10rem;
  background-color: #282828;
}

footer .wrapper {
  justify-content: center;
  align-items: flex-start;
}

footer .company-info {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

footer .company-profile,
footer .liability {
  width: 100%;
  color: white;
}
footer .company-profile h3,
footer .liability h3 {
  width: 100%;
  text-align: left;
}

footer .quick-links {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer .quick-links a {
  color: var(--clr-accent);
  border-bottom: 0.2rem solid var(--clr-accent);
}

footer .location {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: white;
}

footer .socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

footer .socials a {
  width: 4rem;
  height: 4rem;
  background-color: var(--clr-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: var(--radius-400);
}

footer .socials a:hover {
  animation-name: jello;
  animation-duration: 1s;
}

footer .copyright {
  width: 100%;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

footer .copyright a {
  color: white;
}

/* MEMBER STATS */

.memstats {
  box-sizing: border-box;
  margin: 2em 0;
  border: solid 1px #bbbbbb88;
  width: 100%;
  text-align: left;
  padding: 1em;
  overflow: hidden;
}

.memstats h2 {
  display: inline-block !important;
}

.memstats ul {
  display: block;
  width: 250px;
  height: auto;
  margin: 1em;
  text-align: left;
  float: left;
  border: solid 1px #aaa;
  box-shadow: 3px 4px 4px -3px #aaaaaa;
}

.memstats li {
  list-style-type: none;
  display: block;
  margin: 0.5em 0;
  border: solid 1px #0000;
  padding: 0.2em;
  box-sizing: border-box;
}

.mttl {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--clr-primary-light);
}

.mcost {
  color: var(--clr-accent-dark);
  font-size: 2rem;
  font-weight: 600;
}

.mtext {
  height: 300px;
}

/* PAGE BANNERS */
.page-banner {
  width: 100%;
  height: 40rem;
  position: relative;
}

.page-banner .banner-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.page-banner .banner-img::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.911),
    rgba(0, 0, 0, 0)
  );
}

.page-banner .banner-text {
  z-index: 1;
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: clamp(2.5rem, 4vw, 4rem);
  text-transform: uppercase;
  color: var(--clr-accent);
}

@media (max-width: 800px) {
  section {
    padding: 2rem;
    width: 100%;
    flex-direction: column;
  }

  .wrapper {
    flex-direction: column;
  }

  header {
    min-height: 7rem;
    flex-direction: column;
    padding: 0.5rem 1rem;
  }

  nav .burger {
    display: flex;
  }
  .nav-list {
    position: absolute;
    top: 10rem;
    left: 2%;
    width: 65%;
    height: 70vh;
    background-color: var(--clr-primary);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    border-radius: var(--radius-400);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transform: translateX(-102%);
    opacity: 0;
    transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
  }

  .nav-list .list-link {
    transform: translateY(-50%);
    opacity: 0;
    transition: 300ms all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .nav-list.open {
    transform: translateX(0);
    opacity: 1;
    animation-name: jello;
    animation-delay: -500ms;
    animation-duration: 1.5s;
  }

  .nav-list.open .list-link {
    transform: translateY(0%);
    opacity: 1;
  }

  footer .wrapper {
    align-items: center;
    gap: 2rem;
  }

  footer .company-info {
    width: 100%;
  }

  footer .location {
    width: 100%;
  }
}

.pada {
  width: 90px;
  margin: 1em;
}

/*ETF Code*/

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px;
}

/* herof */
.herof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 48px 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  box-shadow: 0 8px 30px rgba(9, 30, 66, 0.06);
  margin-top: 18px;
}
.herof-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.herof-copy {
  flex: 1 1 420px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: 0.6px;
}
.herof-heading {
  /* font-family: Poppins, Inter, Arial, sans-serif;  */
  font-size: 30px;
  margin: 8px 0 12px;
  color: var(--brand-ink);
}
.lead {
  color: var(--muted);
  margin-bottom: 16px;
}
.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn {
  background: var(--brand-ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  margin: 1em 0em;
}
.btn.alto {
  background: var(--accent);
  color: var(--brand-ink);
  border: 1px solid rgba(11, 61, 145, 0.12);
}

/* herof image box */
.herof-media {
  flex: 0 0 360px;
  background: linear-gradient(180deg, #eaf2ff, #ffffff);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.herof-media .placeholder {
  width: 320px;
  height: 220px;
  border-radius: 8px;
  background: linear-gradient(90deg, #dbeefe, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  margin-top: 28px;
  align-items: start;
}
.card {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(12, 24, 64, 0.04);
}

#why-heading {
  color: var(--accent);
}

.why-box {
  background: linear-gradient(90deg, #fff7ec, #ffffff);
  border-left: 4px solid var(--clr-gray-400);
  padding: 14px;
  border-radius: 8px;
}

.why-box li {
  list-style-type: none;
  border-bottom: 0.4px solid var(--clr-accent);
  margin-bottom: 0.5em;
}

aside li {
  list-style-type: none;
  border-bottom: 0.4px solid var(--clr-accent);
  margin-bottom: 0.5em;
  font-size: 1.4rem;
  font-weight: 500;
}

.etf-pillars {
  margin: 2em 0em;
  background: url("../img/students-etf.webp");
  background-position: bottom center;
  background-size: cover;
  background-attachment: fixed;
  padding: 1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.etf-pillars h1 {
  font-size: 3rem;
  color: #fff; /* White text */
  -webkit-text-stroke: 0.2px #111; /* Dark outline (works in WebKit browsers) */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7),
    /* Soft shadow */ -1px -1px 0 #111,
    /* Top-left stroke effect */ 1px -1px 0 #111,
    /* Top-right stroke */ -1px 1px 0 #111,
    /* Bottom-left stroke */ 1px 1px 0 #111; /* Bottom-right stroke */
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

.stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.stat {
  flex: 1 1 140px;
  background: var(--glass);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 20px;
  color: var(--brand-ink);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}
.pillar {
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  min-height: 220px;
}
.icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  /* margin-top: 12px;  */
}
.icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

#p1,
#p2 {
  font-size: 1.5rem !important;
  color: var(--brand-ink);
}

.pillar li {
  list-style-type: none;
  background: var(--clr-gray-100);
  color: var(--brand-ink);
  font-size: 1.5rem;
  margin: 0.5em 0em;
  padding: 0.3em;
  line-height: 1.4em;
}

.pillar h6 {
  font-size: 2rem;
  color: var(--clr-accent-light);
  margin-bottom: 0.3em;
}

/* Impact stories carousel */
/*
.carousel {
  position: relative;
  margin-top: 22px;
}
.slides {
  display: flex;
  gap: 12px;
  overflow: hidden;
}
.slide {
  min-width: 100%;
  flex-shrink: 0;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.slide-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
}
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  background: #e6eefc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.carousel-controls {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  gap: 8px;
}

*/

/* Why partner & how to partner */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.partner-card {
  padding: 14px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}
.accord {
  margin-top: 12px;
  padding: 1em;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1em;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
}
.acc-item {
  border-radius: 6px;
  background: #fff;
  padding: 12px;
  margin-bottom: 8px;
  border: solid 1px var(--clr-gray-300);
  width: 300px;
  height: 110px;
  background: var(--clr-gray-d500);
}

.acc-item h6 {
  color: var(--accent);
  margin-bottom: 0.5em;
  font-size: 1.4rem;
}

.par-text {
  color: var(--card);
  line-height: 1.8rem;
  font-size: 1.4rem;
}

/*why partner*/

.whypa {
  background-color: var(--brand-ink);
  box-sizing: border-box;
  padding: 1em;
}

/* counters */
.counters {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.counter {
  flex: 1 1 120px;
  padding: 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, #fff, #f7faff);
  text-align: center;
}
.counter strong {
  font-size: 18px;
  color: var(--brand-ink);
  display: block;
}

.footer {
  margin-top: 40px;
  padding: 28px 0;
  text-align: center;
  color: var(--clr-gray-d500);
}

/* Responsive */
@media (max-width: 960px) {
  .about {
    grid-template-columns: 1fr;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .herof-media {
    flex-basis: 100%;
  }
  .container {
    padding: 18px;
  }
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 22px;
  }
  .carousel-controls {
    display: none;
  }
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

/* === IMPACT STORIES SECTION === */
/*
.impact-stories-section {
  background-color: #f9fafb;
  padding: 6rem 2rem;
  margin: 2em 0em;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--clr-accent-light);
  margin-bottom: 3rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.impact-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.impact-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--brand-ink);
  margin-bottom: 1.2rem;
  text-transform: none;
  text-align: left;
}

.impact-card p {
  font-size: 1.55rem;
  line-height: 1.65;
  color: #444;
}
*/
/* Responsive adjustments */
/*
@media (max-width: 768px) {
  .impact-stories-section {
    padding: 4rem 1.5rem;
  }

  .impact-card {
    padding: 1.8rem;
  }

  .impact-card h3 {
    font-size: 1.6rem;
  }
}
*/

/* === IMPACT STORIES CAROUSEL === */
.impact-carousel-section {
  background: #f9fafb;
  padding: 6rem 2rem;
  margin: 4rem 0rem;
  text-align: center;
  position: relative;
}

.impact-carousel {
  position: relative;
  overflow: hidden;
  max-width: 950px;
  margin: 0 auto;
}

.impact-track {
  display: flex;
  transition: transform 0.6s ease;
}

.impact-slide {
  min-width: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.impact-slide h3 {
  color: var(--clr-accent);
  font-size: 1.8rem;
  margin-bottom: 1.4rem;
}

.impact-slide p {
  color: #444;
  font-size: 1.5rem;
  line-height: 1.6;
}

/* Carousel buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--clr-accent);
  color: #fff;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: var(--brand-ink);
}

.prev {
  left: -1rem;
}

.next {
  right: -1rem;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #bbb;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dots button.active {
  background: var(--clr-accent);
}

/* Responsive */
@media (max-width: 768px) {
  .impact-slide {
    padding: 2rem 1.5rem;
  }

  .carousel-btn {
    padding: 0.6rem 1rem;
  }

  .prev {
    left: 0;
  }
  .next {
    right: 0;
  }
}
