* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #f4f7fb;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.5;
  color: #1e293b;

}

/* grid effect*/
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f8f9fa;
  background-image: 
    linear-gradient(to right, #bdbdbd 1px, transparent 1px),
    linear-gradient(to bottom, #bdbdbd  1px, transparent 1px);
  background-size: 10px 10px;
  pointer-events: none; 
  z-index: -1;
}

/* top bar (header) */
.top-bar {
  background: #1e3a5f;  
  color: rgb(255, 255, 176);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.logo-text {
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.logo {
  width: 4%;
  height: auto;

}

/* Rotating Star Animation */
.star {
  width: 80px;
  height: 80px;
  background: #1e3a5f;
  margin: 0 auto;
  animation: spin 4s linear infinite;
  
  /* This creates the 4-point star shape */
  clip-path: polygon(
    50% 0%,
    61% 35%,
    100% 50%,
    61% 65%,
    50% 100%,
    39% 65%,
    0% 50%,
    39% 35%
  );
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.screenshot {
  width: 90%;
  height: auto;

}

/* tabs navigation */
.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: none;
  color: rgb(255, 255, 176);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.tab-btn.active {
  background: white;
  color: #1e3a5f;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* main content area */
.content-area {
  flex: 1;                /* pushes footer down */
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  width: 100%;
}

.content-card {
  background: rgb(238, 241, 206);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
  min-height: 280px;
}

.content-card h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #0f2b45;
}

.content-card p {
  font-size: 1.1rem;
  color: #334155;
  margin-bottom: 1rem;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.highlight {
  background: #e9f0fa;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  margin: 1.5rem 0 0.5rem;
  border-left: 4px solid #1e3a5f;
}

/* Nested / Sub tabs styling */
.sub-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.sub-tab-btn {
  background: transparent;
  border: none;
  color: #1e3a5f;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sub-tab-btn:hover {
  background: #e9f0fa;
  color: #0f2b45;
}

.sub-tab-btn.active-sub {
  background: #1e3a5f;
  color: rgb(255, 255, 176);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sub-content {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1rem 0;
  min-height: 180px;
}

.sub-content h3 {
  color: #1e3a5f;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.sub-content ul {
  margin-left: 1.5rem;
  color: #334155;
}

.sub-content li {
  margin-bottom: 0.5rem;
}

.loading {
  color: #64748b;
  font-style: italic;
}

iframe {
  max-width: 100%;
}
@media (max-width: 650px) {
  iframe {
    height: 400px;
  }
}

/* bottom bar / footer */
.bottom-bar {
  background: #03101d;    /* even deeper navy */
  color: rgb(255, 255, 176);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  border-top: 1px solid #25476e;
}

.footer-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-contact span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.footer-contact i {
  font-style: normal;
  font-weight: 500;
  color: white;
  background: #1e3a5f;
  width: 30px;
  height: 30px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* simple responsive touches */
@media (max-width: 650px) {
  .top-bar {
    flex-direction: column;
    align-items: start;
    gap: 0.8rem;
    padding: 1.2rem 1.5rem;
  }
  
  .tabs {
    width: 100%;
    justify-content: flex-start;
  }

  .bottom-bar {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .footer-contact {
    width: 100%;
    justify-content: space-between;
  }
}