/* VARIABLES */
:root {
  --bg: #050505; /* Deep Black */
  --surface: #0f0f0f; /* Slightly lighter black */
  --text: #e0e0e0; /* Light Grey */
  --accent: #00ff41; /* Matrix Green */
  --danger: #ff3333;
  --border: #333333;

  --font-mono: "JetBrains Mono", monospace;
  --font-sans: "Inter", sans-serif;

  --sidebar-w: 300px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  filter: grayscale(100%) contrast(1.2);
  transition: 0.5s;
}
img:hover {
  filter: grayscale(0%);
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -2px;
  margin-bottom: 2rem;
}
h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 1.5rem;
  color: #aaa;
  font-size: 1rem;
  max-width: 700px;
}

/* LAYOUT */
.screen-layout {
  display: flex;
  min-height: 100vh;
}

.screen-layout-pages {
  display: flex;
  flex-direction: column;
}

/* SIDEBAR (Desktop) */
.sidebar {
  width: var(--sidebar-w);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #000;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  z-index: 100;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.brand-box svg {
  width: 40px;
  height: 40px;
}
.sb-meta {
  font-size: 0.7rem;
  color: #555;
  border-top: 1px solid var(--border);
  padding-top: 15px;
  margin-bottom: 40px;
}

.sb-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sb-menu a {
  color: #888;
  font-size: 0.9rem;
  padding-left: 10px;
  border-left: 2px solid transparent;
}
.sb-menu a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
  padding-left: 20px;
}

.sb-cta {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 15px;
  font-weight: 700;
  transition: 0.3s;
}
.sb-cta:hover {
  background: var(--accent);
  color: #000;
}

/* MAIN CONTENT */
.main-content {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  background: var(--bg);
}

.section {
  padding: 100px 80px;
  border-bottom: 1px solid var(--border);
}

/* HERO */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.terminal-badge {
  display: inline-block;
  background: #1a1a1a;
  color: var(--accent);
  padding: 5px 10px;
  font-size: 0.8rem;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.hero-sub {
  font-size: 1.2rem;
  font-family: var(--font-sans);
}
.hero-metrics {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  border-top: 1px solid var(--border);
  padding-top: 30px;
}
.hm-val {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.hm-lbl {
  font-size: 0.8rem;
  color: #666;
}

.hero-img {
  position: relative;
  border: 1px solid var(--border);
  padding: 10px;
}
.hero-img img {
  width: 100%;
  height: auto;
}

/* CONTENT GRID (For Philosophy & Career) */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.content-grid.reverse .text-block {
  order: 2;
}
.content-grid.reverse .visual-block {
  order: 1;
}
.visual-block img {
  width: 100%;
  border: 1px solid var(--border);
  padding: 10px;
}

/* CAMPUS */
.campus-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}
.campus-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--border);
  padding: 10px;
}
.cf-item {
  border: 1px solid var(--border);
  padding: 25px;
  margin-bottom: 20px;
  background: #0a0a0a;
  transition: 0.3s;
}
.cf-item:hover {
  border-color: var(--accent);
}
.cf-item i {
  color: var(--accent);
  margin-bottom: 10px;
}
.cf-item h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* CURRICULUM */
.curriculum-list {
  border-left: 2px solid var(--border);
  margin-left: 10px;
}
.curr-row {
  padding-left: 40px;
  position: relative;
  margin-bottom: 50px;
}
.curr-row::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0;
  width: 10px;
  height: 10px;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.cr-time {
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 5px;
  font-weight: 700;
}
.cr-info p {
  font-size: 0.95rem;
}

