:root {
  --orange: #ff6b35;
  --purple: #6b4ee6;
  --yellow: #ffd23f;
  --green: #4caf50;
  --red: #e91e63;
  --black: #1a1a1a;
  --white: #ffffff;
  --bg-page: #f0f2f9;
  --bg-visual: linear-gradient(135deg, #4a32a8 0%, #6b4ee6 100%);
  --gray-light: #e0e0e0;
  --gray-text: #666677;
  --border-width: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* --- CSS VARIABLES & RESET --- */
:root {
  --comic-black: #1a1a1a;
  --comic-white: #ffffff;
  --comic-accent: #ffde00; /* Cyber Yellow */
  --comic-blue: #2d5bff;
  --border-width: 4px;
  --shadow-offset: 6px;
  --font-main: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: #f0f0f0;
  min-height: 200vh;
}

/* --- NAVBAR CONTAINER --- */
.comic-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

/* --- LOGO --- */
.nav-logo {
  display: flex;
  align-items: center; /* Vertically centers the logo */
  padding: 10px 20px;
}

.nav-logo img {
  height: 70px; /* Set a fixed height */
  width: auto; /* Keeps the aspect ratio perfect */
  display: block; /* Removes extra bottom whitespace */
  transition: transform 0.3s ease; /* Smooth hover effect */
  background-color: white;
  cursor: pointer;
  border: 4px solid;
  border-color: black;
}

/* Optional: Add a hover effect */
.nav-logo img:hover {
  transform: scale(1.05);
}

/* --- DESKTOP MENU --- */
.nav-menu-wrapper {
  display: none;
}

/* --- HAMBURGER BUTTON --- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 50px;
  height: 50px;
  background: var(--comic-accent);
  border: var(--border-width) solid var(--comic-black);
  box-shadow: 4px 4px 0px var(--comic-black);
  cursor: pointer;
  padding: 10px;
  z-index: 3001; /* Above the overlay */
  transition: var(--transition-fast);
}

.nav-toggle:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--comic-black);
}

.burger-line {
  width: 100%;
  height: 5px;
  background: var(--comic-black);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  transform-origin: center;
}

.nav-toggle.is-active .line-1 {
  transform: translateY(10px) rotate(45deg);
}
.nav-toggle.is-active .line-2 {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.is-active .line-3 {
  transform: translateY(-10px) rotate(-45deg);
}

/* --- FULL SCREEN MOBILE OVERLAY --- */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--comic-white);
  visibility: hidden;
  opacity: 0;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto; /* Allow scrolling if menu is taller than screen */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.is-active {
  visibility: visible;
  opacity: 1;
}

/* The Content Panel */
.mobile-panel {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Items start from top */
  align-items: center;
  gap: 15px;
  padding-top: 130px; /* Forces menu below the 50px + padding logo area */
  padding-bottom: 50px;
  background-color: var(--comic-white);
  background-image: radial-gradient(var(--comic-black) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center;
}

.mobile-link {
  font-size: 1.8rem; /* Slightly smaller to fit better */
  font-weight: 900;
  text-decoration: none;
  color: var(--comic-black);
  text-transform: uppercase;
  padding: 12px 20px;
  background: var(--comic-white);
  border: var(--border-width) solid var(--comic-black);
  box-shadow: 6px 6px 0 var(--comic-black);
  transition: var(--transition-fast);
  width: 85%;
  max-width: 300px;
  text-align: center;
  position: relative;
}

.mobile-link:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--comic-black);
}

.mobile-cta {
  background: var(--comic-blue);
  color: var(--comic-white);
  margin-top: 5px;
}

/* --- DESKTOP MEDIA QUERIES --- */
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
  .mobile-overlay {
    display: none;
  }

  .nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .nav-desktop-list {
    display: flex;
    list-style: none;
    background: var(--comic-black);
    padding: 4px;
    gap: 4px;
    border: var(--border-width) solid var(--comic-black);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 rgba(0, 0, 0, 0.15);
  }

  .nav-item {
    background: var(--comic-white);
    padding: 10px 25px;
    position: relative;
    transition: var(--transition-fast);
    cursor: pointer;
  }

  .nav-item a {
    text-decoration: none;
    color: var(--comic-black);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .nav-item:hover {
    transform: translateY(-3px);
    background: var(--comic-accent);
  }

  .nav-cta-desktop {
    background: var(--comic-accent);
    border: var(--border-width) solid var(--comic-black);
    padding: 12px 28px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--comic-black);
    text-decoration: none;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--comic-black);
    transition: var(--transition-fast);
  }

  .nav-cta-desktop:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--comic-black);
    background: var(--comic-white);
  }
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}
body {
  background-color: var(--bg-page);
  color: var(--black);
  line-height: 1.5;
  font-size: 16px;
}

