/* ============================================================
   SkillForge Academy — Shared Stylesheet
   Used by all 7 pages
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --c1: #6C3BFF;
  --c2: #FF3CAC;
  --c3: #FF7849;
  --c4: #00C6FF;
  --grad1: linear-gradient(135deg, #6C3BFF 0%, #FF3CAC 100%);
  --grad2: linear-gradient(135deg, #FF7849 0%, #FF3CAC 100%);
  --grad3: linear-gradient(135deg, #00C6FF 0%, #6C3BFF 100%);
  --grad4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --dark: #0D0D1A;
  --dark2: #13132B;
  --card: #1A1A35;
  --text: #E8E8FF;
  --muted: #9090C0;
  --white: #fff;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --r: 16px;
  --sh: 0 8px 40px rgba(108,59,255,.25);
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--dark); color: var(--text); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--c1); border-radius: 3px; }

/* NAVBAR */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2rem;
  background: rgba(13,13,26,.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108,59,255,.15);
  transition: all .3s;
}
.nav-inner {
  max-width: 1300px; margin: auto;
  display: flex; align-items: center; gap: 2rem; height: 72px;
}
.logo {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; cursor: pointer;
  background: var(--grad1); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.logo span { -webkit-text-fill-color: var(--c3); }
.nav-links { display: flex; gap: .25rem; margin-left: auto; flex-wrap: nowrap; }
.nav-links a {
  padding: .5rem 1rem; border-radius: 8px; font-size: .85rem; font-weight: 500;
  color: var(--muted); transition: all .25s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(108,59,255,.2); }
.nav-cta {
  padding: .5rem 1.2rem !important; background: var(--grad1) !important;
  border-radius: 8px !important; color: #fff !important; font-weight: 600 !important;
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(13,13,26,.97); backdrop-filter: blur(20px);
  z-index: 999; padding: 1rem; border-bottom: 1px solid rgba(108,59,255,.2);
}
.mobile-menu a {
  display: block; padding: .75rem 1rem; border-radius: 8px;
  color: var(--muted); font-weight: 500; margin-bottom: .25rem;
}
.mobile-menu a:hover { color: #fff; background: rgba(108,59,255,.2); }
.mobile-menu .wa-link { color: #25D366 !important; margin-top: .5rem; }

/* FLOATING WHATSAPP */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 998;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,.5);
  animation: waPulse 2s infinite; cursor: pointer; transition: transform .3s;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 4px 40px rgba(37,211,102,.8); }
}

