/* ===============================
   GLOBAL RESET
================================ */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #020814;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

/* ===============================
   SHARED HEADER
================================ */

.site-header {
  width: 100%;
  min-height: 160px;
  background:
    radial-gradient(
      circle at 12% 50%,
      rgba(247, 181, 29, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #030b18 0%, #020814 100%);
  border-bottom: 1px solid rgba(255, 199, 44, 0.25);
  display: flex;
  align-items: center;
  z-index: 1000;
  position: relative;
}

.site-header-inner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 580px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
}

/* ===============================
   LOGO AREA
================================ */

.site-brand {
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  color: #ffffff;
  min-width: 0;
  justify-self: start;
}

.site-logo-box {
  width: 560px;
  height: 160px;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  flex-shrink: 0;
  background: transparent !important;
  box-shadow: none;
}

.site-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center left;
  display: block;
  background: transparent !important;
  border: none;
  box-shadow: none;
}

.site-brand-text {
  line-height: 1.1;
  min-width: 0;
}

.site-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 6px;
  color: #ffffff;
  white-space: nowrap;
}

.site-subtitle {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #d9dbe2;
  white-space: nowrap;
}

/* ===============================
   MENU
================================ */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  gap: 18px;
  width: 100%;
  height: 100%;
  min-width: 0;
  transform: none;
  padding: 0 18px;
}

.site-nav a {
  position: relative;
  color: #e8e8e8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  padding: 42px 0 34px;
  line-height: 1;
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #f0bc16;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 3px;
  background: #f0bc16;
  border-radius: 99px;
}

/* ===============================
   EDUSEEK AI GOLDEN BUTTON
================================ */

.site-nav a.eduseek-ai-link {
  color: #050505;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffdf7a 0%, #f7b51d 100%);
  border: 1px solid rgba(255, 221, 118, 0.95);
  box-shadow:
    0 0 12px rgba(247, 181, 29, 0.45),
    0 0 28px rgba(247, 181, 29, 0.22);
  animation: eduseekBreath 2.4s ease-in-out infinite;
}

.site-nav a.eduseek-ai-link:hover,
.site-nav a.eduseek-ai-link.active {
  color: #050505;
  filter: brightness(1.08);
}

.site-nav a.eduseek-ai-link.active::after {
  display: none;
}

@keyframes eduseekBreath {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 10px rgba(247, 181, 29, 0.35),
      0 0 22px rgba(247, 181, 29, 0.18);
  }

  50% {
    transform: scale(1.05);
    box-shadow:
      0 0 18px rgba(247, 181, 29, 0.75),
      0 0 42px rgba(247, 181, 29, 0.38);
  }

  100% {
    transform: scale(1);
    box-shadow:
      0 0 10px rgba(247, 181, 29, 0.35),
      0 0 22px rgba(247, 181, 29, 0.18);
  }
}

/* ===============================
   REGISTER / SIGN IN BUTTONS
================================ */

.site-auth-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  white-space: nowrap;
  margin-left: 0;
  justify-self: end;
}

.site-register-btn,
.site-user-btn {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    background 0.2s ease;
}

.site-register-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.site-user-btn {
  color: #050505;
  background: linear-gradient(180deg, #ffdd76 0%, #f7b51d 100%);
  border: 1px solid rgba(247, 181, 29, 0.9);
}

.site-register-btn:hover,
.site-user-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* ===============================
   SHARED FOOTER
================================ */

.site-footer {
  width: 100%;
  background: #020814;
  color: #ffffff;
  border-top: 1px solid rgba(255, 199, 44, 0.25);
  padding: 42px 28px;
  text-align: center;
}

/* FOOTER TOP SECTION */

.footer-top {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-top-spacer {
  min-width: 1px;
}

.footer-agent-link {
  justify-self: end;
  text-align: right;
}

/* FOOTER LINKS */

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  opacity: 0.86;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.footer-link:hover {
  color: #f0bc16;
  opacity: 1;
}

/* SOCIAL ICONS */

.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 199, 44, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.03);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.social-icon:hover {
  color: #020814;
  background: #f0bc16;
  border-color: #f0bc16;
  transform: translateY(-2px);
}

/* FOOTER DIVIDER */

.footer-line {
  width: min(1650px, 100%);
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 52px auto 38px;
}

/* FOOTER BOTTOM SECTION */

.footer-bottom {
  width: min(1300px, 100%);
  margin: 0 auto;
}

.footer-bottom p {
  margin: 0 auto 22px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.7;
}

.footer-bottom strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 16px;
}

