/* DESIGN SYSTEM: Academic Minimal / Tech */
:root {
  --navy: #0a192f;
  --navy-light: #172a45;
  --blue: #3b82f6;
  --white: #ffffff;
  --grey-light: #f3f4f6;
  --grey-text: #4b5563;
  --black: #111827;

  --font-serif: "Merriweather", serif;
  --font-sans: "Inter", sans-serif;

  --radius: 4px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
  background-color: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 900;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
}
h1 em {
  font-style: italic;
  color: var(--blue);
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 20px;
  color: var(--grey-text);
  font-size: 1rem;
}
.subtitle {
  font-size: 1.2rem;
  color: var(--navy-light);
}
.center {
  text-align: center;
}

/* UTILS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
}
.bg-light {
  background: var(--grey-light);
}
.bg-navy {
  background: var(--navy);
  color: var(--white);
}
.bg-navy h2,
.bg-navy p,
.bg-navy i {
  color: var(--white);
}
.narrow {
  max-width: 800px;
  margin: 0 auto;
}
.mb-30 {
  margin-bottom: 30px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.link-arrow {
  color: var(--blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.link-arrow:hover {
  gap: 10px;
}
.link-arrow::after {
  content: "→";
}
.full {
  width: 100%;
  text-align: center;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-svg {
  width: 45px;
  height: 45px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .main {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--navy);
}
.logo-text .sub {
  font-size: 0.7rem;
  color: var(--blue);
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  gap: 30px;
}
.nav-desktop a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
}
.nav-desktop a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  width: 25px;
  height: 3px;
  background: var(--navy);
}

/* HERO */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(to right, #fff 50%, #f0f4f8 50%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tag {
  display: inline-block;
  background: var(--grey-light);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--grey-text);
  margin-bottom: 40px;
}
.hero-btns {
  display: flex;
  gap: 15px;
}

.hero-img {
  position: relative;
}
.hero-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.float-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--white);
  padding: 15px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  border-left: 5px solid var(--blue);
}
.float-badge i {
  color: var(--blue);
}

/* TICKER */
.ticker-wrap {
  background: var(--navy);
  color: var(--white);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  animation: scroll 30s linear infinite;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* METHODOLOGY */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.card-classic {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  border-top: 4px solid transparent;
}
.card-classic:hover {
  transform: translateY(-10px);
  border-top-color: var(--blue);
}
.icon-box {
  width: 60px;
  height: 60px;
  background: var(--grey-light);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 20px;
}

/* PROGRAMS */
.sec-header {
  margin-bottom: 50px;
}
.line {
  width: 80px;
  height: 4px;
  background: var(--blue);
  margin-top: 15px;
}
.prog-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.prog-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--white);
  border: 1px solid #eee;
  padding: 40px;
  border-radius: var(--radius);
}
.pc-img img {
  border-radius: var(--radius);
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.pc-cat {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}
.pc-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* QUIZ */
.quiz-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}
.check-list {
  margin-top: 30px;
}
.check-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  font-weight: 500;
}
.check-list i {
  color: var(--blue);
}

.quiz-box {
  background: var(--navy-light);
  padding: 50px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.q-slide {
  display: none;
  animation: fadeIn 0.4s;
}
.q-slide.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.q-opts button {
  display: block;
  width: 100%;
  padding: 15px;
  margin-bottom: 10px;
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid transparent;
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: 0.2s;
  font-size: 1rem;
}
.q-opts button:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.res-icon {
  font-size: 3rem;
  color: var(--blue);
  margin-bottom: 20px;
}

/* FAQ */
.accordion details {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}
.accordion summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  list-style: none;
  color: var(--navy);
}
.accordion p {
  margin-top: 15px;
  color: var(--grey-text);
}

/* APPLY FORM */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.ci-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  align-items: center;
}
.ci-row i {
  color: var(--blue);
}

.academic-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  box-shadow: var(--shadow);
}
.inp-group {
  margin-bottom: 20px;
}
.inp-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.inp-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
}
.inp-group input:focus {
  outline: none;
  border-color: var(--blue);
}
.check-group {
  font-size: 0.9rem;
  margin-bottom: 25px;
  display: flex;
  gap: 10px;
}
.check-group a {
  text-decoration: underline;
  color: var(--blue);
}

/* FOOTER */
.footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 80px 0 20px;
  font-size: 0.9rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.f-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 900;
  display: block;
  margin-bottom: 15px;
}
.footer h5 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer a {
  display: block;
  margin-bottom: 10px;
  color: #94a3b8;
}
.footer a:hover {
  color: var(--blue);
}
.foot-btm {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* MOBILE NAV */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--navy);
  color: var(--white);
  z-index: 200;
  transform: translateX(100%);
  transition: 0.3s;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.mobile-nav.active {
  transform: translateX(0);
}
.mn-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
}
#closeNav {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
}
.mn-links a {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}
.mn-footer {
  margin-top: auto;
  color: #94a3b8;
}

/* COOKIE */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 500;
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 300px;
  border-left: 5px solid var(--blue);
}
#acceptCookie {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .nav-desktop,
  .header-actions .btn {
    display: none;
  }
  .burger {
    display: flex;
  }

  .hero {
    background: var(--white);
  }
  .quiz-box {
    padding: 20px;
  }
  .quiz-layout {
    grid-template-columns: 1fr;
    justify-content: center;
  }
  .hero-grid,
  .contact-wrapper,
  .foot-grid,
  .quiz-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-img {
    order: -1;
  }
  .hero-content {
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
    flex-direction: column;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 2rem;
  }
  .float-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    width: max-content;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }
  .prog-card {
    grid-template-columns: 1fr;
  }
  .prog-card:nth-child(even) .pc-img {
    order: -1;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 10px;
  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;
  }
}
