/* =========================
   RESET & VARIABLES
========================= */
:root {
  --bg: #030b1b;
  --bg-soft: #071328;
  --panel: rgba(10, 25, 49, 0.72);
  --border: rgba(120, 160, 220, 0.16);
  --text: #f4f7ff;
  --muted: #94a8c9;
  --blue: #2f7cff;
  --purple: #7c4dff;
  --green: #16c79a;
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 18%, rgba(40, 94, 190, 0.13), transparent 30%),
    linear-gradient(145deg, #020817 0%, #061329 52%, #020817 100%);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.page-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .12;
  pointer-events: none;
}

.glow-one {
  background: #1769ff;
  top: 5%;
  right: -250px;
}

.glow-two {
  background: #7c3cff;
  bottom: -250px;
  left: -200px;
}

/* =========================
   HEADER
========================= */
.header {
  height: 78px;
  border-bottom: 1px solid rgba(130, 165, 220, .13);
  background: rgba(3, 11, 27, .74);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #75a5ff;
  background: rgba(47, 124, 255, .11);
}

.brand-icon svg,
.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-link {
  position: relative;
  color: #8fa4c7;
  font-size: 14px;
  transition: .25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -27px;
  width: 25px;
  height: 2px;
  transform: translateX(-50%);
  background: #3d84ff;
  box-shadow: 0 0 14px rgba(61, 132, 255, .8);
}

.mobile-menu {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu span {
  width: 25px;
  height: 2px;
  display: block;
  margin: 5px;
  background: white;
}

/* =========================
   SECTIONS
========================= */
.page-section {
  display: none;
  min-height: calc(100vh - 140px);
}

.page-section.active-section {
  display: block;
  animation: pageIn .45s ease both;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

/* =========================
   HERO
========================= */
.hero {
  min-height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 0 35px;
}

.hero-content {
  max-width: 750px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8fb4ff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4b8cff;
  box-shadow: 0 0 12px #4b8cff;
}

.hero h1,
.section-heading h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.hero h1 span {
  color: #638eff;
  background: linear-gradient(90deg, #65a1ff, #795dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 580px;
  margin: 18px auto 0;
  color: #a8b8d1;
  font-size: 16px;
  line-height: 2;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 22px;
}

.hero-divider span {
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5978ff);
}

.hero-divider span:last-child {
  background: linear-gradient(90deg, #5978ff, transparent);
}

.graduation-icon {
  color: #7564ff;
  font-size: 13px;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 8px rgba(117, 100, 255, .8));
}

.hero-decoration {
  position: absolute;
  opacity: .68;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, .4));
}

.laptop-decoration {
  left: -40px;
  bottom: 18px;
  transform: rotate(-2deg);
}

.laptop-screen {
  width: 170px;
  height: 105px;
  border: 4px solid #3d526f;
  border-bottom: 7px solid #273953;
  border-radius: 9px 9px 3px 3px;
  padding: 20px 15px;
  background: #071226;
}

.laptop-base {
  width: 205px;
  height: 10px;
  margin-left: -17px;
  border-radius: 0 0 12px 12px;
  background: #263851;
}

.code-line {
  width: 80%;
  height: 5px;
  margin-bottom: 9px;
  border-radius: 10px;
  background: #397bff;
  opacity: .7;
}

.code-line.short {
  width: 35%;
}

.code-line.medium {
  width: 62%;
}

.books-decoration {
  right: -15px;
  bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transform: rotate(-1deg);
}

.book {
  width: 180px;
  height: 28px;
  padding: 5px 13px;
  border-radius: 4px;
  color: #6580a8;
  background: linear-gradient(90deg, #0d1c37, #172a4c);
  border: 1px solid #263d61;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
}

/* =========================
   YEAR CARDS
========================= */
.years-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.year-card {
  min-height: 355px;
  position: relative;
  overflow: hidden;
  padding: 35px;
  border: 1px solid;
  border-radius: 22px;
  background: rgba(7, 19, 40, .78);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}

.year-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}

.year-card.blue {
  border-color: rgba(47, 124, 255, .85);
}

.year-card.purple {
  border-color: rgba(124, 77, 255, .85);
}

.year-card.green {
  border-color: rgba(22, 199, 154, .85);
}

.card-orb {
  width: 170px;
  height: 170px;
  position: absolute;
  top: -80px;
  right: -60px;
  border-radius: 50%;
  opacity: .22;
}

.blue .card-orb {
  background: #2375ff;
}