/* SECTIONS */
.section { padding: 5rem 2rem; }
.section-sm { padding: 3rem 2rem; }
.container { max-width: 1200px; margin: auto; }
.section-tag {
  display: inline-block; padding: .3rem 1rem; border-radius: 50px;
  background: rgba(108,59,255,.15); border: 1px solid rgba(108,59,255,.3);
  font-size: .78rem; font-weight: 600; color: var(--c1);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 1rem;
}
.section-sub { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 560px; }
.gradient-text  { background: var(--grad1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gradient-text2 { background: var(--grad2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gradient-text3 { background: var(--grad3); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.8rem; border-radius: 50px;
  font-weight: 600; font-size: .9rem; cursor: pointer; border: none;
  transition: all .3s; white-space: nowrap; font-family: var(--font-body);
}
.btn-primary { background: var(--grad1); color: #fff; box-shadow: 0 4px 20px rgba(108,59,255,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,59,255,.6); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-wa { background: linear-gradient(135deg,#25D366,#128C7E); color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,.3); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.5); }
.btn-sm { padding: .5rem 1.2rem; font-size: .82rem; }
.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }

/* COURSE CARDS */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.course-card {
  background: var(--card); border-radius: var(--r); overflow: hidden;
  border: 1px solid rgba(108,59,255,.1); transition: all .35s; cursor: pointer; position: relative;
}
.course-card:hover { transform: translateY(-6px); border-color: rgba(108,59,255,.4); box-shadow: var(--sh); }
.course-card-img { height: 185px; position: relative; overflow: hidden; }
.course-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.course-card:hover .course-card-img img { transform: scale(1.08); }
.course-badge {
  position: absolute; top: .75rem; left: .75rem; padding: .25rem .75rem;
  border-radius: 50px; font-size: .72rem; font-weight: 700; letter-spacing: .05em;
}
.badge-sw  { background: var(--grad3); color: #fff; }
.badge-hr  { background: var(--grad2); color: #fff; }
.badge-hot { background: var(--grad1); color: #fff; position: absolute; top: .75rem; right: .75rem; left: auto; }
.course-card-body { padding: 1.4rem; }
.course-card-body h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.3; }
.course-card-body p  { color: var(--muted); font-size: .84rem; line-height: 1.6; margin-bottom: 1rem; }
.course-meta { display: flex; gap: 1rem; font-size: .78rem; color: var(--muted); margin-bottom: 1.2rem; }
.course-meta span { display: flex; align-items: center; gap: .3rem; }
.trending-label { display: flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; color: var(--c3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }

/* FILTER TABS */
.filter-tabs { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: .5rem 1.4rem; border-radius: 50px;
  border: 2px solid rgba(108,59,255,.3);
  background: transparent; color: var(--muted);
  font-weight: 600; font-size: .85rem; cursor: pointer; transition: .3s;
}
.filter-btn.active, .filter-btn:hover { background: var(--grad1); border-color: transparent; color: #fff; }

/* FEATURE CARDS */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.feature-card {
  background: var(--card); border-radius: var(--r); padding: 2rem;
  border: 1px solid rgba(108,59,255,.1); transition: .35s; position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(108,59,255,.4); box-shadow: var(--sh); }
.feat-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}
.feature-card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.feature-card p  { color: var(--muted); font-size: .88rem; line-height: 1.6; }

/* COUNTER CARDS */
.counters-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.counter-card {
  background: var(--card); border-radius: var(--r); padding: 2rem; text-align: center;
  border: 1px solid rgba(108,59,255,.15); position: relative; overflow: hidden; transition: .3s;
}
.counter-card::before { content: ''; position: absolute; inset: 0; background: var(--grad1); opacity: 0; transition: .3s; }
.counter-card:hover::before { opacity: .06; }
.counter-card:hover { transform: translateY(-4px); border-color: rgba(108,59,255,.4); }
.counter-num {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  background: var(--grad1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1;
}
.counter-label { color: var(--muted); font-size: .88rem; margin-top: .5rem; }
.counter-icon  { font-size: 2rem; margin-bottom: 1rem; }

/* PAGE HERO (non-home pages) */
.page-hero {
  padding: 9rem 2rem 5rem; text-align: center;
  background: radial-gradient(ellipse at center, rgba(108,59,255,.2) 0%, transparent 70%);
}
.page-hero h1 { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero p  { color: var(--muted); max-width: 560px; margin: .5rem auto 0; line-height: 1.7; }
.breadcrumb   { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--c1); cursor: pointer; }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* BG DOTS */
.bg-dots { background-image: radial-gradient(circle, rgba(108,59,255,.15) 1px, transparent 1px); background-size: 30px 30px; }

/* HIGHLIGHT STRIP */
.highlight-strip {
  background: var(--grad1); border-radius: var(--r); padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 3rem;
}
.highlight-strip h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff; }
.highlight-strip p  { color: rgba(255,255,255,.82); font-size: .9rem; margin-top: .25rem; }
.strip-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* TESTIMONIAL */
.test-slider  { position: relative; overflow: hidden; margin-top: 2rem; }
.test-track   { display: flex; gap: 1.5rem; transition: transform .6s cubic-bezier(.77,0,.175,1); }
.test-card    {
  background: var(--card); border-radius: var(--r); padding: 2rem;
  border: 1px solid rgba(108,59,255,.15); flex-shrink: 0;
}
.test-stars   { color: #FFD700; margin-bottom: 1rem; font-size: 1rem; }
.test-text    { color: var(--muted); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.test-author  { display: flex; align-items: center; gap: .75rem; }
.test-avatar  { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--c1); }
.test-name    { font-weight: 700; font-size: .92rem; }
.test-role    { color: var(--muted); font-size: .78rem; }
.test-nav     { display: flex; gap: .75rem; margin-top: 1.5rem; justify-content: center; }

/* FOOTER */
footer { background: var(--dark2); border-top: 1px solid rgba(108,59,255,.2); padding: 4rem 2rem 2rem; }
.footer-grid  { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand .logo { font-size: 1.6rem; margin-bottom: 1rem; cursor: default; }
.footer-brand p { color: var(--muted); font-size: .88rem; line-height: 1.7; margin-bottom: 1.25rem; }
.social-links { display: flex; gap: .75rem; }
.social-link  {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(108,59,255,.15); border: 1px solid rgba(108,59,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--c1); font-size: .9rem; transition: .3s;
}
.social-link:hover { background: var(--grad1); border-color: transparent; color: #fff; }
.footer-col h4 { font-family: var(--font-head); font-weight: 700; font-size: .95rem; margin-bottom: 1.2rem; color: #fff; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: var(--muted); font-size: .85rem; transition: .2s; display: flex; align-items: center; gap: .4rem; }
.footer-col ul li a:hover { color: var(--c1); }
.footer-col ul li a .fa-whatsapp { color: #25D366; }
.footer-bottom {
  border-top: 1px solid rgba(108,59,255,.15); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--muted); font-size: .82rem; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ANIMATIONS */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float-anim { animation: float 4s ease-in-out infinite; }

/* MARQUEE */
.marquee-wrap { background: var(--grad1); padding: .75rem 0; overflow: hidden; }
.marquee-track { display: flex; gap: 3rem; animation: marquee 22s linear infinite; white-space: nowrap; }
.marquee-track span { font-weight: 600; font-size: .85rem; color: #fff; display: flex; align-items: center; gap: .5rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2rem; }
.contact-form { background: var(--card); border-radius: var(--r); padding: 2rem; border: 1px solid rgba(108,59,255,.15); }
.contact-form h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: .8rem 1rem; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(108,59,255,.2);
  color: var(--text); font-family: var(--font-body); font-size: .9rem; transition: .3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--c1); background: rgba(108,59,255,.08); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark2); }
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.info-card {
  background: var(--card); border-radius: var(--r); padding: 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
  border: 1px solid rgba(108,59,255,.1); transition: .3s;
}
.info-card:hover { border-color: rgba(108,59,255,.4); }
.info-icon { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.info-card h4 { font-weight: 700; font-size: .92rem; margin-bottom: .25rem; }
.info-card p, .info-card a { color: var(--muted); font-size: .85rem; line-height: 1.5; }
.map-box { border-radius: var(--r); overflow: hidden; height: 260px; margin-top: 1.25rem; border: 1px solid rgba(108,59,255,.2); }
.map-box iframe { width: 100%; height: 100%; border: none; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-img   { border-radius: 20px; overflow: hidden; box-shadow: var(--sh); }
.about-img img { width: 100%; height: 420px; object-fit: cover; }
.about-img-wrap { position: relative; }
.about-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--grad1); border-radius: 16px; padding: 1.25rem 1.5rem;
  text-align: center; box-shadow: var(--sh);
}
.about-badge .num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: #fff; }
.about-badge .lbl { font-size: .75rem; color: rgba(255,255,255,.8); }
.about-points { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.about-point { display: flex; align-items: flex-start; gap: .75rem; font-size: .9rem; color: var(--muted); }
.about-point i { color: var(--c1); margin-top: .15rem; flex-shrink: 0; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.mission-card { background: var(--card); border-radius: var(--r); padding: 1.75rem; border-left: 4px solid; transition: .3s; }
.mission-card:hover { transform: translateX(4px); }
.mission-card h3 { font-family: var(--font-head); font-weight: 700; margin-bottom: .5rem; }
.mission-card p  { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.trainers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.trainer-card { background: var(--card); border-radius: var(--r); padding: 2rem; text-align: center; border: 1px solid rgba(108,59,255,.1); transition: .3s; }
.trainer-card:hover { transform: translateY(-4px); border-color: rgba(108,59,255,.4); box-shadow: var(--sh); }
.trainer-img { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 1rem; background: var(--grad1); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; }
.trainer-name { font-family: var(--font-head); font-weight: 700; margin-bottom: .25rem; }
.trainer-role { color: var(--muted); font-size: .82rem; }
.trainer-exp  { display: inline-block; margin-top: .5rem; padding: .2rem .75rem; border-radius: 50px; background: rgba(108,59,255,.15); color: var(--c1); font-size: .75rem; font-weight: 600; }

/* COURSE DETAIL */
.detail-hero { padding: 8rem 2rem 4rem; background: linear-gradient(135deg, var(--dark2) 0%, rgba(108,59,255,.15) 100%); border-bottom: 1px solid rgba(108,59,255,.15); }
.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-top: 2rem; }
.detail-card { background: var(--card); border-radius: var(--r); padding: 2rem; border: 1px solid rgba(108,59,255,.15); margin-bottom: 1.5rem; }
.detail-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 1.2rem; padding-bottom: .75rem; border-bottom: 1px solid rgba(108,59,255,.15); }
.tools-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.tool-tag { padding: .3rem .85rem; border-radius: 50px; background: rgba(108,59,255,.15); border: 1px solid rgba(108,59,255,.3); font-size: .78rem; font-weight: 600; color: var(--c1); }
.key-features li { display: flex; align-items: flex-start; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .9rem; color: var(--muted); }
.key-features li i { color: var(--c1); margin-top: .15rem; flex-shrink: 0; }
.sidebar-card { background: var(--card); border-radius: var(--r); padding: 1.75rem; border: 1px solid rgba(108,59,255,.2); position: sticky; top: 90px; }
.sidebar-card h3 { font-family: var(--font-head); font-weight: 700; margin-bottom: 1.25rem; }
.sidebar-detail { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .88rem; }
.sidebar-detail span:first-child { color: var(--muted); }
.sidebar-detail span:last-child  { font-weight: 600; }
.back-btn { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .88rem; margin-bottom: 1rem; cursor: pointer; transition: .2s; }
.back-btn:hover { color: var(--c1); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .about-badge { bottom: -.75rem; right: .75rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .highlight-strip { flex-direction: column; text-align: center; }
  .strip-btns { justify-content: center; }
  .section { padding: 3.5rem 1.25rem; }
}
@media (max-width: 480px) {
  .courses-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: 1fr 1fr; }
}
