

/* ── DESIGN TOKENS ── */
:root {
  --teal-950:  #03201a;
  --teal-900:  #063d30;
  --teal-800:  #0a5540;
  --teal-700:  #0d6e50;
  --teal-600:  #0f8862;
  --teal-500:  #12a878;
  --teal-400:  #1fcf96;
  --teal-300:  #5eddb3;
  --teal-200:  #9decd1;
  --teal-100:  #cef5e9;
  --teal-50:   #eafaf4;
  --ink:       #060f0c;
  --ink-muted: #3a5248;
  --ink-faint: #6b8a7e;
  --surface:   #ffffff;
  --surface-2: #f4fbf8;

  --border:    rgba(15,136,98,0.15);
  --border-mid:rgba(15,136,98,0.28);
  --font-display: 'Nunito', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-script:  'Playfair Display', serif;
  --font-mono:    'Fira Code', monospace;
  --shadow-card:  0 2px 12px rgba(6,110,80,0.08), 0 8px 32px rgba(6,110,80,0.06);
  --shadow-lift:  0 8px 40px rgba(6,110,80,0.16);
  --ease-spring:  cubic-bezier(0.34,1.56,0.64,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--surface-2);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 101px; /* 37px ticker + 64px navbar */
}
a { text-decoration: none; color: inherit; }

/* ── TICKER ── */
.og-ticker {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1200;
  background: var(--teal-900);
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
}
.og-ticker-track {
  display: inline-flex;
  animation: og-marquee 32s linear infinite;
}
.og-ticker:hover .og-ticker-track { animation-play-state: paused; }
.og-ticker-track span {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: .06em;
  color: var(--teal-200); text-transform: uppercase; padding: 0 38px;
}
.og-ticker-track span::before { content: "✦"; color: var(--teal-400); font-size: 9px; }
@keyframes og-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── NAVBAR ── */
.navbar {
  position: fixed !important;
  top: 37px !important; /* sits below ticker */
  left: 0; right: 0;
  z-index: 1100;
  background: var(--surface) !important;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border);
  padding: 0 32px;
  height: 64px;
}
.navbar-brand {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  color: var(--teal-600) !important; letter-spacing: -.02em;
}
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--ink-muted) !important;
  border-radius: 8px; padding: 7px 11px !important;
  transition: color .18s, background .18s;
}
.nav-link:hover, .nav-link.active { color: var(--teal-700) !important; background: var(--teal-50); }
.dropdown-menu {
  border: 1px solid var(--border-mid); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.10);
  overflow: hidden; min-width: 185px; padding: 4px 0;
}
.dropdown-item {
  font-size: 13px; font-weight: 500; color: var(--ink-muted);
  padding: 10px 16px; border-left: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, padding-left .15s;
}
.dropdown-item:hover {
  background: var(--teal-50); color: var(--teal-700);
  border-left-color: var(--teal-500); padding-left: 22px;
}
.navbar-toggler { border: none; padding: 6px; border-radius: 8px; }
.navbar-toggler:focus { box-shadow: none; }

/* ── HERO ── */
.og-hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 120px 24px 80px;
  text-align: center; background: #041d17; z-index: 1;
}

/* Background slideshow images */
.og-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; z-index: 0;
  transition: opacity 1.2s ease;
}
.og-hero-bg[data-bg="1"] { background-image: url('img/oggntech_1.jpg'); }
.og-hero-bg[data-bg="2"] { background-image: url('img/oggntech_2.jpg'); }
.og-hero-bg[data-bg="3"] { background-image: url('img/oggntech_3.png'); }
.og-hero-bg.active       { opacity: 1; }

.og-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(2,12,10,.55) 0%, rgba(2,12,10,.70) 100%);
}
.og-hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
}
.og-hero-inner { position: relative; z-index: 3; max-width: 900px; width: 100%; }

.og-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(31,207,150,.12); border: 1px solid rgba(31,207,150,.25);
  color: var(--teal-300); font-size: 11.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 100px; margin-bottom: 28px;
}
.og-hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-400); animation: og-pulse 2s infinite;
}
@keyframes og-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.75); }
}

.og-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6.5vw, 72px);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  color: #fff; margin-bottom: 26px;
}
.og-hero-welcome {
  display: block; font-family: var(--font-script); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 3.5vw, 40px); letter-spacing: .01em;
  color: rgba(255,255,255,.72); margin-bottom: 4px;
}
.og-hero h1 em { font-style: normal; font-weight: 800; color: var(--teal-300); }
.og-hero-sub {
  font-size: 16px; color: rgba(255,255,255,.72);
  max-width: 680px; margin: 0 auto 36px; line-height: 1.7;
}

/* Hero text carousel */
.og-carousel {
  position: relative; max-width: 920px; margin: 28px auto 36px;
  min-height: 84px; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
}
.og-carousel-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 20px;
  font-size: clamp(15px, 2.2vw, 20px); font-weight: 500;
  color: rgba(255,255,255,.86);
  opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease, visibility 0s linear .7s;
}
.og-carousel-slide.active {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .7s ease, transform .7s ease, visibility 0s linear 0s;
}
.og-slide-hl { color: var(--teal-300); font-weight: 700; margin-right: 8px; }

/* Hero CTA buttons */
.btn-og-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-400); color: var(--teal-950);
  font-weight: 600; font-size: 14px; padding: 13px 28px;
  border-radius: 10px; border: none; min-width: 160px; justify-content: center;
  transition: background .18s, transform .18s var(--ease-spring), box-shadow .18s;
}
.btn-og-primary:hover {
  background: var(--teal-300); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31,207,150,.35); color: var(--teal-950);
}
.btn-og-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.85);
  font-weight: 500; font-size: 14px; padding: 13px 28px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.15);
  min-width: 160px; justify-content: center; transition: background .18s, transform .18s;
}
.btn-og-secondary:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); color: #fff; }