.purple .card-orb {
  background: #7648ff;
}

.green .card-orb {
  background: #15c899;
}

.card-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 27px;
}

.blue .card-icon {
  color: #3884ff;
  background: rgba(47, 124, 255, .13);
}

.purple .card-icon {
  color: #895eff;
  background: rgba(124, 77, 255, .13);
}

.green .card-icon {
  color: #23d7a7;
  background: rgba(22, 199, 154, .13);
}

.year-card h2 {
  font-size: 27px;
  margin-bottom: 13px;
  font-weight: 800;
}

.year-card p {
  min-height: 52px;
  color: #91a5c5;
  font-size: 13px;
  line-height: 1.9;
}

.card-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 20px;
  margin-top: 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  transition: .25s ease;
}

.blue .card-button {
  background: #2776f3;
}

.purple .card-button {
  background: #7048e8;
}

.green .card-button {
  background: #18ad8a;
}

.card-button:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.card-button span {
  font-size: 20px;
}

/* =========================
   FEATURES
========================= */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 40px 0 30px;
  padding: 24px 15px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(6, 19, 39, .6);
}

.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 8px 25px;
  border-left: 1px solid var(--border);
}

.feature:last-child {
  border-left: 0;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #5e88ff;
  font-size: 22px;
}

.feature strong,
.feature span {
  display: block;
}

.feature strong {
  font-size: 13px;
  margin-bottom: 5px;
}

.feature span {
  color: #7e92b4;
  font-size: 11px;
}

/* =========================
   INNER PAGES
========================= */
.inner-page {
  padding: 80px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 50px;
}

.section-heading h1 {
  font-size: clamp(32px, 4.5vw, 50px);
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--muted);
  line-height: 2;
  font-size: 15px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.info-panel {
  position: relative;
  min-height: 230px;
  padding: 35px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(13, 31, 61, .85), rgba(5, 16, 34, .7));
}

.info-panel.wide {
  grid-column: 1 / -1;
}

.big-number {
  position: absolute;
  left: 25px;
  top: 5px;
  color: rgba(75, 122, 220, .08);
  font-size: 100px;
  font-weight: 800;
}

.info-panel h2,
.info-panel p {
  position: relative;
  z-index: 1;
}

.info-panel h2 {
  margin-bottom: 15px;
  font-size: 20px;
}

.info-panel p {
  color: #8fa4c5;
  line-height: 2;
  font-size: 14px;
  max-width: 650px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 125px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(8, 23, 47, .75);
  transition: .25s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(76, 130, 255, .5);
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  color: #6e98ff;
  background: rgba(58, 111, 236, .12);
  font-size: 21px;
}

.contact-card span,
.contact-card strong {
  display: block;
}

.contact-card span {
  color: #7187a9;
  font-size: 12px;
  margin-bottom: 7px;
}

.contact-card strong {
  font-size: 14px;
}

.contact-note {
  margin-top: 25px;
  padding: 18px 22px;
  border-radius: 15px;
  color: #91a6c6;
  background: rgba(8, 23, 47, .65);
  border: 1px solid var(--border);
  font-size: 13px;
}

.contact-note span {
  color: #668fff;
  margin-left: 8px;
}

/* =========================
   FOOTER
========================= */
.footer {
  border-top: 1px solid rgba(130, 165, 220, .1);
  color: #617693;
  font-size: 11px;
}

.footer-content {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1050px) {

  .laptop-decoration,
  .books-decoration {
    opacity: .25;
  }

  .years-grid {
    gap: 15px;
  }

  .year-card {
    padding: 25px;
  }
}

@media (max-width: 800px) {
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    right: 20px;
    left: 20px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(5, 17, 36, .96);
    backdrop-filter: blur(20px);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    padding: 14px;
  }

  .nav-link.active::after {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .years-grid,
  .features,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    border-left: 0;
    border-bottom: 1px solid var(--border);
    justify-content: flex-start;
    padding: 16px 20px;
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .info-panel.wide {
    grid-column: auto;
  }

  .hero {
    min-height: 330px;
  }

  .hero-decoration {
    display: none;
  }
}

@media (max-width: 500px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 13px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero p {
    font-size: 13px;
  }

  .year-card {
    min-height: 330px;
  }

  .inner-page {
    padding: 55px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h1 {
    font-size: 30px;
  }

  .footer-content {
    padding: 15px 0;
    flex-direction: column;
    text-align: center;
  }
}