@import url('css/contact.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background: black;
  position: relative;

  overflow-x: hidden;
}
/* ---------- Responsive header (mobile-first) ---------- */
/* Base/header (unchanged layout) */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  gap: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  z-index: 999;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

/* logo */
header .header_img {
  width: 56px; /* smaller on mobile */
  height: auto;
  display: block;
  margin-right: 0.5rem;
  animation: spin 6s linear infinite;
}

/* menu icon (hamburger) */
header .header_span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgb(212, 212, 212);
  cursor: pointer;
  padding: 8px;
  z-index: 1105; /* keep icon above overlay */
}

/* ---------- MOBILE: separate centered overlay menu ---------- */
/* hide the inline nav by default on small screens */
header .navigation_menu {
  display: block; /* must exist so JS can toggle .active */
  position: fixed;
  inset: 0; /* occupy full viewport for overlay */
  z-index: 1100;
  pointer-events: none; /* blocked when not active */
  opacity: 0;
  transition: opacity 240ms ease, backdrop-filter 240ms ease;
  background: rgba(0, 0, 0, 0.45); /* dim overlay */
  backdrop-filter: blur(6px);
}

/* Centered menu panel inside the overlay (hidden by default via transform) */
header .navigation_menu ul {
  width: 92%;
  max-width: 460px;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  list-style: none;
  border-radius: 12px;
  transform: translateY(20px) scale(0.98);
  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.2, 1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  margin: 0 auto; /* center horizontally */
  position: relative;
  top: 50%;
  transform-origin: center;

  /* we will re-apply translateY when active using the parent .active */
}

/* menu items */
header .navigation_menu ul div li {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 14px 0;
  border-radius: 6px;
  transition: background 220ms ease, transform 220ms ease;
}

header .navigation_menu ul div li:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}

header .navigation_menu ul div li a {
  text-decoration: none;
  font-size: 18px;
  color: white;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}

/* Close icon place (keeps it inside the overlay container) */
header .navigation_menu .close_ {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1105;
  cursor: pointer;
}
header .navigation_menu .close_ i {
  font-size: 28px;
  color: #fff;
}

/* ---------- Active state: menu visible and centered ---------- */
header .navigation_menu.active {
  pointer-events: all;
  opacity: 1;
}

/* To animate the inner box into perfect center vertically,
   move the box up (top:50%) with translateY(-50%) only when active. */
header .navigation_menu.active ul {
  bottom: 500px;
}

/* Clicking/tapping overlay background should close menu; your JS already does that.
   Keep overlay keyboard-friendly by toggling .active via Escape (your JS already handles it). */

/* ------- Desktop & larger screens (>= 880px) ------- */
@media (min-width: 880px) {
  header {
    height: 100px;
    padding: 0 2.5rem;
    gap: 1rem;
  }

  header .header_img {
    width: 110px;
  }

  /* show the nav inline on large screens (restore original inline layout) */
  header .navigation_menu {
    display: block;
    position: static;
    transform: none !important;
    background: transparent;
    height: auto;
    width: auto;
    opacity: 1 !important;
    pointer-events: all !important;
    backdrop-filter: none;
  }

  header .navigation_menu ul {
    width: auto;
    height: auto;
    background: transparent;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 0;
    align-items: center;
    border-radius: 0;
    box-shadow: none;
    top: auto;
    transform: none;
  }

  header .navigation_menu ul div li {
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
  }

  header .navigation_menu ul div li a {
    font-size: 16px;
    color: rgb(212, 212, 212);
    text-transform: lowercase;
    font-weight: 600;
    letter-spacing: 0.08rem;
  }

  /* hide hamburger icon on big screens */
  header .header_span {
    display: none;
  }

  /* hide close icon on desktop (not needed) */
  header .navigation_menu .close_ {
    display: none;
  }
}

/* small polish */
header .navigation_menu ul div li a:focus,
header .navigation_menu ul div li a:hover {
  color: #a5a5ff;
  outline: none;
}

