/* owlx-redesign.css
   Modern, Udemy-inspired theme — separate file.
   Keep this file in same folder as your HTML.
*/

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;600;700&display=swap');

:root{
  --bg: #f4f7f6;           /* page background */
  --surface: #ffffff;      /* card backgrounds */
  --primary: #004d61;      /* deep teal */
  --accent: #ff6b35;       /* warm orange */
  --muted: #6b7b86;        /* muted text */
  --dark: #0b1230;         /* heading / dark text */
  --radius: 14px;
  --container: 1150px;
  --gap: 24px;
}

/* Scoped : apply only when body has class 'owlx-theme' */
body.owlx-theme {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--dark);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  margin:0;
}

/* Container */
.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:60;
  background: var(--surface);
  border-bottom: 1px solid rgba(11,18,48,0.06);
  box-shadow: 0 6px 18px rgba(11,18,48,0.03);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}
.brand{display:flex;align-items:center;gap:14px}
.logo-wrapper{width:48px;height:48px;overflow:hidden;border-radius:10px;flex-shrink:0;box-shadow:0 6px 20px rgba(0,77,97,0.04)}
.logo{width:100%;height:100%;object-fit:contain;display:block}
.brand-title{font-size:1.05rem;margin:0;font-weight:700;letter-spacing:0.2px;color:var(--dark)}

/* nav */
.nav{display:flex;gap:18px;align-items:center}
.nav a{color:var(--dark);text-decoration:none;font-weight:600;padding:8px 12px;border-radius:10px;transition:all .18s}
.nav a:hover{background:rgba(0,77,97,0.06);color:var(--primary)}
.btn-ghost{border:1px solid rgba(11,18,48,0.06);padding:8px 12px;border-radius:8px;}

/* hamburger (mobile) */
.hamburger{display:none;background:transparent;border:0;padding:8px;cursor:pointer}
.hamburger span{display:block;width:22px;height:2px;background:var(--dark);margin:4px 0;border-radius:2px;transition:all .25s}
.hamburger.is-active span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.hamburger.is-active span:nth-child(2){opacity:0}
.hamburger.is-active span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: white;
}
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 1s ease-in-out;
}
/* .hero-slider .slide {
  flex: 0 0 100%;
  background-size: cover;
  background-position: center;
} */
.hero-slider .slide {
  flex: 0 0 36%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.1); /* zoom in */
  transition: transform 0.8s ease;
}

