/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "BNBOBBIE";
  src: url("fonts/BNBobbieSans.woff2");
}

@font-face {
  font-family: "gotham";
  src: url("fonts/Gotham.woff2");
}

@font-face {
  font-family: "gothammedium";
  src: url("fonts/GOTHAM-MEDIUM.woff2");
}

@font-face {
  font-family: "GOTHAM";
  src: url("fonts/Gotham.woff2");
}

body {
  overflow-x: hidden;
  color: #111;
}

/* Header */
.header {
  position: absolute;
  width: 100vw;
  padding: 0vh 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10 !important;
}

.logo {
  font-weight: bold;
  color: #fff;
}
.logo img {
  width: 5vw;
  height: 5vw;
}

.menu a {
  margin-left: 2vw;
  text-decoration: none;
  font-size: 1vw;
  color: black;
  font-weight: 500;
  font-family: "GOTHAM";
  font-style: normal;
}

/* Hero Section */
.hero {
  width: 100vw;
  height: 100vh;
  background: url("images/HeroAbout.png") no-repeat center center/cover;
}

.our-story {
  background: #00512d;
  color: #fff;
  padding: 6vh;
  border-top-left-radius: 42px;
  border-top-right-radius: 42px;
  margin-top: -6vh;
  height: auto !important;
  position: relative;
  z-index: 5;
  padding-bottom: 12vh;
}

.story-heading {
  font-family: "BNBOBBIE";
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  font-size: 3.5vw;
  color: #ffcc00;
  margin-bottom: 2vh;
  font-weight: 700;
}

.story-tabs {
  display: flex;
  gap: 2vw;
  margin-bottom: 4vh;
}

.tab {
  font-family: "GOTHAM";
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  background: transparent;
  border: none;
  font-size: 1.5vw;
  font-weight: 600;
  cursor: pointer;
  padding: 0.8vh 2vw;
  border-radius: 2vw;
  transition: all 0.3s ease;
  color: #fff;
}

.tab.active {
  background: #fff;
  color: #ed332b;
}

.story-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4vw;
}

.story-text {
  flex: 1;
  font-family: "GOTHAM";
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  font-size: 1.4vw;
  line-height: 1.4;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.story-text.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.story-image {
  flex: 1;
}

.story-image img {
  object-fit: cover;
  width: 50vw !important;
  height: 55vh !important;
  border-radius: 1.5vw;
  transition: opacity 0.3s ease;
}

.vision-mission {
  height: auto !important;
  border-top-left-radius: 42px;
  border-top-right-radius: 42px;
  margin-top: -4vh;
  position: relative;
  z-index: 5;
  width: 100vw;
  padding: 6vh;
  display: flex;
  flex-direction: column;
  gap: 4vh; /* spacing between vision and mission */
  background: #fdf9ed; /* same light background */
}

/* Shared styles for vision and mission rows */
.vision,
.mission {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 3vw;
}

/* Images */
.vision-image img,
.mission-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* Text blocks */

.vision-text h2,
.mission-text h2 {
  font-family: "BNBOBBIE";
  font-style: normal;
  font-weight: 700;
  color: #ed332b; /* red heading */
  line-height: 1.4;

  font-size: 3.5vw;
}

.vision-text p,
.mission-text p {
  font-family: "GOTHAM";
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  font-size: 1.4vw;
  width: 100%;

  color: #333;
}

.vision-image,
.mission-image,
.vision-text,
.mission-text {
  flex: 1;
}

/* our approach */
.approach {
  width: 100vw;
  background: #ffcc32; /* yellow background */
  padding: 6vh;
  border-top-left-radius: 42px;
  border-top-right-radius: 42px;
  display: flex;
  flex-direction: column;
  gap: 4vh;
  text-align: center;
}

/* Header */
.approach-header h2 {
  text-align: left;
  font-family: "BNBOBBIE";
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
  font-size: 3.5vw;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111;
}

.approach-header p {
  max-width: 50vw;
  text-align: left;
  font-family: "GOTHAM";
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  font-size: 1.4vw;
  line-height: 1.6;
  color: #222;
}

/* Card container */
.approach-cards {
  display: flex;
  justify-content: flex-start; /* start from left */
  align-items: stretch; /* equal height */
  gap: 3vw; /* spacing between cards */
  flex-wrap: wrap; /* wrap for small screens */
  width: 100%;
}

/* --- CARD --- */
.card {
  position: relative;
  flex: 1; /* each card ~ 1/3 of viewport width */
  max-width: auto;
  height: 60vh; /* fixed height so cards are visible */
  border-radius: 42px;
  overflow: hidden;
  perspective: 1200px;
  isolation: isolate;
}

/* Inner 3D wrapper */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}
.card:hover .card-inner {
  transform: rotateY(180deg);
}