/* --- MOBILE-FIRST UTILS --- */
.container {
  width: 100%;
  padding: 60px 20px;
  margin: 0 auto;
  max-width: 1200px;
}

@media (min-width: 768px) {
  .container {
    padding: 100px 40px;
  }
}

.comic-border {
  border: var(--border-width) solid var(--black);
  box-shadow: 6px 6px 0px var(--black);
}

@media (min-width: 768px) {
  .comic-border {
    box-shadow: 8px 8px 0px var(--black);
  }
}

h1,
h2,
h3 {
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
}

section {
  opacity: 1;
  transform: translateY(0px);
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-visual);
  color: var(--white);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  padding: 20px;
  text-align: center;
}

.hero-content {
  z-index: 2;
  width: 100%;
}

.hero-title {
  font-size: clamp(2.5rem, 12vw, 6rem);
  margin-bottom: 15px;
  text-shadow: 3px 3px 0px var(--orange);
}

.hero-tagline {
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: 700;
  background: var(--yellow);
  color: var(--black);
  padding: 8px 16px;
  display: inline-block;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0px var(--black);
}

.hero-svg {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 250px;
  opacity: 0.6;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-svg {
    width: 400px;
    right: 5%;
    bottom: -20px;
  }
}

/* --- GRID SYSTEMS --- */
.grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .grid-layout {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

/* --- CARDS --- */
.card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 20px;
  position: relative;
}

@media (min-width: 768px) {
  .card {
    padding: 50px 40px;
  }
}

.card.vision {
  border-top: 12px solid var(--purple);
}
.card.mission {
  border-top: 12px solid var(--orange);
}

/* --- FOUNDERS SECTION --- */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .founders-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.founder-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 24px;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.founder-img-frame {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 5px solid var(--purple);
  overflow: hidden;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .founder-img-frame {
    width: 150px;
    height: 150px;
  }
}

.founder-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-role {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}

/* --- CHIPS --- */
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
  justify-content: center;
}

@media (min-width: 992px) {
  .chips-container {
    justify-content: flex-start;
  }
}

.chip {
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--white);
  border: 3px solid var(--black);
  font-weight: 800;
  font-size: 0.9rem;
  /* cursor: pointer; */
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* --- BUTTONS --- */
.btn-wrap {
  display: inline-block;
  position: relative;
  padding: 15px;
  width: 100%;
  max-width: 300px;
}

.btn-comic {
  background: var(--orange);
  color: var(--white);
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 900;
  border: 4px solid var(--black);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  box-shadow: 6px 6px 0px var(--black);
  text-decoration: none;
  display: block;
  text-align: center;
  width: 100%;
}

/* --- STATS --- */
.stats-bar {
  background: var(--black);
  color: var(--white);
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
}

@media (min-width: 640px) {
  .stats-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-item h3 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  color: var(--yellow);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 700;
}

/* --- ILLUSTRATIONS --- */
.illus-wrap {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.svg-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

/* --- OVERFLOW FIXES --- */
.comic-border-container {
  overflow: hidden; /* Prevents shadow from leaking on mobile */
  padding: 10px;
  margin: -10px;
}

:root {
  --site-bg: #ffffff; /* The rest of your website background */
  --footer-bg-area: #e2e8f0; /* New background for the grid area */
  --panel-bg: #ffffff;
  --accent-yellow: #ffd700;
  --accent-blue: #0077b6;
  --accent-red: #e63946;
  --ink-black: #1a1a1a;
  --comic-border: 4px;
  --comic-shadow: 6px 6px 0px var(--ink-black);
  --font-main: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
/* 
      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      body {
        background-color: var(--site-bg);
        font-family: var(--font-main);
        color: var(--ink-black);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
      } */

/* --- WRAPPER FOR FOOTER DIFFERENTIATION --- */
.footer-wrapper {
  background-color: var(--accent-blue);
  border-top: var(--comic-border) solid var(--ink-black);
  padding: 60px 20px;
  margin-top: auto; /* Pushes footer to bottom */
  position: relative;
}

/* --- COMIC TEXTURE UTILITIES --- */
.comic-panel {
  background-color: var(--panel-bg);
  border: var(--comic-border) solid var(--ink-black);
  box-shadow: var(--comic-shadow);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}

/* Ben-Day Dots Texture Overlay */
.comic-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--ink-black) 0.5px, transparent 0.5px);
  background-size: 8px 8px;
  opacity: 0.03;
  pointer-events: none;
}