.hero-slider .slide.active {
  transform: scale(1); /* zoom out slightly to normal when active */
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* dark overlay for readability */
  z-index: 1;
}
.hero-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(90deg, rgba(0,77,97,0.04), rgba(255,107,53,0.03));
  border-bottom-left-radius:24px;
  border-bottom-right-radius:24px;
}
/* .hero-content{display:flex;align-items:center;gap:36px;justify-content:space-between;padding:36px 0} */
.hero-copy{flex:1;max-width:720px}
.hero-copy h2{font-size:2rem;margin:0 0 12px 0;line-height:1.05;font-weight:700;color:var(--dark)}
.hero-copy p{color:var(--muted);margin:0 0 18px 0;font-size:1.02rem}
.hero-ctas{display:flex;gap:12px}
.btn-primary{
  background: linear-gradient(90deg,var(--primary), var(--accent));
  color: #fff;
  padding:12px 18px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  display:inline-block;
  box-shadow: 0 12px 30px rgba(0,77,97,0.08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.btn-primary:hover{transform: translateY(-4px); box-shadow:0 18px 40px rgba(0,77,97,0.12)}
.btn-secondary{background:#fff;border:1px solid rgba(11,18,48,0.06);padding:10px 16px;border-radius:10px;color:var(--dark);text-decoration:none;font-weight:600}
.hero-visual{width:380px;display:flex;align-items:center;justify-content:center}
.hero-visual img{max-width:100%;border-radius:12px;box-shadow:0 12px 40px rgba(11,18,48,0.06)}

/* sections */
.section{padding:48px 0}
.section-title{font-size:1.6rem;margin:0 0 10px 0;font-weight:700;color:var(--dark)}
.section-sub{color:var(--muted);margin:0 0 20px 0}

/* cards grid */
.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.card{background:var(--surface);border:1px solid rgba(11,18,48,0.04);padding:20px;border-radius:12px;box-shadow:0 8px 18px rgba(11,18,48,0.03)}
.card h3{margin:0 0 8px 0;font-size:1.05rem;color:var(--primary)}
.card p{margin:0 0 10px 0;color:var(--muted)}
.card ul{margin:0;padding-left:18px;color:var(--muted)}

/* roles */
.roles-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:20px 0}
.role{background: linear-gradient(90deg, rgba(0,77,97,0.02), rgba(255,107,53,0.02));padding:12px;border-radius:10px;text-align:center;font-weight:700;color:var(--dark)}

/* timeline */
.timeline{display:grid;gap:12px;margin:18px 0}
.timeline-item{background:var(--surface);padding:14px;border-radius:10px;border:1px solid rgba(11,18,48,0.04);box-shadow:0 8px 16px rgba(11,18,48,0.03)}
.timeline-item h4{margin:0 0 6px 0;color:var(--primary)}
.timeline-item p{margin:0;color:var(--muted)}

/* career */
.career-paths-section {
  background: linear-gradient(135deg, #f3f6fa, #e9f1f9);
  padding: 60px 20px;
}
.career-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.career-card-header {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 10px 15px;
  color: #fff;
  font-weight: bold;
}
.career-admin { background: #3b82f6; } /* Blue */
.career-dev { background: #10b981; }   /* Green */
.career-architect { background: #f59e0b; } /* Amber */

/* jrp highlights */
.jrp-highlights{display:flex;gap:14px;margin-top:14px;flex-wrap:wrap}
.highlight{background:linear-gradient(180deg, rgba(0,77,97,0.02), rgba(255,107,53,0.01));padding:12px;border-radius:10px;min-width:160px}
.highlight strong{display:block;margin-bottom:6px;color:var(--dark)}

/* why */
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.why-card{background:var(--surface);padding:18px;border-radius:12px;border:1px solid rgba(11,18,48,0.04);box-shadow:0 8px 14px rgba(11,18,48,0.03)}
.why-card h4{margin:0 0 8px 0;color:var(--primary)}

/* dashboard */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.chart-card {
  background: var(--surface);
  border: 1px solid rgba(11,18,48,0.04);
  padding: 18px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 24px rgba(11,18,48,0.03);
  transition: transform .22s ease, box-shadow .22s ease;
}
.chart-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(11,18,48,0.06); }
.chart-card h4 { text-align:center; font-weight:700; margin-bottom:12px; color:var(--dark); }

/* CTA */
.cta{padding:36px 0;background:linear-gradient(90deg, rgba(0,77,97,0.04), rgba(255,107,53,0.03));border-top:1px solid rgba(11,18,48,0.02)}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.cta-actions{display:flex;gap:12px}
.btn-outline{background:transparent;border:1px solid rgba(11,18,48,0.06);padding:10px 14px;border-radius:10px;text-decoration:none;color:var(--dark)}

/* footer */
.site-footer{padding:22px 0;border-top:1px solid rgba(11,18,48,0.03);text-align:center;color:var(--muted);background:transparent}
.footer-inner{display:flex;justify-content:center;align-items:center}

/* alt background */
.alt-bg{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));}

/* responsive */
@media (max-width:900px){
  .hero-content{flex-direction:column-reverse;gap:20px}
  .hero-visual{width:100%}
  .nav{position:fixed;right:-100%;top:0;height:100vh;width:260px;background:var(--surface);flex-direction:column;padding:80px 18px;gap:18px;transition:right .28s;z-index:80;box-shadow: -6px 0 30px rgba(11,18,48,0.06)}
  .nav.open{right:0}
  .hamburger{display:block}
  .header-inner{gap:10px}
  .cta-inner{flex-direction:column;align-items:flex-start}
}
