:root {
  --accent1: #9f49f0;
  --accent2: #00f;
  --muted: #bfc8dd;
}

/* Reset / utility */
* {
  box-sizing: border-box;
}
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: "Segoe UI", sans-serif;
  background-color: #0d0d0d;
  color: #eee;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header / Navbar */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  z-index: 1000;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Logo styling */
.logo {
  font-size: 1.7rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent2), var(--accent1));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

/* Nav links */
.nav {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: flex-end;
  overflow-x: auto;
}
.nav a {
  text-decoration: none;
  color: #ccc;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.3s ease;
}
.nav a:hover {
  color: #fff;
}

/* Hamburger (for mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Main / content spacing so header doesn’t cover content */
body {
  /* Increase padding-top to at least header height + margin */
  padding-top: 120px;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 120px 20px 60px;
  background: linear-gradient(180deg, #0e0f16, #0c0c12);
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--accent2);
}
.hero p {
  max-width: 760px;
  margin: 14px auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Generic section styling */
.section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 28px 20px;
  background: linear-gradient(145deg, rgba(159, 73, 240, 0.03), rgba(0, 0, 255, 0.02));
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(159, 73, 240, 0.1);
}
.section h2 {
  color: var(--accent1);
  font-size: 1.6rem;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 10px;
}
.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.section:hover h2::after {
  width: 100px;
}
.section p {
  color: #cfd8ee;
  font-size: 1.03rem;
  line-height: 1.7;
}

/* Mission / Vision cards */
.mission-vision {
  display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    padding: 30px 20px;
    /* max-width: 1000px; */
    margin: 20px auto;
    justify-items: stretch;
    align-content: stretch;
}
.card {
  flex: 0 1 380px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(159, 73, 240, 0.1), rgba(0, 0, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(159, 73, 240, 0.2);
}
.card:hover::before {
  opacity: 1;
}
.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--accent1);
  font-size: 1.2rem;
}
.card p {
  color: var(--muted);
  line-height: 1.6;
}

/* Hierarchy list and nested teams */
.hierarchy-list {
  max-width: 920px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hierarchy-list > li {
  padding: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.hierarchy-list > li:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(159, 73, 240, 0.15);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(159, 73, 240, 0.05));
}
.hierarchy-list > li > strong {
  color: var(--accent1);
  font-size: 1.1rem;
  transition: transform 0.3s ease, background-position 0.3s ease;
  background: linear-gradient(90deg, var(--accent1), #c76af6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  background-position: 0% 50%;
}
.hierarchy-list > li:hover > strong {
  transform: scale(1.02);
  background-position: 100% 50%;
}
.hierarchy-list .nested-teams {
  margin-top: 10px;
  padding-left: 1.5rem;
  list-style-type: disc;
}
.hierarchy-list .nested-teams li {
  font-size: 0.96rem;
  color: #ccc;
  margin-bottom: 6px;
  line-height: 1.5;
  padding: 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  transform: none;
}
.hierarchy-list .nested-teams strong {
  color: var(--accent1);
  transition: transform 0.3s ease, background-position 0.3s ease;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.874), #f9f9f9);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  background-position: 0% 50%;
  display: inline-block;
}
.hierarchy-list .nested-teams li:hover {
  background: rgba(159, 73, 240, 0.05);
  transform: translateX(10px);
}
.hierarchy-list .nested-teams li:hover strong {
  transform: scale(1.02);
  background-position: 100% 50%;
}

/* Footer / contact */
.contact-footer {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #eee;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-left, .footer-right {
  flex: 1;
  min-width: 250px;
}
.footer-title {
  color: var(--accent1);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.footer-links li {
  margin: 8px 0;
}
.footer-links a {
  color: #cfd8ee;
  text-decoration: none;
}
.footer-rights {
  text-align: center;
  padding: 18px 0;
  color: #9fa8c8;
  font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .header {
    width: 94%;
    padding: 8px 12px;
  }
  body {
    padding-top: 84px;
  }
  .hero {
    padding: 64px 16px 36px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  h1, h2, h3, .section h2 {
    text-align: center;
  }
  .section p, .card p {
    text-align: center;
  }
  .card {
    padding: 16px;
    height: min-content;
    flex: 1 1 100%;
    width: 100%;
    text-align: center;
  }
  .mission-vision {
    flex-direction: column;
    gap: 12px;
    padding: 15px 20px;
    width: 100%;
  }
  .hierarchy-list {
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  .header {
    width: 97%;
    padding: 6px 10px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }
  .logo {
    font-size: 1.15rem;
  }
  body {
    padding-top: 72px;
  }
  .hero {
    padding: 48px 12px 28px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  h1, h2, h3, .section h2, .footer-title {
    text-align: center;
  }
  .section p, .card p, .footer-links, .footer-rights {
    text-align: center;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .card {
    padding: 12px;
    min-height: auto;
    height: auto;
    text-align: center;
  }
  .card p {
    margin: 8px 0;
  }
  .hierarchy-list li {
    padding: 12px;
  }
  .footer-container {
    flex-direction: column;
    gap: 18px;
  }
}
