/* app.css — upgraded colorful Coursera-like premium homepage */
:root{
  --bg-1: #f3f8ff;
  --bg-2: #fff7f6;
  --card: #ffffff;
  --primary: #0b3d91;     /* deep blue */
  --accent: #ff5a7a;      /* coral */
  --accent-2: #0bb3a8;    /* mint */
  --muted: #6b7280;
  --glass: rgba(11,61,145,0.06);
  --radius: 16px;
  --maxw: 1400px;
  --shadow-sm: 0 8px 26px rgba(11,61,145,0.07);
  --shadow-md: 0 20px 60px rgba(11,61,145,0.06);
}

/* base */
*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:Inter,system-ui,Segoe UI,Roboto,Arial;background:linear-gradient(180deg,var(--bg-1),#f9fbff);color:#07122b;-webkit-font-smoothing:antialiased}
a{color:var(--primary);text-decoration:none}
.wrap{max-width:var(--maxw);margin:28px auto;padding:28px}

/* header */
header.top{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:6px 0}
.brand{display:flex;gap:16px;align-items:center}
.brand img{height:64px;width:64px;border-radius:12px;object-fit:cover;box-shadow:var(--shadow-sm)}
.brand h1{font-size:20px;margin:0;color:var(--primary);letter-spacing:0.2px}
nav.desktop{display:flex;gap:18px;align-items:center}
nav.desktop a/* Reduce custom logo size */
.brand img {
    width: 46px;
    height: 46px;
    border-radius: 10px;
}
.brand h1 {
    font-size: 16px;
}
/* Make menu clean & smaller */
nav.desktop a {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 10px;
    color: #4a5568;
}

nav.desktop {
    gap: 14px;
}



/* buttons */
.btn{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border-radius:14px;border:none;cursor:pointer;font-weight:800}
.btn-primary{background:linear-gradient(90deg,var(--primary),#2f6fe8);color:white;box-shadow:0 14px 40px rgba(11,61,145,0.12);transition:transform .18s ease,box-shadow .18s ease}
.btn-primary:hover{transform:translateY(-4px);box-shadow:0 24px 50px rgba(11,61,145,0.16)}
.btn-ghost{background:transparent;border:1px solid rgba(11,61,145,0.08);padding:10px 14px;border-radius:12px}

/* HERO styling with decorative blobs */
.hero-wrap{position:relative;margin-top:18px;padding:36px;border-radius:20px;overflow:visible}
.hero{
  display:grid;
  grid-template-columns:1fr 460px;
  gap:36px;
  align-items:center;
  padding:28px;
  background:linear-gradient(180deg,#ffffffcc,#f7fbffcc);
  border-radius:20px;
  box-shadow:var(--shadow-md);
  border:1px solid rgba(11,61,145,0.03);
  position:relative;
  z-index:2;
}

/* decorative gradient blobs behind hero */
.hero-wrap::before,
.hero-wrap::after{
  content:"";
  position:absolute;
  border-radius:50%;
  filter:blur(48px);
  opacity:0.55;
  z-index:1;
}
.hero-wrap::before{
  width:420px;height:420px;right:6%;top:-60px;
  background:linear-gradient(135deg,var(--accent),#ff9bb0);
}
.hero-wrap::after{
  width:360px;height:360px;left:6%;bottom:-120px;
  background:linear-gradient(135deg,var(--accent-2),#7fe8d9);
}

/* hero content */
.eyebrow{display:inline-block;background:linear-gradient(90deg,#eaf6ff,#fff0f0);padding:6px 12px;border-radius:999px;color:var(--primary);font-weight:800;font-size:13px}
.hero h1{font-size:40px;margin:12px 0 12px;line-height:1.02;color:#07122b}
.hero p{color:var(--muted);margin:0 0 18px;font-size:16px}

/* search block */
.searchbar{display:flex;gap:12px;align-items:center;margin-top:8px}
.searchbar input{flex:1;padding:14px 16px;border-radius:14px;border:1px solid #e6eef7;background:linear-gradient(180deg,#fff,#fbfdff);font-size:16px}
.searchbar button{min-width:170px;padding:12px 18px}

/* features row */
.features{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.feature{background:linear-gradient(180deg,#fff,#fbfdff);padding:12px 14px;border-radius:12px;box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:12px;border:1px solid rgba(11,61,145,0.02)}
.feature .dot{width:12px;height:12px;border-radius:50%}

/* right card - video + info */
.hero-card{background:linear-gradient(180deg,#ffffff,#fffaf9);border-radius:14px;padding:18px;box-shadow:var(--shadow-sm);border:1px solid rgba(11,61,145,0.03)}
.video-thumb{width:100%;height:240px;background:linear-gradient(180deg,#eaf6ff,#fff0f0);border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--primary)}
.hero-card .meta-row{display:flex;justify-content:space-between;align-items:center;margin-top:12px}
.hero-card .reserve{background:linear-gradient(90deg,var(--accent),#ff9fb0);color:white;padding:8px 12px;border-radius:10px;border:none}

/* courses grid */
.courses{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.course{background:linear-gradient(180deg,#fff,#fffaf8);padding:16px;border-radius:12px;box-shadow:var(--shadow-sm);border:1px solid rgba(11,61,145,0.03);display:flex;flex-direction:column;gap:10px;transition:transform .18s ease,box-shadow .18s ease}
.course:hover{transform:translateY(-8px);box-shadow:0 28px 60px rgba(11,61,145,0.08)}
.course .thumb{height:120px;border-radius:10px;background:linear-gradient(90deg,#edf6ff,#fff0f0);display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--primary)}
.course h3{margin:6px 0 0;font-size:18px}
.course .meta{color:var(--muted);font-size:14px}
.course .row{display:flex;justify-content:space-between;align-items:center;margin-top:auto}

/* testimonials */
.testi{display:flex;gap:14px;margin-top:20px}
.testi .card{flex:1;padding:18px;border-radius:12px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:var(--shadow-sm);border:1px solid rgba(11,61,145,0.03)}

/* CTA strip */
.cta-strip{margin-top:28px;padding:18px;border-radius:12px;color:white;background:linear-gradient(90deg,var(--primary),var(--accent));display:flex;justify-content:space-between;align-items:center;box-shadow:0 18px 60px rgba(11,61,145,0.08)}

/* footer */
footer{margin-top:32px;padding:28px;border-radius:12px;background:linear-gradient(180deg,#fff,#fffefc);display:flex;justify-content:space-between;align-items:center;gap:24px;box-shadow:var(--shadow-sm);border:1px solid rgba(11,61,145,0.02)}

/* utility */
.small{color:var(--muted);font-size:14px}
.price{font-weight:900;color:var(--primary);font-size:18px}

/* responsive */
@media(max-width:1200px){.courses{grid-template-columns:repeat(2,1fr)}}
@media(max-width:880px){
  .hero{grid-template-columns:1fr;gap:18px;padding:18px}
  .hero-wrap::before{display:none}
  .hero-wrap::after{display:none}
  .courses{grid-template-columns:repeat(2,1fr)}
  header.top{flex-direction:column;align-items:flex-start;gap:12px}
}
@media(max-width:520px){
  .courses{grid-template-columns:1fr}
  .hero h1{font-size:26px}
  .video-thumb{height:160px}
  .brand img{height:48px;width:48px}
}
/* Hide default Astra header on homepage */
body.home .main-header-bar,
body.page-template-home-premium .main-header-bar {
    display: none !important;
}
.video-box {
  background: #eef4ff;
  padding: 16px;
  border-radius: 16px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .video-box {
    order: -1;
    margin-bottom: 16px;
  }
}
/* Single video hero layout */
.hero {
  grid-template-columns: 1fr !important;
  gap: 24px;
}

/* Video responsiveness */
.video-thumb iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}
@media (max-width: 768px) {
  .hero {
    padding: 20px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .searchbar {
    flex-direction: column;
  }

  .searchbar button {
    width: 100%;
  }
}

.cat i {
  margin-right: 8px;
  color: #0b5ed7;
}
.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cat {
  text-decoration: none;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  color: #0f172a;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.cat:hover {
  background: #0b5ed7;
  color: #ffffff;
  transform: translateY(-2px);
}
/* Placement Support */
.placement-support {
  margin: 60px 0;
  padding: 40px;
  background: #ffffff;
  border-radius: 16px;
}

.placement-support h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.placement-sub {
  color: #6b7280;
  margin-bottom: 24px;
}

.placement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.placement-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 20px;
  transition: all 0.3s ease;
}

.placement-card span {
  font-size: 28px;
}

.placement-card h4 {
  margin: 10px 0 6px;
  font-size: 16px;
}

.placement-card p {
  font-size: 14px;
  color: #6b7280;
}

.placement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
/* Placement Badge */
.placement-badge {
  display: inline-block;
  margin: 12px 0 18px;
  padding: 8px 14px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
}
