:root {
  --primary: #0a192f;
  --primary-light: #112240;
  --secondary: #6c63ff;
  --accent: #64ffda;
  --text-main: #ccd6f6;
  --text-muted: #8892b0;
  --white: #e6f1ff;
  --glass: rgba(17, 34, 64, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --gradient: linear-gradient(135deg, #6c63ff 0%, #4f46e5 100%);
  --shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
  --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  --font-main: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  background-color: var(--primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  color: var(--accent);
  font-family: var(--font-main);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 4px;
  font-family: var(--font-main);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-primary:hover {
  background: rgba(100, 255, 218, 0.1);
  transform: translateY(-3px);
}

.btn-secondary {
  color: var(--white);
}

.btn-secondary:hover {
  color: var(--accent);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-outline {
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: var(--white);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 15px 0;
  box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-main);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  color: var(--accent);
}

.highlight {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.nav-links a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  cursor: pointer;
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.15) 0%, rgba(10, 25, 47, 0) 50%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 50px;
  color: var(--accent);
  font-family: var(--font-main);
  font-size: 14px;
  margin-bottom: 20px;
  background: rgba(100, 255, 218, 0.05);
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    top: 10px;
    opacity: 1;
  }

  100% {
    top: 30px;
    opacity: 0;
  }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.about-card {
  background: var(--primary-light);
  padding: 40px 30px;
  border-radius: 8px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.about-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.icon-box {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 20px;
}

.about-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Courses */
.course-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(108, 99, 255, 0.1);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.course-card {
  background: var(--primary-light);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.course-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
}

.course-image {
  height: 160px;
  background: #233554;
  position: relative;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.course-card:hover .course-image img {
  transform: scale(1.1);
}

.course-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(10, 25, 47, 0.8);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.course-content {
  padding: 20px;
}

.course-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--white);
}

.course-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 15px;
}

.course-link {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.center-btn {
  text-align: center;
}

/* Updates & Docs */
.notice-board,
.official-docs {
  background: var(--primary-light);
  padding: 30px;
  border-radius: 10px;
  height: 100%;
  border: 1px solid var(--glass-border);
}

.notice-header {
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.notice-header h3 {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.notice-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.notice-item .date {
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.notice-item p {
  font-size: 14px;
  color: var(--text-main);
}

.new-tag {
  color: #ff6b6b;
  font-size: 10px;
  font-weight: 700;
  margin-left: 5px;
  text-transform: uppercase;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  transition: var(--transition);
}

.doc-card:hover {
  background: rgba(255, 255, 255, 0.07);
}

.doc-icon {
  font-size: 24px;
  color: #ff6b6b;
}

.doc-info h4 {
  font-size: 14px;
  margin-bottom: 2px;
}

.doc-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-icon {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.doc-card:hover .btn-icon {
  color: var(--white);
}

/* Honors */
.honors-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  background: linear-gradient(135deg, #112240 0%, #0a192f 100%);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.honors-content {
  flex: 1;
}

.criteria-list {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.criteria-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-main);
  opacity: 0;
  /* Hidden initially */
  transform: translateX(-20px);
  transition: var(--transition);
}

.honors-wrapper.active .criteria-list li {
  opacity: 1;
  transform: translateX(0);
}

.honors-wrapper.active .criteria-list li:nth-child(1) {
  transition-delay: 0.2s;
}

.honors-wrapper.active .criteria-list li:nth-child(2) {
  transition-delay: 0.4s;
}

.honors-wrapper.active .criteria-list li:nth-child(3) {
  transition-delay: 0.6s;
}

.honors-wrapper.active .criteria-list li:nth-child(4) {
  transition-delay: 0.8s;
}

.check-icon {
  color: var(--accent);
  background: rgba(100, 255, 218, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.honors-image {
  flex: 1;
  height: 400px;
  position: relative;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  position: absolute;
  background: rgba(17, 34, 64, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  top: 20%;
  right: 20%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 20%;
  left: 20%;
  animation-delay: 3s;
}

.floating-card i {
  font-size: 30px;
  color: var(--secondary);
}

.floating-card span {
  font-weight: 600;
  color: var(--white);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--glass-border);
}

.faq-question {
  padding: 20px 0;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.faq-question i {
  transition: var(--transition);
  font-size: 14px;
  color: var(--accent);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: #020c1b;
  padding: 50px 0 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-main);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: var(--text-muted);
  font-size: 20px;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }

  .honors-wrapper {
    flex-direction: column;
    padding: 30px;
  }

  .honors-image {
    width: 100%;
    height: 300px;
  }

  .nav-links {
    display: none;
  }

  /* Mobile menu implementation needed if desired, for now hidden */
  .hamburger {
    display: block;
    color: var(--accent);
    font-size: 24px;
  }
}