/* =========================================================
   KITOVU CLASS 2024–2027
   Full Website Styling
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #07111f;
  color: #f4f7fb;
  line-height: 1.7;
  overflow-x: hidden;
}

/* =========================================================
   BACKGROUND
   ========================================================= */

.background {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(38, 119, 255, 0.16), transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(0, 214, 255, 0.12), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(91, 55, 255, 0.12), transparent 32%),
    linear-gradient(135deg, #030914 0%, #07111f 45%, #0a1628 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.glow-1 {
  width: 300px;
  height: 300px;
  top: 5%;
  left: -100px;
  background: #1769ff;
}

.glow-2 {
  width: 350px;
  height: 350px;
  top: 45%;
  right: -120px;
  background: #00b7ff;
}

.glow-3 {
  width: 280px;
  height: 280px;
  bottom: -80px;
  left: 35%;
  background: #673cff;
}

.stars {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 90px 90px, 140px 140px;
  background-position: 10px 20px, 60px 80px;
}

/* =========================================================
   GENERAL
   ========================================================= */

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-dark {
  background: rgba(2, 9, 18, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 22px;
}

p {
  color: #b8c5d6;
}

.eyebrow {
  color: #55c7ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-bottom: 16px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(3, 9, 18, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.logo span {
  color: #55c7ff;
  margin-left: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: #dce8f5;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: #55c7ff;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 76px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 950;
  line-height: 0.95;
  margin-bottom: 28px;
  text-shadow: 0 0 50px rgba(75, 180, 255, 0.12);
}

.hero h1 span {
  background: linear-gradient(90deg, #ffffff, #55c7ff, #8c7cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.3s ease;
}

.btn-primary {
  color: #03101d;
  background: linear-gradient(135deg, #55c7ff, #8ce6ff);
  box-shadow: 0 10px 35px rgba(50, 180, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 45px rgba(50, 180, 255, 0.38);
}

.btn-ghost {
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  transform: translateY(-4px);
  border-color: rgba(85,199,255,0.7);
  background: rgba(85,199,255,0.1);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
}

.orb-one {
  width: 280px;
  height: 280px;
  left: -100px;
  top: 25%;
  background: radial-gradient(circle, #227aff, transparent 70%);
}

.orb-two {
  width: 350px;
  height: 350px;
  right: -120px;
  bottom: 10%;
  background: radial-gradient(circle, #00c8ff, transparent 70%);
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #8fa4bc;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

/* =========================================================
   ABOUT
   ========================================================= */

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: center;
}

.two-col h2 {
  max-width: 650px;
}

.two-col p {
  margin-bottom: 18px;
  max-width: 700px;
}

.stats-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.stats-card > div {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.stats-card strong {
  display: block;
  font-size: 2.3rem;
  color: #55c7ff;
}

.stats-card span {
  color: #aebed0;
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-heading {
  max-width: 700px;
  margin-bottom: 50px;
}

.section-heading p:last-child {
  margin-top: 10px;
}

/* =========================================================
   CARDS
   ========================================================= */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  padding: 30px 24px;
  min-height: 250px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.025)
    );
  backdrop-filter: blur(15px);
  transition: 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(85,199,255,0.4);
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 35px;
  color: #55c7ff;
  font-weight: 900;
  font-size: 0.85rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* =========================================================
   TIMELINE
   ========================================================= */

.timeline {
  position: relative;
  max-width: 850px;
  margin: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 92px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(85,199,255,0.5),
    transparent
  );
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 35px;
  padding: 30px 0;
}

.timeline-item > span {
  color: #55c7ff;
  font-weight: 900;
  font-size: 1.1rem;
}

.timeline-item > div {
  padding: 25px;
  border-radius: 20px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.07);
}

.timeline-item h3 {
  margin-bottom: 10px;
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  min-height: 240px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(
      145deg,
      rgba(40,100,180,0.35),
      rgba(20,30,60,0.8)
    );
  transition: 0.35s ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(85,199,255,0.28),
      transparent 35%
    );
}

.gallery-item:hover {
  transform: scale(1.025);
  border-color: rgba(85,199,255,0.45);
}

.gallery-item span {
  position: relative;
  z-index: 2;
  font-weight: 900;
  letter-spacing: 0.12em;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(15px);
}

.contact-card a {
  color: #dce8f5;
  text-decoration: none;
  padding: 12px;
  border-radius: 12px;
  transition: 0.25s ease;
}

.contact-card a:hover {
  color: #55c7ff;
  background: rgba(85,199,255,0.07);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: rgba(1,5,12,0.8);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  font-size: 0.85rem;
}

.footer-inner a {
  color: #55c7ff;
  text-decoration: none;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  animation: reveal 0.8s ease forwards;
}

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

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .nav-links {
    position: absolute;
    top: 76px;
    left: 5%;
    right: 5%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 18px;
    background: rgba(3,9,18,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: rgba(85,199,255,0.08);
  }

  .menu-toggle {
    display: block;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 560px) {

  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: 92vh;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 15vw, 5rem);
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cards,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    min-height: 210px;
  }

  .timeline::before {
    left: 18px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 45px;
  }

  .timeline-item > span {
    position: relative;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 25px 0;
  }

}@keyframes float{50%{transform:translateY(-25px) translateX(12px)}}
@media(max-width:850px){.nav-links{display:none;position:absolute;top:74px;left:0;width:100%;padding:20px;background:#0b1220;flex-direction:column}.nav-links.open{display:flex}.menu-toggle{display:block}.cards{grid-template-columns:repeat(2,1fr)}.two-col,.contact-grid{grid-template-columns:1fr;gap:40px}.gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.cards,.gallery{grid-template-columns:1fr}.timeline-item{grid-template-columns:65px 1fr;gap:16px}.footer-inner{flex-direction:column}.hero-text{font-size:1rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{transition:none}.hero-orb{animation:none}.btn,.card,.gallery-item{transition:none}}
