@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #f59e0b;
  --secondary: #ea580c;
  --accent: #fb923c;
  --bg: #ffffff;
  --bg2: #fff8f0;
  --bg3: #fff3e0;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(245,158,11,0.2);
  --borderl: rgba(0,0,0,0.08);
  --sh: 0 4px 20px rgba(245,158,11,0.08), 0 1px 3px rgba(0,0,0,0.06);
  --shh: 0 12px 40px rgba(245,158,11,0.16), 0 4px 12px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Orbitron', monospace; background: #fff; color: #0f172a; overflow-x: hidden; line-height: 1.6; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #fff3e0; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* GRID BG */
.grid-bg {
  background-image: linear-gradient(rgba(245,158,11,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(245,158,11,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.glass { background: rgba(255,255,255,0.9); backdrop-filter: blur(16px); border: 1px solid var(--borderl); }

/* GRADIENT TEXT */
.gradient-text { background: linear-gradient(135deg, #f59e0b 0%, #ea580c 60%, #fb923c 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-text-2 { background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-text-3 { background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff !important; font-family: 'Orbitron', monospace; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.05em; padding: 14px 28px; border-radius: 50px; border: none; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 20px rgba(245,158,11,0.4); text-decoration: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,158,11,0.55); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #ea580c; font-family: 'Orbitron', monospace; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.05em; padding: 13px 28px; border-radius: 50px; border: 2px solid #f59e0b; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.btn-outline:hover { background: #f59e0b; color: #fff !important; transform: translateY(-2px); }
.btn-cyan { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #ea580c, #f59e0b); color: #fff !important; font-family: 'Orbitron', monospace; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.05em; padding: 14px 28px; border-radius: 50px; border: none; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 20px rgba(234,88,12,0.35); text-decoration: none; }
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(234,88,12,0.5); }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 2px solid rgba(245,158,11,0.15); transition: all 0.3s; }
.navbar.scrolled { box-shadow: 0 4px 20px rgba(245,158,11,0.12); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.1rem; font-weight: 900; letter-spacing: 0.02em; text-decoration: none; line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: #334155; text-decoration: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: #334155; border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu { display: none; flex-direction: column; background: #fff; border-top: 1px solid rgba(0,0,0,0.07); padding: 20px 24px; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #334155; text-decoration: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.06); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--primary); }
@media (max-width: 768px) { .hamburger { display: flex; } .nav-links, .nav-cta { display: none !important; } }

/* SECTION TAG */
.section-tag { display: inline-block; background: #fef3c7; border: 1px solid rgba(245,158,11,0.4); color: #92400e; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; padding: 6px 16px; border-radius: 50px; margin-bottom: 16px; }

/* CARDS */
.card { background: #fff; border: 2px solid rgba(0,0,0,0.07); border-radius: 20px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; box-shadow: var(--sh); color: #0f172a; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shh); border-color: rgba(245,158,11,0.3); }
.course-card { background: #fff; border: 2px solid rgba(0,0,0,0.07); border-radius: 20px; padding: 28px; transition: all 0.4s; position: relative; overflow: hidden; box-shadow: var(--sh); color: #0f172a; }
.course-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent)); opacity: 0; transition: opacity 0.3s; }
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shh); border-color: rgba(245,158,11,0.35); }
.course-card:hover::before { opacity: 1; }
.stat-card { background: #fff; border: 2px solid rgba(0,0,0,0.07); border-radius: 16px; padding: 28px 20px; text-align: center; transition: all 0.3s; box-shadow: var(--sh); color: #0f172a; }
.stat-card:hover { border-color: var(--primary); box-shadow: var(--shh); transform: translateY(-4px); }
.stat-num { font-size: 2.5rem; font-weight: 900; background: linear-gradient(135deg, #f59e0b, #ea580c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* HERO */
.hero-bg { background: radial-gradient(ellipse at 80% 10%, rgba(245,158,11,0.09), transparent 50%), radial-gradient(ellipse at 10% 90%, rgba(234,88,12,0.07), transparent 50%), linear-gradient(180deg, #fffbf0 0%, #fff 100%); }
.page-hero { min-height: 340px; display: flex; align-items: center; padding-top: 72px; background: linear-gradient(160deg, #fff8f0 0%, #fff 100%); border-bottom: 2px solid rgba(245,158,11,0.1); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.09; pointer-events: none; }

/* ANIMATIONS */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float { animation: float 5s ease-in-out infinite; }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 4px 20px rgba(245,158,11,0.3); } 50% { box-shadow: 0 8px 40px rgba(245,158,11,0.6); } }
.pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; }
.fade-in.visible { animation: fadeInUp 0.6s ease forwards; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.cursor { animation: blink 1s infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-track { animation: marquee 20s linear infinite; display: flex; gap: 40px; white-space: nowrap; }

/* MODAL */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); backdrop-filter: blur(6px); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border: 2px solid rgba(245,158,11,0.3); border-radius: 24px; padding: 40px; max-width: 480px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(245,158,11,0.15); color: #0f172a; }

/* FORM */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; color: #475569; margin-bottom: 8px; }
.form-input { width: 100%; background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; color: #0f172a; font-family: 'Orbitron', monospace; font-size: 0.75rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(245,158,11,0.12); background: #fff; }
.form-input option { background: #fff; color: #0f172a; }

/* TOAST */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: #fff; border: 2px solid #e2e8f0; border-radius: 14px; padding: 16px 24px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; z-index: 99999; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 8px 32px rgba(0,0,0,0.1); max-width: 90vw; text-align: center; color: #0f172a; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: #22c55e; color: #15803d; }
.toast.error { border-color: #ef4444; color: #dc2626; }

/* TECH TAG */
.tech-tag { display: inline-block; background: #fff7ed; border: 2px solid rgba(234,88,12,0.2); color: #9a3412; font-size: 0.6rem; font-weight: 600; padding: 3px 10px; border-radius: 50px; letter-spacing: 0.05em; }
.badge { display: inline-block; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 50px; }
.stars { color: #f59e0b; letter-spacing: 2px; }

/* PAGE HERO */
.page-hero { min-height: 340px; display: flex; align-items: center; padding-top: 72px; background: linear-gradient(160deg, #fff8f0 0%, #fff 100%); border-bottom: 2px solid rgba(245,158,11,0.1); }

/* FOOTER */
footer { background: #111827; border-top: 3px solid var(--primary); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 60px 24px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-link { display: block; color: #9ca3af; text-decoration: none; font-size: 0.68rem; padding: 5px 0; transition: color 0.2s; letter-spacing: 0.04em; }
.footer-link:hover { color: var(--primary); }

/* WHATSAPP FAB */
.whatsapp-fab { position: fixed; bottom: 28px; right: 28px; width: 58px; height: 58px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.5); z-index: 999; text-decoration: none; transition: transform 0.3s, box-shadow 0.3s; }
.whatsapp-fab:hover { transform: scale(1.15); box-shadow: 0 6px 30px rgba(37,211,102,0.7); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: white; }

/* MISC */
.sep { height: 1px; background: linear-gradient(90deg, transparent, rgba(245,158,11,0.2), transparent); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.h-sep { height: 1px; background: rgba(255,255,255,0.08); }

/* TIMELINE */
.timeline-item { position: relative; padding-left: 40px; padding-bottom: 40px; }
.timeline-item::before { content: ''; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--primary), transparent); }
.timeline-dot { position: absolute; left: 0; top: 6px; width: 22px; height: 22px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 50%; border: 3px solid #fff; }

/* COMPANY PILL */
.company-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid rgba(0,0,0,0.07); border-radius: 12px; padding: 12px 20px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; transition: all 0.3s; box-shadow: var(--sh); color: #1e293b; }
.company-pill:hover { border-color: var(--primary); color: var(--primary); }

/* INPUT ROW */
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .input-row { grid-template-columns: 1fr; } }

/* BACK TO TOP */
.back-top { display: none; position: fixed; bottom: 96px; right: 28px; width: 44px; height: 44px; background: #fff7ed; border: 2px solid rgba(245,158,11,0.4); border-radius: 50%; align-items: center; justify-content: center; cursor: pointer; z-index: 998; transition: all 0.3s; color: var(--primary); font-size: 1.1rem; text-decoration: none; box-shadow: var(--sh); }
.back-top.show { display: flex; }
.back-top:hover { background: var(--primary); color: #fff; }

/* FAQ */
.faq-item { border: 2px solid rgba(0,0,0,0.07); border-radius: 14px; overflow: hidden; margin-bottom: 12px; background: #fff; box-shadow: var(--sh); }
.faq-item.open { border-color: rgba(245,158,11,0.4); }
.faq-q { width: 100%; background: none; border: none; color: #0f172a; font-family: 'Orbitron', monospace; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-align: left; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; transition: color 0.2s; }
.faq-q:hover { color: var(--primary); }
.faq-a { display: none; padding: 0 24px 20px; color: #475569; font-size: 0.68rem; line-height: 2; border-top: 1px solid rgba(0,0,0,0.06); padding-top: 16px; }
.faq-item.open .faq-a { display: block; }
.faq-arrow { transition: transform 0.3s; font-style: normal; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* PROCESS STEP */
.process-step { position: relative; padding-left: 70px; }
.process-step::before { content: attr(data-num); position: absolute; left: 0; top: 0; width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 900; color: #fff; line-height: 48px; text-align: center; }

/* RESPONSIVE */
@media (max-width: 768px) { .hero-h1 { font-size: 2.2rem !important; } .section-h2 { font-size: 1.8rem !important; } .hide-mobile { display: none !important; } .modal-box { padding: 28px 20px; } }

/* GLOBAL VISIBILITY */
h1,h2,h3,h4,h5,h6 { color: #0f172a; }
p { color: #475569; }
section { background: #fff; color: #0f172a; }
.card *, .course-card * { color: #0f172a; }
.card p, .course-card p { color: #475569; }
.btn-primary, .btn-primary * { color: #fff !important; }
.btn-cyan, .btn-cyan * { color: #fff !important; }
footer, footer * { color: #9ca3af; }
footer h4 { color: var(--primary) !important; }
footer .footer-link { color: #9ca3af !important; }


/* ── NAV sub-heading white ── */
.nav-logo-wrap span:last-child,
.nav-logo-wrap div span:last-child {
  color: #ffffff !important;
  opacity: 0.85;
}

/* ── Footer sub-heading white ── */
footer .gradient-text + span,
footer div > span:last-child {
  color: #ffffff !important;
  opacity: 0.8;
}

/* ── Dark navbar: ensure IT VENTURES shows white ── */
.navbar .nav-logo-wrap div span[style*="IT VENTURES"],
footer a div span[style*="IT VENTURES"] {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Navbar logo — light background → multiply removes white box */
.navbar .nav-logo-wrap img {
  mix-blend-mode: multiply;
  background: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(245,100,0,0.5));
}

/* Footer logo — dark background → screen shows only bright orange/red */
footer img[alt="Phoenix Academy"] {
  mix-blend-mode: screen;
  background: transparent !important;
  filter: drop-shadow(0 0 12px rgba(245,120,0,0.75))
          brightness(1.1)
          saturate(1.25);
}

/* IT VENTURES subheading always white */
.nav-logo-wrap div span:last-child,
footer a div span:last-child {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 0.88;
}

/* Navbar dark version (scrolled) also fine */
.navbar.scrolled .nav-logo-wrap img {
  filter: drop-shadow(0 2px 8px rgba(245,100,0,0.6));
}

/* ═══════════════════════════════════════════════════
   LOGO — REMOVE WHITE & BLACK BACKGROUNDS
   ──────────────────────────────────────────────────
   Navbar  (white bg) : mix-blend-mode:multiply
     → white/grey pixels in logo PNG disappear into white navbar

   Footer  (dark bg)  : white circle container + multiply inside
     → rectangular image border hidden by circular frame
     → orange glow shows the phoenix bird colours only
   ═══════════════════════════════════════════════════ */

/* Navbar logo */
.navbar img[alt="Phoenix Academy"] {
  mix-blend-mode: multiply;
  background: transparent !important;
  filter: drop-shadow(0 2px 7px rgba(230,90,0,0.45));
  transition: filter 0.3s;
}
.navbar img[alt="Phoenix Academy"]:hover {
  filter: drop-shadow(0 0 12px rgba(245,130,0,0.7));
}

/* Footer logo circle container */
footer .logo-circle {
  width: 54px; height: 54px; border-radius: 50%;
  background: #ffffff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(245,158,11,0.4),
              0 0 20px rgba(245,120,0,0.5);
}
footer .logo-circle img {
  width: 50px; height: 50px;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: transparent !important;
}

/* Nav sub-label "IT VENTURES" */
.navbar .nav-sub {
  font-size: 0.4rem;
  letter-spacing: 0.18em;
  color: #475569;
  font-weight: 600;
}