.panel-title {
  display: inline-block;
  background: var(--ink-black);
  color: white;
  padding: 4px 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(-1deg);
  margin-bottom: 15px;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* --- FOOTER GRID STRUCTURE --- */
.comic-footer {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
  width: 100%;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .comic-footer {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }
  .brand-panel {
    grid-column: span 2;
  }
  .newsletter-panel {
    grid-column: span 2;
  }
  .links-panel {
    grid-column: span 1;
  }
  .news-panel {
    grid-column: span 1;
  }
  .address-panel {
    grid-column: span 1;
  }
  .social-panel {
    grid-column: span 1;
  }
}

/* --- BRAND PANEL --- */
.brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* .brand-logo {
        width: 60px;
        height: 60px;
        border: 3px solid var(--ink-black);
        background: var(--accent-yellow);
        margin-bottom: 15px;
        border-radius: 8px;
      } */
/* Container cleanup */
.comic-panel.brand-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  /* Removed the box */
  text-align: center;
}

/* Make the logo the star */
.brand-logo img {
  width: 100%;
  max-width: 280px; /* Increased size - adjust as needed */
  height: auto;
  display: block;
  margin: 0 auto 1.5rem auto;

  /* Smooth entrance/hover effect */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

/* Subtle hover interaction */
.brand-logo img:hover {
  transform: scale(1.05); /* Grows slightly when hovered */
}

/* The tagline below the logo */
.brand-note {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
  letter-spacing: 0.5px;
  opacity: 0.8;
  margin: 0;
}
.brand-name {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}
.brand-note {
  margin-top: 10px;
  font-style: italic;
  color: #555;
}

/* --- LINKS --- */
.links-list {
  list-style: none;
}
.links-list li {
  margin-bottom: 8px;
}
.links-list a {
  text-decoration: none;
  color: var(--ink-black);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.links-list a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* --- NEWS --- */
.news-item {
  margin-bottom: 12px;
  border-left: 3px solid var(--accent-red);
  padding-left: 10px;
}
.news-date {
  font-size: 0.7rem;
  font-weight: bold;
  color: var(--accent-red);
}
.news-headline {
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- ADDRESS --- */
address {
  font-style: normal;
  line-height: 1.6;
  font-weight: 600;
}

/* --- SOCIAL --- */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.social-icon {
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink-black);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel-bg);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}
.social-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--ink-black);
}
.social-icon:hover {
  transform: translateY(-5px) rotate(3deg);
  background: var(--accent-yellow);
  box-shadow: 4px 4px 0px var(--ink-black);
}

/* --- NEWSLETTER --- */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
@media (min-width: 600px) {
  .newsletter-form {
    flex-direction: row;
  }
}
.comic-input {
  flex: 1;
  padding: 12px 16px;
  border: 3px solid var(--ink-black);
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
}
.comic-btn {
  background: var(--accent-blue);
  color: white;
  border: 3px solid var(--ink-black);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 4px 4px 0px var(--ink-black);
  transition: all 0.1s;
  transform: skewX(-5deg);
}
.comic-btn:hover {
  background: #005f91;
  transform: skewX(-5deg) translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--ink-black);
}
.comic-btn:active {
  transform: skewX(-5deg) translate(2px, 2px);
  box-shadow: 0px 0px 0px var(--ink-black);
}

/* --- BOTTOM DIFFERENTIATION --- */
.comic-divider {
  max-width: 1200px;
  width: 100%;
  height: 4px;
  background: var(--ink-black);
  margin: 40px auto 20px auto;
  border-radius: 2px;
}

.footer-bottom {
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  opacity: 0.6;
  width: 100%;
}
