/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* SPA: hide only top-level sections inside #app */
#app > section {
  display: none;
}

/* SPA: show active top-level section */
#app > section.active {
  display: block;
}





body {
  background: #0b0f2e;
  color: #eaeaea;
  scroll-behavior: smooth;
}

/* ===== LANDING ===== */
#landing {
  position: relative;            /* FIX */
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at top, #0b0f2e, #000);
  padding: 0 20px;
  overflow: hidden;              /* FIX */
}

/* landing video */
#landing video {
  position: absolute;            /* FIX */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* landing content */
#landing > div {
  position: relative;            /* FIX */
  z-index: 1;
}

#landing h1 {
  font-size: 60px;
  color: #ffffff;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

#landing p {
  font-size: 18px;
  margin: 0 auto 30px;
  max-width: 600px;
  line-height: 1.7;
  color: #5a78c5;
}

#landing button {
  padding: 14px 40px;
  font-size: 18px;
  background: orange;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

#landing button:hover {
  background: rgb(250, 197, 99);
}

/* ===== AUTH ===== */
#auth {
  display: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

#auth::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.auth-box {
  position: relative;
  z-index: 2;
  width: 380px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  background: #1d263b;
  border: 1px solid orange;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.auth-box h2 {
  text-align: center;
  color: #feffff;
  margin-bottom: 20px;
  font-size: 26px;
}

.auth-box input {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 15px;
}

.auth-box button {
  width: 100%;
  padding: 14px;
  background: orange;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.auth-box button:hover {
  background: rgb(212, 173, 99);
}

.auth-box p {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #dbe5ff;
}

.auth-box span {
  color: #d1d7dd;
  cursor: pointer;
  font-weight: bold;
}

/* ===== APP ===== */
#app {
  display: none;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1d263b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  border-bottom: 1px solid #24307a;
}

header h1 {
  color: #ffe25f;
  letter-spacing: 3px;
  font-size: 24px;
}

header button {
  background: transparent;
  border: 1px solid orange;
  color: orange;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

header button:hover {
  background: orange;
  color: #000;
}

/* ✅ FIX: video inyuma */
#auth video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ===== NAV ===== */
nav a {
  margin-left: 18px;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
}

nav a:hover {
  color: orange;
}

.programs, .why, .testimonials {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.programs {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.program-card, .why div, .testimonial {
  background: #6d7383ab;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.testimonial {
  display: flex;
  gap: 15px;
  align-items: center;
}

.testimonial img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/*footer {
  background: #0b1220;
  color: #cfd6e4;
  padding: 40px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}*/

/* ===== HERO ===== */
.hero {
  height: 100vh;
  background: 
    linear-gradient(to right, rgba(11,18,32,0.9), rgba(11,18,32,0.5)),
    url("https://i.pinimg.com/736x/05/97/00/059700d9ef514c75268975b9e19417e0.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 46px;
  color: #fff;
  margin-bottom: 15px;
}

.hero p {
  color: #cfd6e4;
  line-height: 1.7;
  margin-bottom: 25px;
}

.hero button {
  padding: 14px 28px;
  background-color: orange;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.hero button :hover {
 background-color: rgb(219, 172, 84);
}

/* ===== SECTIONS ===== */
.section {
  padding: 90px 80px;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
}

/* ===== PROGRAMS ===== */
.programs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.program-card {
  background: #203255;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.program-card h3 {
  margin-bottom: 10px;
}

/* ===== WHY US ===== */
.why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  text-align: center;
}

.why div {
  background: #203255;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial {
  background: #32385a;
  padding: 25px;
  border-radius: 14px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.testimonial img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/* === footer === */

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, #0a0f1f, #0d1b2a);
  color: #cfd8dc;
  padding: 60px 20px 20px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-logo {
  font-size: 26px;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.6;
  color: #b0bec5;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a,
.footer-column p a {
  color: #b0bec5;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover,
.footer-column p a:hover {
  color: orange;
}

.footer-socials {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials a {
  font-size: 14px;
  color: orange;
  text-decoration: none;
  border: 1px solid orange;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: rgb(241, 190, 94);
  color: #0a0f1f;
}

/* ===== BOTTOM BAR ===== */
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  color: #90a4ae;
}

.footer-legal a {
  color: #90a4ae;
  text-decoration: none;
  margin: 0 6px;
}

.footer-legal a:hover {
  color: rgb(236, 186, 93);
}

/* mingo */

/* ROBOT ICON */
#mingo-bot-icon{
  position:fixed;
  bottom:20px;
  right:20px;
  width:52px;
  height:52px;
  border-radius:50%;
  background:#1b2c42;
  color:#000000;
  font-size:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,.3);
  z-index:9999;
}

/* CHAT */
#mingo-chat{
  position:fixed;
  bottom:20px;
  right:20px;
  width:280px;
  background:#949393;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  font-family:system-ui;
  overflow:hidden;
  display:none;
  z-index:10000;
}

#chat-header{
  background:#436797;
  color:#000000;
  padding:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
}

#chat-header button{
  background:none;
  border:none;
  color:#000000;
  font-size:16px;
  cursor:pointer;
}

#chat-body{
  height:220px;
  padding:10px;
  overflow-y:auto;
  background:#375980;
}

#chat-input{
  display:flex;
  border-top:1px solid #ddd;
}

#chat-input input{
  flex:1;
  padding:8px;
  border:none;
  outline:none;
}

#chat-input button{
  width:40px;
  border:none;
  background:#1a73e8;
  color:#000000;
  cursor:pointer;
}

/* CHAT BUBBLES */
.bot,.user{
  padding:6px 10px;
  margin-bottom:6px;
  border-radius:8px;
  font-size:13px;
  max-width:85%;
}

.bot{background:#5376ac}
.user{
  background:#5374a3;
  color:#000000;
  margin-left:auto;
}

a {
  text-decoration: none;
  color: inherit;
}
/* success */

/* ===== FILTER ===== */
.filters{
  display:flex;
  justify-content:center;
  gap:15px;
  margin:40px 0;
}

.filters button{
  padding:10px 22px;
  border-radius:20px;
  border:1px solid orange;
  background:transparent;
  color:orange;
  cursor:pointer;
}

.filters button.active,
.filters button:hover{
  background:orange;
  color:#000;
}

/* ===== GRID ===== */
.container{
  max-width:1200px;
  margin:auto;
  padding:0 20px 80px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

/* ===== CARD ===== */
.card{
  background:#1d263b;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,.4);
  transition:transform .3s;
}

.card:hover{
  transform:translateY(-6px);
}

.card img{
  width:100%;
  height:160px;
  object-fit:cover;
}

.card-body{
  padding:20px;
}

.card-body h3{
  margin-bottom:8px;
}

.badge{
  display:inline-block;
  padding:4px 10px;
  font-size:12px;
  border-radius:12px;
  background:#2e3a5c;
  color:#9fb4ff;
  margin-bottom:10px;
}

.tech{
  font-size:13px;
  color:#cfd6ff;
  margin:8px 0;
}

.domain{
  font-size:14px;
  color:orange;
  margin-bottom:12px;
}

.card-body a{
  display:inline-block;
  padding:8px 16px;
  border:1px solid orange;
  border-radius:6px;
  color:orange;
  text-decoration:none;
  font-size:14px;
}

.card-body a:hover{
  background:orange;
  color:#000;
}