/* ── SECTION LABELS ── */
.og-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-600); display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.og-eyebrow::before {
  content: ''; display: inline-block; width: 24px; height: 2px;
  background: var(--teal-400); border-radius: 2px;
}
.og-section-title {
  font-family: var(--font-display); font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700; color: var(--ink); letter-spacing: -.025em; line-height: 1.15;
}

/* ── COURSE CARDS ── */
.og-course-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 22px 22px;
  display: flex; flex-direction: column; height: 100%;
  position: relative; overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  box-shadow: var(--shadow-card);
}
.og-course-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(135deg, rgba(31,207,150,.04) 0%, transparent 60%);
  opacity: 0; transition: opacity .22s; pointer-events: none;
}
.og-course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--border-mid); }
.og-course-card:hover::after { opacity: 1; }

.og-card-icon {
  width: 48px; height: 48px; border-radius: 13px; margin-bottom: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal-50) 0%, rgba(31,207,150,.08) 100%);
  border: 1px solid rgba(15,136,98,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-600); transition: background .22s, border-color .22s, color .22s;
}
.og-card-icon svg { width: 22px; height: 22px; stroke: currentColor; }
.og-course-card:hover .og-card-icon {
  background: linear-gradient(135deg, var(--teal-100) 0%, rgba(31,207,150,.15) 100%);
  border-color: var(--teal-400); color: var(--teal-700);
}
.og-course-card h5 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; }
.og-card-desc { font-size: 12.5px; color: var(--ink-faint); line-height: 1.6; margin-bottom: 18px; flex-grow: 1; }
.og-btn-card {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 0; background: var(--teal-900); color: #fff;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  transition: background .18s, transform .15s var(--ease-spring);
}
.og-btn-card::after { content: '→'; font-size: 14px; }
.og-btn-card:hover { background: var(--teal-700); transform: scale(1.02); color: #fff; }

/* ── ABOUT ── */
.og-about { background: var(--surface); padding: 84px 0; }
.og-about-text { font-size: 15px; line-height: 1.9; color: var(--ink-faint); margin-bottom: 18px; }
.og-stat-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px 26px; box-shadow: var(--shadow-card);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.og-stat-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--border-mid); }
.og-stat-box h3 { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--teal-600); letter-spacing: -.03em; margin-bottom: 6px; }
.og-stat-box span { font-size: 13px; color: var(--ink-faint); font-weight: 500; }

/* ── REVIEWS ── */
.og-reviews { background: var(--surface-2); padding: 84px 0; }
.og-review-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 30px 26px; box-shadow: var(--shadow-card); height: 100%;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.og-review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--border-mid); }
.og-review-stars { color: #ffb800; font-size: 18px; letter-spacing: 2px; margin-bottom: 16px; }
.og-review-card p { font-size: 14px; line-height: 1.9; color: var(--ink-muted); margin-bottom: 18px; }
.og-review-card h6 { font-size: 13px; font-weight: 700; color: var(--teal-700); margin: 0; }

/* ── CONTACT ── */
.og-contact { background: var(--surface); padding: 84px 0; }
.og-contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 34px 28px; text-align: center; box-shadow: var(--shadow-card); height: 100%;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.og-contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--border-mid); }
.og-contact-card i { font-size: 32px; color: var(--teal-600); margin-bottom: 16px; display: block; }
.og-contact-card h5 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.og-contact-card p { font-size: 14px; color: var(--ink-faint); margin: 0; line-height: 1.7; }

/* ── FOOTER ── */
.og-footer {
  background: linear-gradient(180deg, var(--teal-950) 0%, #021712 100%);
  color: rgba(255,255,255,.72);
  padding: 60px 0 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.og-footer h5 {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: #fff; margin-bottom: 20px; letter-spacing: -.01em;
}
.og-footer a {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.65);
  margin-bottom: 12px; width: fit-content;
  transition: color .25s, transform .25s;
}
.og-footer a:hover { color: var(--teal-300); transform: translateX(4px); }
.og-footer i { color: var(--teal-400); width: 17px; flex-shrink: 0; }
.og-footer p { font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.7; }
.og-footer p.og-footer-desc { margin-bottom: 14px; }

.og-newsletter {
  display: flex; overflow: hidden; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.05);
  margin-top: 10px;
}
.og-newsletter input {
  flex: 1; padding: 12px 14px; border: none; outline: none;
  background: transparent; color: #fff; font-size: 13px; font-family: var(--font-body);
}
.og-newsletter input::placeholder { color: rgba(255,255,255,.35); }
.og-newsletter button {
  border: none; padding: 12px 18px; background: var(--teal-500);
  color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: background .25s;
}
.og-newsletter button:hover { background: var(--teal-400); }

.og-social { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.og-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; margin: 0;
  transition: background .25s, border-color .25s, transform .25s;
}
.og-social a i { color: #fff; width: auto; font-size: 14px; }
.og-social a:hover { background: var(--teal-500); border-color: var(--teal-400); transform: translateY(-4px); color: #fff; }

.og-footer-divider { border-color: rgba(255,255,255,.07); margin: 40px 0 0; }
.og-footer-copy,
.og-footer-bottom {
  font-size: 12.5px; color: rgba(255,255,255,.38); letter-spacing: .03em;
  padding: 20px 0; text-align: center;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 48px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .og-hero { min-height: 88vh; padding: 80px 20px 60px; }
  .og-carousel { min-height: 150px; }
  .og-carousel-slide { font-size: 15px; }
}
@media (max-width: 480px) {
  .og-hero h1 { font-size: 32px; }
  .btn-og-primary, .btn-og-secondary { width: 100%; max-width: 260px; }
}