/* ensure header content doesn't overlap page content */
body {
  padding-top: 100px;
} /* adjust if header height changed on desktop */

body div video {
  width: 100%;
  height: 100%;
  z-index: -10;
  position: relative;
}

.video_div {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
}

.video_div video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover; /* Ensures video covers container */
  z-index: -1; /* Keeps it behind content */
}

/* For smaller screens */
@media (max-width: 768px) {
  .video_div {
    height: 60vh;
  }
}

body .vertical_dna_div {
  width: 85%;
  height: 85%;
  position: absolute;
  z-index: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: hidden;
  pointer-events: none;
}

body .vertical_dna_div img {
  width: 70%;
  transform: rotate(150deg);
  filter: drop-shadow(0px 0px 30px (0, 0, 0, 0.2));
  mix-blend-mode: screen;
  pointer-events: none;
}

body .vertical_dna_div {
}

.container_content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.wrapper {
  width: 850px;
  background: rgb(0, 0, 0, 0.7);
  height: 450px;
  border-radius: 5px;
  bottom: 0;
  z-index: 710;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 200px;
}

.wrapper_2 {
  width: 850px;
  height: 70px;
  background: rgb(0, 0, 0, 0.7);
  position: absolute;
  z-index: inherit;
  top: 660px;
  border-radius: 5px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper_2 span {
  font-weight: 2em;
  font-size: 20px;
  font-family: 'Outfit', sans-serif;
  color: rgb(134, 134, 134);
  letter-spacing: 2rem;
  text-transform: uppercase;
}

@media all and (max-width: 900px) {
  .container_content {
    width: 100%;
    height: auto;
  }

  .wrapper {
    width: 90%;
    height: 350px;
    top: 110px;
  }

  .wrapper_2 {
    width: 90%;
    top: 500px;
  }
}

.section_one {
  width: 100vw;
  height: 130vh;

  background: rgb(0, 0, 0);
}

.section_one div {
  width: 100vw;
  height: 100vh;
}
.section_one div .what_we_make {
  width: 100%;
  height: 150px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.section_one div .what_we_make span {
  font-size: 6em;
  font-weight: 800;
  position: relative;
  color: rgb(165, 165, 255);
  margin-left: 100px;
  margin-top: 50px;
}

.section_one div .what_we_make span::after {
  content: '';
  width: 240px;
  height: 15px;

  position: absolute;
  z-index: 300;
  bottom: 0;
  left: 0;
}

@media all and (max-width: 1200px) {
  .section_one div .what_we_make span {
    font-size: 4em;
    margin-left: 50px;
    margin-top: 40px;
  }
  .section_one .inside_section_one .cards {
    height: 80vh;
  }
  .section_one .inside_section_one .cards {
    flex-direction: column;
    height: auto;
    gap: 40px;
    padding-bottom: 40px;
  }

  .section_one .inside_section_one .cards .card {
    width: 80%;
    height: auto;
  }

  .section_one .inside_section_one .text_below_cards span {
    font-size: 25px;
    text-align: center;
    margin: 0 20px;
  }
}

@media all and (max-width: 900px) {
  .section_one {
  }
  .section_one div .what_we_make span {
    font-size: 4em;
    margin-left: 30px;
    margin-top: 20px;
  }

  .section_one .inside_section_one .cards {
    flex-direction: column;
    height: auto;
    gap: 40px;
    padding-bottom: 40px;
  }

  .section_one .inside_section_one .cards .card {
    width: 80%;
    height: auto;
  }

  .section_one .inside_section_one .text_below_cards span {
    font-size: 25px;
    text-align: center;
    margin: 0 20px;
  }
}

body .section_one .inside_section_one .cards {
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

body .section_one .inside_section_one .cards .card {
  width: 400px;
  height: 600px;
  border-left: 2px solid rgb(165, 165, 255);
  border-right: 2px solid rgb(165, 165, 255);
  border-radius: 5px;
  overflow: hidden;
  transition: ease-in-out all 0.7s;
}

.section_one .inside_section_one .cards .card div {
  position: relative;
}

.section_one .inside_section_one .cards .card div span {
  color: rgb(255, 255, 255);
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0px 0px 30px rgb(0, 0, 0);
  margin: 20px 30px;
  position: absolute;
  z-index: 30;
  letter-spacing: 2px;
}

.section_one .inside_section_one .cards .card div img {
  width: 400px;
  height: 600px;
  opacity: 80%;
  transition: all ease-in-out 0.7s;
}

.section_one .inside_section_one .cards .card div img:hover {
  transform: scale(1.2);
  transition: all ease-in-out 0.7s;
}

.section_one .inside_section_one .text_below_cards {
  width: 100vw;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section_one .inside_section_one .text_below_cards span {
  color: white;
  font-size: 25px;
  word-spacing: 5px;
  font-weight: 600;
}

.section_two {
  width: 100%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(25, 25, 25);
}

.section_two .inside_section_two {
  width: 100%;
  height: 70vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section_two .inside_section_two img {
  object-fit: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 70vh;
  background: blur(0px 0px 20px rgba(0, 0, 0, 0.3));
  filter: brightness(50%);
}

.section_two .inside_section_two img:hover {
  transform: scale(0.6);
}

.section_two .inside_section_two span {
  padding-top: 50px;
  width: 100%;
  height: 70vh;
  position: absolute;
  z-index: 300;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: rgb(165, 165, 255);
  text-shadow: 0px 0px 30px black;
}

.section_two .inside_section_two form {
  position: absolute;
  margin-top: 80px;
  z-index: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: -400px;
}

.section_two .inside_section_two form .h_img {
  width: 50%;
  height: 100px;
  margin-bottom: 60px;
  filter: brightness(200%);
  pointer-events: none;
  transform: scaleX(-1); /* 🔥 Flip horizontally */
  transition: all ease-in-out 0.7s;
}

.section_two .inside_section_two form input {
  width: 450px;
  height: 70px;
  color: rgb(177, 177, 177);
  padding: 1rem;
  font-size: large;
  border: 3px solid gray;
  pointer-events: all;
  margin-bottom: 100px;
  z-index: 600;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
  background: #282828;
  transition: all ease-in-out 0.7s;
}

.section_two .inside_section_two form input:focus {
  outline: none;
  background: black;
  transition: ease-in-out all 0.7s;
}

.section_two .inside_section_two form button {
  width: 200px;
  height: 60px;
  font-size: large;
  border-left: 2px solid rgb(165, 165, 255);
  border-right: 2px solid rgb(165, 165, 255);
  border-bottom: 0;
  border-top: 0;
  transition: all ease-in-out 0.7s;
}

.section_two .inside_section_two form button:hover {
  transform: translateY(-5px);
  transition: all ease-in-out 0.1s;
}

@media all and (max-width: 900px) {
  .section_two .inside_section_two form input {
    width: 80%;
    height: 50px;
    font-size: medium;
    margin-bottom: 60px;
  }

  .section_two .inside_section_two form .h_img {
    width: 70%;
    height: 80px;
    margin-bottom: 40px;
  }

  .section_two .inside_section_two form button {
    width: 150px;
    height: 50px;
    font-size: medium;
  }
}

@media all and (max-width: 300px) {
  .section_one div .what_we_make span {
    font-size: 3em;
    margin-left: 20px;
    margin-top: 10px;
  }
  .section_one .inside_section_one .cards .card {
    width: 70%;
    height: auto;
  }
}

/* ===== Responsive Testimonials: replace your existing testimonials CSS with this ===== */

.testimonials {
  width: 100%;
  background: #000;
  position: relative;
  padding: 40px 20px; /* spacing so footer won't overlap */
  box-sizing: border-box;
  /* let content determine height */
  min-height: 100px;
}

/* Title */
.testimonials .testimonials_title {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 24px;
}

.testimonials .testimonials_title span {
  /* responsive heading size */
  font-size: clamp(28px, 8vw, 64px);
  font-weight: 800;
  color: rgb(165, 165, 255);
  margin-left: 20px;
  margin-top: 8px;
  line-height: 1;
  position: relative;
}

/* decorative underline */
.testimonials .testimonials_title span::after {
  content: '';
  width: 240px;
  height: 6px; /* smaller on mobile */
  background: linear-gradient(
    90deg,
    rgba(165, 165, 255, 0.9),
    rgba(111, 111, 255, 0.6)
  );
  position: absolute;
  z-index: 1;
  bottom: -10px;
  left: 0;
  border-radius: 3px;
}

/* Content grid: responsive using auto-fit */
.testimonials .testimonials_content {
  width: 100%;
  background: transparent;
  position: relative; /* keep in flow */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px; /* gap between cards */
  padding: 20px;
  box-sizing: border-box;
  justify-items: center;
  align-items: start;
}

/* Card */
.testimonials .testimonials_content .card_testimonial {
  width: 100%;
  max-width: 720px; /* limits on large screens */
  background: rgb(34, 34, 34);
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  gap: 18px;
  align-items: stretch;
  border-left: 3px solid rgb(165, 165, 255);
  border-right: 3px solid rgb(165, 165, 255);
  padding: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: transform 300ms ease, box-shadow 300ms ease;
  margin: 0;
}

/* Hover effect for non-touch devices */
@media (hover: hover) and (pointer: fine) {
  .testimonials .testimonials_content .card_testimonial:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  }
}

/* Card internal layout */
.card_testimonial > div {
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: center;
}

/* Image column */
.testimonials .testimonials_content .card_testimonial .img_one {
  flex: 0 0 36%; /* image column width on larger screens */
  max-width: 36%;
  height: 160px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.testimonials .testimonials_content .card_testimonial .img_one img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

/* Text column */
.testimonials .testimonials_content .card_testimonial .span_text {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding-right: 8px;
}

.testimonials .testimonials_content .card_testimonial .span_text span {
  color: rgb(220, 220, 220);
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.2px;
  display: block;
  max-height: 12em; /* prevents extreme overflow */
  overflow: hidden;
}

/* Make cards stack on small screens */
@media all and (max-width: 820px) {
  .testimonials .testimonials_content .card_testimonial {
    flex-direction: column;
    align-items: center;
    padding: 12px;
  }

  .testimonials .testimonials_content .card_testimonial .img_one {
    width: 0%;
    max-width: 360px;
    height: 180px;
    flex: 0 0 auto;
    margin: 0 auto;
  }

  .testimonials .testimonials_content .card_testimonial .span_text {
    padding: 12px 10px 6px;
    text-align: center;
  }

  .testimonials .testimonials_title {
    margin-bottom: 12px;
  }

  .testimonials .testimonials_title span {
    margin-left: 12px;
    margin-top: 4px;
  }
}

/* Small phones adjustments */
@media all and (max-width: 420px) {
  .testimonials {
    padding: 28px 12px;
  }

  .testimonials .testimonials_content {
    gap: 18px;
    padding: 12px;
  }

  .testimonials .testimonials_title span::after {
    width: 160px;
    height: 6px;
    bottom: -8px;
  }

  .testimonials .testimonials_content .card_testimonial .img_one {
    height: 150px;
  }

  .testimonials .testimonials_content .card_testimonial .span_text span {
    font-size: 14px;
    max-height: 10em;
  }
}

/* Utility: hide elements (you used .hidden in HTML) */
.card_testimonial.hidden {
  display: none !important;
}

@media all and (max-width: 900px) {
  .testimonials {
    height: 100vh;
  }
  .testimonials .testimonials_title span {
    font-size: 4em;
    margin-left: 30px;
    margin-top: 20px;
  }

  .testimonials .testimonials_content .hidden {
    display: none;
  }
}

@media all and (max-width: 600px) {
  .testimonials {
    height: 100vh;
  }
  .testimonials .testimonials_content .hidden {
    display: none;
  }
}

@media all and (max-width: 400px) {
  .wrapper_2 {
    display: none;
  }
  .testimonials {
    height: 80vh;
  }

  .testimonials .testimonials_content {
    padding: 50px 20px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    row-gap: 4em;
  }
}

/* Responsive footer (drop-in replacement) */
footer {
  width: 100%;
  background: rgb(165, 165, 255);
  display: flex;
  justify-content: center; /* center the inner container */
  align-items: center;
  padding: 28px 16px; /* use padding instead of fixed height */
  box-sizing: border-box;
  position: relative;
}

footer .inside_footer {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

/* logo / image row */
footer .inside_footer .footer_img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-bottom: 10px;
  border-bottom: 1px solid darkblue;
}

/* logo image */
footer .inside_footer .footer_img img {
  width: 140px;
  max-width: 36%;
  height: auto;
  filter: drop-shadow(0px 0px 30px rgba(0, 0, 0, 0.4));
}

/* social icons row */
footer .social_icons_footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  flex-wrap: wrap; /* wrap on small screens */
  box-sizing: border-box;
}

footer .inside_footer .social_icons_footer i {
  font-size: 28px;
  padding: 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, color 180ms ease;
  cursor: pointer;
  user-select: none;
}

footer .inside_footer .social_icons_footer i:hover,
footer .inside_footer .social_icons_footer i:focus {
  transform: translateY(-4px);
  color: #05050a;
}

/* bottom text row */
footer .inside_footer .footer_bottom {
  width: 100%;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 6px;
  box-sizing: border-box;
}

/* text styles */
footer .inside_footer .footer_bottom .span_text {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  margin-right: 8px;
  color: #05050a;
}

footer .inside_footer .footer_bottom span {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #05050a;
}

footer .inside_footer .srinivas_gundam {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 8px;
  color: darkblue;
}

/* small screen adjustments */
@media (max-width: 900px) {
  footer .inside_footer .footer_img img {
    width: 110px;
  }

  footer .inside_footer .social_icons_footer i {
    font-size: 26px;
    padding: 12px;
  }

  footer .inside_footer .footer_bottom .span_text,
  footer .inside_footer .srinivas_gundam {
    font-size: 14px;
  }
}

/* phones */
@media (max-width: 480px) {
  footer {
    padding: 20px 12px;
  }

  footer .inside_footer {
    gap: 12px;
  }

  footer .inside_footer .footer_img {
    padding-bottom: 8px;
  }

  footer .inside_footer .footer_img img {
    width: 90px;
  }

  footer .inside_footer .social_icons_footer i {
    font-size: 22px;
    padding: 10px;
  }

  footer .inside_footer .footer_bottom {
    gap: 6px;
    padding-top: 8px;
  }

  footer .inside_footer .footer_bottom span,
  footer .inside_footer .footer_bottom .span_text,
  footer .inside_footer .srinivas_gundam {
    font-size: 12px;
  }
}

@media all and (max-width: 900px) {
  footer {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: auto;
    padding: 28px 0;
  }
}

/* ===== Our Missions page (mobile-first) ===== */
.missions_page {
  padding-top: 100px;
  background: linear-gradient(180deg, #05050a 0%, #040406 100%);
  color: #e7e7ee;
  min-height: 100vh;
  font-family: 'Outfit', sans-serif;
}

.missions_hero {
  padding: 2rem 1rem;
  text-align: center;
}
.missions_hero_inner h1 {
  font-size: clamp(28px, 9vw, 56px);
  color: #a5a5ff;
  text-transform: uppercase;
  letter-spacing: 0.6rem;
  margin-bottom: 0.6rem;
}
.missions_hero_inner .lead {
  color: #d9d9ee;
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
}

/* KPI row */
.missions_overview {
  padding: 1rem;
}
.kpi_row {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.kpi {
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: 8px;
  flex: 1;
  text-align: center;
  border-left: 4px solid rgba(165, 165, 255, 0.12);
}
.kpi h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 6px;
}
.kpi p {
  color: #d7d7e3;
  font-size: 13px;
}

/* Reports controls */
.annual_reports {
  padding: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.reports_controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.report_tab {
  background: rgba(255, 255, 255, 0.02);
  border: none;
  padding: 10px 14px;
  color: #e7e7ee;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 700;
}
.report_tab.active {
  background: linear-gradient(90deg, #6f6fff, #a5a5ff);
  color: #05050a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Panels */
.reports_wrap {
  background: transparent;
}
.report_panel {
  display: none;
  padding: 0.5rem 0;
}
.report_panel.active {
  display: block;
}
.year_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.year_card {
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid rgba(165, 165, 255, 0.12);
}
.year_card h4 {
  color: #fff;
  margin-bottom: 6px;
  font-size: 16px;
}
.year_card p {
  color: #d7d7e3;
  font-size: 14px;
  line-height: 1.6;
}

/* Timeline */
.missions_timeline {
  padding: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.timeline_item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid rgba(165, 165, 255, 0.12);
}
.t_year {
  font-weight: 800;
  color: #a5a5ff;
  min-width: 72px;
}
.t_content h4 {
  margin: 0 0 6px 0;
  color: #fff;
}
.t_content p {
  margin: 0;
  color: #d7d7e3;
  font-size: 14px;
  line-height: 1.6;
}

/* Ethics */
.missions_ethics {
  padding: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.missions_ethics .ethos {
  color: #d7d7e3;
  line-height: 1.6;
}

/* CTA */
.missions_cta {
  padding: 1.25rem;
  text-align: center;
}
.missions_subscribe {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.missions_subscribe input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.06);
  background: #1b1b1b;
  color: #fff;
  min-width: 220px;
}
.missions_subscribe button {
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #6f6fff, #a5a5ff);
  border: none;
  color: #05050a;
  font-weight: 700;
  cursor: pointer;
}

/* ===== Larger screens ===== */
@media (min-width: 720px) {
  .kpi_row {
    gap: 1.2rem;
  }
  .year_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    gap: 18px;
  }
}

@media (min-width: 1100px) {
  .year_grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .missions_hero_inner h1 {
    font-size: 64px;
    letter-spacing: 1.2rem;
  }
  .kpi h3 {
    font-size: 36px;
  }
}

/* Small phones: force cards to 100x100 on screens <= 400px */
@media (max-width: 400px) {
  /* Make the cards compact */
  body .section_one .inside_section_one .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 16px;
    height: auto; /* let content size itself */
  }

  body .section_one .inside_section_one .cards .card {
    width: 200px !important;
    height: 200px !important;
    min-width: 100px;
    min-height: 100px;
    border-left: 2px solid rgb(165, 165, 255);
    border-right: 2px solid rgb(165, 165, 255);
    border-radius: 6px;
    overflow: hidden;
    transition: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  /* Make images fill the small card and keep aspect ratio */
  .section_one .inside_section_one .cards .card div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: none;
  }

  /* Hide large overlay text inside the card to avoid overflow */
  .section_one .inside_section_one .cards .card div span {
    display: none;
  }

  /* Reduce title size and margins */
  .section_one div .what_we_make span {
    font-size: 2.2em;
    margin-left: 12px;
    margin-top: 10px;
  }

  /* Make wrapper elements fit small screen */
  .wrapper,
  .wrapper_2 {
    width: 92% !important;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Reduce testimonial spacing for tiny viewports */
  .testimonials {
    width: 100%;
    height: 80vh;
    padding: 20px 12px;
  }

  .testimonials .testimonials_title span {
    font-size: clamp(20px, 6vw, 36px);
    margin-left: 8px;
    margin-top: 6px;
  }
}
