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






/* === GLOBAL === */
body {
  font-family: 'General Sans', sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  padding: 0 2rem;
}

/* Light Mode */
body.light {
  background-color: #fdfdfd;
  color: #111;
}

/* Dark Mode */
body.dark {
  background-color: #0c0c0c;
  color: #f1f1f1;
}

body.light .theme-toggle img {
  filter: brightness(0.2); /* makes icon darker */
}


/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  margin: 1.5rem auto;
  max-width: 1200px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 1rem;
  z-index: 999;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo {
  transition: filter 0.4s ease;
}

body.dark .logo {
  filter: invert(1);
}


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

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: inherit;
  opacity: 0.8;
  transition: 0.25s ease;
}

.nav-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}








body.light .org-tree-section h2 {
  color: #111;
}

.org-tree-section {
  padding: 6rem 2rem;
  background: transparent;
  color: white;
  text-align: center;
}

.org-tree-section h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.org-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}


/* Base org-card styling */
.org-card {
  background: #111; /* dark fallback */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.05);
  transition: 0.3s ease;
  color: #fff;
}

.org-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.org-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.org-card p {
  font-size: 0.95rem;
  opacity: 0.7;
}

/* Light mode override */
body.light .org-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #111;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

body.light .org-card p {
  color: #555;
}



/* === THEME TOGGLE === */
.theme-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.theme-toggle img {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}





/* === HERO SECTION === */
.hero {
  max-width: 1200px;
  margin: 5rem auto 10rem;
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-logo {
  width: 340px;
  max-width: 90%;
  margin: 0 auto 1.75rem auto;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInLogo 1.2s ease forwards;
  animation-delay: 0.3s;
}


@media (max-width: 768px) {
  .hero-logo {
    width: 220px;
    margin-bottom: 1.25rem;
  }
}

@keyframes fadeInLogo {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  gap: 0.75rem; /* or even 0.5rem if you want it tighter */
}


.tagline {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto;
}

.subtext {
  font-size: 1rem;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
}

.cta {
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  border: 1px solid currentColor;
  text-decoration: none;
  transition: 0.3s ease;
  width: fit-content;
  margin: 1rem auto 0;
}

.cta:hover {
  background-color: currentColor;
  color: #fff;
}

/* Fade animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* === BRAND GRID (Placeholder) === */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding-bottom: 6rem;
}

/* === BRAND CARDS === */
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* <-- subtle base */
}

.brand-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 12px;
}

.brand-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.brand-card p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.brand-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 16px rgba(255, 0, 0, 0.25),
    0 0 24px rgba(255, 0, 0, 0.3),
    inset 0 0 8px rgba(255, 0, 0, 0.2);
}


body.light .brand-card:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 0 10px rgba(255, 0, 0, 0.1);
}

body.dark .brand-card:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 16px rgba(255, 0, 0, 0.25),
    0 0 24px rgba(255, 0, 0, 0.3),
    inset 0 0 8px rgba(255, 0, 0, 0.2);
}








/* COMING SOON STYLE */
.brand-card.coming-soon {
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(100%) blur(0.5px);
  transition: 0.3s ease;
}

.brand-card.coming-soon:hover {
  transform: none;
  box-shadow: none;
}






/* === MOBILE OPTIMIZATION === */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    justify-content: space-between;
  }

  .logo {
    font-size: 1.2rem;
  }

  .theme-toggle {
    font-size: 1rem;
    padding: 0.3rem 0.5rem;
  }

  .hero {
    padding: 2rem 1rem;
    margin: 3rem auto;
    gap: 1rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .cta {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }

  .brands-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .brand-card {
    padding: 1.75rem 1.25rem;
  }

  .brand-card img {
    width: 48px;
    height: 48px;
  }

  .brand-card h3 {
    font-size: 1.1rem;
  }

  .brand-card p {
    font-size: 0.85rem;
  }
}





.logo img {
  height: 44px;
  width: auto;
  display: block;
}








.typewrite > .wrap {
  border-right: 2px solid currentColor;
  padding-right: 4px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: currentColor; }
}




/* === SCROLL FADE-UP === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}








/* === FOOTER === */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: 0.3s ease;
  filter: brightness(0); /* default: black */
}

.footer img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Switch to white in dark mode */
body.dark .footer img {
  filter: invert(1);
}

.hero-logo {
  transition: filter 0.4s ease;
}

body.dark .hero-logo {
  filter: invert(1);
}





.made-with-love {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  font-size: 0.85rem;
  color: inherit;
  z-index: 9999;
  transition: all 0.3s ease;
}

.made-with-love a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
}

body.dark .made-with-love a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;}

.made-with-love:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 224, 0.1);
}




.brand-group-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  padding: 0 1rem;
  color: currentColor;
}
.brands-group {
  margin-bottom: 4rem;
}



.org-card .bio {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 0.5rem;
  line-height: 1.4;
}


.bio {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 0.5rem;
  line-height: 1.4;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  overflow: hidden;
}

.hidden-on-load {
  max-height: 0;
  opacity: 0;
}

.show-bio {
  max-height: 200px;
  opacity: 1;
}
