/* =====================
   GLOBAL STYLES
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #0a0a14;
  color: #eee;
  line-height: 1.6;
}

section {
  padding: 50px 20px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

h1,
h2,
h3 {
  font-family: "Orbitron", sans-serif;
}

h2 {
  font-size: 34px;
  text-align: center;
  margin-bottom: 25px;
  color: #7df9ff;
}

p {
  color: #cfcfe6;
}

a {
  text-decoration: none;
  color: #cfcfe6;
}
/* =====================
   TOP BANNER
===================== */
.topbar {
  background: linear-gradient(90deg, #264f52, #7a5cff);
  color: #000;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

.topbar-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: "Orbitron", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.topbar-info {
  flex: 1;
  text-align: right;
  color: #a5deff;
}

@media (max-width: 768px) {
  .topbar {
    padding: 8px 15px;
  }
  .topbar .container {
    gap: 10px;
  }
  .topbar-logo img {
    height: 40px;
  }
  .logo-text {
    font-size: 12px;
  }
  .topbar-info {
    text-align: right;
    font-size: 11px;
  }
}

/* =====================
   HERO SECTION
===================== */
.hero {
  background: url("./images/hero.webp") center/cover no-repeat;
  text-align: center;
  padding: 20px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 20, 0.75);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 15px;
  color: #fff;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  margin: 10px;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary {
  background: #00eaff;
  color: #000;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-outline {
  border: 2px solid #00eaff;
  color: #00eaff;
}

.btn-outline:hover {
  background: #00eaff;
  color: #000;
}

/* =====================
   ABOUT SECTION
===================== */
.features {
  display: flex;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.feature {
  background: #111122;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  width: 300px;
  transition: 0.3s;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px #00eaff55;
}

.feature span {
  font-size: 40px;
}

/* =====================
   LEARN SECTION
===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: #13132a;
  padding: 25px;
  border-radius: 14px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px #7a5cff66;
}

/* =====================
   SELECTION PROCESS SECTION
===================== */
.process-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  position: relative;
}

.process-card {
  background: linear-gradient(135deg, #1a1a4d 0%, #2d1b4e 100%);
  padding: 40px 30px;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00eaff44, #7a5cff44);
  opacity: 0;
  transition: opacity 0.4s;
}

.process-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: #00eaff;
  box-shadow:
    0 15px 45px #7a5cff55,
    inset 0 1px 0 #00eaff55;
}

.process-card:hover::before {
  opacity: 1;
}

.process-card-number {
  position: relative;
  z-index: 2;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00eaff, #7df9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: bold;
  color: #050510;
  box-shadow: 0 0 30px #00eaff66;
}

.process-card-icon {
  position: relative;
  z-index: 2;
  font-size: 48px;
  margin-bottom: 15px;
}

.process-card h3 {
  position: relative;
  z-index: 2;
  font-size: 18px;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.process-card p {
  position: relative;
  z-index: 2;
  color: #cfcfe6;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .process-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-card {
    padding: 30px 20px;
  }
}

/* =====================
   WHO SHOULD APPLY SECTION
===================== */
.criteria-list {
  max-width: 850px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.criteria-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0;
  position: relative;
}

.criteria-text {
  flex: 1;
  padding: 18px 20px 18px 25px;
  margin-left: 0;
  background: linear-gradient(135deg, rgba(26, 26, 77, 0.5), rgba(45, 27, 78, 0.5));
  border-left: 3px solid #7a5cff;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.criteria-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #00eaff22, #7a5cff22);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.criteria-item:hover .criteria-text {
  background: linear-gradient(135deg, rgba(26, 26, 77, 0.8), rgba(45, 27, 78, 0.8));
  border-left-color: #00eaff;
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(122, 92, 255, 0.3);
}

.criteria-item:hover .criteria-text::before {
  opacity: 1;
}

.criteria-text h4 {
  font-family: "Orbitron", sans-serif;
  color: #00eaff;
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.criteria-text p {
  color: #cfcfe6;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .criteria-list {
    gap: 15px;
  }
  .criteria-text {
    padding: 15px 15px 15px 20px;
    margin-left: 0;
  }
}

/* =====================
   FORM SECTION
===================== */
.apply-section {
  max-width: 700px;
  margin: 50px auto 0;
}

.apply-card {
  background: linear-gradient(135deg, #1a1a4d 0%, #2d1b4e 100%);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.apply-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00eaff44, #7a5cff44);
  opacity: 0;
  transition: opacity 0.4s;
}

.apply-card:hover {
  border-color: #00eaff;
  box-shadow:
    0 20px 60px #7a5cff55,
    inset 0 1px 0 #00eaff55;
  transform: translateY(-8px);
}

.apply-card:hover::before {
  opacity: 1;
}

.apply-card-content {
  position: relative;
  z-index: 2;
}

.apply-icon {
  font-size: 56px;
  margin-bottom: 20px;
  display: inline-block;
}

.apply-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  color: #7df9ff;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.apply-card p {
  color: #cfcfe6;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.apply-btn {
  display: inline-block;
  padding: 16px 50px;
  background: linear-gradient(135deg, #7a5cff, #00eaff);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  letter-spacing: 0.5px;
}

.apply-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.apply-btn:hover {
  box-shadow: 0 10px 30px #7a5cff77;
  transform: scale(1.05);
}

.apply-btn:hover::before {
  left: 100%;
}

.apply-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 35px;
  padding-top: 30px;
  border-top: 1px solid rgba(122, 92, 255, 0.3);
  position: relative;
  z-index: 2;
}

.apply-feature {
  flex: 1;
  font-size: 13px;
}

.apply-feature-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.apply-feature-text {
  color: #cfcfe6;
  font-size: 12px;
}

@media (max-width: 768px) {
  .apply-card {
    padding: 40px 25px;
  }
  .apply-card h3 {
    font-size: 24px;
  }
  .apply-features {
    gap: 15px;
  }
}

form {
  max-width: 600px;
  margin: 40px auto 0;
}

input,
select {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  background: #16162b;
  color: white;
}

button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 30px;
  background: #7a5cff;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #00eaff;
  color: #000;
}

.error {
  color: #ff6b6b;
  font-size: 14px;
  margin-bottom: 10px;
  display: none;
}

.text-center {
  text-align: center;
}

/* =====================
   FOOTER
===================== */
footer {
  background: #050510;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

.social a {
  color: #7df9ff;
  margin: 0 10px;
  text-decoration: none;
}

.social a:hover {
  text-decoration: underline;
}

/* =====================
   RESPONSIVE TEXT
===================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 28px;
  }
}
