/* ============================================================
   JAOTECH DIGITAL INSTITUTE
   Global Stylesheet
   Built to International Standard
   ============================================================ */

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* CSS VARIABLES */
:root {
  --black:         #0a0a0f;
  --black-soft:    #111118;
  --black-card:    #16161f;
  --blue:          #1a1aff;
  --blue-light:    #4d4dff;
  --blue-glow:     rgba(26, 26, 255, 0.25);
  --red:           #cc0000;
  --red-light:     #ff1a1a;
  --red-glow:      rgba(204, 0, 0, 0.2);
  --gold:          #ffd700;
  --gold-light:    #ffe44d;
  --gold-glow:     rgba(255, 215, 0, 0.2);
  --purple:        #6600cc;
  --purple-light:  #9933ff;
  --white:         #ffffff;
  --white-dim:     rgba(255, 255, 255, 0.85);
  --white-soft:    rgba(255, 255, 255, 0.6);
  --white-ghost:   rgba(255, 255, 255, 0.06);
  --border:        rgba(255, 255, 255, 0.08);
  --border-blue:   rgba(26, 26, 255, 0.3);

  --font-display:  'Orbitron', monospace;
  --font-heading:  'Syne', sans-serif;
  --font-body:     'DM Sans', sans-serif;

  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-blue:   0 0 40px rgba(26, 26, 255, 0.3);
  --shadow-gold:   0 0 40px rgba(255, 215, 0, 0.2);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* SCROLLBAR */
::-webkit-scrollbar        { width: 5px; }
::-webkit-scrollbar-track  { background: var(--black); }
::-webkit-scrollbar-thumb  { background: var(--blue); border-radius: 3px; }

/* SELECTION */
::selection { background: var(--blue); color: var(--white); }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}
.display-font { font-family: var(--font-display); }

/* LAYOUT */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section        { padding: 100px 0; }
.section-sm     { padding: 60px 0; }
.text-center    { text-align: center; }
.text-blue      { color: var(--blue-light); }
.text-gold      { color: var(--gold); }
.text-red       { color: var(--red-light); }
.text-dim       { color: var(--white-soft); }

/* SECTION LABEL */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.07);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* SECTION HEADINGS */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--white-soft);
  max-width: 560px;
  margin: 0 auto 50px;
  line-height: 1.75;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  box-shadow: 0 0 20px var(--blue-glow);
}
.btn-primary:hover {
  background: var(--blue-light);
  box-shadow: 0 0 40px rgba(26, 26, 255, 0.5);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
  font-weight: 800;
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-2px);
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  box-shadow: 0 0 20px var(--red-glow);
}
.btn-red:hover {
  background: var(--red-light);
  box-shadow: 0 0 40px rgba(204, 0, 0, 0.4);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 38px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }

/* CARDS */
.card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 26, 255, 0.12);
}

/* BADGE */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-blue { background: var(--blue-glow); color: var(--blue-light); border: 1px solid var(--border-blue); }
.badge-gold { background: var(--gold-glow); color: var(--gold);       border: 1px solid rgba(255, 215, 0, 0.3); }
.badge-red  { background: var(--red-glow);  color: var(--red-light);  border: 1px solid rgba(204, 0, 0, 0.3); }

/* DIVIDER */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-blue), transparent);
  margin: 60px 0;
}

/* GLOW LINE */
.glow-line {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 2px;
  margin-bottom: 24px;
}
.glow-line-center { margin: 0 auto 24px; }

/* GRID */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* FLEX */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8        { gap: 8px; }
.gap-16       { gap: 16px; }
.gap-24       { gap: 24px; }

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10, 10, 15, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}
.nav-logo-sub {
  font-size: 0.60rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-soft);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--white-ghost);
}
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white-soft);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 1rem;
  color: var(--white-soft);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: var(--transition);
  font-family: var(--font-heading);
  font-weight: 700;
}
.mobile-nav-close:hover {
  color: var(--red-light);
  border-color: var(--red-light);
}

/* FOOTER */
.footer {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand p {
  color: var(--white-soft);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--white-soft);
  transition: var(--transition);
  font-family: var(--font-heading);
  letter-spacing: 0;
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--white-soft);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: var(--white-soft); font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  color: var(--white-soft);
  font-size: 0.82rem;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold); }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
}
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--white-soft);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px var(--blue-glow); }
  50%       { box-shadow: 0 0 50px rgba(26, 26, 255, 0.5); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.anim-fade-up { animation: fadeUp 0.7s ease both; }
.anim-fade-in { animation: fadeIn 0.7s ease both; }
.anim-float   { animation: float 4s ease-in-out infinite; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }

/* BACKGROUND EFFECTS */
.bg-grid {
  background-image:
    linear-gradient(rgba(26, 26, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.60rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
  z-index: 998;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

/* SCROLL TO TOP */
.scroll-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--black-card);
  border: 1px solid var(--border-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--blue-light);
  z-index: 997;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  font-family: var(--font-heading);
  font-weight: 700;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover   { background: var(--blue); color: var(--white); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .grid-4      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section                  { padding: 70px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta      { display: none; }
  .nav-toggle               { display: flex; }
  .mobile-nav               { display: flex; }
  .footer-grid              { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom            { flex-direction: column; text-align: center; }
  .page-hero                { padding: 130px 0 70px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn-lg    { padding: 15px 24px; font-size: 0.92rem; }
}