/* Faces */
.card-front,
.card-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 3vh 2vw;
  border-radius: 2vh;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-align: left;
  height: 100%;
  width: 100%;
}

/* Front with image overlay */
.card-front {
  justify-content: flex-end; /* bottom-left content */
  background-size: cover;
  background-position: center;
}
.card-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 2vh;
}
.card-front h3,
.card-front p {
  position: relative;
  z-index: 1;
  margin: 0;
}
.card-front h3 {
  font-family: "GOTHAM";
  font-style: normal;
  line-height: 1.4;
  font-weight: 800;
  font-size: 1.5vw;
  color: #fff;
}
.card-front p {
  font-family: "GOTHAM";
  font-style: normal;
  line-height: 1.4;
  font-size: 1vw;
  line-height: 1.4;
  font-weight: 400;
  color: #25d484;
}

/* Back (detail) */
.card-back {
  transform: rotateY(180deg);
  background: #2a8a55;
  justify-content: flex-start;
  gap: 2vh;
}
.card-back h3 {
  font-family: "GOTHAM";
  font-style: normal;
  line-height: 1.4;
  margin: 0;
  font-weight: 800;
  font-size: 1.5vw;
  color: #fff;
}
.card-back p {
  font-family: "GOTHAM";
  font-style: normal;
  line-height: 1.4;
  margin: 0;
  font-size: 1vw;
  line-height: 1.6;
  color: #fff;
}

.approach-footer {
  width: 100%;
  display: flex;
  justify-content: flex-end; /* push content to right */
}

.approach-footer p {
  font-family: "GOTHAM";
  font-style: normal;
  line-height: 1.4;
  font-weight: 400;
  color: #222; /* control width, tweak to match design */
  text-align: right;
  font-size: 1.4vw;
  line-height: 1.6;
}

.footer {
  height: auto;
  background: #e53935; /* red background */
  color: #fff;
  padding: 6vh;
  font-family: "Segoe UI", sans-serif;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 4vh;
}

.footer-logo img {
  width: 80px;
}

.footer-social h4,
.footer-links h4,
.footer-contact h4 {
  font-family: "GOTHAM";
  font-style: normal;
  font-weight: 400;
  font-size: 1.4vw;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 2vh;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 1vw;
}

.social-icons .circle {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: orange;
  border: 2px solid #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 1vh;
}

.footer-links ul li a {
  font-family: "GOTHAM";
  font-style: normal;
  font-weight: 400;
  font-size: 1.2vw;
  line-height: 1.4;
  color: #fff;
  text-decoration: none;
}

.footer-contact p {
  font-family: "GOTHAM";
  font-style: normal;
  font-weight: 400;
  font-size: 1.2vw;
  line-height: 1.4;
  color: #fff;
  line-height: 1.6;
}

.footer hr {
  border: none;
  border-top: 1px solid #fff;
  margin: 3vh 0;
}

.footer-bottom {
  display: flex;
  gap: 3vw;
}

.footer-bottom a {
  font-family: "GOTHAM";
  font-style: normal;
  font-weight: 400;
  font-size: 1.2vw;
  line-height: 1.4;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}