/* LEGAL LINKS BELOW COPYRIGHT */

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.footer-legal-links .footer-link {
  font-size: 14px;
  font-weight: 700;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

/* ===============================
   HEADER RESPONSIVE
================================ */

@media (max-width: 1500px) {
  .site-header-inner {
    grid-template-columns: 470px minmax(0, 1fr) auto;
    column-gap: 12px;
  }

  .site-logo-box {
    width: 450px;
    height: 128px;
  }

  .site-nav {
    gap: 14px;
    padding: 0 14px;
  }

  .site-nav a {
    font-size: 12.5px;
  }

  .site-nav a.eduseek-ai-link {
    font-size: 12.5px;
    padding: 11px 14px;
  }

  .site-auth-actions {
    gap: 12px;
    margin-left: 0;
  }

  .site-register-btn,
  .site-user-btn {
    min-height: 46px;
    padding: 0 20px;
    font-size: 14px;
  }
}

@media (max-width: 1300px) {
  .site-header-inner {
    grid-template-columns: 400px minmax(0, 1fr) auto;
    column-gap: 24px;
  }

  .site-logo-box {
    width: 380px;
    height: 108px;
  }

  .site-nav {
    gap: 11px;
    padding: 0 10px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .site-nav a.eduseek-ai-link {
    font-size: 12px;
    padding: 10px 12px;
  }

  .site-register-btn,
  .site-user-btn {
    min-height: 44px;
    padding: 0 17px;
    font-size: 13px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    min-height: auto;
    padding: 18px 0;
  }

  .site-header-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
    padding: 0 24px;
  }

  .site-brand {
    justify-content: center;
    justify-self: center;
  }

  .site-logo-box {
    width: 500px;
    height: 142px;
    justify-content: center;
    background: transparent !important;
  }

  .site-logo-img {
    object-position: center center;
  }

  .site-nav {
    justify-content: center;
    justify-self: center;
    flex-wrap: wrap;
    gap: 16px 22px;
    width: 100%;
    padding: 0;
    transform: none;
  }

  .site-nav a {
    font-size: 13px;
    padding: 8px 0;
  }

  .site-nav a.active::after {
    bottom: -7px;
  }

  .site-nav a.eduseek-ai-link {
    font-size: 13px;
    padding: 12px 18px;
  }

  .site-auth-actions {
    justify-content: center;
    justify-self: center;
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    padding: 0 18px;
  }

  .site-brand {
    gap: 14px;
  }

  .site-logo-box {
    width: 350px;
    height: 100px;
  }

  .site-title {
    font-size: 22px;
    letter-spacing: 3px;
  }

  .site-subtitle {
    font-size: 11px;
  }

  .site-nav {
    gap: 14px;
    transform: none;
  }

  .site-nav a {
    font-size: 13px;
  }

  .site-nav a.eduseek-ai-link {
    font-size: 13px;
    padding: 11px 16px;
  }

  .site-auth-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .site-register-btn,
  .site-user-btn {
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .site-brand {
    flex-direction: column;
    gap: 10px;
  }

  .site-logo-box {
    width: 290px;
    height: 84px;
  }

  .site-title {
    font-size: 19px;
    letter-spacing: 2px;
  }

  .site-subtitle {
    white-space: normal;
  }

  .site-nav {
    flex-direction: column;
    gap: 10px;
    transform: none;
  }

  .site-nav a.eduseek-ai-link {
    width: auto;
    padding: 12px 20px;
  }

  .site-auth-actions {
    flex-direction: column;
  }

  .site-register-btn,
  .site-user-btn {
    width: 100%;
  }
}

/* ===============================
   FOOTER RESPONSIVE
================================ */

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-top-spacer {
    display: none;
  }

  .footer-agent-link {
    justify-self: center;
    text-align: center;
  }

  .footer-line {
    margin: 36px auto 28px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 36px 18px;
  }

  .social-row {
    gap: 10px;
  }

  .social-icon {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }

  .footer-bottom p {
    font-size: 14px;
  }

  .footer-bottom strong {
    font-size: 14px;
  }

  .footer-legal-links {
    gap: 6px;
  }

  .footer-legal-links .footer-link,
  .footer-separator {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .footer-legal-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-separator {
    display: none;
  }
}

/* ===============================
   REDUCE MOTION ACCESSIBILITY
================================ */

@media (prefers-reduced-motion: reduce) {
  .site-nav a.eduseek-ai-link {
    animation: none;
  }
}