/* CAREER LIST */
.career-list {
  margin-top: 20px;
}
.career-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  color: #fff;
}
.career-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* FORMATS / PRICING */
.pricing-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.price-box {
  border: 1px solid var(--border);
  padding: 30px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.format-desc {
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}
.highlight-box {
  border: 2px solid var(--accent);
  background: #001a05;
}
.price-box ul {
  margin-top: 20px;
}
.price-box li {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
}
.price-box li::before {
  content: "+";
  color: var(--accent);
}

/* FAQ */
.faq-accordion details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.faq-accordion summary::after {
  content: "+";
  color: var(--accent);
}
.faq-accordion details[open] summary::after {
  content: "-";
}
.ans {
  margin-top: 15px;
  color: #aaa;
}

/* CONTACT (HIGHLIGHTED) */
.contact-section {
  background: #000;
}
.contact-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}
.form-wrapper {
  /* Form Highlight Styles */
  background: #fff; /* High Contrast White */
  color: #000;
  padding: 40px;
  border: 4px solid var(--accent);
  box-shadow: 15px 15px 0 #111, 15px 15px 0 2px var(--accent);
}

.form-header h3 {
  color: #000;
  margin-bottom: 10px;
  font-weight: 800;
}
.form-header p {
  color: #333;
}

.high-contrast-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.f-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000;
}
.f-group input,
.f-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid #000;
  background: #eee;
  color: #000;
  font-family: var(--font-mono);
  font-size: 1rem;
  border-radius: 0;
}
.f-group input:focus,
.f-group select:focus {
  background: var(--accent);
  outline: none;
  border-color: #000;
}

.f-check {
  font-size: 0.85rem;
  color: #000;
}
.f-check a {
  text-decoration: underline;
  color: #000;
  font-weight: 700;
}

.submit-btn {
  background: #000;
  color: var(--accent);
  border: none;
  padding: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: 0.2s;
  cursor: pointer;
  border: 2px solid #000;
}
.submit-btn:hover {
  background: var(--accent);
  color: #000;
}

.contact-info p,
.contact-info a {
  color: #ccc;
  font-size: 1rem;
}
.contact-info a:hover {
  color: var(--accent);
}

/* FOOTER */
.footer {
  padding: 40px 80px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-links a {
  color: #666;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-copy {
  color: #444;
}

/* MOBILE ELEMENTS */
.mobile-bar,
.mobile-nav {
  display: none;
}

/* COOKIE */
.cookie-modal {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--surface);
  border: 1px solid var(--accent);
  padding: 20px;
  max-width: 300px;
  display: none;
  flex-direction: column;
  gap: 15px;
  z-index: 5000;
}
.cookie-modal p {
  margin: 0;
  font-size: 0.8rem;
}
#acceptCookie {
  background: var(--accent);
  color: #000;
  padding: 10px;
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }
  .main-content {
    margin-left: 0;
    width: 100%;
  }

  .mobile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #000;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .mb-brand {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.2rem;
  }
  #burgerBtn {
    background: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 5px 10px;
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 2000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    transition: 0.3s;
  }
  .mobile-nav.active {
    transform: translateY(0);
  }
  .mn-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
  }
  #closeMenu {
    background: none;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 5px;
  }
  .mn-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .mn-links a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
  }

  .section {
    padding: 60px 20px;
  }
  h1 {
    font-size: 2.5rem;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid,
  .campus-layout,
  .pricing-wrap {
    grid-template-columns: 1fr;
  }
  .content-grid.reverse .text-block {
    order: 1;
  }
  .content-grid.reverse .visual-block {
    order: 2;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-wrapper {
    padding: 20px;
    box-shadow: 5px 5px 0 #000, 5px 5px 0 2px var(--accent);
  }
  .footer {
    padding: 40px 20px;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}

/* Make mobile header usable on pages that opt in (works at any viewport size) */
body.show-mobile-header .mobile-bar,
body.show-mobile-header .mobile-nav {
  display: flex;
}

body.show-mobile-header .mobile-bar {
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #000;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

body.show-mobile-header .mb-brand {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.2rem;
}

body.show-mobile-header #burgerBtn {
  background: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 5px 10px;
}

body.show-mobile-header .mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  z-index: 2000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: 0.3s;
}

body.show-mobile-header .mobile-nav.active {
  transform: translateY(0);
}

body.show-mobile-header .mn-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

body.show-mobile-header #closeMenu {
  background: none;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 5px;
}

body.show-mobile-header .mn-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.show-mobile-header .mn-links a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

body.show-mobile-header .sidebar {
  display: none;
}
